/* Robustix WooCommerce — matches voorstel-webshop */

:root {
  --shop-ink: #190500;
  --shop-orange: #FF4200;
  --shop-blush: #FFF3F0;
  --shop-muted: rgba(25, 5, 0, 0.62);
  --shop-line: rgba(25, 5, 0, 0.12);
}

body.shop-context {
  background: #fff;
  color: var(--shop-ink);
  padding-top: 72px;
  /* Match voorstel-webshop body typography exactly */
  font-family: "AeonikExtendedPro", "Segoe UI", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

body.shop-context .shop-wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

@media (max-width: 640px) {
  body.shop-context .shop-wrap {
    width: calc(100% - 32px);
  }
}

/* —— Shop header —— */
.shop-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--shop-ink);
  color: #fff;
}

body.admin-bar .shop-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .shop-header {
    top: 46px;
  }
}

.shop-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 16px 0;
}

.shop-header__logo-img,
.shop-footer__logo-img {
  height: 28px;
  width: auto;
  display: block;
}

.shop-footer__logo-img {
  height: 32px;
}

.shop-header__logo-fallback,
.shop-footer__logo-fallback {
  font-family: "NewBlackTypeface", Georgia, serif;
  font-size: 22px;
  color: #fff;
}

.shop-header__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.shop-cart-link,
.shop-site-link,
.shop-overview-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  opacity: 0.85;
}

.shop-cart-link:hover,
.shop-site-link:hover,
.shop-overview-link:hover {
  opacity: 1;
  color: var(--shop-orange);
}

@media (max-width: 900px) {
  body.shop-context {
    padding-top: 0;
  }

  .shop-header {
    position: sticky;
  }

  .shop-header__inner {
    flex-wrap: wrap;
  }

  .shop-header__actions {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .shop-cart-link {
    margin-left: auto;
  }
}

@media (max-width: 640px) {
  .shop-header__inner {
    gap: 12px;
  }

  .shop-header__actions {
    gap: 14px;
  }

  .shop-overview-link {
    font-size: 11px;
    letter-spacing: 0.05em;
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  .shop-header__actions {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

  .shop-header__actions .shop-cart-link {
    align-self: flex-end;
    margin-left: 0;
  }
}

/* —— Main —— */
.shop-main {
  padding: 24px 0 0;
  min-height: 50vh;
}

.shop-page-intro {
  padding: 48px 0 28px;
}

.shop-kicker {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shop-orange);
  margin: 0 0 12px;
}

.shop-page-intro h1 {
  font-family: "NewBlackTypeface", Georgia, serif;
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 52px);
  line-height: 1.05;
  max-width: 16ch;
  margin: 0;
  color: var(--shop-ink);
}

.shop-page-intro p,
.shop-term-description {
  margin: 16px 0 0;
  max-width: 40rem;
  font-size: 17px;
  color: var(--shop-muted);
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 0 28px;
}

.shop-filter {
  border: 1px solid var(--shop-line);
  background: #fff;
  color: var(--shop-ink);
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}

.shop-filter:hover,
.shop-filter.is-active {
  background: var(--shop-ink);
  color: #fff;
  border-color: var(--shop-ink);
}

/* —— Product grid —— */
ul.products.shop-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  list-style: none;
  margin: 0 0 80px;
  padding: 0;
}

ul.products.shop-product-grid::before,
ul.products.shop-product-grid::after {
  display: none;
}

@media (max-width: 900px) {
  ul.products.shop-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  ul.products.shop-product-grid {
    grid-template-columns: 1fr;
  }
}

.shop-product-card {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  clear: none !important;
}

.shop-product-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.shop-product-card__link:hover {
  transform: translateY(-3px);
}

.shop-product-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  display: grid;
  place-items: center;
  overflow: hidden;
}

body.shop-context ul.products .shop-product-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: contain;
  margin: 0;
}

