/* =====================================================================
   NiVe Coffee - webshop basisstijl
   Kleuren (huisstijl nivecoffee.nl):
     #22110b  donker koffiebruin  (header, knoppen, koppen)
     #3a2217  bruin hover
     #c8965b  karamel/goud        (accentlijnen, primaire knop)
     #8a5a24  goud voor tekst op wit (leesbaar contrast)
     #f7f3ee  warm lichte achtergrond
     #e4dbd0  warme randkleur
     #333333  tekst / #6f6259 gedempte tekst
   Lettertype: erft van de website (geen eigen font).
   ===================================================================== */

/* GENERAL --------------------------------------------------------- */
[id^="mx_webshop"] {
    color: #333;
    line-height: 1.6;
}

[id^="mx_webshop"] *,
[id^="mx_webshop"] *:before,
[id^="mx_webshop"] *:after {
    box-sizing: border-box;
}

[id^="mx_webshop"] h1,
[id^="mx_webshop"] h2 {
    color: #22110b;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
}

[id^="mx_webshop"] h1:after,
[id^="mx_webshop"] > div > h2:after,
#mx_webshop_choice h2:after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    margin-top: 10px;
    background: #c8965b;
    border-radius: 0 0 4px 4px;
}

[id^="mx_webshop"] a {
    color: #8a5a24;
}

[id^="mx_webshop"] a:hover {
    color: #22110b;
}

[id^="mx_webshop"] .mx_error,
[id^="mx_webshop"] p.mx_error {
    background: #fbefea;
    border-left: 4px solid #9c4a1f;
    color: #7a3415;
    padding: 10px 15px;
    border-radius: 0 3px 3px 0;
}

[id^="mx_webshop"] .mx_webshop_row.mx_error {
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
}

[id^="mx_webshop"] .mx_webshop_row.mx_error > label {
    color: #9c4a1f;
}

[id^="mx_webshop"] .mx_hidden {
    display: none;
}

/* PROCESS (registration.html.twig / overview.html.twig / payment.html.twig) */
.mx_webshop_process {
    margin-bottom: 30px;
    padding: 18px 20px;
    background: #f7f3ee;
    border-bottom: 4px solid #c8965b;
    border-radius: 0 0 14px 14px;
    width: 100%;
    box-sizing: border-box;
    counter-reset: mx_step;
}

.mx_webshop_process ul, .mx_webshop_process li {
    padding: 0;
    margin: 0;
    list-style: none;
}

.mx_webshop_process ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

.mx_webshop_process li {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6f6259;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .04em;
    counter-increment: mx_step;
    position: relative;
}

.mx_webshop_process li:before {
    content: counter(mx_step);
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #d9cec1;
    color: #6f6259;
    font-weight: 700;
    font-size: 13px;
}

/* bereikbare (al doorlopen) stappen */
.mx_webshop_process li:has(a):before {
    background: #22110b;
    border-color: #22110b;
    color: #fff;
}

/* huidige stap */
.mx_webshop_process li.mx_current:before {
    background: #c8965b;
    border-color: #c8965b;
    color: #22110b;
}

.mx_webshop_process li.mx_current,
.mx_webshop_process li.mx_current a {
    color: #22110b;
    font-weight: 700;
    text-decoration: none;
}

.mx_webshop_process a {
    color: #22110b;
    text-decoration: none;
}

.mx_webshop_process a:hover {
    color: #8a5a24;
    text-decoration: underline;
}

.mx_webshop_process li:after {
    content: '';
    flex: 1 1 auto;
    height: 2px;
    background: #e4dbd0;
    margin: 0 5px;
    min-width: 10px;
}

.mx_webshop_process li:last-child:after {
    display: none;
}

/* GENERAL ROWS / INPUT */
.mx_webshop_row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 14px;
    padding-right: 0;
    box-sizing: border-box;
    clear: both;
}

.mx_webshop_row label, .mx_webshop_input {
    display: inline-block;
    box-sizing: border-box;
}

.mx_webshop_row > label {
    width: 40%;
    padding: 9px 15px 0 0;
    color: #22110b;
    font-weight: 600;
}

.mx_webshop_input {
    width: 60%;
}

.mx_webshop_input label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    font-weight: normal;
    cursor: pointer;
}

[id^="mx_webshop"] input[type=radio],
[id^="mx_webshop"] input[type=checkbox] {
    accent-color: #c8965b;
    width: 17px;
    height: 17px;
    margin: 0;
}

