table { border-collapse: collapse; width: 100%; }

#configurator-wrapper {
    margin-top: 70px;
}

#configurator {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    width: 100%;
}

#obudowa-preview,
#configurator-controls {
    width: 50%;
    box-sizing: border-box;
    background-color: #1a1a1a;
}

#obudowa-preview {
    position: fixed;
    height: calc(100% - 70px);
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

#configurator-controls {
    position: relative;
    left: 50%;
    margin-bottom: 300px;
}

#obudowa-image {
    flex: 1;
    text-align: center;
    background-color: #fff;
    overflow: hidden;
    cursor: pointer;
}

#obudowa-image img {
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.kat-wrapper {
    border: 1px solid var(--c-surface2);
    background-color: var(--c-surface);
    border-radius: 6px;
    overflow: hidden;
}

.kat-header {
    background: var(--c-header);
    padding: 10px 12px;
    font-weight: bold;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: var(--c-main-text);
    border-bottom: 1px solid var(--c-accent);
    user-select: none;
    height: 2em;
    z-index: 1;
    position: relative;
}

.kat-header.open {
    color: var(--c-accent);
}

.kat-content {
    height: 0;
    overflow: hidden;
    padding: 0 12px;
    background: var(--c-surface);
    transition: height 0.4s ease, padding 0.4s ease;
}

.kat-content.open {
    padding: 12px;
}

.prod-option {
    display: flex;
    gap: 12px;
    padding: 4px 0;
    border-bottom: 1px solid var(--c-surface2);
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    margin: 4px 0;
}

@media (min-width: 768px) {
    .prod-option:not(.disabled):hover {
        background-color: var(--c-surface2);
    }

    .toggle button:not(.active):hover {
        background-color: rgba(3, 169, 244, 0.2);
    }

    .panel-button:hover {
        color: var(--c-accent);
        transform: scale(1.05);
        transition: all 0.2s ease-in-out;
    }

    .cta:hover,
    .reset:hover {
        background-color: var(--c-accent-hover);
        color: var(--c-main-text);
    }


    .rgb-checkbox-label:hover {
        background-color: var(--c-surface2);
    }
}

.prod-option input[type="radio"] {
    margin-top: 6px;
    display: none;
}

.prod-option.selected {
    border: 2px solid var(--c-accent);
    background-color: var(--c-surface);
    box-shadow: 0 0 10px rgba(3, 169, 244, 0.5);
    transition: all 0.2s ease-in-out;
    border-radius: 8px;
}

.prod-option .info {
    display: flex;
    gap: 10px;
    width: 100%;
}

.prod-option .info div {
    width: 100%;
}

.prod-option img {
    width: 60px;
    height: auto;
    object-fit: contain;
    background: white;
    margin: -8px 0;
    padding: 8px 0;
}

.prod-title {
    font-weight: bold;
    margin-bottom: 4px;
    color: var(--c-main-text);
}

.prod-excerpt {
    font-size: 0.9em;
    color: var(--c-subtext);
}

.kat-header .arrow {
    position: relative;
    left: 100%;
    transform: translateX(-100%);
    font-size: 1em;
    color: var(--c-subtext);
    transition: transform 0.2s ease;
}

.kat-header.open .arrow {
    transform: translateX(-100%) rotate(90deg);
    color: var(--c-accent);
}

/* Styl suwaka dla Firefox */
#configurator-controls {
    scrollbar-width: thin;
    scrollbar-color: var(--c-accent) #1a1a1a;
}

.summary-list::-webkit-scrollbar {
    width: 10px;
}

.summary-list::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.summary-list::-webkit-scrollbar-thumb {
    background-color: var(--c-accent);
    border-radius: 10px;
    border: 2px solid #1a1a1a;
}

.summary-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    background-color: var(--c-surface);
    padding: 20px;
    border-radius: 12px;
    gap: 20px;
    color: var(--c-text);
    position: relative;
    font-size: 0.8em;
    max-height: 60vh;
    overflow: hidden;
    flex-direction: row;
}

