/*
Theme Name: Luwe Shop v2
Theme URI: https://luwetrading.eu/
Author: Luwe Trading
Author URI: https://luwetrading.eu/
Description: Premium dark WooCommerce theme with Tailwind CSS. Dark header/hero, light product areas.
Version: 0.2.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luwe-shop
*/

/* Base fallback styles in case Tailwind build assets are missing. */
body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  margin: 0;
  background: #f7f7f5;
  color: #1c1c1c;
}

.site-wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px;
}

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: #111827;
  color: #fff;
  border-radius: 6px;
  border: 0;
}

/* Checkout privacy note spacing and size (classic + block checkout). */
.woocommerce-privacy-policy-text,
.wc-block-checkout__privacy-policy,
.wc-block-checkout__privacy-policy p,
.wp-block-woocommerce-checkout-privacy-policy,
.wp-block-woocommerce-checkout-privacy-policy p {
  font-size: 0.75rem;
  line-height: 1.4;
  margin-top: 12px;
  margin-bottom: 12px !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox span,
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-terms-and-conditions-checkbox-text,
.wc-block-checkout__terms {
  font-size: 0.65rem !important;
  line-height: 1.4 !important;
  color: var(--luwe-brand) !important;
}

.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox {
  margin-bottom: 12px !important;
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
  margin-top: 12px !important;
}

/* Block checkout: align terms label size and spacing with privacy text. */
.wc-block-checkout__privacy-policy {
  margin-bottom: 12px !important;
}

.wp-block-woocommerce-checkout-terms,
.wc-block-checkout__terms {
  margin-top: 12px !important;
}

.wc-block-checkout__terms .wc-block-components-checkbox-label,
.wc-block-checkout__terms .wc-block-components-checkbox-label span,
.wc-block-checkout__terms .wc-block-components-checkbox-label p {
  font-size: 0.65rem !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--luwe-brand) !important;
}

.wp-block-woocommerce-checkout-terms .wc-block-components-checkbox-label,
.wp-block-woocommerce-checkout-terms .wc-block-components-checkbox-label span,
.wp-block-woocommerce-checkout-terms .wc-block-components-checkbox-label p {
  font-size: 0.65rem !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  color: var(--luwe-brand) !important;
}

#add_payment_method #payment div.form-row,
.woocommerce-cart #payment div.form-row,
.woocommerce-checkout #payment div.form-row {
  padding: 0em;
}

.checkbox {
  border-width: 0px;
}

/* Override WooCommerce default privacy policy text size. */
.woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text p {
  font-size: 0.75rem !important;
  line-height: 1.4 !important;
}

/* Archive product image containment fix. */
.product-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card__media img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
}

/* Reduce oversized product thumbnails on archives. */
.product-card__media img {
  width: auto !important;
  height: auto !important;
  max-width: 82% !important;
  max-height: 82% !important;
}

/* Increase inner padding and reduce archive thumbnail scale. */
.product-card__media {
  padding: 16px !important;
}

.product-card__media img {
  max-width: 70% !important;
  max-height: 70% !important;
}

.product-card__fit-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-card__fit-item {
  display: block;
  line-height: 1.35;
}

.home-onderdelen {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 56px 24px;
  text-align: center;
}

.home-onderdelen__inner {
  max-width: 760px;
  margin: 0 auto;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .site-header__hero {
    background-position: center center !important;
    background-attachment: fixed !important;
  }
}
