/* Local cart + checkout for Brinkman static mirror.
   Layout matches https://brinkmanfietsspecialist.com/cart/ and
   /checkout-advance/ as captured 2026-05-03. */

/* =================================================================
   SHOPIFY-STYLE CHECKOUT — kill site chrome, keep only the logo.
   Toggled via body.lshop-shopify-checkout (added by wire-shop.mjs).
   ================================================================= */
body.lshop-shopify-checkout #masthead,
body.lshop-shopify-checkout header.site-header,
body.lshop-shopify-checkout header[role=banner],
body.lshop-shopify-checkout .topbar,
body.lshop-shopify-checkout #colophon,
body.lshop-shopify-checkout footer,
body.lshop-shopify-checkout .ast-mobile-header-wrap,
body.lshop-shopify-checkout #ast-mobile-header,
body.lshop-shopify-checkout .ast-above-header,
body.lshop-shopify-checkout .ast-below-header,
body.lshop-shopify-checkout .ast-builder-grid-row-container,
body.lshop-shopify-checkout .vi-wcaio-sidebar-cart-wrap,
body.lshop-shopify-checkout .ast-fb-feed-container {
  display: none !important;
}
body.lshop-shopify-checkout #content,
body.lshop-shopify-checkout .ast-container {
  padding: 0 !important;
  max-width: none !important;
  margin: 0 !important;
}
body.lshop-shopify-checkout #content > .ast-container {
  background: #fff;
}
body.lshop-shopify-checkout {
  background: #fff;
  margin: 0;
  padding: 0;
}
.lshop-checkout-logo {
  text-align: center;
  padding: 22px 0 18px;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}
.lshop-checkout-logo a { display: inline-block; }
.lshop-checkout-logo img {
  height: 56px;
  width: auto;
  display: inline-block;
}

/* =================================================================
.lshop {
  font-family: 'Poppins', "Helvetica Neue", Arial, sans-serif;
  color: #0f172a;
  max-width: 1240px;
  margin: 30px auto 60px;
  padding: 0 24px;
}
.lshop a { color: #004AAD; text-decoration: none; }
.lshop a:hover { text-decoration: underline; }

/* ------------------------------------------------------------ CART */
.lshop-cart__grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) { .lshop-cart__grid { grid-template-columns: 1fr; gap: 30px; } }

.lshop-cart-items__header {
  display: grid;
  grid-template-columns: 110px 1fr 130px;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6b7280;
  text-transform: uppercase;
}
.lshop-cart-items__header > :first-child { grid-column: 2; }
.lshop-cart-items__header > :last-child  { text-align: right; }