.shop-product-card__placeholder {
  color: var(--shop-muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 24px;
}

.shop-product-card__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  background: #fff;
  border: 1px solid var(--shop-line);
  border-top: 0;
  border-radius: 0 0 12px 12px;
}

.shop-product-card__cat {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--shop-orange);
  margin: 0;
}

.shop-product-detail__cat {
  font-family: "AeonikExtendedPro", "Segoe UI", sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  line-height: 1.45 !important;
  text-transform: uppercase;
  color: var(--shop-orange);
  margin: 0 0 12px;
}

.shop-product-card .woocommerce-loop-product__title {
  font-family: "NewBlackTypeface", Georgia, serif !important;
  font-size: 26px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.05 !important;
  margin: 0;
  padding: 0;
}

.shop-product-card .price,
.shop-product-card .price .amount,
.shop-product-card .price del,
.shop-product-card .price ins {
  margin-top: auto;
  padding-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--shop-ink) !important;
}

.price-excl-btw {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 400;
  color: var(--shop-muted);
  letter-spacing: 0.04em;
}

/* —— Single product —— */
.shop-product-detail {
  padding: 48px 0 40px;
}

.shop-product-detail__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: start;
}

.shop-product-detail__info.summary {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}

@media (max-width: 900px) {
  .shop-product-detail__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.shop-product-detail__media {
  min-width: 0;
  overflow: visible;
  background: transparent;
}

.shop-product-detail__media .woocommerce-product-gallery {
  position: relative;
  min-width: 0;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
}

.shop-product-detail__media .flex-viewport {
  border-radius: 12px;
  background: #fff;
}

.shop-product-detail__media .woocommerce-product-gallery__wrapper {
  margin: 0;
}

.shop-product-detail__media .woocommerce-product-gallery__image img,
.shop-product-detail__media .wp-post-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  margin: 0;
}

.shop-product-detail__media .flex-direction-nav {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0;
  padding: 0;
  list-style: none;
  pointer-events: none;
}

.shop-product-detail__media .flex-direction-nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-product-detail__media .flex-direction-nav a {
  position: absolute;
  top: 50%;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 18px rgba(25, 5, 0, 0.16);
  color: var(--shop-ink);
  font-size: 0;
  text-decoration: none;
  transform: translateY(-50%);
  transition: color 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
  pointer-events: auto;
}

.shop-product-detail__media .flex-direction-nav a::before {
  position: absolute;
  top: 50%;
  left: 50%;
  font-family: "AeonikExtendedPro", "Segoe UI", sans-serif;
  font-size: 24px;
  line-height: 1;
  transform: translate(-50%, -54%);
}

.shop-product-detail__media .flex-direction-nav .flex-prev {
  left: 16px;
}

.shop-product-detail__media .flex-direction-nav .flex-prev::before {
  content: "←";
}

.shop-product-detail__media .flex-direction-nav .flex-next {
  right: 16px;
}

.shop-product-detail__media .flex-direction-nav .flex-next::before {
  content: "→";
}

.shop-product-detail__media .flex-direction-nav a:hover {
  background: var(--shop-orange);
  color: #fff;
}

.shop-product-detail__media .flex-direction-nav .flex-disabled {
  opacity: 0 !important;
  pointer-events: none;
}

.shop-product-detail__media .flex-control-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 12px 0 0 !important;
  padding: 2px 2px 8px;
  overflow-x: auto;
  overflow-y: hidden;
  list-style: none;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  scrollbar-color: rgba(25, 5, 0, 0.24) transparent;
  scrollbar-width: thin;
}

.shop-product-detail__media .flex-control-thumbs li {
  flex: 0 0 82px;
  width: 82px !important;
  margin: 0 !important;
  padding: 0;
  float: none !important;
  list-style: none;
  scroll-snap-align: center;
}

.shop-product-detail__media .flex-control-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: #fff;
  opacity: 0.62;
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.shop-product-detail__media .flex-control-thumbs img:hover,
.shop-product-detail__media .flex-control-thumbs img.flex-active {
  border-color: var(--shop-orange);
  opacity: 1;
}

