/* Product page. Scoped under .product. Values mirror compiled Bootstrap theme. */
.product { --p-primary: var(--bs-primary, #88503E); --p-primary-hover: #744435; --p-btn: #88503E; --p-btn-hover: #744435; --p-secondary: var(--bs-secondary, #2E4367); }
.product__notices { margin-bottom: 1.5rem; }
.product__notices:empty { margin: 0; }
.product .woocommerce-message,
.product .woocommerce-error,
.product .woocommerce-info {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem;
  list-style: none; margin: 0 0 1rem; padding: 1rem 1.25rem; border: 1px solid transparent; border-radius: .25rem;
}
/* WC icon font ::before is absolute (left 1.5em) and ::after is a clearfix. Put icon in flex flow, drop clearfix. */
.product .woocommerce-message::before,
.product .woocommerce-error::before,
.product .woocommerce-info::before { position: static; flex: 0 0 auto; align-self: flex-start; margin-right: .5rem; line-height: 1.5; }
.product .woocommerce-message::after,
.product .woocommerce-error::after,
.product .woocommerce-info::after { content: none; display: none; }
.product .woocommerce-message { color: #406905; background-color: #e1efce; border-color: #d2e7b5; }
.product .woocommerce-error { color: #941438; background-color: #fdd3df; border-color: #fdbccf; }
.product .woocommerce-info { color: #1c283e; background-color: #d5d9e1; border-color: #c0c7d1; }
.product .woocommerce-error li { margin: 0; }
/* Notice buttons. Prefixed with body.woocommerce to beat WC `.woocommerce a.button(.alt)` rules (0,3,1)/(0,4,1) hover. */
body.woocommerce .product .woocommerce-message a.button,
body.woocommerce .product .woocommerce-message a.button.wc-forward,
body.woocommerce .product .woocommerce-info a.button {
  order: 2; display: inline-block; float: none; padding: .375rem 1.75rem; border: 0; border-radius: 2.25rem;
  background-color: var(--p-btn); color: #fff; font-size: 1.1rem; font-weight: 400; line-height: 1.5; text-decoration: none; transition: background-color .15s ease-in-out;
}
body.woocommerce .product .woocommerce-message a.button:hover,
body.woocommerce .product .woocommerce-message a.button:focus,
body.woocommerce .product .woocommerce-message a.button.wc-forward:hover,
body.woocommerce .product .woocommerce-message a.button.wc-forward:focus,
body.woocommerce .product .woocommerce-info a.button:hover,
body.woocommerce .product .woocommerce-info a.button:focus { background-color: var(--p-btn-hover); color: #fff; }

.product .row { row-gap: 1.5rem; }
.product__image { text-align: center; }
.product__img { display: block; width: 100%; max-width: 320px; height: auto; margin: 0 auto; border-radius: .25rem; box-shadow: 0 .25rem .75rem rgba(25, 25, 25, .15); }
.product__summary .product__title { margin-bottom: 1rem; }
.product__price { margin-bottom: 1rem; }
.product__price p.price { margin: 0; color: var(--p-primary); font-family: 'Raleway', sans-serif; font-weight: 700; font-size: 1.25rem; }
.product__price p.price del { opacity: .6; font-weight: 400; }
.product__price p.price ins { text-decoration: none; }
.product__excerpt { margin-bottom: 1.5rem; }
.product__excerpt p:last-child { margin-bottom: 0; }

.product__cart form.cart { display: flex; flex-wrap: wrap; align-items: stretch; gap: .75rem; margin: 0; }
.product__cart .quantity { margin: 0; }
.product__cart .quantity input.qty {
  display: block; width: 5rem; height: 100%; min-height: 2.75rem; padding: .375rem .75rem; text-align: center;
  font-family: inherit; line-height: 1.5; color: #212529; background-color: #fff; border: 1px solid #ced4da; border-radius: .25rem;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.product__cart .quantity input.qty:focus { border-color: #c3a79f; outline: 0; box-shadow: 0 0 0 .25rem rgba(136, 80, 62, .25); }
/* Add to cart. Selector (0,6,2) beats WC `.woocommerce button.button.alt` (0,3,1), :hover (0,4,1), :disabled[disabled]:hover (0,6,1) via +state. */
body.woocommerce .product .product__cart button.single_add_to_cart_button.button.alt {
  display: inline-block; padding: .375rem 1.75rem; border: 0; border-radius: 2.25rem;
  background-color: var(--p-btn); color: #fff; font-family: inherit; font-size: 1.1rem; font-weight: 400; line-height: 1.5; text-align: center;
  transition: background-color .15s ease-in-out;
}
body.woocommerce .product .product__cart button.single_add_to_cart_button.button.alt:hover,
body.woocommerce .product .product__cart button.single_add_to_cart_button.button.alt:focus,
body.woocommerce .product .product__cart button.single_add_to_cart_button.button.alt:active { background-color: var(--p-btn-hover); color: #fff; }
body.woocommerce .product .product__cart button.single_add_to_cart_button.button.alt:focus-visible { outline: 0; box-shadow: 0 0 0 .25rem rgba(136, 80, 62, .4); }
body.woocommerce .product .product__cart button.single_add_to_cart_button.button.alt:disabled,
body.woocommerce .product .product__cart button.single_add_to_cart_button.button.alt.disabled,
body.woocommerce .product .product__cart button.single_add_to_cart_button.button.alt:disabled[disabled],
body.woocommerce .product .product__cart button.single_add_to_cart_button.button.alt.disabled:hover,
body.woocommerce .product .product__cart button.single_add_to_cart_button.button.alt:disabled:hover,
body.woocommerce .product .product__cart button.single_add_to_cart_button.button.alt:disabled[disabled]:hover { background-color: var(--p-btn); color: #fff; opacity: .65; pointer-events: none; }

.product__description { margin-top: 2rem; }
.product__attributes { margin-top: 2rem; }
.product__attributes-title { margin-bottom: 1rem; font-size: 1.5rem; color: var(--p-primary); }
/* Override WC shop_attributes (dotted borders, italic td, zebra). Specificity (0,4,x) beats WC (0,3,3). */
.product table.woocommerce-product-attributes.shop_attributes { width: 100%; margin: 0; border: 1px solid #dee2e6; border-collapse: collapse; font-family: inherit; }
.product table.woocommerce-product-attributes.shop_attributes tr.woocommerce-product-attributes-item th,
.product table.woocommerce-product-attributes.shop_attributes tr.woocommerce-product-attributes-item td { padding: .5rem .75rem; margin: 0; border: 1px solid #dee2e6; background: transparent; font-style: normal; line-height: 1.5; vertical-align: top; text-align: left; }
.product table.woocommerce-product-attributes.shop_attributes tr.woocommerce-product-attributes-item th { width: 40%; font-weight: 600; }
/* WC smallscreen.css forces tr/th/td to display:block under 768px. Restore table layout so label/value stay side by side. */
.product table.woocommerce-product-attributes.shop_attributes tr.woocommerce-product-attributes-item { display: table-row; }
.product table.woocommerce-product-attributes.shop_attributes tr.woocommerce-product-attributes-item th { display: table-cell; }
.product table.woocommerce-product-attributes.shop_attributes tr.woocommerce-product-attributes-item td { display: table-cell; }
.product table.woocommerce-product-attributes.shop_attributes tr.woocommerce-product-attributes-item td p { margin: 0; padding: 0; }

@media (min-width: 768px) {
  .product__img { max-width: 100%; margin: 0; }
  .product__image { text-align: left; }
  .product__price p.price { font-size: 1.5rem; }
  .product__description { margin-top: 3rem; }
  .product__attributes { margin-top: 3rem; }
  .product__attributes-title { font-size: 1.8rem; }
  .product table.woocommerce-product-attributes.shop_attributes tr.woocommerce-product-attributes-item th { width: 35%; white-space: nowrap; }
}

/* Description + Productgegevens side by side from 1024px (7/12 + 5/12). */
@media (min-width: 1024px) {
  .product .product__details--split { align-items: flex-start; }
  .product .product__details--split > .product__description { flex: 0 0 58.333333%; max-width: 58.333333%; margin-top: 3rem; padding-right: 2rem; }
  .product .product__details--split > .product__attributes { flex: 0 0 41.666667%; max-width: 41.666667%; margin-top: 3rem; }
  .product .product__details--split .product__attributes-title { margin-top: 0; }
  .product .product__details--split table.woocommerce-product-attributes.shop_attributes tr.woocommerce-product-attributes-item th { width: 1%; white-space: nowrap; }
  .product .product__details--split table.woocommerce-product-attributes.shop_attributes tr.woocommerce-product-attributes-item td { overflow-wrap: anywhere; }
}

/* Cart page (WooCommerce Cart Block). Scoped under body.woocommerce-cart. */
body.woocommerce-cart {
  --p-btn: #88503E; --p-btn-hover: #744435;
}
body.woocommerce-cart .wc-block-cart__submit-button.wc-block-components-button:not(.is-link),
body.woocommerce-cart .wc-block-components-totals-coupon__button.wc-block-components-button:not(.is-link) {
  padding: .375rem 1.75rem; border: 0; border-radius: 2.25rem;
  background-color: var(--p-btn); color: #fff; font-family: inherit; font-size: 1.1rem; font-weight: 400; line-height: 1.5;
  transition: background-color .15s ease-in-out;
}
body.woocommerce-cart .wc-block-cart__submit-button.wc-block-components-button:not(.is-link):hover,
body.woocommerce-cart .wc-block-cart__submit-button.wc-block-components-button:not(.is-link):focus,
body.woocommerce-cart .wc-block-components-totals-coupon__button.wc-block-components-button:not(.is-link):hover,
body.woocommerce-cart .wc-block-components-totals-coupon__button.wc-block-components-button:not(.is-link):focus { background-color: var(--p-btn-hover); color: #fff; }
body.woocommerce-cart .wc-block-cart__submit-button.wc-block-components-button:not(.is-link):focus-visible,
body.woocommerce-cart .wc-block-components-totals-coupon__button.wc-block-components-button:not(.is-link):focus-visible { outline: 0; box-shadow: 0 0 0 .25rem rgba(136, 80, 62, .4); }
body.woocommerce-cart .wc-block-cart__submit-button.wc-block-components-button:not(.is-link):disabled,
body.woocommerce-cart .wc-block-components-totals-coupon__button.wc-block-components-button:not(.is-link):disabled { opacity: .65; }

/* Checkout page (WooCommerce Checkout Block). Scoped under body.woocommerce-checkout. */
body.woocommerce-checkout {
  --p-btn: #88503E; --p-btn-hover: #744435;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button.wc-block-components-button:not(.is-link),
body.woocommerce-checkout .wc-block-components-totals-coupon__button.wc-block-components-button:not(.is-link) {
  padding: .375rem 1.75rem; border: 0; border-radius: 2.25rem;
  background-color: var(--p-btn); color: #fff; font-family: inherit; font-size: 1.1rem; font-weight: 400; line-height: 1.5;
  transition: background-color .15s ease-in-out;
}
body.woocommerce-checkout .wc-block-components-checkout-place-order-button.wc-block-components-button:not(.is-link):hover,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button.wc-block-components-button:not(.is-link):focus,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button.wc-block-components-button:not(.is-link):active,
body.woocommerce-checkout .wc-block-components-totals-coupon__button.wc-block-components-button:not(.is-link):hover,
body.woocommerce-checkout .wc-block-components-totals-coupon__button.wc-block-components-button:not(.is-link):focus,
body.woocommerce-checkout .wc-block-components-totals-coupon__button.wc-block-components-button:not(.is-link):active { background-color: var(--p-btn-hover); color: #fff; }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button.wc-block-components-button:not(.is-link):focus-visible,
body.woocommerce-checkout .wc-block-components-totals-coupon__button.wc-block-components-button:not(.is-link):focus-visible { outline: 0; box-shadow: 0 0 0 .25rem rgba(136, 80, 62, .4); }
body.woocommerce-checkout .wc-block-components-checkout-place-order-button.wc-block-components-button:not(.is-link):disabled,
body.woocommerce-checkout .wc-block-components-totals-coupon__button.wc-block-components-button:not(.is-link):disabled { opacity: .65; }