.summary-list {
    overflow-y: auto;
    max-height: calc(57vh - 40px - 113px);
    list-style: none;
    padding: 0;
    padding-right: 10px;
    margin: 0 0 16px 0;
}

.summary-entry-name {
    display: inline-block;
}

.summary-entry-name .exclam-info {
    display: inline-block;
    margin: 0;
}

.summary-left {
    flex: 1;
    min-width: 300px;
    height: fit-content;
}

.summary-left h2 {
    font-size: 1.4em;
    font-weight: bold;
    margin: 0 0 12px 0;
    color: var(--c-main-text);
}

.summary-list li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 1em;
    color: var(--c-text);
}

.panel-button {
    background: none;
    border: none;
    color: var(--c-accent);
    font-weight: bold;
    cursor: pointer;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 0;
    user-select: none;
    align-self: flex-start;
    line-height: 23.5px;
}

.panel-button span {
    font-size: 18px;
    display: inline-block;
    width: 18px;
}

.show-details {
    font-size: 0.7em;
    margin-top: 0.3em;
}

.summary-right {
    text-align: right;
    min-width: 220px;
    margin-left: auto;
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
}

.total-price {
    font-size: 2.4em;
    font-weight: 800;
    color: var(--c-main-text);
    margin-bottom: 12px;
}

.cta,
.reset {
    display: inline-block;
    padding: 12px 16px;
    background-color: var(--c-accent);
    border-radius: 16px;
    text-transform: uppercase;
    font-weight: bold;
    color: var(--c-bg);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.warranty-cta-block {
    text-align: right;
}

.reset {
    background-color: var(--c-header);
    color: var(--c-accent);
    font-size: 0.8em;
}

.prod-price-diff {
    margin-left: 8px;
    font-size: 0.85em;
    font-weight: 500;
    color: #a0a0a0;
    padding: 0px 6px;
    border-radius: 6px;
    min-width: 60px;
    display: flex;
    justify-content: flex-end;
    text-align: right;
}

.prod-price {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.plus-price-diff {
    color: #60a080 !important;
}

.minus-price-diff {
    color: #a06060 !important;
}

.modal {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: calc(100% - 70px);
    background: rgba(0,0,0,0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-message {
    padding: 20px;
    padding-top: 0;
}

.modal-message ul {
    margin-bottom: 0;
}

.modal-message img {
    max-width: 100%;
}

.modal.open {
    display: flex;
}

.modal-close {
    position: relative;
    background: none;
    border: none;
    color: var(--c-text);
    font-size: 1.5em;
    cursor: pointer;
    z-index: 3000;
    align-self: flex-end;
    height: 1.5em;
    width: 1.5em;
}

#product-modal .modal-close {
    position: absolute;
    top: 0;
    right: 5px;
}

/* Modal new layout */
.modal-content {
    display: flex;
    width: 90%;
    height: 90%;
    background: var(--c-surface);
    color: var(--c-text);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    max-width: 90%;
    max-height: 90%;
}

.simple-modal .modal-content {
    width: auto;
    height: auto;
    justify-content: center;
    flex-direction: column;
}

.info-diff-span {
    line-height: 1.3em;
    opacity: 0.85;
}

.info-diff-span-price {
    display: block;
    text-align: right;
    opacity: 0.5;
}

.info-diff-sum {
    text-align: right;
}

.modal-left,
.modal-right {
    flex: 1 1 50%;
    display: flex;
}

.modal-left {
    flex-direction: column;
    padding: 20px;
    height: 100%;
}

.modal-left h3 {
    margin-bottom: 0.3em;
}

#modal-image {
    flex: 1 1 auto;
    width: 100%;
    object-fit: contain;
    background: #fff;
    border-radius: 4px;
    max-height: 60%;
}

.modal-right {
    flex-direction: column;
    overflow-y: auto;
    padding: 20px 30px;
    background: var(--c-surface2);
}

.modal-right img {
    max-width: 100%;
}

.modal-right::-webkit-scrollbar,
.modal-content::-webkit-scrollbar {
    width: 10px;
}

.modal-right::-webkit-scrollbar-track,
.modal-content::-webkit-scrollbar-track {
    background: var(--c-surface2);
}

.modal-right::-webkit-scrollbar-thumb,
.modal-content::-webkit-scrollbar-thumb {
    background-color: var(--c-accent);
    border-radius: 10px;
    border: 2px solid var(--c-surface2);
}

.toggle button {
    flex: 1;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: none;
    border: none;
    color: var(--c-accent);
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    position: relative;
    white-space: nowrap;
    display: flex;
    flex-direction: row;
    gap: 2px;
    padding-left: 0.3em;
    padding-right: 0.3em;
}

.toggle-inner-button-text {
    display: flex;
    flex-direction: column;
}

.toggleWrapper {
    padding-top: 10px;
    overflow-y: scroll;
    margin-top: -10px;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer/Edge starsze */
}

.toggleWrapper::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Edge */
}

.toggleWrapper .toggle button.is-hidden {
    display: none;
}

.toggle:has(> :not(.is-hidden)):not(:has(> :not(.is-hidden) ~ :not(.is-hidden))) {
  visibility: hidden;
}

.toggle button.active {
    background-color: var(--c-accent);
    color: var(--c-bg);
}

.toggleWrapper .toggle button.active {
    padding-left: calc(0.75em + 1px);
    padding-right: calc(0.75em + 1px);
}

.toggle-diff {
    display: inline-block;
    font-size: 0.9em;
    font-weight: 100;
}

.toggle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% / var(--toggle-count));
    height: 100%;
    background: var(--c-accent);
    border-radius: 8px;
    transition: transform 0.3s ease;
    transform: translateX(calc(var(--active-index) * 100% / var(--toggle-count)));
    z-index: 0;
}

