/*
Theme Name: GLEAMRIFT France
Description: Réplique française de la boutique GLEAMRIFT pour WooCommerce.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: gleamrift-fr
*/
.gr-quantity{display:flex;align-items:center;gap:14px;margin:18px 0;font-size:13px}.gr-quantity input{width:76px;padding:9px;border:1px solid var(--line);border-radius:6px}.gr-buy-now{width:100%;margin-top:10px}.gr-form-error{color:#a42121;font-size:13px;margin:14px 0 0}.gr-product-grid{display:grid;grid-template-columns:55% 45%;align-items:start}.gr-product-image img{width:100%;max-height:720px;object-fit:contain;border-radius:12px;background:var(--surface)}.gr-product-image{position:sticky;top:110px}.color-row{grid-template-columns:57px 1fr}.color-options legend>span{font-size:10px}.gr-drawer{position:fixed;inset:0;z-index:999;display:flex;justify-content:flex-end}.gr-backdrop{position:absolute;inset:0;background:#12121280;border:0;opacity:0;transition:opacity .2s;cursor:default}.gr-drawer-panel{position:relative;display:flex;flex-direction:column;max-width:100%;width:460px;height:100dvh;background:white;padding:24px;box-shadow:-5px 0 40px #0002;transform:translateX(100%);transition:transform .25s;outline:none;overflow-y:auto}.gr-drawer.is-open .gr-backdrop{opacity:1}.gr-drawer.is-open .gr-drawer-panel{transform:none}.gr-drawer-head{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:15px}.gr-drawer-head h2{font-size:23px;margin:0}.gr-drawer-head h2 span{font-size:14px;color:var(--accent)}.gr-close{width:44px;height:44px;background:none;font-size:32px;line-height:1}.gr-shipping-progress{font-size:13px;background:#f7f3f9;border-radius:6px;padding:14px;margin-top:18px;color:var(--accent);font-weight:650}.gr-cart-items{flex:1}.gr-cart-item{display:grid;grid-template-columns:76px minmax(0,1fr);gap:16px;padding:20px 0;border-bottom:1px solid var(--line)}.gr-cart-item img{width:76px;height:85px;object-fit:contain;border-radius:6px;background:var(--surface)}.gr-item-name{font-size:14px;font-weight:700;line-height:1.4;margin:0 0 5px}.gr-item-detail{font-size:11px;line-height:1.6;color:var(--muted);white-space:pre-line;margin:0 0 8px}.gr-item-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px}.gr-item-price{font-size:14px;color:var(--accent);white-space:nowrap}.gr-item-controls{display:flex;align-items:center;border:1px solid var(--line);border-radius:5px}.gr-item-controls button{width:30px;height:30px;background:white}.gr-item-controls span{min-width:28px;text-align:center;font-size:12px}.gr-remove{background:none;font-size:11px;color:var(--muted);text-decoration:underline;margin-top:8px;padding:0}.gr-drawer-footer{padding-top:20px}.gr-subtotal,.gr-cart-total{display:flex;justify-content:space-between;gap:20px;margin-bottom:10px;font-size:14px}.gr-cart-total{font-size:18px;border-top:1px solid var(--line);padding-top:12px}.gr-shipping-label{font-size:12px;margin-bottom:14px;color:var(--muted)}.gr-drawer-footer .button{width:100%}.gr-continue{display:block;margin:14px auto 0;background:none;text-decoration:underline;font-size:13px}.gr-empty{text-align:center;padding:45px 0}.gr-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:#fff;border-radius:6px;padding:12px 20px;z-index:1001;max-width:calc(100% - 32px);font-size:13px}.gr-toast:empty{display:none}.tracking-form{display:grid;gap:12px;margin-block:25px}.tracking-form input{padding:12px;border:1px solid var(--line);border-radius:6px}.tracking-form .button{justify-self:start}.woocommerce-checkout .woocommerce-notice{line-height:1.6}.woocommerce-checkout form.checkout{max-width:100%}body.gr-cart-open{overflow:hidden}.product-disclosures summary>span{font-size:22px;font-weight:400} .woocommerce-account .woocommerce-MyAccount-navigation a{font-size:14px}.woocommerce-message a.button.wc-forward{display:none}.mobile-shop-bar strong{white-space:nowrap}
@media(max-width:989px){.gr-product-grid{grid-template-columns:1fr 1fr}}
@media(max-width:749px){.gr-product-grid{grid-template-columns:1fr}.gr-product-image{position:static;margin-bottom:28px}.gr-product-grid .purchase-panel{padding-left:0}.gr-drawer-panel{padding:18px;max-width:calc(100% - 16px)}.gr-drawer-head h2{font-size:21px}.gr-cart-item{grid-template-columns:60px minmax(0,1fr);gap:12px}.gr-cart-item img{width:60px;height:75px}.color-row{grid-template-columns:52px minmax(0,1fr)}.gr-quantity input{min-height:44px}.announcement{flex-wrap:wrap;gap:4px 12px;font-size:12px}.announcement span{font-size:11px}.announcement a{font-size:11px}.woocommerce-checkout #payment ul.payment_methods{padding:16px}.woocommerce-checkout #payment div.form-row{padding:16px}.woocommerce .form-row-first,.woocommerce .form-row-last{width:100%;float:none}.woocommerce table.shop_table td,.woocommerce table.shop_table th{padding:12px 7px}.gr-cart-total{font-size:16px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
.woocommerce .gr-purchase-form .button.primary{background:var(--accent);border-color:var(--accent);color:#fff}
.woocommerce .gr-purchase-form .button.primary:hover{background:var(--accent-hover);border-color:var(--accent-hover)}
.woocommerce .woocommerce-info::before{content:"i";font-family:Manrope,sans-serif;font-weight:700;color:var(--accent)}
@media(max-width:749px){.hero-image img{object-position:left center}}
.woocommerce ul.products li.product{display:flex;flex-direction:column;align-items:flex-start}
.woocommerce ul.products li.product .woocommerce-LoopProduct-link{display:flex;flex-direction:column;width:100%;flex:1}
.woocommerce ul.products li.product a img{aspect-ratio:1;object-fit:contain;background:var(--surface)}
.woocommerce ul.products li.product .price{margin-top:auto}
.woocommerce ul.products li.product .button{margin-top:18px}
@media(min-width:750px){.woocommerce ul.products li.product .woocommerce-loop-product__title{min-height:2.6em;padding:0;line-height:1.3;margin:20px 0 12px}}
/* French checkout: address fields and order summary remain readable at every width. */
.woocommerce-checkout .prose{max-width:1200px}
.gr-checkout-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:50px;align-items:start}
.gr-checkout-layout>section{min-width:0}
.gr-checkout-layout h2,.gr-checkout-layout h3{font-size:25px;margin:0 0 24px;line-height:1.35}
.gr-checkout-layout .woocommerce-billing-fields,.gr-checkout-layout .woocommerce-shipping-fields,.gr-checkout-layout .woocommerce-additional-fields{margin-bottom:30px}
.gr-checkout-layout #ship-to-different-address{font-family:Manrope,sans-serif;font-size:15px;letter-spacing:0;margin:18px 0 24px}
.gr-checkout-summary{padding:28px;background:#faf8fb;border:1px solid var(--line);border-radius:12px}
.woocommerce-checkout .gr-checkout-summary table.shop_table{background:white;margin-bottom:24px}
.woocommerce-checkout #payment{background:white;border:1px solid var(--line);border-radius:8px}
.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid var(--line)}
.woocommerce-checkout #payment div.payment_box{background:#f7f3f9;color:var(--ink)}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#f7f3f9}
.woocommerce-checkout .gr-checkout-summary #place_order{float:none;width:100%;min-height:50px;margin-top:14px}
.woocommerce-checkout .gr-checkout-layout form .form-row{margin-bottom:16px}
.woocommerce-checkout .gr-checkout-layout input.input-text{min-height:46px;border-radius:5px}
.woocommerce-checkout .gr-checkout-layout .form-row label{font-size:13px}
.woocommerce-checkout .gr-checkout-layout .form-row label.checkbox{line-height:1.7}
.woocommerce-checkout .gr-checkout-layout table.shop_table th,.woocommerce-checkout .gr-checkout-layout table.shop_table td{padding:14px 10px}
@media(max-width:989px){.gr-checkout-layout{gap:24px}.gr-checkout-summary{padding:18px}.gr-checkout-layout h2,.gr-checkout-layout h3{font-size:23px}}
@media(max-width:749px){.gr-checkout-layout{grid-template-columns:1fr;gap:20px}.gr-checkout-summary{padding:18px 12px}.woocommerce-checkout .prose>h1{font-size:29px}.gr-checkout-layout h2,.gr-checkout-layout h3{font-size:23px}.woocommerce-checkout .gr-checkout-layout .form-row-first,.woocommerce-checkout .gr-checkout-layout .form-row-last{float:none;width:100%}}
