.fw-rental-box{margin:22px 0;padding:22px;border:1px solid #ddd;border-radius:10px;background:#fff;box-sizing:border-box}
.fw-rental-box h3{margin:0 0 14px;font-size:21px}
.fw-available-from{display:flex;align-items:center;gap:12px;margin:0 0 18px;padding:13px 15px;border-radius:7px;background:#eef8f0;border:1px solid #b9dfc1;color:#1e6d34}
.fw-available-icon{display:flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;background:#237a3b;color:#fff;font-weight:700;flex:0 0 30px}
.fw-available-from strong,.fw-available-from span{display:block}
.fw-available-from span{font-size:18px;font-weight:700;margin-top:2px}
.fw-calendar-head{display:grid;grid-template-columns:42px 1fr 42px;align-items:center;gap:8px;margin:15px 0 10px}
.fw-calendar-head button.fw-cal-prev,.fw-calendar-head button.fw-cal-next{display:flex!important;align-items:center!important;justify-content:center!important;visibility:visible!important;opacity:1!important;width:38px!important;height:38px!important;min-width:38px!important;min-height:38px!important;padding:0!important;margin:0!important;border:1px solid #d7d7d7!important;border-radius:50%!important;background:#fff!important;color:#222!important;font-size:25px!important;line-height:1!important;font-family:Arial,sans-serif!important;font-weight:400!important;cursor:pointer!important;box-shadow:none!important;text-shadow:none!important;appearance:none!important;-webkit-appearance:none!important}
.fw-calendar-head button.fw-cal-prev:hover:not(:disabled),.fw-calendar-head button.fw-cal-next:hover:not(:disabled){background:#237a3b!important;color:#fff!important;border-color:#237a3b!important}
.fw-calendar-head button:disabled{opacity:.3!important;cursor:not-allowed!important}
.fw-cal-title{display:block;text-align:center;text-transform:capitalize;color:#222!important;font-size:17px!important;font-weight:700!important;line-height:1.3!important}
.fw-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;width:100%}
.fw-calendar-grid .dow{font-size:12px;text-align:center;font-weight:700;padding:6px 0;color:#555!important}
.fw-calendar-grid .fw-empty{min-height:38px}
.fw-calendar-grid button.fw-day{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;min-height:38px!important;height:38px!important;margin:0!important;padding:4px 2px!important;border:1px solid #d9e6dc!important;border-radius:5px!important;background:#eaf6ed!important;color:#1d7135!important;text-align:center!important;font-size:13px!important;font-family:inherit!important;font-weight:600!important;line-height:1!important;box-shadow:none!important;text-shadow:none!important;opacity:1!important;visibility:visible!important;appearance:none!important;-webkit-appearance:none!important}
.fw-calendar-grid button.fw-day.not-yet{background:#fce9e9!important;border-color:#efbcbc!important;color:#b52a2a!important;cursor:not-allowed!important;text-decoration:none!important}
.fw-calendar-grid button.fw-day.reserved{background:#f6d6d6!important;border-color:#d98d8d!important;color:#9f2020!important;cursor:not-allowed!important;text-decoration:none!important}
.fw-calendar-grid button.fw-day.selectable{cursor:pointer!important}
.fw-calendar-grid button.fw-day.selectable:hover{background:#237a3b!important;border-color:#237a3b!important;color:#fff!important}
.fw-calendar-grid button.fw-day.selected{background:#237a3b!important;border-color:#237a3b!important;color:#fff!important;box-shadow:0 0 0 2px #fff,0 0 0 4px #237a3b!important}
.fw-legend{display:flex;flex-wrap:wrap;gap:18px;font-size:12px;margin:10px 0 18px;color:#555!important}
.fw-legend i{display:inline-block;width:11px;height:11px;border:1px solid #bbb;margin-right:4px;vertical-align:-1px;background:#eaf6ed}
.fw-legend i.not-yet{background:#fce9e9;border-color:#efbcbc}
.fw-legend i.reserved{background:#f6d6d6;border-color:#d98d8d}
.fw-rental-box label{display:block;font-weight:600;margin:12px 0 6px;color:#333!important}
.fw-rental-box input,.fw-rental-box select{width:100%;max-width:430px;padding:9px;box-sizing:border-box}
.fw-selected-date{margin-top:15px;padding:10px 12px;border-radius:6px;background:#f5f7f5;color:#333!important}
.fw-end-preview{margin-top:10px;font-weight:600;color:#333!important}
.fw-availability{margin-top:8px;font-weight:600}
.fw-availability.ok{color:#237a3b!important}
.fw-availability.error{color:#a32121!important}
@media (max-width:600px){
 .fw-rental-box{padding:15px}
 .fw-calendar-head{grid-template-columns:38px 1fr 38px}
 .fw-calendar-head button.fw-cal-prev,.fw-calendar-head button.fw-cal-next{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;font-size:22px!important}
 .fw-calendar-grid{gap:3px}
 .fw-calendar-grid .dow{font-size:11px}
 .fw-calendar-grid button.fw-day{min-height:34px!important;height:34px!important;font-size:12px!important}
 .fw-calendar-grid .fw-empty{min-height:34px}
 .fw-available-from span{font-size:16px}
}

/* Boutique : disponibilité et appel à l'action des parcelles en location */
.fw-shop-availability{margin:8px 0 10px;padding:8px 10px;border-left:3px solid #237a3b;background:#eef8f0;color:#333;font-size:13px;line-height:1.35}
.fw-shop-availability-label{display:inline}
.fw-shop-availability strong{color:#237a3b;font-weight:700}
.woocommerce ul.products li.product a.fw-shop-rental-button,
.woocommerce-page ul.products li.product a.fw-shop-rental-button{display:inline-block;background:#237a3b!important;border-color:#237a3b!important;color:#fff!important;text-decoration:none!important;font-weight:600!important}
.woocommerce ul.products li.product a.fw-shop-rental-button:hover,
.woocommerce-page ul.products li.product a.fw-shop-rental-button:hover{background:#1b612f!important;border-color:#1b612f!important;color:#fff!important}


/* ==============================
   Boutique location longue durée
   ============================== */
body.fw-rental-shop .woocommerce ul.products,
body.fw-rental-shop ul.products {
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:32px 28px;
    margin:0!important;
    padding:0!important;
}
body.fw-rental-shop .woocommerce ul.products::before,
body.fw-rental-shop .woocommerce ul.products::after,
body.fw-rental-shop ul.products::before,
body.fw-rental-shop ul.products::after {display:none!important}
body.fw-rental-shop .woocommerce ul.products li.product,
body.fw-rental-shop ul.products li.product {
    width:auto!important;
    float:none!important;
    margin:0!important;
    padding:0 0 22px!important;
    background:#fff;
    border:1px solid #e5e8e5;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 5px 18px rgba(0,0,0,.055);
    transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;
    position:relative;
}
body.fw-rental-shop .woocommerce ul.products li.product:hover,
body.fw-rental-shop ul.products li.product:hover {
    transform:translateY(-3px);
    box-shadow:0 12px 28px rgba(0,0,0,.09);
    border-color:#d7ded8;
}
body.fw-rental-shop ul.products li.product > a.woocommerce-LoopProduct-link {
    display:block!important;
    text-decoration:none!important;
    margin:0!important;
}
body.fw-rental-shop ul.products li.product > a.woocommerce-LoopProduct-link img {
    width:100%!important;
    height:270px!important;
    object-fit:cover!important;
    margin:0 0 17px!important;
    display:block!important;
}
body.fw-rental-shop ul.products li.product h2.woocommerce-loop-product__title {
    font-size:21px!important;
    line-height:1.25!important;
    font-weight:700!important;
    color:#1f2b22!important;
    margin:0 22px 8px!important;
    padding:0!important;
}
body.fw-rental-shop ul.products li.product .fw-shop-availability {
    margin:0 22px 17px!important;
    padding:10px 12px!important;
    border:1px solid #cfe3d2!important;
    border-left:4px solid #237a3b!important;
    border-radius:7px!important;
    background:#f0f8f1!important;
    color:#344239!important;
    font-size:14px!important;
}
body.fw-rental-shop ul.products li.product .fw-shop-availability-label {
    display:block!important;
    font-size:12px!important;
    color:#617067!important;
    margin-bottom:2px!important;
}
body.fw-rental-shop ul.products li.product .fw-shop-availability strong {
    color:#237a3b!important;
    font-size:16px!important;
}
body.fw-rental-shop ul.products li.product a.fw-shop-rental-button {
    display:block!important;
    width:auto!important;
    margin:0 22px!important;
    padding:12px 18px!important;
    border-radius:7px!important;
    text-align:center!important;
    font-size:15px!important;
    line-height:1.2!important;
    box-sizing:border-box!important;
}
body.fw-rental-shop ul.products li.product .fw-shop-badge {
    position:absolute!important;
    top:16px!important;
    left:16px!important;
    z-index:5!important;
    padding:7px 11px!important;
    border-radius:20px!important;
    background:#fff!important;
    color:#237a3b!important;
    font-size:12px!important;
    line-height:1!important;
    font-weight:700!important;
    box-shadow:0 2px 10px rgba(0,0,0,.12)!important;
}
body.fw-rental-shop ul.products li.product .price {display:none!important}
@media (max-width:900px){
    body.fw-rental-shop .woocommerce ul.products,
    body.fw-rental-shop ul.products {grid-template-columns:1fr;gap:24px}
    body.fw-rental-shop ul.products li.product > a.woocommerce-LoopProduct-link img {height:300px!important}
}
@media (max-width:600px){
    body.fw-rental-shop ul.products li.product > a.woocommerce-LoopProduct-link img {height:220px!important}
    body.fw-rental-shop ul.products li.product h2.woocommerce-loop-product__title {font-size:19px!important;margin-left:16px!important;margin-right:16px!important}
    body.fw-rental-shop ul.products li.product .fw-shop-availability {margin-left:16px!important;margin-right:16px!important}
    body.fw-rental-shop ul.products li.product a.fw-shop-rental-button {margin-left:16px!important;margin-right:16px!important}
}

.fw-rental-help{margin:0 0 14px;color:#58635b;font-size:14px;line-height:1.5}

/* V0.3.0 - calendrier dépendant de la durée */
.fw-calendar-grid button.fw-day.duration-blocked{background:#f5e8e8!important;border-color:#dfc0c0!important;color:#a16a6a!important;cursor:not-allowed!important;text-decoration:line-through!important}

/* V0.3.0 - boutique location : présentation éditoriale + cartes */
.fw-rental-shop-intro{margin:0 0 34px;padding:38px 42px;border-radius:16px;background:linear-gradient(135deg,#f1f7f2 0%,#ffffff 70%);border:1px solid #dfe9e1}
.fw-rental-shop-intro-inner{max-width:900px}
.fw-rental-shop-kicker{text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:700;color:#237a3b;margin-bottom:8px}
.fw-rental-shop-intro h1{margin:0 0 10px!important;font-size:34px!important;line-height:1.15!important;color:#1d2a20!important}
.fw-rental-shop-intro p{max-width:760px;margin:0 0 18px!important;font-size:16px;line-height:1.65;color:#536057}
.fw-rental-shop-points{display:flex;flex-wrap:wrap;gap:10px 24px;font-size:13px;font-weight:600;color:#35523d}
.fw-rental-shop-points span{white-space:nowrap}
body.fw-rental-shop ul.products li.product .fw-shop-rental-summary{margin:0 22px 17px;padding:13px 14px;background:#f7faf7;border-radius:8px;display:flex;flex-direction:column;gap:2px;color:#526057;font-size:12px}
body.fw-rental-shop ul.products li.product .fw-shop-rental-summary strong{font-size:14px;color:#27352b}
body.fw-rental-shop ul.products li.product .fw-shop-rental-summary em{font-style:normal;color:#237a3b;font-weight:700;font-size:13px}
body.fw-rental-shop ul.products li.product .fw-shop-rental-summary .woocommerce-Price-amount{font-size:14px}
body.fw-rental-shop ul.products li.product .fw-shop-rental-button{background:#237a3b!important}
@media(max-width:700px){.fw-rental-shop-intro{padding:26px 22px}.fw-rental-shop-intro h1{font-size:27px!important}.fw-rental-shop-points{flex-direction:column;gap:7px}}

/* Boutique : première date disponible par durée */
.fw-shop-availability-list{margin:10px 0 14px;padding:10px 12px;border:1px solid #d8e8dc;border-radius:8px;background:#f7fbf8}
.fw-shop-availability-row{display:flex;align-items:baseline;gap:8px;padding:5px 0;font-size:13px;line-height:1.35}
.fw-shop-availability-row + .fw-shop-availability-row{border-top:1px solid #e3eee5}
.fw-shop-duration{min-width:55px;font-weight:700;color:#222}
.fw-shop-availability-date{color:#555}
.fw-shop-availability-date strong{color:#237a3b;font-weight:700}
.fw-shop-availability-date.unavailable{color:#9f2020}
@media (max-width:600px){
 .fw-shop-availability-row{display:block}
 .fw-shop-duration{display:block;margin-bottom:2px}
}


/* V0.4.2 — Boutique location : présentation plus éditoriale et tri par durée */
body.fw-rental-shop .fw-rental-shop-intro{
    display:block!important;
    margin:0 0 30px!important;
    padding:34px 38px!important;
    background:#f5f8f5!important;
    border:1px solid #dfe7e0!important;
    border-radius:16px!important;
}
body.fw-rental-shop .fw-rental-shop-intro .fw-rental-shop-kicker{
    display:block!important;
    color:#237a3b!important;
    font-size:12px!important;
    font-weight:800!important;
    letter-spacing:.12em!important;
    text-transform:uppercase!important;
    margin:0 0 8px!important;
}
body.fw-rental-shop .fw-rental-shop-intro h1#fw-rental-shop-title{
    display:block!important;
    visibility:visible!important;
    opacity:1!important;
    margin:0 0 10px!important;
    color:#18251c!important;
    font-size:32px!important;
    line-height:1.15!important;
    font-weight:750!important;
}
body.fw-rental-shop .fw-rental-shop-intro p{
    display:block!important;
    max-width:850px!important;
    margin:0 0 18px!important;
    color:#56635a!important;
    font-size:15px!important;
    line-height:1.65!important;
}
body.fw-rental-shop .fw-rental-shop-points{display:flex!important;gap:9px 26px!important;flex-wrap:wrap!important}
body.fw-rental-shop .fw-rental-shop-points span{color:#35523d!important;font-size:13px!important;font-weight:650!important}

body.fw-rental-shop ul.products li.product.fw-rental-product{
    display:flex!important;
    flex-direction:column!important;
    background:#fff!important;
    border:1px solid #e1e6e2!important;
    border-radius:16px!important;
    overflow:hidden!important;
    box-shadow:0 4px 18px rgba(25,45,31,.07)!important;
    padding:0 0 20px!important;
    margin:0!important;
}
body.fw-rental-shop ul.products li.product.fw-rental-product:hover{box-shadow:0 12px 28px rgba(25,45,31,.11)!important;transform:translateY(-2px)!important}
body.fw-rental-shop ul.products li.product.fw-rental-product > a.woocommerce-LoopProduct-link{display:block!important;margin:0!important}
body.fw-rental-shop ul.products li.product.fw-rental-product > a.woocommerce-LoopProduct-link img{
    width:100%!important;height:310px!important;object-fit:cover!important;margin:0!important;display:block!important
}
body.fw-rental-shop ul.products li.product.fw-rental-product .fw-shop-badge{
    top:18px!important;left:18px!important;background:#fff!important;color:#237a3b!important;border-radius:999px!important;padding:8px 12px!important;font-size:12px!important;font-weight:800!important;box-shadow:0 2px 12px rgba(0,0,0,.14)!important
}
body.fw-rental-shop ul.products li.product.fw-rental-product h2.woocommerce-loop-product__title{
    margin:20px 22px 8px!important;padding:0!important;font-size:22px!important;line-height:1.22!important;font-weight:750!important;color:#18251c!important
}
body.fw-rental-shop ul.products li.product.fw-rental-product .fw-shop-availability-list{
    margin:0 22px 14px!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important
}
body.fw-rental-shop ul.products li.product.fw-rental-product .fw-shop-availability-heading{
    padding:0 0 7px!important;color:#18251c!important;font-size:13px!important;font-weight:800!important
}
body.fw-rental-shop ul.products li.product.fw-rental-product .fw-shop-availability-row{
    display:grid!important;grid-template-columns:68px 1fr!important;gap:8px!important;align-items:baseline!important;padding:7px 0!important;border-top:1px solid #edf0ed!important;font-size:13px!important
}
body.fw-rental-shop ul.products li.product.fw-rental-product .fw-shop-duration{min-width:0!important;color:#27352b!important;font-weight:800!important}
body.fw-rental-shop ul.products li.product.fw-rental-product .fw-shop-availability-date{color:#69736c!important}
body.fw-rental-shop ul.products li.product.fw-rental-product .fw-shop-availability-date span{color:#69736c!important}
body.fw-rental-shop ul.products li.product.fw-rental-product .fw-shop-availability-date strong{color:#237a3b!important;font-weight:800!important}
body.fw-rental-shop ul.products li.product.fw-rental-product .fw-shop-rental-summary{
    margin:auto 22px 16px!important;padding:12px 0!important;background:transparent!important;border-top:1px solid #edf0ed!important;border-bottom:0!important;border-radius:0!important;display:grid!important;grid-template-columns:1fr auto!important;gap:3px 10px!important;color:#5c665f!important
}
body.fw-rental-shop ul.products li.product.fw-rental-product .fw-shop-rental-summary strong{grid-column:1/-1;font-size:13px!important;color:#27352b!important}
body.fw-rental-shop ul.products li.product.fw-rental-product .fw-shop-rental-summary span{font-size:12px!important}
body.fw-rental-shop ul.products li.product.fw-rental-product .fw-shop-rental-summary em{font-style:normal!important;color:#237a3b!important;font-weight:800!important;font-size:14px!important}
body.fw-rental-shop ul.products li.product.fw-rental-product a.fw-shop-rental-button{
    margin:0 22px!important;padding:13px 18px!important;border-radius:8px!important;background:#237a3b!important;color:#fff!important;font-size:14px!important;font-weight:750!important;letter-spacing:.01em!important
}
body.fw-rental-shop ul.products li.product.fw-rental-product a.fw-shop-rental-button:hover{background:#1b612f!important}

/* Le tri WooCommerce devient plus explicite sur la boutique des locations. */
body.fw-rental-shop .woocommerce-ordering select{min-width:285px!important;border:1px solid #d8dfd9!important;border-radius:8px!important;background:#fff!important;padding:11px 38px 11px 13px!important;color:#27352b!important}
body.fw-rental-shop .woocommerce-result-count{color:#68736b!important;font-weight:600!important}

@media(max-width:900px){
 body.fw-rental-shop ul.products li.product.fw-rental-product > a.woocommerce-LoopProduct-link img{height:290px!important}
}
@media(max-width:600px){
 body.fw-rental-shop .fw-rental-shop-intro{padding:25px 20px!important}
 body.fw-rental-shop .fw-rental-shop-intro h1#fw-rental-shop-title{font-size:27px!important}
 body.fw-rental-shop ul.products li.product.fw-rental-product > a.woocommerce-LoopProduct-link img{height:230px!important}
 body.fw-rental-shop ul.products li.product.fw-rental-product h2.woocommerce-loop-product__title{margin-left:17px!important;margin-right:17px!important;font-size:20px!important}
 body.fw-rental-shop ul.products li.product.fw-rental-product .fw-shop-availability-list,
 body.fw-rental-shop ul.products li.product.fw-rental-product .fw-shop-rental-summary{margin-left:17px!important;margin-right:17px!important}
 body.fw-rental-shop ul.products li.product.fw-rental-product a.fw-shop-rental-button{margin-left:17px!important;margin-right:17px!important}
 body.fw-rental-shop .woocommerce-ordering select{min-width:100%!important}
}