.mx_webshop_row input[type=text],
.mx_webshop_row input[type=email],
.mx_webshop_row input[type=password],
.mx_webshop_row input[type=number],
.mx_webshop_row input[type=file],
.mx_webshop_row select,
.mx_webshop_row textarea,
[id^="mx_webshop"] select {
    padding: 9px 12px;
    border: 1px #d9cec1 solid;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    color: #333;
    font: inherit;
    font-size: 15px;
    line-height: 1.4;
    transition: border-color .15s, box-shadow .15s;
}

.mx_webshop_row input:focus,
.mx_webshop_row select:focus,
.mx_webshop_row textarea:focus,
[id^="mx_webshop"] select:focus {
    outline: none;
    border-color: #c8965b;
    box-shadow: 0 0 0 3px rgba(200, 150, 91, .25);
}

.mx_webshop_row.mx_error input,
.mx_webshop_row.mx_error select,
.mx_webshop_row.mx_error textarea {
    border-color: #9c4a1f;
}

.mx_webshop_row textarea {
    height: 110px;
    resize: vertical;
}

/* knoppen: primair = goud, secundair = koffiebruin */
.mx_webshop_row input[type=submit],
[id^="mx_webshop"] input[type=submit] {
    display: inline-block;
    background: #c8965b;
    padding: 12px 28px;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    border: 2px solid #c8965b;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    cursor: pointer;
    color: #22110b;
    height: auto;
    line-height: 1.2;
    transition: background .2s, color .2s, border-color .2s;
    -webkit-appearance: none;
}

.mx_webshop_row input[type=submit]:hover,
[id^="mx_webshop"] input[type=submit]:hover {
    background: #22110b;
    border-color: #22110b;
    color: #fff;
}

.mx_webshop_row input[type=reset],
.mx_webshop_row input[type=button] {
    background: #22110b;
    padding: 9px 18px;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    border: 2px solid #22110b;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    cursor: pointer;
    color: #fff;
    height: auto;
    transition: background .2s, color .2s, border-color .2s;
    -webkit-appearance: none;
}

.mx_webshop_row input[type=reset]:hover,
.mx_webshop_row input[type=button]:hover {
    background: #c8965b;
    border-color: #c8965b;
    color: #22110b;
}

/* "Bekijk product" knop-links uit het CMS (mx_buttons) */
[id^="mx_webshop"] .mx_buttons a,
.mx_buttons a {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 8px 18px;
    background: #22110b;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: 13px;
    border-radius: 3px;
}

[id^="mx_webshop"] .mx_buttons a:hover,
.mx_buttons a:hover {
    background: #c8965b;
    color: #22110b;
}

/* WINKELWAGEN-SAMENVATTING (summary.html.twig) */
#mx_webshop_summary h3 {
    margin: 0 0 4px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

#mx_webshop_summary p {
    margin: 0 0 8px;
}

#mx_webshop_summary a {
    display: inline-block;
    padding: 6px 14px;
    background: #c8965b;
    color: #22110b;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .05em;
    border-radius: 3px;
}

#mx_webshop_summary a:hover {
    background: #22110b;
    color: #fff;
}

/* INGELOGD (logged_in.html.twig / logged_in_status.html.twig) */
#mx_webshop_logged_in a,
#mx_webshop_logged_in_status a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: #c8965b;
    text-underline-offset: 3px;
}

#mx_webshop_logged_in a:hover,
#mx_webshop_logged_in_status a:hover {
    color: #c8965b;
}

/* AFREKENEN: BETALING (payment.html.twig) */
#mx_webshop_payment p {
    background: #f7f3ee;
    border-left: 4px solid #c8965b;
    padding: 18px 20px;
    border-radius: 0 3px 3px 0;
    max-width: 700px;
}

/* RESPONSIVE */
@media screen and (max-width: 767px) {
    .mx_webshop_row > label, .mx_webshop_input {
        width: 100%;
    }
    .mx_webshop_row > label {
        padding: 0 0 4px;
    }
    /* lege label naast verzendknop / checkbox niet tonen op mobiel */
    .mx_webshop_row > label:has(+ .mx_webshop_input input[type=submit]),
    .mx_webshop_row > label:has(+ div > label > input[type=checkbox]) {
        display: none;
    }
    .mx_webshop_process {
        padding: 14px;
    }
    .mx_webshop_process li {
        flex-direction: column;
        text-align: center;
        font-size: 11px;
        gap: 4px;
    }
    .mx_webshop_process li:after {
        display: none;
    }
    .mx_webshop_row input[type=submit] {
        width: 100%;
    }
}
/* =====================================================================
   DONKERE ACHTERGROND
   Alleen voor tekst die direct op de donkere pagina staat.
   Kaarten, filter, formulieren en tabellen houden hun lichte achtergrond.
   Licht #efe7dd · gedempt #bfae9c · goud voor links #d9ad78
   ===================================================================== */

