.joaskquestion input[type=text], select, textarea {
  width: 97%;
  padding: 12px;
  box-sizing: border-box;
  margin-top: 6px;
  margin-bottom: 16px;
  resize: vertical; 
  background:#f9f9f9;
  margin-left:5px;
  border: 1px solid #ddd;
}

.joaskquestion input[type=submit] {
  background-color: #FF5002;
  color: white;
  padding: 13px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.joaskquestion input[type=submit]:hover {
  background-color: #E44600;
}




/* Vergelijker mobiel */
.vergelijker_mobiel {
    position: relative !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px;
    height: 40px;
    background-color: #0ea0e7 !important;
    border-right: 1px solid #717171;
    color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    font-size: 18px;
    text-decoration: none;
    border-left: 1px solid #ffd4c1;
    display: flex !important;
}
.vergelijker_mobiel i {
    font-size: 20px;
    color: #fff;
}
.vergelijker_mobiel #aantalcomparemobiel {
    position: absolute;
    top: 3px;
    right: 1px;
    background-color: #fff;
    color: #0ea0e7;
    border-radius: 50%;
    padding: 3px 6px;
    font-size: 12px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}
.vergelijker_mobiel:hover {
    background-color: #e55a21;
    color: #fff;
}

/* Footerbar */
#footerbar-col a.wensenlijst_mobiel { background-size: 50px; }
#footerbar-col a.log-in img, #footerbar-col a.log-uit img { width: 87% !important; position: inherit; z-index: 10; }

/* Side images */
.set { display: block; }
.side-image-left, .side-image-right {
    position: fixed;
    height: auto;
    margin: 8rem;
    bottom: 150px;
    z-index: 99;
}
.side-image-right { right: 0; }
.side-image-left { left: 0; }