.lshop-cart-row {
  display: grid;
  grid-template-columns: 110px 1fr 130px;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid #e2e8f0;
  align-items: flex-start;
}
.lshop-cart-row__img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  background: #fff;
  border-radius: 4px;
}
.lshop-cart-row__name {
  color: #004AAD;
  font-weight: 600;
  font-size: 14px;
  margin: 0 0 4px;
  line-height: 1.35;
}
.lshop-cart-row__variation {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
  margin: 0 0 12px;
}
.lshop-cart-row__variation .sep { color: #cbd5e1; margin: 0 8px; }
.lshop-cart-row__price-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 14px;
}
.lshop-cart-row__price-old {
  color: #6b7280;
  text-decoration: line-through;
}
.lshop-cart-row__price-new { color: #ef4444; font-weight: 700; }
.lshop-cart-row__savings {
  font-size: 12px;
  color: #16a34a;
  font-weight: 600;
  margin-bottom: 10px;
}
.lshop-cart-row__controls {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.lshop-cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
}
.lshop-cart-qty button {
  width: 30px; height: 30px;
  background: transparent; border: 0;
  font-size: 16px; font-weight: 600; cursor: pointer;
  color: #475569;
}
.lshop-cart-qty button:hover { background: #f1f5f9; }
.lshop-cart-qty input {
  width: 36px; text-align: center; border: 0; background: transparent;
  font-size: 14px; font-weight: 600; outline: none; color: #0f172a;
}
.lshop-cart-trash {
  background: transparent; border: 0; cursor: pointer;
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #94a3b8; border-radius: 4px;
}
.lshop-cart-trash:hover { color: #ef4444; background: #fef2f2; }
.lshop-cart-trash svg { width: 18px; height: 18px; }
.lshop-cart-row__total {
  text-align: right;
  font-weight: 700;
  font-size: 14px;
  color: #0f172a;
}

/* Right summary */
.lshop-cart-summary {
  font-size: 14px;
  color: #0f172a;
}
.lshop-cart-summary__title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #6b7280;
  text-transform: uppercase;
  padding-bottom: 14px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 14px;
}
.lshop-cart-summary__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 14px;
  color: #475569;
}
.lshop-cart-summary__row .v { font-weight: 700; color: #0f172a; }
.lshop-cart-summary__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0 22px;
  border-top: 1px solid #e2e8f0;
  margin-top: 6px;
}
.lshop-cart-summary__total .l { font-size: 16px; font-weight: 600; color: #0f172a; }
.lshop-cart-summary__total .v { font-size: 22px; font-weight: 700; color: #0f172a; }
.lshop-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 18px;
  background: #1e60d0;
  color: #fff !important;
  border: 0;
  border-radius: 4px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s, transform .1s;
}
.lshop-cta:hover { background: #1751b0; text-decoration: none; transform: translateY(-1px); }

.lshop-empty {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 8px;
  padding: 60px 20px; text-align: center;
}
.lshop-empty p { color: #475569; font-size: 1.05rem; margin: 0 0 18px; }

/* ------------------------------------------------------------ CHECKOUT */
.lshop-checkout-page {
  max-width: 1280px;
  margin: 0 auto;
}
.lshop-checkout__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  background: #fff;
}
.lshop-checkout__main { padding: 36px 56px 60px; }
.lshop-checkout__side { background: #ECEFF3; padding: 40px 40px; }
.lshop-checkout-mobile-summary { display: none; }
@media (max-width: 900px) {
  .lshop-checkout__grid { grid-template-columns: 1fr; }
  .lshop-checkout__main { padding: 24px 20px 36px; }
  .lshop-checkout__side { display: none; }
  .lshop-checkout-mobile-summary { display: block; }
}

/* Mobile collapsible "Besteloverzicht" bar */
.lshop-checkout-mobile-summary {
  background: #ECEFF3;
  border-bottom: 1px solid #d8dde6;
}
.lshop-checkout-mobile-summary__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
}
.lshop-checkout-mobile-summary__bar .label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #0f172a;
  font-weight: 500;
}
.lshop-checkout-mobile-summary__bar .label .chev {
  transition: transform .2s;
  display: inline-flex;
}
.lshop-checkout-mobile-summary.open .label .chev { transform: rotate(180deg); }
.lshop-checkout-mobile-summary__bar .total {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}
.lshop-checkout-mobile-summary__panel {
  display: none;
  padding: 0 20px 20px;
  background: #ECEFF3;
}
.lshop-checkout-mobile-summary.open .lshop-checkout-mobile-summary__panel {
  display: block;
}

.lshop-section { margin-bottom: 28px; }
.lshop-section h2 {
  font-size: 1.55rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 20px;
  letter-spacing: -0.005em;
}
.lshop-checkout .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .lshop-checkout .row { grid-template-columns: 1fr; } }
.lshop-checkout .field { margin-bottom: 14px; position: relative; }
.lshop-checkout .field input,
.lshop-checkout .field select,
.lshop-checkout .field textarea {
  width: 100%;
  padding: 20px 18px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  font-family: inherit;
  background: #fff;
  color: #0f172a;
}
.lshop-checkout .field input::placeholder,
.lshop-checkout .field select::placeholder { color: #94a3b8; }
.lshop-checkout .field input:focus,
.lshop-checkout .field select:focus,
.lshop-checkout .field textarea:focus {
  border-color: #004AAD;
  box-shadow: 0 0 0 3px rgba(0, 74, 173, 0.12);
}
.lshop-checkout .field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%2364748b' stroke-width='2' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  color: #0f172a;
}
.lshop-checkout .field select option {
  color: #0f172a;
  background: #fff;
}

/* Custom country select: visible value is rendered by an overlay span so it
   always paints, even when browsers fail to draw the native select value
   under `appearance: none`. */
.lshop-checkout .field.lshop-select { position: relative; }
.lshop-checkout .field.lshop-select select {
  position: relative;
  z-index: 2;
  color: transparent !important;
  background-color: transparent !important;
}
.lshop-checkout .field.lshop-select::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: 6px;
  z-index: 0;
  pointer-events: none;
}
.lshop-checkout .field.lshop-select .lshop-select-display {
  position: absolute;
  left: 19px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 15px;
  color: #0f172a;
  pointer-events: none;
  z-index: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  right: 40px;
}
.lshop-checkout .field.lshop-select select option {
  color: #0f172a;
  background: #fff;
}