/* koppen */
body [id^="mx_webshop"] h1,
body #mx_webshop_your_data .mx_webshop_your_data > h2 {
    color: #fff;
}

/* CATEGORIE: sorteren + paginering */
body #mx_webshop_category .mx_webshop_sort {
    border-bottom-color: rgba(255, 255, 255, .15);
}
body #mx_webshop_category .mx_webshop_sort label {
    color: #bfae9c;
}
body #mx_webshop_category .mx_pagination a,
body #mx_webshop_category .mx_pagination span {
    color: #efe7dd;
    border-color: rgba(255, 255, 255, .2);
}
body #mx_webshop_category .mx_pagination a:hover {
    color: #22110b;
}

/* PRODUCTPAGINA */
body #mx_webshop_product {
    color: #efe7dd;
}
body #mx_webshop_product > p:first-of-type a {
    color: #bfae9c;
}
body #mx_webshop_product > p:first-of-type a:hover,
body #mx_webshop_product .mx_webshop_product_description a {
    color: #d9ad78;
}
body #mx_webshop_product .mx_webshop_product_prices {
    color: #fff;
}
body #mx_webshop_product .mx_webshop_product_old_price,
body #mx_webshop_product .mx_webshop_product_vat {
    color: #bfae9c;
}
body #mx_webshop_product .mx_webshop_product_new_price,
body #mx_webshop_product .mx_webshop_product_not_in_stock {
    color: #e8946a;
}
body #mx_webshop_product .mx_webshop_product_in_stock {
    color: #7cc98a;
}
body #mx_webshop_product .mx_webshop_product_days,
body #mx_webshop_product .mx_webshop_product_weeks {
    color: #f0b45a;
}
/* bestelblok is licht: tekst daarin weer donker */
body #mx_webshop_product .mx_webshop_product_order {
    color: #333;
}
/* specificaties en staffelkorting */
body #mx_webshop_product .mx_webshop_product_properties strong,
body #mx_webshop_product .mx_webshop_product_volume strong,
body #mx_webshop_product .mx_webshop_product_volume span:last-child,
body #mx_webshop_product .mx_webshop_product_related > strong {
    color: #fff;
}
body #mx_webshop_product .mx_webshop_product_properties li,
body #mx_webshop_product .mx_webshop_product_volume li {
    border-bottom-color: rgba(255, 255, 255, .1);
}
body #mx_webshop_product .mx_webshop_product_properties li:nth-child(2n),
body #mx_webshop_product .mx_webshop_product_volume li:nth-child(2n) {
    background: rgba(255, 255, 255, .05);
}
body #mx_webshop_product .mx_webshop_product_properties span:first-child,
body #mx_webshop_product .mx_webshop_product_volume span:first-child {
    color: #bfae9c;
}
body #mx_webshop_product .mx_webshop_product_related {
    border-top-color: rgba(255, 255, 255, .15);
}

/* WINKELWAGEN */
body #mx_webshop_shopping_cart > p,
body #mx_webshop_shopping_cart form > p {
    color: #efe7dd;
}
body #mx_webshop_shopping_cart a.mx_webshop_cart_continue_shopping {
    color: #fff;
    border-color: #c8965b;
}
body #mx_webshop_shopping_cart a.mx_webshop_cart_continue_shopping:hover {
    background: #c8965b;
    color: #22110b;
}

/* UW GEGEVENS: tekst onder het formulier */
body #mx_webshop_your_data .mx_webshop_your_data {
    color: #bfae9c;
}

/* OVERZICHT: formulier op een lichte kaart, net als "Uw gegevens" */
body #mx_webshop_overview form {
    padding: 26px 26px 12px;
    background: #fff;
    border: 1px solid #e4dbd0;
    border-top: 4px solid #c8965b;
    border-radius: 0 0 4px 4px;
}
/* winkelwagen: producttabel altijd volle breedte, kortingscode eronder */
body #mx_webshop_shopping_cart table.mx_webshop_cart_products {
    display: table;
    float: none;
    width: 100%;
    max-width: none;
}
body #mx_webshop_shopping_cart .mx_webshop_cart_coupon {
    clear: left;
}

