/* ================================================================
   Securo Elementor Widgets — frontend.css  v1.1.0
   Auteur: COMMAR (commar.nl)
   Structurele CSS alleen. Kleuren/typografie via Elementor-controls.
   ================================================================ */

/* ── Variatie-selector ────────────────────────────────────────── */
.securo-variation-row {
    display:               grid;
    grid-template-columns: auto 1fr;
    align-items:           center;
}
.securo-variation-label {
    font-weight:  700;
    white-space:  nowrap;
    margin-right: 16px;
}
.securo-variation-select-wrap { min-width: 0; }
.securo-variation-select {
    width:               100%;
    padding:             10px 36px 10px 12px;
    border:              1px solid #cccccc;
    border-radius:       3px;
    background-color:    #ffffff;
    background-image:    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23555' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat:   no-repeat;
    background-position: right 12px center;
    -webkit-appearance:  none;
    -moz-appearance:     none;
    appearance:          none;
    cursor:              pointer;
    line-height:         1.4;
    transition:          border-color .15s ease;
    font-family:         inherit;
    font-size:           inherit;
}
.securo-variation-select:focus {
    outline: none;
    box-shadow: none;
}

/* ── Staffelkorting ───────────────────────────────────────────── */
.securo-staffelkorting-wrap {
    width:    100%;
    overflow: hidden; /* clips any wrapper border that bleeds into table area */
}
.securo-staffel-title {
    font-weight: 700;
    margin:      0 0 10px;
    padding:     0;
    line-height: 1.4;
}
.securo-staffel-table {
    width:           100%;
    border-collapse: collapse;
    border:          none;
}
/* ── Staffelkorting tabel ─────────────────────────────────────── */

/* Elementor widget-container reset */
.elementor-widget-securo_staffelkorting .elementor-widget-container {
    border: none !important;
    box-shadow: none !important;
}

.securo-staffelkorting-wrap {
    width:    100%;
    overflow: visible;
}

.securo-staffel-table {
    width:           100%;
    border-collapse: collapse !important;
    border-spacing:  0 !important;
    border:          none !important;
    outline:         none !important;
    box-shadow:      none !important;
}

/* Alle structuur-elementen: geen outer borders */
.securo-staffel-table thead,
.securo-staffel-table tbody,
.securo-staffel-table tfoot,
.securo-staffel-table thead tr,
.securo-staffel-table tbody tr {
    border:     none !important;
    background: transparent !important;
    box-shadow: none !important;
    outline:    none !important;
}

/* ── Kopteksten ── */
.securo-staffel-table th {
    text-align:    left;
    font-weight:   600;
    padding-left:  0;
    padding-right: 15px;
    background:    transparent !important;
    outline:       none !important;
    box-shadow:    none !important;
    /* Alleen horizontale lijn onder koptekst */
    border-top:    none !important;
    border-left:   none !important;
    border-right:  none !important;
    border-bottom: 1px solid #cccccc !important;
}

/* Verticale middellijn via border-right op kolom 1 */
.securo-staffel-table th:first-child {
    border-right: 1px solid #cccccc !important;
}
.securo-staffel-table td:first-child {
    border-right: 1px solid #e0e0e0 !important;
}

/* ── Datacellen ── */
.securo-staffel-table tbody tr {
    transition: background-color .12s ease;
}
.securo-staffel-table tbody td {
    padding-left:  0;
    padding-right: 15px;
    background:    transparent !important;
    box-shadow:    none !important;
    outline:       none !important;
    border-top:    none !important;
    border-left:   none !important;
    border-right:  none !important;
    /* Horizontale scheidingslijn — iets donkerder dan voorheen */
    border-bottom: 1px solid #d0d0d0 !important;
}

/* Laatste rij: geen onderlijn */
.securo-staffel-table tbody tr:last-child td {
    border-bottom: none !important;
}
.securo-staffel-table tbody tr.is-active td {
    font-weight: 700; /* fallback, overridden by Elementor */
}

/* ── Prijs ────────────────────────────────────────────────────── */
/*
 * Layout:
 *   "Vanaf"            ← eigen regel boven
 *   [bedrag] [excl btw] ← op één regel naast elkaar
 */