/* Media queries */
@media only screen and (max-width:767px) {
    #handheld-footerbar { display: flex !important; }
    .item-101 { border-top: 1px solid #078ccc; }
    .hidden-lg #searchmob { margin: 8px 8px 7px 8px !important; border: 2px solid #bfe9fd !important; }
}
@media only screen and (max-width:1800px) {
    .side-inside-left, .side-inside-right { display: none; }
}
@media only screen and (min-width:1801px) {
    .side-inside-right { width: 50% !important; float: right; }
    .side-inside-left { float: left; }
}
.minmargin { margin-top: -170px !important; }
.minmarginn { margin-top: 48px !important; }

/* PPX card variabelen */
.ppx-card {
    --brand-orange: #ff6b29;
    --accent-blue: #0fa7f0;
    --accent-blue-dark: #0C7DB3;
    --text: #333;
    --white: #fff;
    --shadow: 0 2px 5px rgba(0,0,0,.15);
    --radius: 8px;
    --radius-lg: 12px;
    --fade: opacity .3s, visibility .3s;
}

/* PPX product styles */
.ppx-card .product { position: relative; }
.ppx-card .wwproducts {
    box-shadow: 0 8px 32px rgba(0,0,0,0.13), 0 1.5px 6px rgba(0,0,0,0.05);
    background: #fff;
    border-radius: 8px;
    padding-bottom: 8px !important;
}
.ppx-card .description li { list-style: none !important; position: relative; }

/* Product label */
.ppx-card .product_label { position: absolute; top: 8px; left: 8px; z-index: 3; transition: .3s; }
.ppx-card .product_label--right { right: 8px; left: auto; }
.ppx-card .product_label .label_with_icon {
    background: var(--brand-orange);
    color: var(--white);
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 180px;
    text-align: left;
    box-shadow: var(--shadow);
}
.ppx-card .product_label .label_with_icon i { font-size: 20px; line-height: 1; }

/* Hoofdafbeelding hover */
.ppx-card .jo_main_prodct_img { position: relative; display: inline-block; }
.ppx-card .jo_main_prodct_img .img-top { display: none; position: absolute; top: 0; left: 0; z-index: 2; }
.ppx-card .jo_main_prodct_img:hover .img-top { display: inline; }
.ppx-card .image_block2 .jshop_img, .ppx-card .image_block2 .img-top { width: 242px; height: auto; }

/* Overlay knoppen */
.ppx-card .tmp_var_bottom_foto_overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.ppx-card .tmp_var_bottom_foto_overlay a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text);
    transition: color .3s;
}
.ppx-card .tmp_var_bottom_foto_overlay a i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.9);
    color: inherit;
    border-radius: 50%;
    box-shadow: var(--shadow);
    transition: background-color .3s, color .3s;
    margin-top: 4px;
}
.ppx-card .tmp_var_bottom_foto_overlay a .compare-text {
    display: none;
    position: absolute;
    top: 50%;
    right: 45px;
    transform: translateY(-50%);
    background: var(--brand-orange);
    color: #fff;
    padding: 5px 8px;
    border-radius: 5px;
    font-size: 12px;
    white-space: nowrap;
    box-shadow: var(--shadow);
    margin-top: 12px;
}
.ppx-card .tmp_var_bottom_foto_overlay a:hover i { background: var(--brand-orange); color: #fff; }
.ppx-card .tmp_var_bottom_foto_overlay a:hover .compare-text { display: inline-block; }

/* Warranty badge */
.ppx-card .jo_info_photo .warranty-badge {
    align-items: center;
    gap: 6px;
    font-weight: 600;
    background: #f6f9fc;
    color: #1f2937;
    padding: 6px 10px;
    border-radius: 6px;
    box-shadow: var(--shadow);
}
.ppx-card .jo_info_photo .warranty-badge i { margin-right: 5px; }

/* Naamstrookje */
.ppx-card .productnamew {
    border-top: 2px solid #fe791f;
    border-bottom: 2px solid #fe791f;
    font-size: 15px;
    font-weight: 700;
    padding: 4px;
}

/* Santander/termijnen banners */
.ppx-card .santander {
    background: var(--accent-blue);
    color: #fff;
    cursor: pointer;
    line-height: 16px;
    display: inline-block;
    padding: 8px 10px;
    border-radius: 6px;
}
.ppx-card .santander .tooltip-dot {
    background: #fff;
    color: #0fa7f0 !important;
    text-shadow: none;
    cursor: pointer;
    margin-left: 8px;
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    text-align: center;
    border-radius: 50%;
    font-weight: 700;
}
.ppx-card .santander .terms { opacity: .8; font-weight: bold; }

/* Koopknop-blok */
.ppx-card .hide-buy {
    background: #0EA0E7;
    border: 1px solid var(--accent-blue-dark);
    padding: 8px;
    border-radius: 5px;
    height: 40px;
    line-height: 0;
    text-align: center;
    margin-top: 10px;
}
.ppx-card .hide-buy a { color: #fff; }

/* Wishlist melding */
.ppx-card .wishlist-notice {
    z-index: 9999;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    padding: 15px;
    border-radius: 5px;
    box-shadow: var(--shadow);
}
.ppx-card .wishlist-notice a { color: #fff; text-decoration: underline; }
.ppx-card .wishlist-notice--add { background: #00aaff; }
.ppx-card .wishlist-notice--remove { background: #ff5500; }
.ppx-card .wishlist-notice--error { background: #ff0000; }

/* Desktop hover/fade */
@media (min-width:800px) {
    .ppx-card .product:hover .product_label { visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
    .ppx-card .manufacturer_name.logolist img {
        width: 40% !important;
        margin-top: 10px !important;
        float: right !important;
    }
    .ppx-card .wwproducts .bespaar-balk,
    .ppx-card .wwproducts .tmp_var_bottom_foto_overlay,
    .ppx-card .wwproducts .santander,
    .ppx-card .wwproducts .hide-buy {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: var(--fade);
    }
    .ppx-card .wwproducts:hover .bespaar-balk,
    .ppx-card .wwproducts:hover .tmp_var_bottom_foto_overlay,
    .ppx-card .wwproducts:hover .santander,
    .ppx-card .wwproducts:hover .hide-buy {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .ppx-card .product .gespreid-betalen,
    .ppx-card .product .toevoegen-vergelijker {
        opacity: 0;
        max-height: 0;
        pointer-events: none;
        transition: opacity .2s, max-height .2s;
    }
    .ppx-card .product:hover .gespreid-betalen,
    .ppx-card .product:hover .toevoegen-vergelijker {
        opacity: 1;
        max-height: 100px;
    }
}

/* Conditie label */
.ppx-card.label-not-38 .accordion-group.panel.nn_sliders-group.active { display: block; }

/* Mobiel */
@media (max-width:767px) {
    .ppx-card .banner { margin: 6px !important; }
    .ppx-card .nomobile { display: none; }
    .ppx-card .jshop .product_label { left: 148px; width: 119px; }
}

/* Product titel */
.ppx-card .product-title { display: none; }
.ppx-card .productright { width: 43%; }

/* Form container */
.form-container123 { position: inherit; bottom: 0; right: 0; width: 83% !important; border-radius: 10px 0 0 0; }
.chat-popup123 { background: rgba(0, 0, 0, 0.5); width: 100%; height: 100%; }

/* Media queries mobiel home */
@media only screen and (max-width: 768px) {
    body.home .open-button123 { display: inherit !important; }
    body.home .open-form1234 { display: none; }
    body.home .open-form1234.shown { display: inherit !important; }
}

/* Toggle styles */
#toggle {
    width: 83vw;
    min-width: 83%;
    top: 45px;
    background: #ffffff;
    z-index: 10;
    overflow-y: auto;
    margin-left: 17%;
    transition: all 0.5s cubic-bezier(0.3, 1, 0.3, 1);
    position: fixed;
    display: none;
    padding: 0 5px 0 20px;
    height: calc(100vh - 45px);
    padding-right: 10px;
}
.toggle_overlay {
    display: none;
    background: rgba(0,0,0,0.5);
    margin-top: 0;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    width: 100%;
    position: fixed;
}
.joiframe { height: calc(100vh - 150px); overflow-x: scroll; }

/* Credits en modal styles */
#credits .right:hover a, #credits .left:hover a { color: #ff6b29 !important; }
.modal-dialog { display: inherit !important; border-radius: 25px; }
.modal-body { padding: 25px; }
button { margin-left: 0px; }
.btn.btn-danger.float-right {
    word-break: normal;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    display: block !important;
}

/* Gespreid betalen modal */
.gespreid-betalen-trigger {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: #4A4A4A;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
	margin-top:10px;
}
.gespreid-betalen-trigger:hover { background-color: #e0e0e0; color: #000; }
body.modal-open { overflow: hidden; }
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 15px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.is-visible { opacity: 1 !important; visibility: visible !important; }
.modal-content {
    position: relative;
    background-color: #ffffff;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}
.modal-overlay.is-visible .modal-content { transform: scale(1); }
.modal-close {
    position: absolute;
    top: 10px;
    right: 7px;
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #888;
    cursor: pointer;
    padding: 0;
    background-color: transparent !important;
}
.modal-close:hover { color: #000; background-color: transparent !important; }
.modal-voorwaarde {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 10px 15px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
    color: #343a40;
}
.modal-laag-1 h3 {
    margin-top: 0;
    font-size: 22px;
    color: #1a1a1a;
    font-weight: 500;
}
.modal-laag-1 h3 span { font-weight: 700; color: #0b5f88; }
.termijnen-overzicht {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 25px 0;
    text-align: center;
}
.termijn-item {
    flex: 1;
    padding: 15px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #fafafa;
}
.termijn-bedrag {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #0ea0e7;
}
.termijn-label, .termijn-wanneer { display: block; margin-top: 5px; }
.termijn-label { font-size: 14px; font-weight: 600; color: #333; }
.termijn-wanneer { font-size: 13px; color: #666; }
.voordelen-lijst {
    list-style: none;
    padding: 15px 0;
    margin: 25px 0;
    display: flex;
    justify-content: space-around;
    font-size: 14px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.voordelen-lijst li { display: flex; align-items: center; gap: 8px; }
.voordelen-lijst img { width: 16px; height: 16px; }
.accordion-item { border-bottom: 1px solid #e0e0e0; }
.accordion-item:first-of-type { border-top: 1px solid #e0e0e0; }
.accordion-item summary {
    padding: 15px 10px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    outline: none;
}
.accordion-item summary::-webkit-details-marker { display: none; }
.accordion-item summary::after {
    content: '+';
    position: absolute;
    right: 10px;
    font-size: 22px;
    font-weight: 400;
    color: #888;
    transition: transform 0.2s;
}
.accordion-item[open] summary::after { transform: rotate(45deg); }
.accordion-item[open] summary { color: #0ea0e7; }
.accordion-content { padding: 0 15px 15px; font-size: 14px; line-height: 1.6; }
.accordion-content ul { padding-left: 20px; margin-top: 0; }
.accordion-content p:first-child { margin-top: 0; }

/* Squeezebox modal – center + scroll */
#sbox-window{
  position: fixed !important;
  left: 50% !important;
  top: 50% !important;                 /* center i.p.v. 5vh */
  transform: translate(-50%, -50%) !important;
  width: min(800px, 96vw) !important;
  height: auto !important;
  max-height: 90vh !important;         /* niet buiten beeld */
}

#sbox-content{
  height: auto !important;
  max-height: calc(90vh - 40px) !important;
  overflow: auto !important;           /* scrollen bij lange tekst */
  -webkit-overflow-scrolling: touch;
}

/* (optioneel) kleine schermen iets ruimer laten */
@media (max-width: 480px){
  #sbox-window{ width: 96vw !important; }
}
