/* ==========================================================================
   Shop: bestelkaart, mandje, afrekenen en de pagina na het betalen.
   Bouwt op de kleuren van gold-theme.css (goud #b59e6f, tekst #727475).
   ========================================================================== */

.shop-kaart {
  background-color: #fff;
  border: 1px solid #e6dcc5;
  border-radius: 4px;
  padding: 28px 26px;
  margin-bottom: 30px;
}

.shop-kaart h4 {
  margin-bottom: 20px;
}

.shop-klein {
  font-size: 0.9rem;
  margin: 10px 0 0;
}

/* Meldingen */
.shop-melding {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 12px 16px;
  margin-bottom: 18px;
  border-radius: 4px;
  font-size: 0.95rem;
}

.shop-melding--ok {
  background-color: #f3efe3;
  border-left: 3px solid #b59e6f;
  color: #5f5842;
}

.shop-melding--fout {
  background-color: #fbeeee;
  border-left: 3px solid #b5584f;
  color: #7a2f28;
}

.shop-melding__link {
  color: #8e7e51;
  font-weight: 700;
  text-decoration: underline;
}

.shop-fout {
  display: block;
  margin-top: 6px;
  color: #b5584f;
  font-size: 0.9rem;
}

/* Bestelkaart op de productpagina */
.shop-varianten {
  border: 0;
  margin: 12px 0 18px;
  padding: 0;
}

.shop-variant {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  margin-bottom: 8px;
  border: 1px solid #d9c7a0;
  border-radius: 4px;
  background-color: #fff;
  cursor: pointer;
  transition: border-color 150ms, background-color 150ms;
}

.shop-variant:hover {
  border-color: #b59e6f;
}

.shop-variant:has(input:checked) {
  border-color: #b59e6f;
  background-color: #f7f1e3;
}

.shop-variant input {
  accent-color: #b59e6f;
  margin: 0;
}

.shop-variant__naam {
  flex: 1;
  color: #5f5842;
}

.shop-variant__prijs {
  color: #5f5842;
  font-weight: 700;
  white-space: nowrap;
}

.shop-variant--op {
  opacity: 0.55;
  cursor: not-allowed;
}

.shop-bestel__prijs {
  font-size: 1.4rem;
  margin: 12px 0 18px;
}

.shop-bestel__knoppen {
  display: flex;
  gap: 10px;
  align-items: stretch;
}

.shop-bestel__knoppen .btn {
  flex: 1;
  margin: 0;
}

.shop-aantal {
  width: 76px;
  text-align: center;
  height: auto;
}

.shop-veld {
  height: 48px;
  border: 1px solid #d9c7a0;
  border-radius: 4px;
  box-shadow: none;
  color: #5f5842;
}

.shop-veld:focus,
.shop-aantal:focus {
  border-color: #b59e6f;
  box-shadow: 0 0 0 3px rgba(181, 158, 111, 0.2);
}

/* Mandje */
.shop-tabel th {
  border-top: 0;
  color: #8e7e51;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.shop-tabel td {
  vertical-align: middle;
  border-top: 1px dashed #d8cfba;
}

.shop-regel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.shop-regel .shop-aantal {
  width: 64px;
  height: 40px;
}

.shop-knop-link {
  background: none;
  border: 0;
  color: #8e7e51;
  padding: 6px;
  cursor: pointer;
}

.shop-knop-link:hover {
  color: #b5584f;
}

.shop-totaal {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  margin-top: 6px;
  border-top: 2px solid #b59e6f;
  color: #5f5842;
  font-size: 1.2rem;
}

.shop-acties {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}

.shop-leeg {
  padding: 30px 0;
}

/* Afrekenen */
.shop-afrekenen label {
  color: #5f5842;
}

.shop-keuze {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: start;
  padding: 14px 16px;
  margin-bottom: 10px;
  border: 1px solid #d9c7a0;
  border-radius: 4px;
  cursor: pointer;
}

.shop-keuze:has(input:checked) {
  border-color: #b59e6f;
  background-color: #f7f1e3;
}

.shop-keuze input,
.shop-akkoord input {
  accent-color: #b59e6f;
  margin-top: 5px;
}

.shop-keuze__titel {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
}

.shop-keuze__prijs {
  font-weight: 400;
}

.shop-keuze__uitleg {
  grid-column: 2;
  font-size: 0.9rem;
  color: #727475;
}

