/*
Theme Name: Fragrance360
Description: Boutique de parfums, livraison et paiement à la réception.
Author: Fragrance360
Template: storefront
Version: 1.0.0
Text Domain: fragrance360
*/

:root{--ink:#14110f;--paper:#faf8f5;--card:#fff;--gold:#a8844a;--line:#ece6dd;--muted:#7a7268;--r:14px}
*{-webkit-tap-highlight-color:transparent}
html body{background:var(--paper);color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;font-size:16px;line-height:1.55}
html body h1,html body h2,html body h3,html body .woocommerce-loop-product__title,html body .product_title{font-family:"Cormorant Garamond",Georgia,serif;font-weight:600;color:var(--ink);letter-spacing:.01em}
html body a{color:var(--ink)}
body .col-full{max-width:1180px;padding:0 16px}
body .site-content{padding-bottom:40px}
body .site-main{margin-bottom:0}
body .content-area,body.right-sidebar .content-area,body.left-sidebar .content-area{float:none;width:100%;margin:0}
body .widget-area{display:none}
body .woocommerce-breadcrumb{display:none}
body .storefront-sorting .woocommerce-ordering,body .storefront-sorting .woocommerce-result-count{display:none}
body .storefront-sorting{margin:0 0 8px;padding:0;border:0}

/* en-tête */
body .site-header{padding:0;margin:0;background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}
.f360-bar{display:flex;align-items:center;justify-content:space-between;height:64px}
.f360-logo{font-family:"Cormorant Garamond",Georgia,serif;font-size:1.55rem;font-weight:600;letter-spacing:.22em;text-transform:uppercase;text-decoration:none}
.f360-logo img{max-height:40px;width:auto}
.f360-actions{display:flex;gap:6px}
.f360-icon{position:relative;display:grid;place-items:center;width:46px;height:46px;border:0;border-radius:50%;background:transparent;color:var(--ink);cursor:pointer;text-decoration:none}
.f360-icon:hover{background:var(--paper)}
.f360-count{position:absolute;top:4px;right:2px;min-width:18px;height:18px;padding:0 5px;border-radius:9px;background:var(--gold);color:#fff;font-size:11px;font-weight:600;line-height:18px;text-align:center}

/* boutons */
.f360-cta,html body .button.f360-buy,html body .woocommerce a.button.f360-cta{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 22px;border:0;border-radius:var(--r);background:var(--ink);color:#fff;font:600 .8rem Inter,sans-serif;letter-spacing:.12em;text-transform:uppercase;text-decoration:none;cursor:pointer;transition:background .2s}
.f360-cta:hover,.f360-buy:hover{background:var(--gold);color:#fff}
.f360-cta--ghost{background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.f360-cta--ghost:hover{background:var(--ink);color:#fff}
html body .woocommerce a.button,html body .woocommerce button.button,html body .woocommerce input.button,html body .woocommerce #respond input#submit,html body button.button,html body .button{border-radius:var(--r);background:var(--ink);color:#fff;font-weight:600;letter-spacing:.06em;padding:14px 22px}
html body .woocommerce a.button:hover,html body .woocommerce button.button:hover,html body .button:hover{background:var(--gold);color:#fff}
html body .woocommerce a.button.alt,html body .woocommerce button.button.alt,html body .woocommerce input.button.alt{background:var(--ink);color:#fff}

/* accueil */
.f360-hero{position:relative;margin:16px 0 8px;padding:64px 20px 32px;border-radius:24px;overflow:hidden;text-align:center;color:#fff;background:#14110f center/cover no-repeat}
.f360-hero::before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,17,15,.5),rgba(20,17,15,.82))}
.f360-hero>*{position:relative}
.f360-eyebrow{margin:0 0 12px;font-size:.75rem;letter-spacing:.26em;text-transform:uppercase;color:#d4b483;font-weight:600}
html body .f360-hero h1{margin:0 auto 26px;max-width:640px;color:#fff;font-size:clamp(2.1rem,6vw,3.6rem);line-height:1.08}
.f360-fakesearch{display:flex;align-items:center;gap:12px;width:100%;max-width:560px;height:58px;margin:0 auto;padding:0 20px;border:0;border-radius:18px;background:#fff;color:var(--muted);font:400 1rem Inter,sans-serif;cursor:pointer;box-shadow:0 10px 34px rgba(0,0,0,.25)}
.f360-assure{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;max-width:680px;margin:28px auto 0;padding:0;list-style:none;font-size:.8rem;color:rgba(255,255,255,.78)}
.f360-assure strong{display:block;color:#fff;font-size:.88rem}
.f360-section{padding:28px 0}
.f360-section>h2{margin:0 0 16px;font-size:1.8rem}
.f360-more{text-align:center;margin-top:12px}
.f360-chips{display:flex;gap:8px;overflow-x:auto;padding:4px 0 16px;scrollbar-width:none}
.f360-chips::-webkit-scrollbar{display:none}
.f360-chips a{flex:none;padding:9px 18px;border:1px solid var(--line);border-radius:999px;background:#fff;font-size:.88rem;text-decoration:none;white-space:nowrap}
.f360-chips a.is-on{background:var(--ink);border-color:var(--ink);color:#fff}
.f360-onrequest{margin:20px 0;padding:32px 20px;border-radius:22px;background:#fff;border:1px solid var(--line);text-align:center}
.f360-onrequest h2{margin:0 0 8px;font-size:1.7rem}
.f360-onrequest>p{margin:0 auto 20px;max-width:480px;color:var(--muted)}

/* grille produits */
body ul.products{display:grid;grid-template-columns:repeat(2,1fr);gap:12px;margin:0 0 24px;padding:0}
body ul.products::before,body ul.products::after{display:none}
@media(min-width:768px){body ul.products{grid-template-columns:repeat(4,1fr);gap:20px}}
html body ul.products li.product{float:none;width:auto;margin:0;padding:10px 10px 14px;display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:18px;text-align:left}
body ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1}
body ul.products li.product img{margin:0 0 10px;border-radius:12px;aspect-ratio:1/1;object-fit:contain;background:#fff}
body ul.products li.product .woocommerce-loop-product__title{padding:0;margin:0 0 4px;font-size:1.15rem;line-height:1.2}
body ul.products li.product .price{margin:0 0 12px;color:var(--ink);font-weight:600;font-size:.95rem}
body ul.products li.product .f360-cta{width:100%;margin-top:auto;min-height:44px;font-size:.72rem}
body .onsale{background:var(--gold);color:#fff;border-radius:999px;min-height:0;min-width:0;line-height:1;padding:7px 12px;font-size:.7rem;top:14px;left:14px;right:auto;margin:0}

/* fiche produit */
.f360-delivery{display:flex;flex-wrap:wrap;gap:6px 16px;margin:14px 0;padding:12px 14px;border-radius:12px;background:#fff;border:1px solid var(--line);font-size:.86rem;color:var(--muted)}
.f360-delivery b{color:var(--ink)}
body.single-product div.product .product_title{font-size:2.2rem;line-height:1.1}
body.single-product div.product p.price{color:var(--ink);font-size:1.4rem;font-weight:600}
body.single-product div.product form.cart,body .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;gap:10px;align-items:stretch}
body.single-product div.product form.variations_form{display:block}
body.single-product div.product form.cart .quantity{order:1;flex:0 0 100px;margin:0}
body.single-product div.product form.cart .qty{width:100%;height:100%;min-height:52px;border-radius:var(--r);border:1px solid var(--line);text-align:center}
body.single-product div.product .f360-buy{order:2;flex:1 1 calc(100% - 110px);min-height:52px;float:none;margin:0}
body.single-product div.product .single_add_to_cart_button:not(.f360-buy){order:3;flex:1 1 100%;min-height:48px;background:transparent;color:var(--ink);box-shadow:inset 0 0 0 1px var(--line)}
body.single-product div.product .single_add_to_cart_button:not(.f360-buy):hover{background:var(--paper);color:var(--ink)}
body.single-product div.product .variations select{height:48px;border-radius:12px;border:1px solid var(--line);padding:0 12px}
body.single-product .woocommerce-tabs ul.tabs{display:none}
body.single-product .woocommerce-tabs .panel{margin:0;padding:8px 0}
body.single-product .woocommerce-tabs .panel h2{display:none}
body.single-product .related>h2,body.single-product .upsells>h2{font-size:1.7rem}

/* panier */
body.woocommerce-cart table.cart img{width:64px;border-radius:10px}
body.woocommerce-cart .cart-collaterals .cart_totals{width:100%;float:none}

/* commande */
body.woocommerce-checkout form.checkout{max-width:560px;margin:0 auto}
body.woocommerce-checkout #customer_details,body.woocommerce-checkout #customer_details .col-1,body.woocommerce-checkout #customer_details .col-2,body.woocommerce-checkout #order_review,body.woocommerce-checkout #order_review_heading{float:none;width:100%}
body.woocommerce-checkout .woocommerce-billing-fields>h3,body.woocommerce-checkout .woocommerce-additional-fields>h3{display:none}
.f360-co-title{margin:6px 0 14px;font-size:1.7rem}
.f360-co-strip{margin:0 0 18px;padding:12px 14px;border-radius:12px;background:#fff;border:1px solid var(--line);font-size:.88rem;color:var(--muted)}
.f360-co-strip b{color:var(--ink)}
body .woocommerce form .form-row{padding:0;margin:0 0 14px}
body .woocommerce form .form-row label{margin:0 0 6px;font-size:.84rem;font-weight:500}
body input[type=text],body input[type=tel],body input[type=email],body input[type=search],body input[type=number],body textarea,body select{height:52px;padding:0 14px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);box-shadow:none;font-size:16px}
body textarea{height:auto;min-height:84px;padding:12px 14px}
body input:focus,body textarea:focus,body select:focus{outline:0;border-color:var(--ink)}
body.woocommerce-checkout #order_review_heading{margin:26px 0 10px;font-size:1.5rem}
body.woocommerce-checkout #payment{background:#fff;border:1px solid var(--line);border-radius:var(--r)}
body.woocommerce-checkout #payment ul.payment_methods{padding:14px;border:0}
body.woocommerce-checkout #payment ul.payment_methods li input{display:none}
body.woocommerce-checkout #payment ul.payment_methods li label{font-weight:600}
body.woocommerce-checkout #payment div.payment_box{background:var(--paper);color:var(--muted);border-radius:10px;margin:8px 0 0}
body.woocommerce-checkout #payment div.payment_box::before{display:none}
body.woocommerce-checkout #payment div.form-row{padding:14px}
body.woocommerce-checkout #place_order{width:100%;min-height:56px;font-size:.9rem;letter-spacing:.12em;text-transform:uppercase;float:none}
body .woocommerce-message,body .woocommerce-info,body .woocommerce-error{background:#fff;border:1px solid var(--line);border-radius:12px;color:var(--ink)}
body .woocommerce-message::before,body .woocommerce-info::before{color:var(--gold)}

/* recherche */
body.f360-lock{overflow:hidden}
.f360-overlay{position:fixed;inset:0;z-index:999;overflow-y:auto;background:rgba(250,248,245,.985)}
.f360-overlay[hidden]{display:none}
.f360-panel{max-width:640px;margin:0 auto;padding:16px}
.f360-searchform{display:flex;align-items:center;gap:8px}
.f360-searchform input[type=search]{flex:1;height:58px;font-size:1.05rem;border-radius:16px;padding:0 18px}
.f360-close{flex:none;width:48px;height:48px;border:0;border-radius:50%;background:#fff;font-size:26px;line-height:1;cursor:pointer}
.f360-hint{margin:12px 4px;font-size:.84rem;color:var(--muted)}
.f360-results{margin:0;padding:0;list-style:none}
.f360-results li{display:flex;align-items:center;gap:10px;margin-bottom:10px;padding:10px;background:#fff;border:1px solid var(--line);border-radius:16px}
.f360-hit{display:flex;flex:1;align-items:center;gap:12px;min-width:0;text-decoration:none}
.f360-hit img{width:60px;height:60px;border-radius:10px;object-fit:contain;background:#fff;flex:none}
.f360-hit b{display:block;font:600 1.1rem "Cormorant Garamond",Georgia,serif;line-height:1.2}
.f360-hit span{font-size:.88rem;color:var(--muted)}
.f360-results .f360-cta{flex:none;min-height:42px;padding:0 16px;font-size:.7rem}
.f360-results .is-off{font-size:.8rem;color:var(--muted)}
.f360-notfound{display:block;margin:10px auto;padding:10px;border:0;background:none;color:var(--ink);font:500 .9rem Inter,sans-serif;text-decoration:underline;cursor:pointer}
.f360-missing{margin-top:14px;padding:20px 16px;background:#fff;border:1px solid var(--line);border-radius:18px}
.f360-missing[hidden]{display:none}
.f360-missing>p{margin:0 0 14px}

/* demande */
.f360-request{display:grid;gap:10px;max-width:480px;margin:0 auto;text-align:left}
.f360-request .f360-cta{width:100%;min-height:54px}
.f360-hp{position:absolute;left:-9999px;opacity:0;height:0;width:0}
.f360-msg{margin:0;font-size:.9rem;min-height:1.2em}
.f360-msg.is-err{color:#b3261e}
.f360-done{padding:18px;border-radius:14px;background:var(--paper);text-align:center}
.f360-done b{display:block;font:600 1.3rem "Cormorant Garamond",Georgia,serif;margin-bottom:4px}

/* pied de page */
body .site-footer{margin:0;padding:28px 0;background:#fff;color:var(--muted);border-top:1px solid var(--line);text-align:center;font-size:.86rem}
body .site-footer a{color:var(--ink)}
.f360-foot .f360-logo{font-size:1.2rem;display:inline-block;margin-bottom:10px}
.f360-foot ul{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 22px;margin:0 0 12px;padding:0;list-style:none}
.f360-wa{position:fixed;right:16px;bottom:16px;z-index:60;display:grid;place-items:center;width:54px;height:54px;border-radius:50%;background:#25d366;color:#fff;box-shadow:0 8px 24px rgba(0,0,0,.18)}

/* page de remerciement */
body.woocommerce-order-received .entry-header{display:none}
body.woocommerce-order-received .entry-content{margin:0}
.f360-thanks{max-width:560px;margin:0 auto;padding:12px 0 30px}
.f360-thanks__head{text-align:center;padding:24px 0 18px}
.f360-thanks__check{display:inline-grid;place-items:center;width:72px;height:72px;margin-bottom:14px;border-radius:50%;background:var(--ink);color:#d4b483}
.f360-thanks__head h1{margin:0 0 6px;font-size:2.4rem;line-height:1.1}
.f360-thanks__head p{margin:0 0 10px;color:var(--muted)}
.f360-thanks__card{margin-bottom:12px;padding:18px;background:#fff;border:1px solid var(--line);border-radius:18px}
.f360-thanks__card h2{margin:0 0 12px;font-size:1.35rem}
.f360-steps{margin:0;padding:0;list-style:none;counter-reset:s}
.f360-steps li{position:relative;margin:0 0 12px;padding-left:40px;counter-increment:s}
.f360-steps li:last-child{margin:0}
.f360-steps li::before{content:counter(s);position:absolute;left:0;top:0;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:var(--paper);border:1px solid var(--gold);color:var(--gold);font-size:.82rem;font-weight:600}
.f360-lines{margin:0;padding:0;list-style:none}
.f360-lines li{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line)}
.f360-lines .f360-lines__total{border:0;padding-top:14px;font-weight:600;font-size:1.05rem}
.f360-addr{margin:0;color:var(--muted)}
.f360-thanks__actions{display:grid;gap:10px;margin-top:18px}
.f360-thanks__actions .f360-cta{width:100%;min-height:54px}