.lshop-shipmethod {
  border: 2px solid #16a34a;
  background: #fff;
  border-radius: 6px;
  padding: 14px 16px;
  font-size: 14px;
  color: #0f172a;
  display: flex; align-items: center; justify-content: space-between;
}
.lshop-shipmethod .free { font-weight: 700; color: #16a34a; }

.lshop-pay { display: flex; flex-direction: column; gap: 0; border: 1px solid #cbd5e1; border-radius: 6px; overflow: hidden; background: #fff; position: relative; }
.lshop-pay__opt {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 20px;
  cursor: pointer;
  border-bottom: 1px solid #cbd5e1;
  background: #fff;
  position: relative;
  z-index: 1;
}
.lshop-pay__opt:last-child { border-bottom: 0; }
.lshop-pay__opt:has(input:checked) {
  outline: 2px solid #0f172a;
  outline-offset: -1px;
  z-index: 2;
  border-bottom-color: transparent;
}
.lshop-pay__opt input {
  width: 18px; height: 18px;
  accent-color: #0f172a;
}
.lshop-pay__label { flex: 1; font-size: 14px; color: #0f172a; }
.lshop-pay__logo { display: inline-flex; align-items: center; gap: 6px; }
.lshop-pay__logo img { height: 22px; }

.lshop-pay__intro {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 12px;
}

/* Accepted-methods row (replaces the radio selector — bunq picks the
   actual method on its own page). */
.lshop-pay-accepted {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 18px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}
.lshop-pay-accepted__label {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin-right: 4px;
}
.lshop-pay-accepted__logo {
  display: inline-flex;
  align-items: center;
}
.lshop-pay-accepted__logo svg,
.lshop-pay-accepted__logo .lshop-pay-logo { display: block; }
.lshop-pay-logo {
  height: 32px;
  width: auto;
  max-width: 90px;
  object-fit: contain;
}
.lshop-pay-logo--ideal { height: 34px; }
.lshop-pay-logo--bancontact { height: 28px; }

/* Text fallback shown until an official logo file is available at
   img/<name>-logo.svg or .png. Drop a file there and the page will
   swap to the image automatically. */
.lshop-pay-logo-slot { display: inline-flex; align-items: center; }
.lshop-pay-logo-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  font-family: 'Arial Black', Helvetica, Arial, sans-serif;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.lshop-pay-logo-text--ideal { color: #cd0067; }
.lshop-pay-logo-text--bancontact { color: #1e50a0; }

/* Sold-out states ---------------------------------------------------- */
.lshop-soldout {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #7f1d1d;
  border-radius: 8px;
  padding: 18px 20px;
  margin: 12px 0;
}
.lshop-soldout__title {
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.lshop-soldout__text {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Product cards on category / homepage listings */
.lshop-card-soldout { position: relative; }
.lshop-card-soldout::after {
  content: 'Uitverkocht';
  position: absolute;
  top: 10px; left: 10px;
  background: #111827;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 4px;
  z-index: 5;
  text-transform: uppercase;
}
.lshop-card-soldout .price,
.lshop-card-soldout .woocommerce-Price-amount {
  opacity: 0.55;
  text-decoration: line-through;
}
.lshop-card-soldout__btn {
  display: inline-block;
  padding: 8px 14px;
  background: #e5e7eb;
  color: #6b7280;
  font-size: 13px;
  font-weight: 600;
  border-radius: 4px;
  cursor: not-allowed;
  pointer-events: none;
}

.lshop-place {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  margin-top: 22px;
  padding: 18px 20px;
  background: #0a2d5e;
  color: #fff;
  border: 0;
  border-radius: 4px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background .15s, transform .1s;
}
.lshop-place:hover { background: #061f42; transform: translateY(-1px); }
.lshop-place svg { width: 16px; height: 16px; }

/* Sidebar */
.lshop-side-line {
  display: grid;
  grid-template-columns: 76px 1fr auto;
  gap: 18px;
  align-items: flex-start;
  padding: 6px 0 22px;
  border-bottom: 1px solid #d8dde6;
  margin-bottom: 18px;
}
.lshop-side-thumb {
  position: relative;
  width: 64px; height: 64px;
  border-radius: 8px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
  border: 1px solid #d8dde6;
}
.lshop-side-thumb img { max-width: 58px; max-height: 58px; object-fit: contain; border-radius: 6px; }
.lshop-side-thumb .qbadge {
  position: absolute;
  top: -8px; right: -8px;
  background: #0a2d5e;
  color: #fff;
  width: 22px; height: 22px;
  font-size: 11px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-weight: 700;
  border: 2px solid #ECEFF3;
}
.lshop-side-info { min-width: 0; }
.lshop-side-name {
  font-size: 14px;
  line-height: 1.35;
  color: #0f172a;
  font-weight: 600;
  margin: 0 0 14px;
}
.lshop-side-var { font-size: 14px; color: #0f172a; line-height: 1.55; }
.lshop-side-var .vrow { margin-top: 8px; }
.lshop-side-var .vrow:first-child { margin-top: 0; }
.lshop-side-var .vrow b { font-weight: 700; color: #0f172a; display: block; }
.lshop-side-var .vrow .v { display: block; }
.lshop-side-var .vrow.inline { }
.lshop-side-var .vrow.inline b,
.lshop-side-var .vrow.inline .v { display: inline; }
.lshop-side-price { font-size: 14px; color: #0f172a; font-weight: 500; white-space: nowrap; padding-top: 2px; }

.lshop-side-totals { font-size: 14px; color: #0f172a; }
.lshop-side-totals .row {
  display: flex; justify-content: space-between; padding: 6px 0;
  color: #334155;
}
.lshop-side-totals .total {
  display: flex; justify-content: space-between;
  margin-top: 12px; padding-top: 14px;
  border-top: 1px solid #d8dde6;
  font-weight: 700; font-size: 17px;
}

/* Confirmation */
.lshop-confirm {
  background: #fff; border: 1px solid #e5e7eb; border-radius: 8px;
  padding: 60px 28px; text-align: center;
}
.lshop-confirm__icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #dcfce7; color: #16a34a;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 32px;
}
.lshop-confirm h2 { font-size: 1.6rem; margin: 0 0 10px; }
.lshop-confirm p { color: #475569; margin: 0 0 8px; }
.lshop-confirm .order-no { font-weight: 700; color: #0f172a; }

/* Toast */
.lshop-toast {
  position: fixed;
  top: 20px; right: 20px;
  z-index: 9999;
  background: #0f172a;
  color: #fff;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .25s, transform .25s;
  pointer-events: none;
}
.lshop-toast.show { opacity: 1; transform: translateY(0); }