/* De vraag bij een keuze, zoals "Welke workshop?", ingesprongen onder die keuze. */
.shop-notitie {
  padding: 0 0 6px 28px;
}

.shop-adres {
  padding: 8px 0 0;
}

.shop-overzicht__regels {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}

.shop-overzicht__regels li,
.shop-overzicht__lijn {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  color: #5f5842;
}

.shop-overzicht__regels li {
  border-bottom: 1px dashed #d8cfba;
}

.shop-overzicht__regels li span:last-child,
.shop-overzicht__lijn span:last-child {
  white-space: nowrap;
}

.shop-akkoord {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  margin: 18px 0 0;
  font-size: 0.95rem;
}

.shop-akkoord a {
  text-decoration: underline;
}

.shop-betalen {
  display: block;
  width: 100%;
  margin: 20px 0 0;
}

.shop-terug {
  display: block;
  margin-top: 14px;
  text-align: center;
  color: #8e7e51;
  text-decoration: underline;
}

@media (min-width: 992px) {
  .shop-overzicht {
    position: sticky;
    top: 110px;
  }
}

/* Na het betalen */
.shop-bedankt {
  border-top: 3px solid #b59e6f;
}

.shop-bedankt--failed {
  border-top-color: #b5584f;
}

/* Iets minder ruimte tussen de menu-items (was 6px marge + 12px padding),
   zodat Blog en het mandje erbij passen: vanaf 1280px naast het logo, smaller
   op één regel eronder, zoals het menu voordien stond. Niet voor het
   uitklapmenu op de gsm. */
@media only screen and (min-width: 992px) {
  .wsmenu > .wsmenu-list > li > a {
    margin: 0 3px;
    padding: 10px 9px;
  }
}

/* Mandje in de header: alleen een icoon, met het aantal als bolletje erop.
   Het bolletje staat absoluut, zodat de navigatie niet breder wordt als er
   iets in het mandje komt. */
@media only screen and (min-width: 992px) {
  .wsmenu > .wsmenu-list > li.winkelmandje > a {
    padding-left: 8px;
    padding-right: 8px;
  }
}

.winkelmandje__icoon {
  position: relative;
  display: inline-block;
  font-size: 17px;
}

.winkelmandje-aantal {
  position: absolute;
  top: 50%;
  right: -11px;
  margin-top: -19px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 9px;
  background-color: #b59e6f;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 17px;
  letter-spacing: 0;
  text-align: center;
}

/* In het uitklapmenu op de gsm staat er wel een woord bij. */
.winkelmandje__label {
  display: none;
}

@media only screen and (max-width: 991px) {
  .winkelmandje__label {
    display: inline;
    margin-left: 2px;
  }
}

/* De persoonlijke downloadlink van een e-book, bij een bestelling in het account. */
.shop-download {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.9rem;
  color: #8e7e51;
  text-decoration: underline;
}

.shop-download:hover,
.shop-download:focus {
  color: #5f5842;
}

/* Mandje terugzetten en opnieuw controleren, naast elkaar en op gsm onder elkaar. */
.shop-bedankt__acties {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 15px 0 0;
}

/* Uitnodiging om in te loggen, in het mandje en bij het afrekenen. */
.shop-inloggen {
  align-items: center;
}

.shop-inloggen span {
  flex: 1 1 320px;
}

.shop-inloggen__knop {
  flex: 0 0 auto;
  white-space: nowrap;
}

/* Een link in de uitleg van de shop, bv. naar het profiel. Het thema geeft links
   hier het grijs van de tekst, zonder onderlijning: dan ziet niemand dat het er
   een is. */
.shop-link,
.shop-link:visited {
  color: #8e7e51;
  font-weight: 500;
  text-decoration: underline;
}

.shop-link:hover,
.shop-link:focus {
  color: #5f5842;
}

.shop-link .fa-external-link-alt {
  margin-left: 2px;
  font-size: 0.75em;
}

/* De standaardknop van een mandjeregel: Enter werkt het aantal bij. Niet te zien,
   maar geen display:none, zodat de browser hem als standaardknop blijft gebruiken. */
.shop-bijwerken {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Kortingscode met de knop "Toepassen" ernaast. */
.shop-kortingscode {
    display: flex;
    gap: .5rem;
}
.shop-kortingscode .shop-veld {
    flex: 1;
    min-width: 0;
}
.shop-overzicht__korting span:last-child {
    color: inherit;
}
