/* ===== Webshop — The Stallion ===== */

/* ── Shop hero ── */
.shop-hero {
  background: radial-gradient(ellipse at 60% 0%, rgba(200,162,74,.12) 0%, transparent 60%), #0e0e0d;
  border-bottom: 1px solid #2a2a29;
  padding: 5rem 2rem 3.5rem;
  text-align: center;
}
.shop-hero__inner { max-width: 700px; margin: 0 auto; }
.shop-hero__label {
  font-size: .75rem; text-transform: uppercase; letter-spacing: .18em;
  color: #c8a24a; margin-bottom: .75rem;
}
.shop-hero__title {
  font-family: 'Oswald', sans-serif; font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 700; letter-spacing: .08em; color: #e8e4dc;
  line-height: 1; margin-bottom: 1rem;
}
.shop-hero__sub { color: #7a7770; font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* ── Shop main ── */
.shop-main {
  max-width: 1280px; margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

/* ── Filter bar ── */
.shop-filter {
  display: flex; gap: .5rem; flex-wrap: wrap;
  margin-bottom: 2rem;
}
.shop-filter__btn {
  background: #1c1c1b; border: 1px solid #2a2a29;
  color: #7a7770; font-family: 'Lato', sans-serif; font-size: .8rem;
  font-weight: 700; text-transform: uppercase; letter-spacing: .07em;
  padding: .4rem 1rem; border-radius: 20px; cursor: pointer;
  transition: all .15s;
}
.shop-filter__btn:hover { border-color: #c8a24a; color: #c8a24a; }
.shop-filter__btn--active {
  background: rgba(200,162,74,.15); border-color: #c8a24a; color: #c8a24a;
}

/* ── Product grid ── */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.shop-loading { color: #7a7770; padding: 3rem; text-align: center; grid-column: 1/-1; }
.shop-empty   { color: #7a7770; padding: 3rem; text-align: center; grid-column: 1/-1; }

/* ── Product card ── */
.product-card {
  background: #1c1c1b; border: 1px solid #2a2a29;
  border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column;
  cursor: pointer; transition: border-color .2s, transform .15s;
}
.product-card:hover { border-color: #c8a24a; transform: translateY(-2px); }
.product-card--out { opacity: .5; pointer-events: none; }

.product-card__img-wrap {
  width: 100%; aspect-ratio: 1;
  background: #232322; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.product-card__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.product-card:hover .product-card__img { transform: scale(1.04); }
.product-card__placeholder {
  font-size: 3rem; color: #2a2a29;
}

.product-card__body { padding: 1rem; flex: 1; display: flex; flex-direction: column; gap: .35rem; }
.product-card__cat {
  font-size: .65rem; text-transform: uppercase; letter-spacing: .1em; color: #7a7770;
}
.product-card__name {
  font-family: 'Oswald', sans-serif; font-size: 1rem; font-weight: 600;
  color: #e8e4dc; letter-spacing: .03em; line-height: 1.2;
}
.product-card__descr { font-size: .8rem; color: #7a7770; line-height: 1.4; flex: 1; }

.product-card__foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: .75rem 1rem; border-top: 1px solid #2a2a29;
}
.product-card__price {
  font-family: 'Oswald', sans-serif; font-size: 1.15rem; font-weight: 700; color: #c8a24a;
}
.product-card__add {
  background: #c8a24a; color: #111; border: none;
  width: 32px; height: 32px; border-radius: 50%; font-size: 1.2rem; font-weight: 700;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: opacity .15s;
}
.product-card__add:hover { opacity: .85; }
.product-card__out-label {
  font-size: .75rem; color: #c0392b; font-weight: 700;
}

/* ── Cart FAB ── */
.cart-fab {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
}
.cart-fab__btn {
  background: #c8a24a; color: #111; border: none;
  width: 56px; height: 56px; border-radius: 50%;
  font-size: 1.3rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.5); position: relative;
  transition: transform .15s;
}
.cart-fab__btn:hover { transform: scale(1.08); }
.cart-fab__count {
  position: absolute; top: -4px; right: -4px;
  background: #c0392b; color: #fff;
  width: 20px; height: 20px; border-radius: 50%;
  font-size: .7rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Lato', sans-serif;
}

/* ── Cart lines ── */
.cart-empty { color: #7a7770; text-align: center; padding: 2rem; }
.cart-line {
  display: flex; align-items: center; gap: .75rem;
  padding: .65rem 0; border-bottom: 1px solid #2a2a29;
}
.cart-line:last-child { border-bottom: none; }
.cart-line__img {
  width: 48px; height: 48px; border-radius: 8px; object-fit: cover;
  background: #232322; flex-shrink: 0;
}
.cart-line__img-placeholder {
  width: 48px; height: 48px; border-radius: 8px; background: #232322;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; flex-shrink: 0;
}
.cart-line__info { flex: 1; min-width: 0; }
.cart-line__name { font-weight: 700; font-size: .9rem; color: #e8e4dc; }
.cart-line__price { font-size: .8rem; color: #7a7770; margin-top: 1px; }
.cart-line__qty {
  display: flex; align-items: center; gap: .4rem;
}
.cart-line__qty-btn {
  background: #232322; border: 1px solid #2a2a29; color: #e8e4dc;
  width: 24px; height: 24px; border-radius: 4px; font-size: .9rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.cart-line__qty-btn:hover { border-color: #c8a24a; color: #c8a24a; }
.cart-line__qty-val { font-size: .85rem; font-weight: 700; min-width: 20px; text-align: center; color: #e8e4dc; }
.cart-line__remove {
  background: none; border: none; color: #7a7770; font-size: 1rem;
  cursor: pointer; padding: 4px; border-radius: 4px;
}
.cart-line__remove:hover { color: #c0392b; }

/* ── Cart total ── */
.cart-total {
  display: flex; justify-content: space-between; align-items: center;
  padding: .9rem 0 0; font-size: 1rem; margin-top: .5rem;
}
.cart-total strong { font-family: 'Oswald', sans-serif; font-size: 1.3rem; color: #c8a24a; }

/* ── Betaalmethodes ── */
.pay-methods { display: flex; flex-direction: column; gap: .5rem; }
.pay-method {
  display: flex; align-items: center; gap: .6rem;
  background: #232322; border: 1px solid #2a2a29;
  border-radius: 8px; padding: .65rem .9rem; cursor: pointer;
  font-size: .9rem; color: #e8e4dc; transition: border-color .15s;
}
.pay-method:has(input:checked) { border-color: #c8a24a; background: rgba(200,162,74,.08); }
.pay-method input { accent-color: #c8a24a; cursor: pointer; }

/* ── Product detail modal ── */
.detail-img {
  width: 100%; max-height: 260px; object-fit: cover;
  border-radius: 8px; margin-bottom: 1rem;
}
.detail-descr { color: #7a7770; font-size: .9rem; line-height: 1.6; margin-bottom: 1rem; }
.detail-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.detail-price { font-family: 'Oswald', sans-serif; font-size: 1.5rem; font-weight: 700; color: #c8a24a; }
.detail-stock { font-size: .8rem; color: #7a7770; }
.detail-qty {
  display: flex; align-items: center; gap: .75rem;
  margin-bottom: .5rem;
}
.detail-qty span { font-size: 1.2rem; font-weight: 700; min-width: 28px; text-align: center; color: #e8e4dc; }

/* ── Order success banner ── */
.order-success {
  position: fixed; top: 80px; left: 50%; transform: translateX(-50%);
  z-index: 9999; width: 100%; max-width: 560px; padding: 0 1rem;
}
.order-success__box {
  background: #1c1c1b; border: 1px solid #27ae60;
  border-radius: 10px; padding: .9rem 1.25rem;
  display: flex; align-items: center; gap: .75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,.5);
  animation: toast-in .25s ease;
}
.order-success__icon { font-size: 1.5rem; flex-shrink: 0; }
.order-success__box strong { color: #4caf82; font-size: .95rem; }
.order-success__box p { color: #7a7770; font-size: .85rem; margin-top: 2px; }
.order-success__close {
  margin-left: auto; background: none; border: none;
  color: #7a7770; font-size: 1.3rem; cursor: pointer; line-height: 1;
}

/* ── Modal overlays ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(3px);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 5vh 1rem 2rem;
  overflow-y: auto;
}
.modal-overlay[hidden] { display: none !important; }
.modal-overlay .modal {
  position: relative; inset: unset;
  background: #1c1c1b;
  border: 1px solid #2a2a29;
  border-radius: 12px;
  width: 100%; max-width: 520px;
  box-shadow: 0 8px 40px rgba(0,0,0,.6);
  display: flex; flex-direction: column;
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay .modal--wide { max-width: 680px; }
.modal-overlay .modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 1.4rem; border-bottom: 1px solid #2a2a29; flex-shrink: 0;
}
.modal-overlay .modal-head h3 {
  font-family: 'Oswald', sans-serif; font-size: 1.1rem;
  font-weight: 600; letter-spacing: .05em; color: #e8e4dc; margin: 0;
}
.modal-overlay .modal-body {
  padding: 1.4rem; flex: 1; overflow-y: auto;
}
.modal-overlay .modal-foot {
  padding: 1rem 1.4rem; border-top: 1px solid #2a2a29;
  display: flex; justify-content: flex-end; gap: .75rem; flex-shrink: 0;
}
.modal-overlay .modal-close {
  background: none; border: none; color: #7a7770;
  font-size: 1.4rem; cursor: pointer; line-height: 1; padding: 2px 6px;
}
.modal-overlay .modal-close:hover { color: #e8e4dc; }

.form-hint { font-size: .78rem; color: #7a7770; }

/* ── Checkout form inputs (donker thema) ── */
.modal-overlay .input,
.modal-overlay input[type="text"],
.modal-overlay input[type="email"],
.modal-overlay input[type="tel"],
.modal-overlay textarea,
.modal-overlay select {
  background: #161615;
  border: 1px solid #333331;
  color: #e8e4dc;
  border-radius: 7px;
  padding: .6rem .85rem;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color .15s;
  appearance: none;
  -webkit-appearance: none;
}
.modal-overlay .input:focus,
.modal-overlay input:focus,
.modal-overlay textarea:focus,
.modal-overlay select:focus {
  outline: none;
  border-color: #c8a24a;
  box-shadow: 0 0 0 3px rgba(200,162,74,.12);
}
.modal-overlay input::placeholder,
.modal-overlay textarea::placeholder { color: #4a4a48; }
.modal-overlay .form-label {
  display: block;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #7a7770;
  margin-bottom: .35rem;
  font-weight: 700;
}
.modal-overlay .form-group { margin-bottom: 1rem; }
/* select pijltje */
.modal-overlay select {
  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 d='M1 1l5 5 5-5' stroke='%237a7770' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2.2rem;
  cursor: pointer;
}
.modal-overlay select option { background: #1c1c1b; color: #e8e4dc; }

/* ── nav active state ── */
.nav__link--active { color: #c8a24a !important; }

/* ── Responsive ── */
@media (max-width: 600px) {
  .shop-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: .75rem; }
  .cart-fab { bottom: 1rem; right: 1rem; }
  .shop-main { padding: 1.5rem 1rem 3rem; }
}