/* winkelwagen: producttabel altijd volle breedte, kortingscode eronder */
body #mx_webshop_shopping_cart form {
    display: block;
    float: none;
    width: 100%;
}
body #mx_webshop_shopping_cart table.mx_webshop_cart_products {
    display: table;
    float: none;
    width: 100% !important;
    max-width: none !important;
}
body #mx_webshop_shopping_cart .mx_webshop_cart_coupon {
    clear: left;
}

/* tekst in lichte vakken weer donker (style.css maakt alle <p> wit) */
body .mx_webshop_new_at p,
body .mx_webshop_login p,
body #mx_webshop_payment p,
body #mx_webshop_account > p:not(.mx_error),
body #mx_webshop_password > p:not(.mx_error),
body #mx_webshop_password form p,
body #mx_webshop_your_data form p,
body #mx_webshop_overview form p,
body .mx_webshop_product_order p {
    color: #333;
}
/* =====================================================================
   NiVe Coffee - winkelwagen-icoon met dropdown (mx_webshop_summary)
   #22110b koffiebruin | #c8965b karamel/goud | #e4dbd0 rand | #333 tekst
   ===================================================================== */

#mx_webshop_summary {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-left: 1.5rem;
}

#mx_webshop_summary_button {
  cursor: pointer;
  position: relative;
  width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #c8965b; /* goud, net als de andere header-iconen */
  transition: background-color 0.2s ease, color 0.2s ease;
}
#mx_webshop_summary_button:hover {
  background: rgba(200, 150, 91, 0.15);
  color: #ffffff;
}

#mx_webshop_summary_button i {
  font-size: 1.15rem;
}

/* aantal-badge rechtsboven op het icoon */
#mx_webshop_summary_button span {
  position: absolute;
  min-width: 1.1rem;
  padding: 0.1rem 0.35rem;
  line-height: 1;
  font-size: 0.65rem;
  font-weight: bold;
  border: 1px solid #22110b;
  right: -0.15rem;
  top: -0.15rem;
  background-color: #f8f8f8;
  color: #22110b;
  border-radius: 10px;
  text-align: center;
}

/* dropdown-inhoud */
#mx_webshop_summary_content {
  display: none;
  background-color: #ffffff;
  border: 1px solid #e4dbd0;
  border-top: 3px solid #c8965b; /* goudlijn zoals op de site */
  width: 16.9rem;
  top: 2.75rem;
  right: -0.2rem;
  position: absolute;
  padding: 0.9rem 1.1rem;
  border-radius: 4px;
  z-index: 250;
  box-shadow: 0 4px 14px rgba(34, 17, 11, 0.15);
}

/* pijltje naar het icoon, in de goudkleur van de bovenrand */
#mx_webshop_summary_content:after {
  bottom: 100%;
  right: 0.75rem;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-bottom-color: #c8965b;
  border-width: 8px;
}

#mx_webshop_summary_content h3 {
  font-size: 1rem;
  font-weight: bold;
  color: #22110b;
  margin: 0 0 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e4dbd0;
}

#mx_webshop_summary_content table {
  width: 15rem !important;
  border-collapse: collapse;
}
#mx_webshop_summary_content table td:first-of-type { width: 9rem !important; }
#mx_webshop_summary_content table td:last-of-type { width: 4rem !important; }

#mx_webshop_summary_content td {
  vertical-align: top;
  padding: 0.25rem 0.6rem 0.25rem 0;
  font-size: 0.875rem;
  color: #333333;
}
#mx_webshop_summary_content td:last-of-type {
  padding-right: 0;
  text-align: right;
  white-space: nowrap;
}

#mx_webshop_summary_content p {
  font-size: 0.875rem;
  color: #333333;
  margin: 0 0 0.9rem;
}
#mx_webshop_summary_content p.total {
  text-align: right;
  font-weight: bold;
  color: #22110b;
  padding-top: 0.5rem;
  border-top: 1px solid #e4dbd0;
}
#mx_webshop_summary_content p:last-of-type {
  margin-bottom: 0;
}

/* links in de dropdown (bijv. "naar winkelwagen") */
#mx_webshop_summary_content a {
  color: #f7f7f7;
  text-decoration: underline;
}
#mx_webshop_summary_content a:hover {
  color: #f7f7f7;
}
/* header mag de dropdown niet afsnijden */
:has(> #mx_webshop_summary),
:has(> * > #mx_webshop_summary),
:has(> * > * > #mx_webshop_summary) {
  overflow: visible !important;
}

/* dropdown boven de gouden balk en de rest van de pagina */
#mx_webshop_summary_content {
  z-index: 9999;
}
:has(> #mx_webshop_summary) {
  position: relative;
  z-index: 9999;
}