/* JOEY's: webshop in WordPress in de vormgeving van de nieuwe site (2026-11-21).
   Komt bovenop site.css, alleen op winkel, product, winkelwagen, afrekenen en mijn account
   (mu-plugin joeys-webshop-site.php). Hier staan alleen de onderdelen die WooCommerce zelf maakt:
   maatkeuze, aantal, knoppen, meldingen, winkelwagen, afrekenen en account. Overzicht en productpagina
   gebruiken de klassen uit site.css (shop-open, pcard, prod, shipping). Blauw blijft voor de proefles;
   in de webshop is de hoofdactie donker (btn--ink). */

.joeys-ws main{padding-bottom:64px}
.joeys-ws .screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}   /* teksten alleen voor schermlezers (WooCommerce) */
.joeys-ws .shop-open .lead{max-width:60ch}
.joeys-ws .sortbar form{display:flex;align-items:center;gap:8px}

/* Meldingen van WooCommerce (toegevoegd, fout, info) */
.joeys-ws .woocommerce-notices-wrapper:empty{display:none}
.joeys-ws .woocommerce-message,.joeys-ws .woocommerce-info,.joeys-ws .woocommerce-error{list-style:none;margin:16px 0;padding:14px 16px;border-left:4px solid var(--ink-900);background:var(--mat-100);color:var(--ink-900);font-size:16px;display:flex;flex-wrap:wrap;gap:8px 16px;align-items:center;justify-content:space-between}
.joeys-ws .woocommerce-error{border-left-color:#B3261E}
.joeys-ws .woocommerce-error li{list-style:none}
.joeys-ws .woocommerce-message .button,.joeys-ws .woocommerce-info .button{order:2}

/* Knoppen van WooCommerce: de donkere knop uit de huisstijl */
.joeys-ws .button,.joeys-ws button.button,.joeys-ws a.button,.joeys-ws input.button,.joeys-ws #place_order,.joeys-ws .checkout-button{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:0 24px;border:0;border-radius:0;background:var(--ink-900);color:#fff;font:700 16px/1.2 Poppins,Poppins-vervang,sans-serif;text-decoration:none;cursor:pointer}
.joeys-ws .button:hover,.joeys-ws #place_order:hover{background:#000}
.joeys-ws .button:disabled,.joeys-ws .button.disabled{opacity:.45;cursor:not-allowed}
.joeys-ws .button.alt,.joeys-ws .single_add_to_cart_button,.joeys-ws #place_order,.joeys-ws .checkout-button{min-height:56px;font-size:17px}

/* Velden */
.joeys-ws input[type=text],.joeys-ws input[type=email],.joeys-ws input[type=tel],.joeys-ws input[type=password],.joeys-ws input[type=number],.joeys-ws select,.joeys-ws textarea{width:100%;min-height:52px;border:1.5px solid #6E6E6E;border-radius:0;padding:0 14px;font:400 16px Poppins,Poppins-vervang,sans-serif;color:var(--ink-900);background:#fff}
.joeys-ws textarea{padding:12px 14px;min-height:110px}
.joeys-ws select{appearance:none;padding-right:40px;background-image:linear-gradient(45deg,transparent 50%,var(--ink-900) 50%),linear-gradient(135deg,var(--ink-900) 50%,transparent 50%);background-position:calc(100% - 20px) 23px,calc(100% - 14px) 23px;background-size:6px 6px;background-repeat:no-repeat}
.joeys-ws .sortbar select{min-height:44px;width:auto;background-position:calc(100% - 18px) 19px,calc(100% - 12px) 19px}
.joeys-ws input:focus-visible,.joeys-ws select:focus-visible,.joeys-ws textarea:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.joeys-ws label{font-weight:600;font-size:15px;color:var(--ink-900)}
.joeys-ws .required{color:#B3261E;text-decoration:none}

/* Productpagina: maatkeuze, prijs van de gekozen maat, aantal en knop */
.joeys-ws form.cart,.joeys-ws div.cart{display:block;width:auto;height:auto}
.joeys-ws table.cart{display:table;width:100%;height:auto}   /* site.css geeft .cart (het tasje in de kop) display:flex; het formulier van WooCommerce heet ook .cart */
.joeys-ws .prod .pprice .woocommerce-Price-amount{font-weight:800}
.joeys-ws .variations_form{margin-top:20px}
.joeys-ws table.variations{border-collapse:collapse;width:100%;margin:0 0 12px}
.joeys-ws table.variations th,.joeys-ws table.variations td{display:block;padding:0;text-align:left}
.joeys-ws table.variations th label{display:block;margin-bottom:8px}
.joeys-ws .reset_variations{display:inline-block;margin-top:8px;font-size:14px;color:var(--ink-700)}
.joeys-ws .single_variation_wrap .woocommerce-variation-price{font-size:22px;font-weight:800;color:var(--ink-900);margin:6px 0 12px}
.joeys-ws .woocommerce-variation-availability p{margin:0 0 10px;font-size:15px}
.joeys-ws .woocommerce-variation-add-to-cart,.joeys-ws form.cart:not(.variations_form){display:flex;gap:12px;align-items:stretch;margin-top:8px}
.joeys-ws .quantity input.qty{width:84px;min-height:56px;text-align:center;font-weight:600;padding:0 6px}
.joeys-ws .single_add_to_cart_button{flex:1}
.joeys-ws .prod .prose{margin-top:22px}
.joeys-ws .stock.out-of-stock{color:#B3261E;font-weight:600}

/* Winkelwagen */
.joeys-ws .shop_table{width:100%;border-collapse:collapse;font-size:16px}
.joeys-ws .shop_table th{text-align:left;font-weight:700;padding:12px 8px;border-bottom:2px solid var(--ink-900)}
.joeys-ws .shop_table td{padding:14px 8px;border-bottom:1px solid var(--line);vertical-align:middle}
.joeys-ws .shop_table img{width:72px;height:auto}
.joeys-ws .shop_table .product-name a{color:var(--ink-900);font-weight:600}
.joeys-ws .shop_table a.remove{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center;font-size:22px;color:var(--ink-900);text-decoration:none;border:1.5px solid var(--line)}
.joeys-ws .shop_table .actions{padding-top:18px}
.joeys-ws .coupon{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.joeys-ws .coupon input{max-width:220px}
.joeys-ws .cart-collaterals{margin-top:32px;max-width:520px;margin-left:auto}
.joeys-ws .cart_totals h2,.joeys-ws #order_review_heading,.joeys-ws .woocommerce-billing-fields h3,.joeys-ws .woocommerce-additional-fields h3{font-size:24px;margin:0 0 12px}
.joeys-ws .wc-proceed-to-checkout .checkout-button{width:100%;margin-top:16px}
.joeys-ws .woocommerce-shipping-methods{list-style:none;padding:0;margin:0}
@media (max-width:767px){
  .joeys-ws .shop_table_responsive thead{display:none}
  .joeys-ws .shop_table_responsive tr{display:grid;grid-template-columns:1fr auto;border-bottom:1px solid var(--line);padding:10px 0}
  .joeys-ws .shop_table_responsive td{display:flex;justify-content:space-between;gap:12px;border:0;padding:6px 0;grid-column:1 / -1}
  .joeys-ws .shop_table_responsive td::before{content:attr(data-title);font-weight:600}
  .joeys-ws .shop_table_responsive td.product-remove,.joeys-ws .shop_table_responsive td.product-thumbnail{display:none}
  .joeys-ws .shop_table_responsive td.actions{display:block}
  .joeys-ws .shop_table_responsive td.actions::before{content:none}
  .joeys-ws .coupon{flex-direction:column;align-items:stretch}
  .joeys-ws .coupon input{max-width:none}
}

/* Afrekenen */
.joeys-ws form.checkout{display:grid;gap:32px;margin-top:8px}
@media (min-width:1024px){
  .joeys-ws form.checkout{grid-template-columns:1.2fr 1fr;grid-template-rows:auto 1fr;align-items:start;column-gap:48px;row-gap:12px}
  /* factuurvelden over beide rijen, zodat "Je bestelling" naast de velden begint en niet eronder (gezien door Sander op 2000 px) */
  .joeys-ws #customer_details{grid-column:1;grid-row:1 / span 2}
  .joeys-ws #order_review_heading{grid-column:2;grid-row:1}
  .joeys-ws #order_review{grid-column:2;grid-row:2}
}
/* Totalen: overal dezelfde lijn, de laatste regel (totaal) dikker */
.joeys-ws .shop_table tfoot th,.joeys-ws .shop_table tfoot td{border-bottom:1px solid var(--line);padding:14px 8px;text-align:left}
.joeys-ws .shop_table tfoot tr.order-total th,.joeys-ws .shop_table tfoot tr.order-total td{border-bottom:2px solid var(--ink-900);font-size:18px}
.joeys-ws .woocommerce-shipping-fields h3{margin:8px 0 0}
.joeys-ws .woocommerce-additional-fields h3{margin-top:28px}
.joeys-ws #ship-to-different-address label{display:inline-flex;align-items:center;gap:10px;font-size:16px}
.joeys-ws .form-row{margin:0 0 16px;padding:0;list-style:none}
.joeys-ws .form-row label{display:block;margin-bottom:6px}
.joeys-ws .woocommerce-checkout-payment{background:var(--mat-100);padding:20px;margin-top:20px}
.joeys-ws .wc_payment_methods{list-style:none;padding:0;margin:0 0 16px}
.joeys-ws .wc_payment_method label{display:inline-flex;align-items:center;gap:10px;font-size:17px}
.joeys-ws .wc_payment_method img{max-height:28px;width:auto}
.joeys-ws .payment_box{font-size:15px;color:var(--ink-700);margin:8px 0}
.joeys-ws .woocommerce-terms-and-conditions-wrapper{margin:12px 0 16px;font-size:15px}
.joeys-ws .woocommerce-terms-and-conditions-checkbox-text a{color:var(--ink-900)}
.joeys-ws #place_order{width:100%}
.joeys-ws .woocommerce-form-coupon-toggle,.joeys-ws .woocommerce-form-login-toggle{margin-bottom:8px}

/* Bevestiging en account */
.joeys-ws .woocommerce-order .woocommerce-thankyou-order-received{font-size:20px;font-weight:700;color:var(--ink-900);border-left:4px solid #1E7B34;background:#E8F4EA;padding:14px 16px}
.joeys-ws .woocommerce-order-overview{list-style:none;padding:0;display:grid;gap:8px;margin:20px 0}
.joeys-ws .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px 20px;margin:0 0 24px;border-bottom:2px solid var(--ink-900);padding-bottom:12px}
.joeys-ws .woocommerce-MyAccount-navigation a{color:var(--ink-900);font-weight:600}
.joeys-ws .woocommerce-MyAccount-navigation .is-active a{text-decoration:underline;text-underline-offset:4px}
.joeys-ws .woocommerce-form-login{max-width:480px}
