/* Lamaze Elegance — WooCommerce element resets */

.price { font-variant-numeric: tabular-nums; color: var(--c-ink); font-weight: 600; }
.price del { color: var(--c-mute); opacity: 0.7; margin-right: 8px; }
.price ins { text-decoration: none; color: var(--c-burgundy); }
.star-rating { color: var(--c-champagne); }
.woocommerce-message, .woocommerce-error, .woocommerce-info {
  background: var(--c-ivory); border-left: 3px solid var(--c-burgundy-deep); border-radius: var(--r-md);
  padding: 16px 20px; font-size: 14px; margin-bottom: var(--s-6); list-style: none;
}
.woocommerce-error { border-left-color: var(--c-rose); }
.quantity .qty {
  width: 64px; padding: 10px 12px; border: 1px solid var(--c-line); border-radius: var(--r-md);
  font-family: inherit; font-size: 14px; background: var(--c-ivory); color: var(--c-ink);
}
table.shop_table { width: 100%; border-collapse: collapse; }
.woocommerce-breadcrumb { display: none; } /* replaced by lamaze_render_breadcrumb() */
.woocommerce-result-count, .woocommerce-ordering { display: none; } /* replaced by our shop hero */
ul.products { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-6); }
ul.products li.product { list-style: none; }

/* ---------- My Account ---------- */
@media (min-width: 1024px) {
  .lamaze-signin-split { grid-template-columns: 1fr 1fr !important; }
  #lamaze-my-account { grid-template-columns: 260px 1fr !important; }
  .order-detail-grid { grid-template-columns: 1.4fr 1fr !important; }
}
.woocommerce-MyAccount-content table.shop_table th,
.woocommerce-MyAccount-content table.shop_table td { padding: 12px; border-bottom: 1px solid var(--c-line); text-align: left; }
.woocommerce-MyAccount-content .button { display: inline-flex; align-items: center; gap: 8px; background: var(--c-burgundy-deep); color: var(--c-pink); border: none; padding: 10px 20px; border-radius: var(--r-full); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; }
.woocommerce-MyAccount-content .woocommerce-Address { background: var(--c-ivory); padding: 24px; border-radius: var(--r-lg); margin-bottom: 16px; }

/* ---------- Cart & Checkout blocks (Woo 8.x+) ----------
   We use Woo's native Cart/Checkout blocks rather than the classic
   shortcode (05-woocommerce-overrides.md), themed via CSS custom
   properties + targeted selectors instead of PHP template overrides. */
.wp-block-woocommerce-checkout,
.wp-block-woocommerce-cart {
  font-family: var(--f-body);
  --wc-blocks-primary: var(--c-burgundy-deep);
}
.wp-block-woocommerce-checkout .wc-block-components-checkout-step__title,
.wp-block-woocommerce-cart .wc-block-cart__title {
  font-family: var(--f-display); font-style: italic; font-weight: 500; color: var(--c-burgundy-deep);
}
.wp-block-woocommerce-checkout .wc-block-components-panel,
.wp-block-woocommerce-checkout .wc-block-components-address-form,
.wp-block-woocommerce-checkout .wc-block-checkout__form,
.wp-block-woocommerce-cart .wc-block-cart-items {
  background: var(--c-ivory); border-radius: var(--r-lg); padding: 24px 28px;
}
.wp-block-woocommerce-checkout .wc-block-components-text-input input,
.wp-block-woocommerce-checkout .wc-block-components-select__container,
.wp-block-woocommerce-checkout .wc-block-components-combobox input {
  background: var(--c-cream); border-color: var(--c-line); border-radius: var(--r-md);
}
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button,
.wp-block-woocommerce-cart .wc-block-cart__submit-button,
.wp-block-woocommerce-checkout .wc-block-components-button:not(.is-style-outline) {
  background: var(--c-burgundy-deep) !important; color: var(--c-pink) !important; border-radius: var(--r-full) !important;
  font-family: var(--f-body); letter-spacing: 2px; text-transform: uppercase; font-size: 13px; font-weight: 700;
}
.wp-block-woocommerce-checkout .wc-block-components-order-summary,
.wp-block-woocommerce-checkout .wc-block-components-totals-wrapper {
  background: var(--c-burgundy-deep); color: var(--c-ivory); border-radius: var(--r-lg); padding: 24px;
}
.wp-block-woocommerce-checkout .wc-block-components-totals-item__value { color: var(--c-pink); }
.wp-block-woocommerce-checkout .wc-block-components-radio-control__option {
  border: 1.5px solid var(--c-line); border-radius: var(--r-md); padding: 14px 16px; margin-bottom: 8px;
}
.wp-block-woocommerce-checkout .wc-block-components-radio-control__option[aria-checked="true"],
.wp-block-woocommerce-checkout .wc-block-components-radio-control__option.is-active {
  border-color: var(--c-burgundy-deep); background: var(--c-cream);
}

/* Two-column layout — confirmed via live-rendered markup that the
   Checkout block's own top-level children are exactly these two
   wrapper divs (data-block-name="woocommerce/checkout-fields-block"
   and "woocommerce/checkout-totals-block"), so this grid is safe to
   hook directly off them rather than guessing at inner structure. */
@media (min-width: 900px) {
  .wp-block-woocommerce-checkout.wc-block-checkout {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--s-8); align-items: start;
  }
  .wp-block-woocommerce-checkout-totals-block {
    position: sticky; top: var(--s-6);
  }
}
.wp-block-woocommerce-checkout-fields-block { min-width: 0; }

/* Order summary column — ivory-on-burgundy card with the same floret
   accent used on the thank-you/petal sections elsewhere in the store. */
.wp-block-woocommerce-checkout-order-summary-block {
  background: var(--c-burgundy-deep); border-radius: var(--r-lg); padding: 28px 24px; position: relative; overflow: hidden;
}
.wp-block-woocommerce-checkout-order-summary-block::before {
  content: ""; position: absolute; top: -30px; right: -30px; width: 120px; height: 120px;
  background: radial-gradient(circle, rgba(242,199,209,0.12) 0%, transparent 70%); pointer-events: none;
}
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-name,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item__label,
.wp-block-woocommerce-checkout-order-summary-block label { color: var(--c-ivory); }
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-formatted-money-amount { color: var(--c-pink); font-weight: 600; }
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-totals-item {
  border-top: 1px solid rgba(242,199,209,0.15);
}

/* Step cards (contact / shipping / billing / payment) — ivory panels
   with uppercase, letter-spaced step titles matching the rest of the
   account/checkout language used across the theme. */
.wp-block-woocommerce-checkout-contact-information-block,
.wp-block-woocommerce-checkout-shipping-address-block,
.wp-block-woocommerce-checkout-billing-address-block,
.wp-block-woocommerce-checkout-shipping-method-block,
.wp-block-woocommerce-checkout-payment-block {
  background: var(--c-ivory); border-radius: var(--r-lg); padding: 24px 28px; margin-bottom: var(--s-6);
}
.wp-block-woocommerce-checkout .wc-block-components-checkout-step__heading .wc-block-components-checkout-step__title {
  text-transform: uppercase; letter-spacing: 1.5px; font-size: 13px; font-style: normal; font-family: var(--f-body); font-weight: 700; color: var(--c-burgundy-deep);
}

/* ---------- Thank-you page ---------- */
.thankyou-step-num { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--f-display); font-style: italic; font-size: 16px; font-weight: 500; margin-bottom: 14px; }