.securo-price {
    display:        flex;
    flex-direction: column;
    align-items:    flex-start;
    line-height:    1;
}
.securo-price__vanaf {
    display:     block;
    line-height: 1.2;
}
.securo-price__row {
    display:     flex;
    align-items: baseline;
    flex-wrap:   nowrap;
    gap:         5px;
    line-height: 1;
}
.securo-price__amount {
    line-height:     1;
    text-decoration: none;
}
.securo-price__excl {
    align-self: flex-end;
}

/* ── Add-to-cart ──────────────────────────────────────────────── */
.securo-atc-wrap {
    display:     flex;
    align-items: center;  /* center ipv stretch: qty en btn op dezelfde middellijn */
    gap:         10px;    /* default — overridden door Elementor-control */
    flex-wrap:   nowrap;
}

/* Qty */
.securo-atc-qty {
    width:            68px;   /* default — overridden by Elementor */
    height:           44px;   /* default — overridden by Elementor */
    min-height:       0;
    text-align:       center;
    border:           1px solid #cccccc;
    border-radius:    3px;
    padding:          0 8px;
    /* Expliciete achtergrond met !important: Elementor wrapper-background
       (afbeelding/kleur op de widget zelf) slaat NOOIT door op de input */
    background-color: #ffffff !important;
    background-image: none !important;
    font-family:      inherit;
    font-size:        inherit;
    line-height:      1.4;
    transition:       border-color .15s ease;
    box-shadow:       none;
    color:            inherit;
    /* Spinner standaard uit */
    -moz-appearance:  textfield;
}

/* Webkit-spinner standaard verborgen */
.securo-atc-qty::-webkit-inner-spin-button,
.securo-atc-qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Spinner AAN: klasse .securo-qty-spinner gezet via Elementor-control */
.securo-atc-qty.securo-qty-spinner {
    -moz-appearance: number-input;
    padding-right:   4px; /* iets minder zodat spinner past */
}
.securo-atc-qty.securo-qty-spinner::-webkit-inner-spin-button,
.securo-atc-qty.securo-qty-spinner::-webkit-outer-spin-button {
    -webkit-appearance: inner-spin-button;
    opacity: 1;
    cursor:  pointer;
}

.securo-atc-qty:focus { outline: none; box-shadow: none; }

