/* Local Manrope font-face (expects .woff2 inside assets/fonts) */
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../fonts/Manrope-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Typography variables */
:root {
  --wmw-font: "Manrope", Arial, Helvetica, sans-serif;
  --wmw-font-weight: 500;
  --wmw-font-size: 16px;
  --wmw-line-height: 1.875;
  --wmw-btn-font-size: 14px;
  --wmw-btn-font-weight: 500;
  --wmw-heading-weight: 600;
}
:root {
  --wmw-bg:#f3f4f6;
  --wmw-card:#ffffff;
  --wmw-text:#0f172a;
  --wmw-muted:#94a3b8;
  --wmw-border:#e6e7eb;
  --wmw-radius:16px;
  --wmw-radius-lg:20px;
  --wmw-shadow:0 10px 20px rgba(0,0,0,.06);
  --wmw-primary:#000000;
  --wmw-primary-text:#ffffff;
  --wmw-accent:#ef4444;
  --wmw-summary:#0f1216;
  --wmw-summary-text:#f8fafc;
  --wmw-btn-radius:5px;
  --wmw-gap:22px;
  --wmw-card-pad:16px;
  --wmw-summary-pad:18px;
  --wmw-summary-inner-pad:14px;
}
body.wmw-minimal-page {
  background:var(--wmw-bg);
  color:var(--wmw-text);
  font-family: var(--wmw-font);
  font-weight: var(--wmw-font-weight);
  font-size: var(--wmw-font-size);
  line-height: var(--wmw-line-height);
}
body.wmw-minimal-page * { box-sizing:border-box; font-family: var(--wmw-font); }

/* Hide site header/footer in checkout */
body.wmw-minimal-page #main-header,
body.wmw-minimal-page #main-footer,
body.wmw-minimal-page header.site-header,
body.wmw-minimal-page footer.site-footer,
body.wmw-minimal-page .elementor-location-header,
body.wmw-minimal-page .elementor-location-footer,
body.wmw-minimal-page .et-l--header,
body.wmw-minimal-page .et-l--footer { display:none !important; }

/* Container */
body.wmw-minimal-page .woocommerce { max-width:1200px; margin:32px auto; padding:0 16px; }

/* Grid */
.weeds-checkout-grid { grid-template-columns: 1.4fr .8fr; gap: var(--wmw-gap) !important; }
@media (max-width: 980px){ .weeds-checkout-grid { grid-template-columns: 1fr; } }

/* Cards */
.weeds-card,
body.wmw-minimal-page .woocommerce form.checkout,
body.wmw-minimal-page .woocommerce .woocommerce-checkout-review-order {
  background:var(--wmw-card);
  border:1px solid var(--wmw-border);
  border-radius:var(--wmw-radius-lg);
  padding:var(--wmw-card-pad);
  box-shadow:var(--wmw-shadow);
}
.weeds-checkout-col .weeds-card + .weeds-card { margin-top:14px; }

/* Section headings */
.wmw-section-title { font-size:20px; font-weight: var(--wmw-heading-weight); margin:0 0 10px; }
.wmw-required { color:var(--wmw-accent); font-weight:600; margin-left:6px; }

/* Inputs */
body.wmw-minimal-page .woocommerce form .form-row input.input-text,
body.wmw-minimal-page .woocommerce form .form-row select,
body.wmw-minimal-page .woocommerce form .form-row textarea {
  background:#fff; color:#111; border:1px solid var(--wmw-border);
  border-radius:12px; padding:12px 14px;
  transition:none;
}
body.wmw-minimal-page .woocommerce form .form-row input.input-text:focus,
body.wmw-minimal-page .woocommerce form .form-row select:focus,
body.wmw-minimal-page .woocommerce form .form-row textarea:focus {
  border-color:#c7c9ce; box-shadow:none;
}
body.wmw-minimal-page .woocommerce form .form-row label { font-weight:600; margin-bottom:6px; display:inline-block; }

/* Dark summary */
.weeds-summary {
  background:var(--wmw-summary);
  color:var(--wmw-summary-text);
  border:none;
  padding:var(--wmw-summary-pad);
}
.weeds-summary, .weeds-summary * { color:var(--wmw-summary-text); }
.weeds-summary h3 { 
  margin:0 0 12px; 
  padding-left: var(--wmw-summary-inner-pad);
  font-weight: var(--wmw-heading-weight);
}
.weeds-summary table.shop_table,
.weeds-summary .woocommerce-checkout-review-order-table { background:transparent; }
.weeds-summary table.shop_table th, 
.weeds-summary table.shop_table td { 
  border-top:1px solid rgba(255,255,255,.12) !important; 
  color: var(--wmw-summary-text) !important;
  padding: var(--wmw-summary-inner-pad) var(--wmw-summary-inner-pad);
}
.weeds-summary .shop_table tfoot th,
.weeds-summary .shop_table tfoot td,
.weeds-summary .shop_table thead th { color: var(--wmw-summary-text) !important; }

.weeds-summary #order_review,
.weeds-summary #payment,
.weeds-summary .woocommerce-checkout-payment,
.weeds-summary .wc_payment_methods,
.weeds-summary .payment_box,
.weeds-summary .woocommerce-terms-and-conditions,
.weeds-summary .woocommerce-privacy-policy-text {
  background:transparent !important;
  border:none !important;
}
.weeds-summary .payment_box { background:#11151b !important; border:1px solid #1f2430 !important; border-radius:8px; }
.weeds-summary .payment_box p { color:var(--wmw-summary-text); opacity:.95; }
.weeds-summary .input-text, .weeds-summary input, .weeds-summary select {
  background:#161a20; border-color:#2b2f37; color:#fff;
}
.weeds-summary ul.payment_methods > li { background:transparent !important; border:none !important; }
.weeds-summary ul.payment_methods > li label { color:var(--wmw-summary-text) !important; }

/* Buttons */
body.wmw-minimal-page .woocommerce #place_order,
body.wmw-minimal-page .woocommerce a.button,
body.wmw-minimal-page .woocommerce button.button {
  background:var(--wmw-primary); color:var(--wmw-primary-text);
  border:1px solid var(--wmw-primary);
  border-radius:var(--wmw-btn-radius);
  padding:10px 14px;
  font-size: var(--wmw-btn-font-size);
  font-weight: var(--wmw-btn-font-weight);
  line-height:1.1;
  transition:none;
  display:inline-block;
}
.weeds-summary #place_order { display:block; width:100%; text-align:center; margin-top:12px; }
body.wmw-minimal-page .woocommerce #place_order:hover,
body.wmw-minimal-page .woocommerce a.button:hover,
body.wmw-minimal-page .woocommerce button.button:hover { filter:none; opacity:1; transform:none; }

/* Sticky */
@media (min-width: 981px){ .weeds-summary { position: sticky; top: 24px; } }

/* Breadcrumb off */
body.wmw-minimal-page .woocommerce-breadcrumb { display:none !important; }

/* Coupon top banner */
.weeds-summary .coupon-wrapper { display:none !important; }
body.wmw-minimal-page .woocommerce-form-coupon-toggle .woocommerce-info {
  background:var(--wmw-summary); color:var(--wmw-summary-text);
  border:none; border-radius:12px; padding:12px 16px;
}
body.wmw-minimal-page .woocommerce-form-coupon-toggle .woocommerce-info a { color:#fff; text-decoration:underline; }

/* Notices */
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message { border-radius:10px; }