.toggle {
    display: inline-flex;
    border: 2px solid var(--c-accent);
    border-radius: 8px;
    background-color: var(--c-header);
    user-select: none;
    position: relative;
}

.exclam-info {
    margin-top: -0.5em;
    background: #fffc;
    border-radius: 4px;
    min-width: 1.5em;
    line-height: 1.35em;
    margin-right: -0.5em;
    z-index: 100;
    cursor:  pointer;
    text-align: center;
    padding: 0;
    font-size: 1em;
}

.prod-option .exclam-info {
    margin-right: 12px;
    display: none;
    position: absolute;
    right: 0;
}

.disabled-overlay .exclam-info {
    margin: 0;
    position: relative;
}

.toggleWrapper .exclam-info {
    align-self: flex-start;
}

.kat-content.open .exclam-info, 
.kat-content.open .kat-content.open .exclam-info {
    display: inline;
}

.kat-content.open .kat-content .exclam-info, 
.toggle .active .exclam-info {
    display: none;
}

.exclam-info.empty {
    display: none !important;
}

.rgb-checkbox {
    display: none;
}

.rgb-checkbox-label {
    background-color: var(--c-surface);
    color: var(--c-main-text);
    padding: 0px 12px;
    border-bottom-left-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: background-color ease .2s;
}

.is-rgb-button-label {
    position: absolute;
    right: 0;
    align-items: center;
    gap: 8px;
    border-radius: 5px;
    background-color: var(--c-surface);
    color: var(--c-main-text);
    cursor: pointer;
    margin-top: -12px;
}

.rgb-checkbox:checked + .rgb-checkbox-label {
    color: var(--c-main-text);
    font-weight: bold;
    border: 1px var(--c-accent) solid;
    border-top: 0;
    border-right: 0;
}

.kat-content .is-rgb-button-label {
    display: none;
}

.kat-content.open .is-rgb-button-label {
    display: inline;
}

.psu-incompatible {
    display: none;
}