.shop-product-detail__media .flex-control-thumbs::-webkit-scrollbar {
  height: 5px;
}

.shop-product-detail__media .flex-control-thumbs::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(25, 5, 0, 0.24);
}

.shop-product-detail__media .flex-control-thumbs::-webkit-scrollbar-track {
  background: transparent;
}

.shop-product-detail__media .onsale {
  display: none;
}

.shop-product-detail__info .product_title,
.shop-product-detail__info h1.product_title.entry-title {
  font-family: "NewBlackTypeface", Georgia, serif !important;
  font-size: clamp(36px, 4.4vw, 52px) !important;
  font-weight: 400 !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
  line-height: 1.05 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--shop-ink) !important;
}

body.shop-context .shop-product-detail__info p.price,
body.shop-context .shop-product-detail__info .price {
  display: block !important;
  margin: 22px 0 0 !important;
  font-size: 28px !important;
  font-family: "NewBlackTypeface", Georgia, serif !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.05 !important;
  color: var(--shop-ink) !important;
}

body.shop-context .shop-product-detail__info .price .woocommerce-Price-amount,
body.shop-context .shop-product-detail__info .price .amount,
body.shop-context .shop-product-detail__info .price bdi,
body.shop-context .shop-product-detail__info .price del,
body.shop-context .shop-product-detail__info .price ins,
body.shop-context .shop-product-detail__info .price .woocommerce-Price-currencySymbol {
  font-family: "NewBlackTypeface", Georgia, serif !important;
  font-weight: 400 !important;
  font-size: 28px !important;
  letter-spacing: 0 !important;
  line-height: 1.05 !important;
  color: var(--shop-ink) !important;
}

body.shop-context .shop-product-detail__info .price .price-excl-btw {
  display: block !important;
  margin-top: 6px !important;
  font-family: "AeonikExtendedPro", "Segoe UI", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em !important;
  line-height: 1.45 !important;
  color: var(--shop-muted) !important;
}

.shop-product-detail__info .woocommerce-product-details__short-description {
  margin: 22px 0 0;
  max-width: 36rem;
  font-family: "AeonikExtendedPro", "Segoe UI", sans-serif !important;
  font-size: 17px !important;
  font-weight: 300 !important;
  line-height: 1.45 !important;
  letter-spacing: 0.02em !important;
  color: var(--shop-muted) !important;
}

.shop-product-detail__info .woocommerce-product-details__short-description p,
.shop-product-detail__info .woocommerce-product-details__short-description * {
  margin: 0;
  font-family: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: inherit !important;
  letter-spacing: inherit !important;
  color: inherit !important;
}

.shop-product-detail__info .variations_form table.variations,
.shop-product-detail__info .variations_form table.variations tbody {
  display: block;
  width: 100%;
  margin: 28px 0 0;
  border: 0;
}

.shop-product-detail__info .variations_form table.variations tbody {
  margin: 0;
}

.shop-product-detail__info .variations_form table.variations tr {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  margin: 0 0 18px;
}

.shop-product-detail__info .variations_form table.variations th.label,
.shop-product-detail__info .variations_form table.variations td.value {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
}

.shop-product-detail__info .variations_form table.variations th.label label {
  display: block;
  max-width: 100%;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: normal;
}

.shop-product-detail__info .variations_form table.variations td.value select {
  display: block;
  width: 100%;
  max-width: 36rem;
  min-height: 44px;
  padding: 10px 40px 10px 14px;
  border: 1px solid var(--shop-line);
  border-radius: 8px;
  background-color: #fff;
  color: var(--shop-ink);
  font: inherit;
}

.shop-product-detail__info .variations_form .reset_variations {
  display: inline-block;
  margin-top: 8px;
  color: var(--shop-muted);
  font-size: 13px;
}

.shop-product-detail__info .variations_form .reset_variations:hover {
  color: var(--shop-orange);
}

.shop-product-detail__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  margin-top: 28px;
}

