/*
Theme Name: Lunéa Baby
Theme URI: https://luneababy.store
Author: Lunéa Baby
Description: Tema personalizado da Lunéa Baby, convertido a partir da landing page original.
Version: 17.0
Text Domain: lunea-baby
Requires at least: 6.0
Requires PHP: 7.4
*/

/* The original landing page keeps its own CSS inside front-page.php so the visual
   remains pixel-close to the version already approved. This file is intentionally
   minimal and exists as the WordPress theme stylesheet/metadata file. */
body.lunea-woocommerce { margin: 0; }

/* =========================================================
   Lunéa Baby Checkout v6 — WooCommerce engine, Lunéa visual
   ========================================================= */
body.lunea-checkout-page,
body.woocommerce-checkout {
  --lunea-bg:#f7efe4;
  --lunea-paper:#fffaf3;
  --lunea-paper2:#f3e6d5;
  --lunea-ink:#34271f;
  --lunea-muted:#78685d;
  --lunea-brown:#9a6f50;
  --lunea-brown2:#76523b;
  --lunea-line:rgba(78,55,40,.13);
  --lunea-shadow:0 18px 48px rgba(81,53,36,.10);
  margin:0;
  color:var(--lunea-ink);
  background:radial-gradient(circle at 88% 4%,rgba(230,201,168,.35),transparent 26rem),var(--lunea-bg);
  font-family:"DM Sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  min-height:100vh;
}
body.lunea-checkout-page #wpadminbar { z-index:99999; }
body.lunea-checkout-page a { color:inherit; }
.lunea-checkout-top{
  min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px;
  padding:8px max(18px,calc((100vw - 1120px)/2));border-bottom:1px solid var(--lunea-line);
  background:rgba(255,250,243,.82);backdrop-filter:blur(16px);position:sticky;top:0;z-index:40;
}
.admin-bar .lunea-checkout-top{top:32px}
.lunea-checkout-brand{display:flex;align-items:center;height:60px}.lunea-checkout-brand img{width:112px;height:58px;object-fit:contain;object-position:left center}
.lunea-checkout-secure{display:flex;align-items:center;gap:7px;font-size:11px;color:#6f6258}.lunea-checkout-secure svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.lunea-checkout-shell{width:min(1120px,100%);margin:0 auto;padding:30px 18px 80px}
.lunea-checkout-back{display:inline-flex;margin-bottom:18px;font-size:12px;color:var(--lunea-muted);text-decoration:none}
.lunea-checkout-heading{margin-bottom:22px}.lunea-checkout-kicker{margin:0 0 9px;text-transform:uppercase;letter-spacing:.14em;font-size:10px;font-weight:800;color:#956f4b}.lunea-checkout-heading h1{margin:0 0 7px;font-family:"DM Serif Display",Georgia,serif;font-size:clamp(38px,5vw,54px);line-height:.98;font-weight:400;letter-spacing:-.025em}.lunea-checkout-heading>p:last-child{margin:0;color:var(--lunea-muted);font-size:13px}
.lunea-checkout-content>.woocommerce{width:100%}

/* notices */
.lunea-checkout-page .woocommerce-notices-wrapper,.lunea-checkout-page .woocommerce-form-coupon-toggle{max-width:100%;margin:0 0 14px}
.lunea-checkout-page .woocommerce-info,.lunea-checkout-page .woocommerce-message,.lunea-checkout-page .woocommerce-error{border:1px solid var(--lunea-line)!important;border-radius:14px!important;background:#fffaf3!important;color:var(--lunea-ink)!important;padding:12px 14px!important;margin:0 0 12px!important;box-shadow:none!important}
.lunea-checkout-page .woocommerce-error{position:relative!important;display:grid!important;gap:6px!important;list-style:none!important;border-color:rgba(158,69,63,.22)!important;background:#fff4f2!important;color:#713b36!important;padding:12px 14px 12px 44px!important;font-size:12px!important;line-height:1.45!important}
.lunea-checkout-page .woocommerce-error::before{content:"!"!important;position:absolute!important;left:14px!important;top:12px!important;width:20px!important;height:20px!important;border-radius:50%!important;background:#9e453f!important;color:#fff!important;display:grid!important;place-items:center!important;font-family:"DM Sans",system-ui,sans-serif!important;font-size:12px!important;font-weight:800!important;line-height:20px!important;text-align:center!important}
.lunea-checkout-page .woocommerce-error li{margin:0!important;padding:0!important;list-style:none!important;color:#713b36!important}
.lunea-checkout-page .woocommerce-error li::before{display:none!important;content:none!important}
.lunea-checkout-page .woocommerce-error a{color:#713b36!important;text-decoration:underline!important}

/* Classic checkout grid */
.lunea-checkout-page form.woocommerce-checkout{display:grid;grid-template-columns:minmax(0,1fr) 370px;grid-template-areas:"customer reviewtitle" "customer review";gap:0 28px;align-items:start}
.lunea-checkout-page #customer_details{grid-area:customer;display:block;margin:0!important;width:auto!important}
.lunea-checkout-page #customer_details>.col-1,.lunea-checkout-page #customer_details>.col-2{float:none!important;width:100%!important;margin:0 0 18px!important}
.lunea-checkout-page #order_review_heading{grid-area:reviewtitle;margin:0!important;padding:20px 22px 8px;background:rgba(255,250,243,.94);border:1px solid rgba(255,255,255,.82);border-bottom:0;border-radius:24px 24px 0 0;font-family:"DM Sans",sans-serif;font-size:15px;font-weight:800;position:sticky;top:96px;z-index:4}
.admin-bar .lunea-checkout-page #order_review_heading{top:128px}
.lunea-checkout-page #order_review{grid-area:review;background:rgba(255,250,243,.94);border:1px solid rgba(255,255,255,.82);border-top:0;border-radius:0 0 24px 24px;padding:8px 22px 22px;box-shadow:var(--lunea-shadow);position:sticky;top:137px;z-index:3}
.admin-bar .lunea-checkout-page #order_review{top:169px}

/* left cards */
.lunea-checkout-page .woocommerce-billing-fields,.lunea-checkout-page .woocommerce-shipping-fields,.lunea-checkout-page .woocommerce-additional-fields{background:rgba(255,250,243,.9);border:1px solid rgba(255,255,255,.82);border-radius:24px;padding:20px;box-shadow:var(--lunea-shadow)}
.lunea-checkout-page .woocommerce-billing-fields>h3,.lunea-checkout-page .woocommerce-shipping-fields>h3,.lunea-checkout-page .woocommerce-additional-fields>h3{font-family:"DM Sans",sans-serif;font-size:15px;font-weight:800;margin:0 0 16px;color:var(--lunea-ink)}
.lunea-checkout-page .woocommerce-shipping-fields{margin-bottom:18px}

/* fields */
.lunea-checkout-page .form-row{margin:0 0 12px!important;padding:0!important}
.lunea-checkout-page .form-row label{display:block;font-size:11px;font-weight:700;color:var(--lunea-ink);margin:0 0 6px;line-height:1.3}
.lunea-checkout-page .form-row .required{color:#98634b}
.lunea-checkout-page .input-text,.lunea-checkout-page select,.lunea-checkout-page .select2-container .select2-selection--single{width:100%;min-height:48px;border:1px solid #d8cabc!important;background:#fffdf9!important;border-radius:13px!important;padding:11px 13px!important;color:var(--lunea-ink)!important;box-shadow:none!important;outline:none;font:inherit}
.lunea-checkout-page textarea.input-text{min-height:92px;resize:vertical}
.lunea-checkout-page .select2-container .select2-selection--single{display:flex;align-items:center}.lunea-checkout-page .select2-container--default .select2-selection--single .select2-selection__rendered{padding:0;color:var(--lunea-ink);line-height:24px}.lunea-checkout-page .select2-container--default .select2-selection--single .select2-selection__arrow{height:46px;right:8px}
.lunea-checkout-page .input-text:focus,.lunea-checkout-page select:focus{border-color:#a97d5d!important;box-shadow:0 0 0 3px rgba(154,111,80,.1)!important}
.lunea-checkout-page #billing_first_name_field,.lunea-checkout-page #billing_last_name_field,.lunea-checkout-page #shipping_first_name_field,.lunea-checkout-page #shipping_last_name_field{width:calc(50% - 6px)!important;float:left!important;clear:none!important}
.lunea-checkout-page #billing_last_name_field,.lunea-checkout-page #shipping_last_name_field{float:right!important}
.lunea-checkout-page #billing_address_1_field,.lunea-checkout-page #billing_address_2_field,.lunea-checkout-page #shipping_address_1_field,.lunea-checkout-page #shipping_address_2_field,.lunea-checkout-page #billing_email_field,.lunea-checkout-page #billing_phone_field{clear:both!important}

/* order table */
.lunea-checkout-page .woocommerce-checkout-review-order-table{border:0!important;border-collapse:collapse;width:100%;margin:0 0 16px;background:transparent}
.lunea-checkout-page .woocommerce-checkout-review-order-table th,.lunea-checkout-page .woocommerce-checkout-review-order-table td{border:0!important;border-bottom:1px solid var(--lunea-line)!important;padding:12px 0!important;background:transparent!important;font-size:12px;vertical-align:middle}
.lunea-checkout-page .woocommerce-checkout-review-order-table thead{display:none}
.lunea-checkout-page .woocommerce-checkout-review-order-table .product-total{text-align:right;white-space:nowrap;font-weight:700}
.lunea-checkout-page .woocommerce-checkout-review-order-table tfoot th{text-align:left;color:var(--lunea-muted);font-weight:600}.lunea-checkout-page .woocommerce-checkout-review-order-table tfoot td{text-align:right;font-weight:700}.lunea-checkout-page .woocommerce-checkout-review-order-table .order-total th,.lunea-checkout-page .woocommerce-checkout-review-order-table .order-total td{font-size:15px;color:var(--lunea-ink);padding-top:16px!important}.lunea-checkout-page .woocommerce-checkout-review-order-table .order-total .amount{font-family:"DM Serif Display",Georgia,serif;font-size:27px;font-weight:400}
.lunea-review-product{display:flex;align-items:center;gap:10px;min-width:0}.lunea-review-thumb{width:68px!important;height:68px!important;object-fit:cover;border-radius:14px;background:#fff;flex:none}.lunea-review-name{font-weight:700;line-height:1.3}.lunea-checkout-page .variation{display:grid;gap:2px;margin:4px 0 0;color:var(--lunea-muted);font-size:10px}.lunea-checkout-page .variation dt,.lunea-checkout-page .variation dd{display:inline;margin:0}.lunea-checkout-page .variation p{margin:0}

/* payment */
.lunea-checkout-page #payment{background:transparent!important;border:0!important;border-radius:0!important}
.lunea-checkout-page #payment .wc_payment_methods{list-style:none;margin:0 0 14px;padding:0}.lunea-checkout-page #payment .wc_payment_method{padding:12px 0;border-bottom:1px solid var(--lunea-line)}.lunea-checkout-page #payment .wc_payment_method>label{font-size:12px;font-weight:700}.lunea-checkout-page #payment .payment_box{background:#fffdf9!important;border:1px solid var(--lunea-line);border-radius:14px;margin:10px 0 0!important;padding:13px!important;color:var(--lunea-muted);font-size:11px}.lunea-checkout-page #payment .payment_box:before{display:none!important}
.lunea-checkout-page #payment .place-order{padding:0!important;margin:14px 0 0!important}.lunea-checkout-page #place_order{width:100%;min-height:54px;border:0!important;border-radius:17px!important;padding:15px 18px!important;background:linear-gradient(135deg,var(--lunea-brown),var(--lunea-brown2))!important;color:#fffaf4!important;font-weight:800!important;font-size:13px!important;box-shadow:0 14px 28px rgba(118,82,59,.22)!important;text-transform:none;cursor:pointer}.lunea-checkout-page #place_order:hover{filter:brightness(.98);transform:translateY(-1px)}
.lunea-checkout-page .woocommerce-privacy-policy-text{color:#8a7b70;font-size:9.5px;line-height:1.5;text-align:left}.lunea-checkout-page .woocommerce-terms-and-conditions-wrapper{font-size:10px;color:var(--lunea-muted)}

/* Keep express methods from taking over the visual hierarchy. */
.lunea-checkout-page .wc-block-components-express-payment,.lunea-checkout-page .wc-block-components-express-payment-continue-rule{display:none!important}

/* WP Swings / common order-bump wrappers — soft Lunéa skin. More exact selectors can be refined after live checkout screenshot. */
.lunea-checkout-page [class*="order-bump"],.lunea-checkout-page [class*="order_bump"],.lunea-checkout-page [class*="wps_upsell_bump"],.lunea-checkout-page [class*="wps-order-bump"]{font-family:"DM Sans",system-ui,sans-serif}
.lunea-checkout-page [class*="order-bump"] img,.lunea-checkout-page [class*="order_bump"] img{border-radius:12px}

/* Hide generic theme chrome if another Woo template leaks it in. */
.lunea-checkout-page .site-header,.lunea-checkout-page .site-footer,.lunea-checkout-page header.site-header,.lunea-checkout-page footer.site-footer{display:none!important}

@media(max-width:900px){
  .lunea-checkout-page form.woocommerce-checkout{display:block}.lunea-checkout-page #order_review_heading,.lunea-checkout-page #order_review{position:static}.lunea-checkout-page #order_review_heading{margin-top:18px!important}.lunea-checkout-shell{padding:22px 14px 70px}.lunea-checkout-top{padding:7px 14px}.lunea-checkout-brand img{width:98px}.lunea-checkout-heading h1{font-size:42px}
}
@media(max-width:540px){
  .lunea-checkout-secure span{display:none}.lunea-checkout-page #billing_first_name_field,.lunea-checkout-page #billing_last_name_field,.lunea-checkout-page #shipping_first_name_field,.lunea-checkout-page #shipping_last_name_field{width:100%!important;float:none!important}.lunea-checkout-page .woocommerce-billing-fields,.lunea-checkout-page .woocommerce-shipping-fields,.lunea-checkout-page .woocommerce-additional-fields{padding:16px;border-radius:20px}.lunea-checkout-page #order_review_heading{border-radius:20px 20px 0 0;padding:17px 17px 7px}.lunea-checkout-page #order_review{border-radius:0 0 20px 20px;padding:7px 17px 17px}.lunea-review-thumb{width:60px!important;height:60px!important}
}


/* ==========================================================
   Checkout v7 — faithful port of the original Lunéa checkout
   ========================================================== */
.lunea-checkout-page{--v7-bg:#f7efe4;--v7-paper:#fffaf3;--v7-ink:#34271f;--v7-muted:#78685d;--v7-brown:#9a6f50;--v7-brown2:#76523b;--v7-line:rgba(78,55,40,.13);--v7-shadow:0 18px 48px rgba(81,53,36,.10);background:radial-gradient(circle at 88% 4%,rgba(230,201,168,.35),transparent 26rem),var(--v7-bg)!important;color:var(--v7-ink)}
.lunea-checkout-page .lunea-checkout-shell{width:min(100%,1040px);padding:38px 28px 80px}
.lunea-checkout-page .lunea-checkout-back{font-size:12px;margin:0 0 20px}
.lunea-checkout-page .lunea-checkout-kicker{display:none}
.lunea-checkout-page .lunea-checkout-heading{margin-bottom:24px}
.lunea-checkout-page .lunea-checkout-heading h1{font-size:54px;line-height:.98;margin:0 0 8px}
.lunea-checkout-page .lunea-checkout-heading>p:last-child{font-size:13px}
.lunea-checkout-page .lunea-v7-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:28px;align-items:start}
.lunea-checkout-page .lunea-v7-left{display:grid;gap:18px;min-width:0}
.lunea-checkout-page .lunea-v7-card{background:rgba(255,250,243,.88);border:1px solid rgba(255,255,255,.8);box-shadow:var(--v7-shadow);border-radius:24px;padding:22px}
.lunea-checkout-page .lunea-v7-section-title{display:flex;align-items:center;gap:10px;margin-bottom:14px}.lunea-checkout-page .lunea-v7-num{width:27px;height:27px;border-radius:9px;background:#ead8c2;color:#704b35;display:grid;place-items:center;font-weight:800;font-size:11px}.lunea-checkout-page .lunea-v7-section-title h2{font:700 15px/1.2 "DM Sans",sans-serif;margin:0;color:var(--v7-ink)}
.lunea-checkout-page .lunea-v7-product-row{display:grid;grid-template-columns:82px 1fr auto;gap:12px;align-items:center}.lunea-checkout-page .lunea-v7-product-image img{width:82px;height:82px;object-fit:cover;border-radius:15px;background:#fff}.lunea-checkout-page .lunea-v7-product-copy h3{font-size:13px;margin:0 0 5px}.lunea-checkout-page .lunea-v7-product-copy p{font-size:10.5px;color:var(--v7-muted);margin:0}.lunea-checkout-page .lunea-v7-product-price{font-family:"DM Serif Display",Georgia,serif;font-size:22px;white-space:nowrap}.lunea-checkout-page .lunea-v7-product-price del{font-family:"DM Sans",sans-serif;font-size:10px;color:#9a8b80;margin-right:5px}.lunea-checkout-page .lunea-v7-product-price ins{text-decoration:none}
.lunea-checkout-page .lunea-v7-variant-block{margin-top:16px;padding-top:16px;border-top:1px solid var(--v7-line)}.lunea-checkout-page .lunea-v7-variant-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;font-weight:700;margin-bottom:10px}.lunea-checkout-page .lunea-v7-variant-head strong{font-size:10px;color:var(--v7-brown2)}
.lunea-checkout-page .lunea-v7-color-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.lunea-checkout-page .lunea-v7-color-option,.lunea-checkout-page .lunea-v7-bump-option{appearance:none;border:1px solid #d9c9ba;background:#fffaf3;border-radius:14px;padding:6px;cursor:pointer;color:var(--v7-ink);transition:.18s;text-align:center}.lunea-checkout-page .lunea-v7-color-option:hover,.lunea-checkout-page .lunea-v7-bump-option:hover{border-color:#b98c69}.lunea-checkout-page .lunea-v7-color-option.is-selected,.lunea-checkout-page .lunea-v7-bump-option.is-selected{border-color:var(--v7-brown2);box-shadow:0 0 0 2px rgba(118,82,59,.10);background:#fff7ed}.lunea-checkout-page .lunea-v7-color-option img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;background:#fff}.lunea-checkout-page .lunea-v7-color-option span,.lunea-checkout-page .lunea-v7-bump-option span{display:block;font-size:9.5px;font-weight:700;margin-top:6px;line-height:1.2}
.lunea-checkout-page .lunea-v7-bump{margin-top:18px;border:1.5px solid #d9b58c;border-radius:20px;background:linear-gradient(145deg,#fff9ef,#f4e6d3);padding:15px;transition:.2s}.lunea-checkout-page .lunea-v7-bump.is-selected{border-color:var(--v7-brown);box-shadow:0 12px 26px rgba(118,82,59,.12)}.lunea-checkout-page .lunea-v7-bump-top{display:flex;gap:11px;align-items:flex-start}.lunea-checkout-page .lunea-v7-check{width:24px;height:24px;flex:none;border:1.5px solid #b48b6c;border-radius:8px;background:#fff;display:grid;place-items:center;margin-top:1px;cursor:pointer;padding:0}.lunea-checkout-page .lunea-v7-check svg{width:15px;height:15px;opacity:0;stroke:#fff;fill:none;stroke-width:2.2}.lunea-checkout-page .lunea-v7-bump.is-selected .lunea-v7-check{background:var(--v7-brown2);border-color:var(--v7-brown2)}.lunea-checkout-page .lunea-v7-bump.is-selected .lunea-v7-check svg{opacity:1}.lunea-checkout-page .lunea-v7-bump-copy{flex:1}.lunea-checkout-page .lunea-v7-eyebrow{font-size:9px;text-transform:uppercase;letter-spacing:.13em;font-weight:800;color:#92684b;margin-bottom:5px}.lunea-checkout-page .lunea-v7-bump-title{font-weight:800;font-size:13px;line-height:1.3}.lunea-checkout-page .lunea-v7-bump-desc{font-size:10.5px;line-height:1.45;color:var(--v7-muted);margin-top:5px}.lunea-checkout-page .lunea-v7-bump-price-wrap{text-align:right;min-width:78px}.lunea-checkout-page .lunea-v7-bump-old{display:block;font-size:10px;color:#9a8b80;text-decoration:line-through}.lunea-checkout-page .lunea-v7-bump-price-wrap strong{font:400 22px/1 "DM Serif Display",Georgia,serif}.lunea-checkout-page .lunea-v7-bump-pill{display:inline-block;margin-top:5px;padding:3px 6px;border-radius:999px;background:#ead8c2;color:#704b35;font-size:8px;font-weight:800}.lunea-checkout-page .lunea-v7-bump-models{margin-top:14px;padding-top:13px;border-top:1px solid rgba(118,82,59,.12)}.lunea-checkout-page .lunea-v7-bump-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.lunea-checkout-page .lunea-v7-bump-option img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;background:#fff}.lunea-checkout-page .lunea-v7-choice-note{font-size:9.5px;color:var(--v7-muted);line-height:1.4;margin:8px 0 0}
.lunea-checkout-page .lunea-v7-details-card #customer_details{display:block}.lunea-checkout-page .lunea-v7-details-card .col-1,.lunea-checkout-page .lunea-v7-details-card .col-2{float:none!important;width:100%!important;margin:0!important}.lunea-checkout-page .lunea-v7-details-card .woocommerce-billing-fields,.lunea-checkout-page .lunea-v7-details-card .woocommerce-shipping-fields,.lunea-checkout-page .lunea-v7-details-card .woocommerce-additional-fields{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;box-shadow:none!important}.lunea-checkout-page .lunea-v7-details-card .woocommerce-billing-fields>h3,.lunea-checkout-page .lunea-v7-details-card .woocommerce-shipping-fields>h3,.lunea-checkout-page .lunea-v7-details-card .woocommerce-additional-fields>h3{display:none!important}.lunea-checkout-page #ship-to-different-address{display:none!important}.lunea-checkout-page .shipping_address{display:none!important}
.lunea-checkout-page .lunea-v7-details-card .form-row{margin:0 0 12px!important}.lunea-checkout-page .lunea-v7-details-card .form-row label{font-size:11px;font-weight:700;margin-bottom:7px}.lunea-checkout-page .lunea-v7-details-card .input-text,.lunea-checkout-page .lunea-v7-details-card select,.lunea-checkout-page .lunea-v7-details-card .select2-selection{min-height:48px;border:1px solid #d8cabc!important;background:#fff!important;border-radius:13px!important;padding:11px 13px!important}
.lunea-checkout-page .lunea-v7-payment-card #payment{background:transparent!important}.lunea-checkout-page .lunea-v7-payment-card #payment .wc_payment_methods{margin-bottom:0}.lunea-checkout-page .lunea-v7-payment-card #payment .place-order{margin:0!important;padding:0!important}.lunea-checkout-page .lunea-v7-payment-card #place_order{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}.lunea-checkout-page .lunea-v7-payment-card .woocommerce-privacy-policy-text{font-size:9.5px;color:#8a7b70}
.lunea-checkout-page .lunea-v7-summary-wrap{position:sticky;top:100px}.admin-bar.lunea-checkout-page .lunea-v7-summary-wrap{top:132px}.lunea-checkout-page .lunea-v7-summary-card{padding:22px}.lunea-checkout-page .lunea-v7-summary-card>h2{font:800 15px/1.2 "DM Sans",sans-serif;margin:0 0 16px}.lunea-checkout-page .lunea-v7-summary-lines{display:grid;gap:10px;font-size:12px}.lunea-checkout-page .lunea-v7-summary-row{display:flex;justify-content:space-between;gap:15px}.lunea-checkout-page .lunea-v7-summary-row strong{white-space:nowrap}.lunea-checkout-page .lunea-v7-muted{color:var(--v7-muted)}.lunea-checkout-page .lunea-v7-summary-total{display:flex;justify-content:space-between;align-items:center;padding-top:12px;border-top:1px solid var(--v7-line);font-size:15px;font-weight:800}.lunea-checkout-page .lunea-v7-summary-total strong{font:400 26px/1 "DM Serif Display",Georgia,serif}.lunea-checkout-page .lunea-v7-proxy-pay{width:100%;border:0;border-radius:17px;padding:16px 18px;background:linear-gradient(135deg,var(--v7-brown),var(--v7-brown2));color:#fffaf4;font-weight:800;cursor:pointer;margin-top:17px;box-shadow:0 14px 28px rgba(118,82,59,.22);display:flex;align-items:center;justify-content:center;gap:9px}.lunea-checkout-page .lunea-v7-proxy-pay svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}.lunea-checkout-page .lunea-v7-legal{font-size:9.5px;line-height:1.45;color:#8a7b70;margin:12px 4px 0;text-align:center}
.lunea-checkout-page .lunea-v7-updating:before,body.lunea-v7-updating:before{content:"";position:fixed;inset:0;background:rgba(247,239,228,.46);z-index:9998;backdrop-filter:blur(1px)}body.lunea-v7-updating:after{content:"";position:fixed;left:50%;top:50%;width:30px;height:30px;margin:-15px;border:3px solid #ead8c2;border-top-color:#76523b;border-radius:50%;animation:luneaV7spin .75s linear infinite;z-index:9999}@keyframes luneaV7spin{to{transform:rotate(360deg)}}
/* WP Swings bump is intentionally hidden: v7 uses the same WooCommerce product through our original Lunéa UI. */
.lunea-checkout-page [class*="wps_upsell_bump"],.lunea-checkout-page [id*="wps_upsell_bump"],.lunea-checkout-page [class*="wps-order-bump"],.lunea-checkout-page [class*="order-bump-wrap"]{display:none!important}
@media(max-width:799px){.lunea-checkout-page .lunea-checkout-shell{padding:24px 16px 90px}.lunea-checkout-page .lunea-checkout-heading h1{font-size:40px}.lunea-checkout-page .lunea-v7-layout{display:block}.lunea-checkout-page .lunea-v7-left{display:grid;gap:16px}.lunea-checkout-page .lunea-v7-summary-wrap{position:static;margin-top:16px}.lunea-checkout-page .lunea-v7-card{padding:18px}.lunea-checkout-page .lunea-v7-color-grid{grid-template-columns:repeat(2,1fr)}.lunea-checkout-page .lunea-v7-product-row{grid-template-columns:72px 1fr auto}.lunea-checkout-page .lunea-v7-product-image img{width:72px;height:72px}.lunea-checkout-page .lunea-v7-summary-wrap{margin-bottom:20px}}
@media(max-width:480px){.lunea-checkout-page .lunea-v7-bump-top{flex-wrap:wrap}.lunea-checkout-page .lunea-v7-bump-price-wrap{margin-left:35px;text-align:left}.lunea-checkout-page .lunea-v7-bump-grid{grid-template-columns:repeat(3,1fr)}}


/* ==========================================================
   Checkout v8 — layout isolation fix
   The previous classic-checkout grid from v6 was still being
   applied to the bespoke v7 form, shrinking the entire custom
   layout into the first WooCommerce grid column.
   ========================================================== */
.lunea-checkout-page .lunea-checkout-shell{
  width:min(1120px,100%)!important;
  margin:0 auto!important;
  padding:34px 18px 80px!important;
}
.lunea-checkout-page .lunea-checkout-content,
.lunea-checkout-page .lunea-checkout-content>.woocommerce{
  width:100%!important;
  max-width:none!important;
}
.lunea-checkout-page form.woocommerce-checkout.lunea-original-checkout{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  grid-template-columns:none!important;
  grid-template-areas:none!important;
  gap:0!important;
}
.lunea-checkout-page form.woocommerce-checkout.lunea-original-checkout>.lunea-v7-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 360px!important;
  gap:28px!important;
  align-items:start!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
}
.lunea-checkout-page .lunea-v7-left{
  min-width:0!important;
  width:100%!important;
}
.lunea-checkout-page .lunea-v7-summary-wrap{
  width:360px!important;
  max-width:100%!important;
}
/* The original Lunéa checkout intentionally uses the standard card-payment
   section instead of wallet/express banners above the customer details. */
.lunea-checkout-page [class*="express-checkout"],
.lunea-checkout-page [id*="express-checkout"],
.lunea-checkout-page [class*="express_checkout"],
.lunea-checkout-page [id*="express_checkout"],
.lunea-checkout-page .wc-stripe-banner-checkout,
.lunea-checkout-page .wc-stripe-express-checkout,
.lunea-checkout-page .wc-stripe-express-checkout-container,
.lunea-checkout-page #wc-stripe-express-checkout-element,
.lunea-checkout-page .wcpay-express-checkout-wrapper{
  display:none!important;
}
@media(max-width:900px){
  .lunea-checkout-page .lunea-checkout-shell{padding:24px 16px 90px!important}
  .lunea-checkout-page form.woocommerce-checkout.lunea-original-checkout>.lunea-v7-layout{
    display:block!important;
  }
  .lunea-checkout-page .lunea-v7-summary-wrap{
    width:100%!important;
    position:static!important;
    margin-top:16px!important;
  }
}


/* ==========================================================
   Checkout v9 — exact dimension pass from the approved HTML
   Reference geometry:
   - 1040px outer shell
   - 28px desktop horizontal padding
   - 2 columns only: fluid left + 360px summary
   - 28px column gap
   - all left-side cards stacked vertically
   ========================================================== */
@media (min-width: 800px) {
  body.lunea-checkout-page .lunea-checkout-top {
    min-height:76px!important;
    height:76px!important;
    padding:8px 28px!important;
  }
  body.lunea-checkout-page .lunea-checkout-brand img {
    width:140px!important;
    height:58px!important;
  }
  body.lunea-checkout-page .lunea-checkout-shell {
    width:min(100%,1040px)!important;
    max-width:1040px!important;
    margin:0 auto!important;
    padding:38px 28px 80px!important;
  }
  body.lunea-checkout-page .lunea-checkout-heading {
    margin-bottom:24px!important;
  }
  body.lunea-checkout-page .lunea-checkout-heading h1 {
    font-size:54px!important;
    line-height:.98!important;
    margin:0 0 8px!important;
  }
  body.lunea-checkout-page form.woocommerce-checkout.lunea-original-checkout {
    display:block!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }
  body.lunea-checkout-page form.woocommerce-checkout.lunea-original-checkout > .lunea-v7-layout {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 360px!important;
    grid-template-rows:auto!important;
    column-gap:28px!important;
    row-gap:0!important;
    align-items:start!important;
    width:100%!important;
    max-width:none!important;
  }
  body.lunea-checkout-page .lunea-v7-left {
    display:flex!important;
    flex-direction:column!important;
    flex-wrap:nowrap!important;
    gap:14px!important;
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
  body.lunea-checkout-page .lunea-v7-left > * {
    display:block;
    flex:0 0 auto!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    grid-column:1/-1!important;
    float:none!important;
    clear:both!important;
    margin:0!important;
  }
  body.lunea-checkout-page .lunea-v7-card {
    width:100%!important;
    padding:22px!important;
    border-radius:24px!important;
  }
  body.lunea-checkout-page .lunea-v7-summary-wrap {
    width:360px!important;
    min-width:360px!important;
    max-width:360px!important;
    position:sticky!important;
    top:100px!important;
    margin:0!important;
    align-self:start!important;
  }
  body.admin-bar.lunea-checkout-page .lunea-v7-summary-wrap { top:132px!important; }
  body.lunea-checkout-page .lunea-v7-summary-card { width:360px!important; padding:22px!important; }
}

/* Exact left-column component sizing from the approved checkout. */
body.lunea-checkout-page .lunea-v7-product-row {
  grid-template-columns:82px minmax(0,1fr) auto!important;
  gap:12px!important;
}
body.lunea-checkout-page .lunea-v7-product-image img {
  width:82px!important;
  height:82px!important;
  border-radius:15px!important;
}
body.lunea-checkout-page .lunea-v7-color-grid {
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
}
body.lunea-checkout-page .lunea-v7-bump {
  margin-top:0!important;
  padding:15px!important;
  border-radius:20px!important;
}
body.lunea-checkout-page .lunea-v7-bump-grid {
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:8px!important;
}
body.lunea-checkout-page .lunea-v7-details-card .form-row,
body.lunea-checkout-page .lunea-v7-payment-card .form-row {
  width:100%;
}
body.lunea-checkout-page .lunea-v7-payment-card #payment,
body.lunea-checkout-page .lunea-v7-payment-card .wc_payment_methods,
body.lunea-checkout-page .lunea-v7-payment-card .wc_payment_method,
body.lunea-checkout-page .lunea-v7-payment-card .payment_box {
  width:100%!important;
  max-width:100%!important;
}

@media (max-width: 799px) {
  body.lunea-checkout-page .lunea-checkout-top { min-height:76px!important; padding:8px 18px!important; }
  body.lunea-checkout-page .lunea-checkout-shell { width:100%!important; padding:24px 16px 90px!important; }
  body.lunea-checkout-page form.woocommerce-checkout.lunea-original-checkout > .lunea-v7-layout { display:block!important; }
  body.lunea-checkout-page .lunea-v7-left { display:flex!important; flex-direction:column!important; gap:14px!important; }
  body.lunea-checkout-page .lunea-v7-summary-wrap,
  body.lunea-checkout-page .lunea-v7-summary-card { width:100%!important; min-width:0!important; max-width:100%!important; position:static!important; }
}

/* ==========================================================
   Checkout v10 — geometry + payment cleanup
   - enforce border-box so the approved 1040px shell is truly 1040px
   - restore the original 18px vertical rhythm between left-side cards
   - remove duplicate Woo/Stripe wrappers around the Payment Element
   ========================================================== */
body.lunea-checkout-page,
body.lunea-checkout-page *,
body.lunea-checkout-page *::before,
body.lunea-checkout-page *::after {
  box-sizing:border-box;
}

@media (min-width:800px){
  body.lunea-checkout-page .lunea-checkout-shell{
    width:min(100%,1040px)!important;
    max-width:1040px!important;
    padding:38px 28px 80px!important;
  }
  body.lunea-checkout-page .lunea-v7-left{
    gap:18px!important;
  }
  body.lunea-checkout-page form.woocommerce-checkout.lunea-original-checkout > .lunea-v7-layout{
    grid-template-columns:minmax(0,1fr) 360px!important;
    column-gap:28px!important;
  }
}

/* Give every stage of the left column a little breathing room, matching the original HTML. */
body.lunea-checkout-page .lunea-v7-order-card,
body.lunea-checkout-page .lunea-v7-bump-card,
body.lunea-checkout-page .lunea-v7-details-card,
body.lunea-checkout-page .lunea-v7-payment-card{
  margin:0!important;
}
body.lunea-checkout-page .lunea-v7-payment-card{
  overflow:visible!important;
  padding-bottom:20px!important;
}

/* Stripe/Woo payment area: keep only Stripe's actual interactive element border. */
body.lunea-checkout-page .lunea-v7-payment-card #payment{
  width:100%!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
body.lunea-checkout-page .lunea-v7-payment-card #payment .wc_payment_methods,
body.lunea-checkout-page .lunea-v7-payment-card #payment ul.payment_methods{
  list-style:none!important;
  width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
body.lunea-checkout-page .lunea-v7-payment-card #payment .wc_payment_method{
  width:100%!important;
  margin:0 0 12px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body.lunea-checkout-page .lunea-v7-payment-card #payment .wc_payment_method:last-child{
  margin-bottom:0!important;
}
body.lunea-checkout-page .lunea-v7-payment-card #payment .wc_payment_method > label{
  display:block!important;
  margin:0 0 10px!important;
  padding:0!important;
  color:var(--v7-ink)!important;
  font-size:12px!important;
  font-weight:700!important;
}
body.lunea-checkout-page .lunea-v7-payment-card #payment .payment_box,
body.lunea-checkout-page .lunea-v7-payment-card #payment .payment_box.payment_method_stripe{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--v7-muted)!important;
}
body.lunea-checkout-page .lunea-v7-payment-card #payment .payment_box::before,
body.lunea-checkout-page .lunea-v7-payment-card #payment .payment_box::after{
  display:none!important;
}
body.lunea-checkout-page .lunea-v7-payment-card #wc-stripe-upe-form,
body.lunea-checkout-page .lunea-v7-payment-card .wc-upe-form,
body.lunea-checkout-page .lunea-v7-payment-card .wc-stripe-upe-form,
body.lunea-checkout-page .lunea-v7-payment-card .wc-stripe-optimized-checkout-element,
body.lunea-checkout-page .lunea-v7-payment-card .wc-stripe-upe-element,
body.lunea-checkout-page .lunea-v7-payment-card #wc-stripe-upe-element{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.lunea-checkout-page .lunea-v7-payment-card fieldset{
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
}
body.lunea-checkout-page .lunea-v7-payment-card .woocommerce-terms-and-conditions-wrapper,
body.lunea-checkout-page .lunea-v7-payment-card .woocommerce-privacy-policy-text{
  width:100%!important;
  margin:16px 0 0!important;
  padding:14px 0 0!important;
  border-top:1px solid var(--v7-line)!important;
  color:#8a7b70!important;
  font-size:9.5px!important;
  line-height:1.55!important;
}
body.lunea-checkout-page .lunea-v7-payment-card .woocommerce-privacy-policy-text p{
  margin:0!important;
}

/* Stripe test-mode helper should look like a subtle notice instead of another card. */
body.lunea-checkout-page .lunea-v7-payment-card .testmode-info,
body.lunea-checkout-page .lunea-v7-payment-card [class*="test-mode"],
body.lunea-checkout-page .lunea-v7-payment-card [class*="testmode"]{
  border-radius:12px!important;
}

@media(max-width:799px){
  body.lunea-checkout-page .lunea-v7-left{gap:18px!important}
}


/* v17 — Téléphone is required for fulfilment. */
.lunea-checkout-page #billing_phone_field .optional{display:none!important}
.lunea-checkout-page #billing_phone_field label::after{content:" *";color:#98634b;font-weight:800}
.lunea-checkout-page #billing_phone_field label .required{display:none!important}