#mobile-top {
    display: none;
}


.summary-buttons {
    z-index: 100;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

@media (max-width: 767px) {
    #obudowa-preview,
    #configurator-controls {
        width: 100%;
        position: relative;
        left: 0;
    }

    #obudowa-preview {
        height: calc(100% - 70px - 123px)
    }

    .summary-box {
        padding-bottom: 0;
    }

    #configurator {
        display: block;
        width: 100%;
    }

    .summary-right {
        position: fixed;
        bottom: 0;
        padding: 10px;
        padding-bottom: 20px;
        padding-top: 5px;
    }
    
    .summary-buttons {
        position: fixed;
        bottom: 0;
        padding-bottom: 30px;
        padding-left: 20px;
        padding-top: 10px;
        height: 123px;
        box-sizing: border-box;
    }

    .summary-right {
        right: 0;
        width: 100%;
        background-color: var(--c-surface);
        border-top: 2px solid var(--c-accent);
        height: 123px;
        box-sizing: border-box;
        gap: 20px;
    }

    .total-price {
        margin: 0;
    }
    
    #mobile-top {
        display: inline-flex;
    }

    .additional-info {
        position: absolute;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        left: 10px;
    }

    #product-modal .modal-content {
        flex-direction: column;
    }

    #product-modal #modal-image {
        width: calc(100% + 40px);
        margin: -20px;
        margin-bottom: -10px;
        max-height: 100%;
    }

    .modal-right {
        overflow-y: visible;
        padding: 20px;
    }

    .modal-content {
        overflow: auto;
    }

    .modal-left {
        height: 40%;
    }

    #product-modal .modal-close {
        background: var(--c-surface);
        right: 0;
        border-bottom-left-radius: 8px;
        position: sticky;
        margin-bottom: -1.5em;
    }
}

#copy-spinner {
    display: none;
}

#copy-spinner::after {
    content: "";
    width: 100%;
    aspect-ratio: 1;
    border: 3px solid var(--c-accent);
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    position: inherit;
    display: inline-block;
    box-sizing: border-box;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

#temp-info {
    z-index: 200000;
    position: fixed;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--c-surface);
    padding: 15px 15px;
    border-radius: 10px;
    border: 2px solid var(--c-accent);
    text-align: center;
    transition: top 0.4s;
}

#loading-screen {
    position: fixed;
    z-index: 200000;
    width: 100%;
    height: 100%;
    background-color: #000d;
    top: 0;
    left: 0;
}

#loading-screen > div {
    position: inherit;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    width: 10%;
    aspect-ratio: 1;
}

#loading-screen .loading-spinner {
    position: absolute;
    width: 100%;
    height: 100%;
}

#loading-screen .loading-message {
    position: absolute;
    top: 100%;
    width: 500%;
    display: inline-block;
    text-align: center;
    left: -200%;
}

#loading-screen .loading-spinner::after {
    content: "";
    width: 100%;
    height: 100%;
    border: 3px solid var(--c-accent);
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    position: inherit;
    box-sizing: border-box;
}

.performance-info {
    display: flex;
    gap: 12px;
    text-align: center;
    overflow: hidden;
}

.performance-info img {
    max-width: 100%;
    max-height: calc(100% - 1em);
}

.performance-buttons {
    display: flex;
    justify-content: space-between;
}

.resolution-btn {
    min-width: 0 !important;
    flex: auto !important;
}

#performance-modal .resolution-btn {
    padding: 5px 10px;
}

.performance-btn {
    font-weight: bold;
}

@media (max-width: 1169px) {
    #performance-large {
        display: none;
    }

    .summary-box {
        flex-direction: column;
    }
}

@media (min-width: 1170px) {
    #performance-small {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1169px) {
    .summary-buttons {
        position: absolute;
    }

    .summary-buttons {
        bottom: 0;
        padding: 20px;
    }

    .summary-box {
        gap: 0;
    }
}