.shop-add-to-cart .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--shop-line);
  border-radius: 999px;
  overflow: hidden;
  margin: 0;
}

.shop-add-to-cart .quantity .qty {
  width: 48px;
  height: 42px;
  border: 0;
  text-align: center;
  font: inherit;
  background: transparent;
  -moz-appearance: textfield;
}

.shop-add-to-cart .quantity .qty::-webkit-outer-spin-button,
.shop-add-to-cart .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.shop-add-to-cart .single_add_to_cart_button.btn-primary {
  border: 0;
  background: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--shop-ink);
  box-shadow: none;
}

.shop-add-to-cart .single_add_to_cart_button.btn-primary:hover {
  background: none;
}

.shop-product-detail__meta {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: var(--shop-muted);
}

.shop-product-detail__meta li + li {
  margin-top: 6px;
}

.shop-product-detail__meta a {
  color: var(--shop-muted);
  text-decoration: underline;
}

.shop-product-detail__meta a:hover {
  color: var(--shop-orange);
}

.shop-product-copy {
  padding: 20px 0 90px;
  width: 100%;
  max-width: none;
}

.shop-product-copy h2 {
  font-family: "NewBlackTypeface", Georgia, serif !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
  line-height: 1.05 !important;
  margin: 0 0 18px !important;
  color: var(--shop-ink) !important;
}

.shop-product-copy p {
  margin: 0 0 16px;
  font-family: "AeonikExtendedPro", "Segoe UI", sans-serif !important;
  font-size: 16px !important;
  font-weight: 300 !important;
  line-height: 1.7 !important;
  letter-spacing: 0.02em !important;
  color: rgba(25, 5, 0, 0.82) !important;
}

.shop-product-copy p strong,
.shop-product-copy p b {
  font-weight: 600 !important;
  font-family: inherit !important;
}

.woocommerce-notices-wrapper,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  margin: 24px 0;
}

/* —— Cart / checkout light styling —— */
body.shop-context .woocommerce-cart,
body.shop-context .woocommerce-checkout,
body.shop-context .woocommerce-account {
  padding: 40px 0 80px;
}

.shop-page-content {
  padding: 48px 0 80px;
}

.shop-page-content .wp-block-woocommerce-cart,
.shop-page-content .wp-block-woocommerce-checkout,
.shop-page-content .woocommerce {
  max-width: 100%;
}

body.shop-context .woocommerce table.shop_table {
  border-collapse: collapse;
}

body.shop-context .woocommerce button.button,
body.shop-context .woocommerce a.button,
body.shop-context .woocommerce input.button {
  background: var(--shop-ink);
  color: #fff;
  border-radius: 999px;
  border: 0;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 12px 22px;
}

body.shop-context .woocommerce button.button:hover,
body.shop-context .woocommerce a.button:hover,
body.shop-context .woocommerce input.button:hover {
  background: var(--shop-orange);
  color: #fff;
}

/* —— Shop footer —— */
.shop-footer {
  background: var(--shop-ink);
  color: #fff;
  padding: 56px 0 28px;
  margin-top: 0;
}

.shop-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 900px) {
  .shop-footer__top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.shop-footer__tag {
  margin: 14px 0 0;
  max-width: 22rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.shop-footer__label {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--shop-orange);
}

.shop-footer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.shop-footer__list li + li {
  margin-top: 10px;
}

.shop-footer__list a {
  text-decoration: none;
  font-size: 15px;
  color: #fff;
}

.shop-footer__list a:hover {
  color: var(--shop-orange);
}

.shop-footer__text {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

.shop-footer__text a {
  color: #fff;
  text-decoration: none;
}

.shop-footer__text a:hover {
  color: var(--shop-orange);
}

.shop-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 22px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.shop-footer__bottom a {
  color: inherit;
  text-decoration: none;
}

.shop-footer__bottom a:hover {
  color: #fff;
}

/* Hide default WC sidebar leftovers */
body.shop-context #secondary,
body.shop-context .widget-area {
  display: none;
}