/* Button reset — selector specifiek op button-element, nooit op input */
button.securo-atc-btn,
.securo-simple-form button.securo-atc-btn {
    -webkit-appearance: none;
    appearance:         none;
    display:            inline-flex;
    align-items:        center;
    justify-content:    flex-start;
    gap:                0;
    border:             none;
    box-shadow:         none;
    cursor:             pointer;
    text-decoration:    none;
    white-space:        nowrap;
    font-family:        inherit;
    line-height:        1.4;
    transition:         background-color .2s ease, color .2s ease;
    overflow:           hidden;
    /* Gap tussen label en icoon — overridden door Elementor-control */
    gap:                12px;

    /* Defaults — worden overschreven door Elementor */
    background-color: #C1D42F;
    color:            #1E2820;
    border-radius:    4px;
    padding:          11px 14px 11px 20px;
    font-weight:      700;
}
button.securo-atc-btn:hover { background-color: #0086A5; color: #ffffff; }
button.securo-atc-btn:focus { outline: none; box-shadow: none; }
button.securo-atc-btn.disabled,
button.securo-atc-btn:disabled { opacity: .55; cursor: not-allowed; }

.securo-atc-label {
    flex:        1;          /* neemt resterende ruimte in — duwt icon naar rechts */
    text-align:  left;
    white-space: nowrap;
    overflow:    hidden;
    text-overflow: ellipsis;
}

/* Icoon-paneel */
.securo-atc-icon {
    display:         inline-flex;
    align-items:     center;
    justify-content: center;
    flex-shrink:     0;
    align-self:      stretch;
    min-width:       44px;
    width:           44px;
    /* margin-left: auto verwijderd — label flex:1 duwt icon vanzelf naar rechts */
    /* Scheiding */
    box-shadow:      -3px 0 0 rgba(0,0,0,.08);
    background-color: rgba(0,0,0,.13);
    transition:      background-color .2s ease;
    /* Paneel loopt tot aan de knoprand */
    margin-right:    -14px; /* = knop padding-right */
}
.securo-atc-icon svg {
    display:         block;
    width:           18px;
    height:          18px;
    stroke:          currentColor;
    stroke-width:    2;
    stroke-linecap:  round;
    stroke-linejoin: round;
    fill:            none;
    overflow:        visible;
}
.securo-atc-icon img {
    display: block;
    width:   18px;
    height:  18px;
    object-fit: contain;
}

/* simple form: reset form-stijlen */
.securo-simple-form { margin: 0; padding: 0; }

/* ================================================================
   Securo Custom Table widget
   ================================================================ */

.securo-custom-table-wrap {
    width:      100%;
    overflow-x: auto;   /* horizontaal scrollen op smal scherm */
    -webkit-overflow-scrolling: touch;
}

/* ≤7 kolommen: 50% breedte op desktop */
.securo-custom-table-wrap.securo-table-half {
    max-width: 50%;
}

/* >7 kolommen: volledige breedte */
.securo-custom-table-wrap.securo-table-full {
    max-width: 100%;
}

/* Responsive: altijd fullwidth op tablet/mobiel */
@media (max-width: 1024px) {
    .securo-custom-table-wrap.securo-table-half {
        max-width: 100%;
    }
}

.securo-custom-table {
    width:           100%;
    border-collapse: collapse !important;
    border-spacing:  0 !important;
    border:          none !important;
    min-width:       320px; /* voorkomt platdrukken op smal scherm */
}

/* Header rij */
.securo-custom-table thead tr {
    background: #6B6B14 !important;
    border:     none !important;
}
.securo-custom-table thead th {
    color:       #ffffff !important;
    font-weight: 700;
    text-align:  left;
    padding:     10px 14px;
    border:      none !important;
    background:  transparent;
    white-space: nowrap;
    font-size:   0.9em;
}
/* Verticale scheiding tussen koptekst-kolommen */
.securo-custom-table thead th + th {
    border-left: 1px solid rgba(255,255,255,0.18) !important;
}

/* Zebra rijen */
.securo-custom-table tbody tr:nth-child(odd) {
    background: rgba(193,212,47,0.08) !important;
}
.securo-custom-table tbody tr:nth-child(even) {
    background: transparent !important;
}
/* Hover */
.securo-custom-table tbody tr:hover {
    background: rgba(193,212,47,0.18) !important;
}

/* Datacellen */
.securo-custom-table tbody td {
    padding:       9px 14px;
    font-size:     0.9em;
    border-top:    none !important;
    border-left:   none !important;
    border-right:  none !important;
    border-bottom: 1px solid #d8d8d8 !important;
    background:    transparent;
    white-space:   nowrap;
}
.securo-custom-table tbody tr:last-child td {
    border-bottom: none !important;
}
/* Verticale scheiding tussen datacellen */
.securo-custom-table tbody td + td {
    border-left: 1px solid #e8e8e8 !important;
}

/* ── Eerste kolom als kopkolom ─────────────────────────────── */
/* Klasse .securo-table-row-headers gezet via Elementor-schakelaar  */

.securo-custom-table.securo-table-row-headers tbody td:first-child {
    /* Subtiele tint — iets donkerder dan de rij-achtergrond */
    background-color: rgba(0,0,0,0.06) !important;
    color:            inherit !important;
    font-weight:      600;
    border-bottom-color: #d0d0d0 !important;
    border-right:        1px solid #d0d0d0 !important;
}

/* Zebra: iets donkerder bovenop de rijkleur */
.securo-custom-table.securo-table-row-headers tbody tr:nth-child(odd) td:first-child {
    background-color: rgba(0,0,0,0.07) !important;
}
.securo-custom-table.securo-table-row-headers tbody tr:nth-child(even) td:first-child {
    background-color: rgba(0,0,0,0.05) !important;
}
.securo-custom-table.securo-table-row-headers tbody tr:hover td:first-child {
    background-color: rgba(0,0,0,0.08) !important;
}

/* ── Securo prijs — actieprijs layout ─────────────────────── */

.securo-price__row--regular {
    gap:         4px;
    margin-bottom: 2px;  /* overridden by Elementor control */
}

.securo-price__regular {
    text-decoration: line-through;
    font-weight:     400;
    color:           #999999;  /* overridden by Elementor */
    opacity:         0.75;
    /* Grootte iets kleiner dan het bedrag */
    font-size:       0.8em;
}

/* excl. btw naast doorgestreepte prijs iets kleiner */
.securo-price__row--regular .securo-price__excl {
    font-size:     0.72em;
    margin-bottom: 1px;
}