#performance-modal .modal-content {
    flex-direction: column;
    height: auto;
}

#performance-modal .modal-content > div {
    padding: 20px;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    gap: 0.7em;
    overflow: hidden;
}
/* === Numeric controls (qty) START === */
/* Kontrolki ilości */
.numeric-controls{
  display:flex;
  align-items:center;
  gap:8px;
  width:100%;
}

/* „Pole” wyświetlające ilość – ma wyglądać jak input */
.numeric-controls .qty-display{
  min-width:56px;
  text-align:center;
  padding:8px 12px;
  border:1px solid #ddd;
  border-radius:8px;
  background: var(--c-text);
  font-weight:700;            /* wyraźny tekst */
  color:#111;                 /* nie wyszarzony */
  user-select:none;           /* brak możliwości zaznaczenia */
  cursor:default;             /* zwykły kursor */
}

/* Grupa przycisków po prawej stronie pola */
.numeric-controls .btn-group{
  margin-left:auto;
  display:flex;
  gap:8px;
}

/* Wspólne dla przycisków */
.numeric-controls button{
  width:36px;
  height:36px;
  border:1px solid #ddd;
  border-radius:8px;
  background:#f7f7f7;
  cursor:pointer;
  line-height:1;
  font-size:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}
.numeric-controls button:hover{ background:#efefef; }
.numeric-controls button:active{ transform:translateY(1px); }
.numeric-controls button:focus-visible{
  outline:2px solid #84a8ff;
  outline-offset:2px;
}

/* Kolory: plus zielony, minus czerwony */
.numeric-controls .btn-plus{
  background:#e8f7ee;
  border-color:#bfe7cf;
}
.numeric-controls .btn-plus:hover{ background:#dff3e8; }
.numeric-controls .btn-plus:active{ background:#d5eedf; }

.numeric-controls .btn-minus{
  background:#fdeaea;
  border-color:#f5bdbd;
}
.numeric-controls .btn-minus:hover{ background:#f9dddd; }
.numeric-controls .btn-minus:active{ background:#f6d0d0; }

/* Ukrywanie minusa, gdy wartość = 0 */
.btn-minus.is-hidden{
  display:none !important;
}

/* Prawdziwy input numericzny – całkiem ukryty */
.numeric-hidden-input{
  display:none !important;
}
/* === Numeric controls (qty) END === */

.prod-option.disabled {
    pointer-events: none;
    user-select: none;
    position: relative;
}

.disabled-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    color: #cc6666;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
    user-select: none; 
    justify-content: center;
    gap: 0.5em;
}

.prod-option.disabled .disabled-overlay .exclam-info {
  pointer-events: auto;
}

.raty-entry {
    display: grid;
    margin-bottom: 10px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    align-items: center;
    justify-items: center;
    gap: 1em;
    text-align: center;
    border: 1px var(--c-header) solid;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
}

.raty-entry img {
    background: white;
    padding: 10px;
    box-sizing: border-box;
}

.raty-entry .panel-button {
    align-self: auto;
}

.raty-inactive {
    cursor: auto;
    opacity: 0.7;
}

@media (max-width: 767px) {
    .raty-entry {
        gap: 0;
        grid-template-columns: auto;
        border-top: 0;
        padding: 10px;
    }

    .raty-entry img {
        max-width: 50vw !important;
        max-height: 8vh;
    }

    .raty-entry .panel-button {
        font-size: 1.2em;
    }
}

@media (min-width: 768px) {
    .raty-entry:not(.raty-inactive):hover {
        border-color: var(--c-accent-hover);
        transition: border-color ease 0.3s;
    }
}


/* === Quick order form (modal) === */
.quick-order-form{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px 20px;
  width:100%;
  max-width:720px;
  margin: 0;
}

.quick-order-form .form-group{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.quick-order-form label{
  font-size:14px;
  color:var(--c-subtext);
}

.quick-order-form input[type="text"],
.quick-order-form input[type="email"],
.quick-order-form input[type="tel"],
.quick-order-form input[type="number"]{
  padding:12px 14px;
  border-radius:10px;
  border:1px solid var(--c-surface2);
  background:var(--c-surface2);
  color:var(--c-main-text);
  outline:none;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.quick-order-form input::placeholder{ color:var(--c-subtext); }

.quick-order-form input:focus{
  background:#262626;
  border-color:var(--c-accent);
  box-shadow:0 0 0 3px rgba(3,169,244,.25);
}

/* prosty stan błędu dla wbudowanej walidacji */
.quick-order-form input:invalid{
  border-color:#a06060;
}

/* ostatnia grupa – wiersz z przyciskiem: pełna szerokość i wyrównanie do prawej */
.quick-order-form .form-group:last-child{
  grid-column:1 / -1;
  display:flex;
  justify-content:flex-end;
  margin-top:4px;
}

/* przycisk zamów w formularzu – styl CTA zgodny z motywem */
.quick-order-form button.panel-button{
  background-color:var(--c-accent);
  color:var(--c-bg);
  border:none;
  border-radius:12px;
  padding:12px 18px;
  font-weight:800;
  font-size:0.95em;
  align-self: flex-end;
}

.quick-order-form button.panel-button:hover{
  transform:none; /* nadpisuje globalny hover scale */
  background-color:var(--c-accent-hover);
  color:var(--c-main-text);
}

/* Układ responsywny: na węższych ekranach jedna kolumna */
@media (max-width: 767px){
    .quick-order-form{ 
        grid-template-columns: 1fr; 
        max-width:100%; 
        width: 90vw;
        gap: 2px;
    }

    .simple-modal .modal-content {
        max-width: 90% !important;
    }

    .simple-modal .modal-message {
        font-size: 0.7em;
    }
}
/* === Budget helper (modal) === */
.simple-modal .modal-content {
  max-width: 760px;
}

.simple-modal h3 {
  margin: 0 0 8px 0;
}

.simple-modal p {
  margin: 0 0 14px 0;
  color: var(--c-subtext);
}

/* Grid with responsive buttons */
.budget-options{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

/* Budget buttons */
.budget-btn{
  appearance: none;
  border: 2px solid var(--c-accent);
  background: var(--c-header);
  color: var(--c-text);
  padding: 10px 14px;
  border-radius: 12px;
  font-weight: 800;
  letter-spacing: .2px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .12s ease, box-shadow .2s ease;
  user-select: none;
}

.budget-btn:hover{
  background: rgba(3,169,244,.15);
}

.budget-btn:active{
  transform: translateY(1px);
}

.budget-btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(3,169,244,.35);
}

/* Selected state – add class from JS after click */
.budget-btn.selected,
.budget-btn[aria-pressed="true"]{
  background: var(--c-accent);
  color: var(--c-bg);
  box-shadow: 0 0 0 3px rgba(3,169,244,.25) inset;
}

/* CTA button under the grid (if present) */
#check-budget-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 14px;
  padding: 12px 16px;
  border: none;
  border-radius: 12px;
  background-color: var(--c-accent);
  color: var(--c-bg);
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color .2s ease, transform .12s ease;
}

#check-budget-btn:hover{ background-color: var(--c-accent-hover); }
#check-budget-btn:active{ transform: translateY(1px); }
#check-budget-btn:focus-visible{ outline: 2px solid rgba(3,169,244,.6); outline-offset: 2px; }

/* Tighter layout on small screens */
@media (max-width: 480px){
  .budget-options{ gap: 8px; grid-template-columns: repeat(2, 1fr); }
  .budget-btn{ padding: 10px 10px; }
}

.info-specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95em;
  margin-bottom: 20px !important;
}

.info-specs-list li {
  padding: 8px 0 8px 28px;
  position: relative;
  border-bottom: 1px solid #e5e7eb;
}

.info-specs-list li::before {
  content: "✔️";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
}