/*
Theme Name: Skymania
Theme URI: https://www.skymania.ch
Author: Blaise Mottaz
Description: Thème léger et rapide pour la boutique Skymania (WooCommerce).
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: skymania
WC requires at least: 9.0
*/

:root{
  --sky-brand:#1174AD; --sky-brand-dark:#0B5F8F; --sky-accent:#C2410C;
  --sky-ink:#1B2430; --sky-muted:#556274; --sky-bg:#F6F8FB; --sky-line:#E3E8EF;
  --sky-soft:#EAF3FA; --sky-radius:16px; --sky-wrap:1200px;
}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--sky-ink);background:var(--sky-bg);font-size:16px;line-height:1.55}
img{max-width:100%;height:auto}
a{color:var(--sky-brand-dark);text-decoration:none}a:hover{color:#08466B}
h1,h2,h3,h4{font-family:Nunito,Inter,sans-serif;font-weight:800;line-height:1.15;margin:0 0 .5em}
.sky-wrap{max-width:var(--sky-wrap);margin:0 auto;padding:0 24px}
.screen-reader-text{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.sky-btn,.button,button.button,input.button,a.button,#respond input#submit,.wc-block-components-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border:0;border-radius:10px;background:var(--sky-accent)!important;color:#fff!important;font:inherit;font-weight:600;cursor:pointer;text-decoration:none}
.sky-btn:hover,.button:hover{filter:brightness(.92)}
.sky-btn--ghost{background:rgba(255,255,255,.14)!important}

/* Top bar */
.sky-top{background:var(--sky-brand);color:#fff;font-size:13px}
.sky-top .sky-wrap{display:flex;flex-wrap:wrap;gap:8px 24px;justify-content:space-between;padding-top:8px;padding-bottom:8px}
.sky-top a{color:#fff}

/* Header */
.sky-header{background:#fff;border-bottom:1px solid var(--sky-line);position:relative;z-index:50}
.sky-header__row{display:flex;flex-wrap:wrap;align-items:center;gap:16px 24px;padding-top:16px;padding-bottom:12px}
.sky-logo{font-family:Nunito,sans-serif;font-weight:900;font-size:30px;color:var(--sky-brand);letter-spacing:1px}
.sky-logo img{max-height:90px;width:auto;display:block}
@media (max-width:860px){.sky-logo img{max-height:64px}}
.sky-search{flex:1;min-width:240px;display:flex}
.sky-search input[type=search]{flex:1;height:46px;border:2px solid #D5DDE7;border-right:0;border-radius:10px 0 0 10px;padding:0 16px;font:inherit;font-size:15px}
.sky-search button{width:52px;height:46px;border:0;border-radius:0 10px 10px 0;background:var(--sky-accent);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer}
.sky-actions{display:flex;gap:8px}
.sky-actions a{display:flex;align-items:center;gap:6px;padding:10px 14px;border-radius:10px;color:var(--sky-ink);font-weight:500}
.sky-actions a.sky-cart{background:var(--sky-soft);color:var(--sky-brand);font-weight:600}
.sky-nav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px}
.sky-nav li{position:relative}
.sky-nav a{display:block;padding:12px 16px;font-weight:600;color:var(--sky-ink)}
.sky-nav .sub-menu{display:none;position:absolute;left:0;top:100%;min-width:230px;background:#fff;border:1px solid var(--sky-line);border-radius:12px;padding:8px;box-shadow:0 12px 30px rgba(20,40,60,.12);flex-direction:column;gap:0;z-index:60}
.sky-nav .sub-menu a{font-weight:500;padding:9px 12px;border-radius:8px}
.sky-nav .sub-menu a:hover{background:var(--sky-soft)}
.sky-nav li:hover>.sub-menu,.sky-nav li:focus-within>.sub-menu{display:flex}
.sky-nav .sub-menu .sub-menu{left:100%;top:0}
.sky-nav .sky-hot>a{color:#B4361E}
.sky-burger{display:none;height:44px;padding:0 14px;border:1px solid var(--sky-line);border-radius:10px;background:#fff;font:inherit;font-weight:600}
@media (max-width:860px){
  .sky-burger{display:inline-flex;align-items:center}
  .sky-nav{display:none;width:100%}
  .sky-nav.is-open{display:block}
  .sky-nav ul{flex-direction:column}
  .sky-nav .sub-menu{position:static;display:flex;box-shadow:none;border:0;padding-left:16px}
  .sky-header{position:static}
}

/* Hero */
.sky-hero{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));border-radius:20px;overflow:hidden;background:var(--sky-brand);margin-top:24px}
.sky-hero__text{padding:56px 48px;color:#fff;display:flex;flex-direction:column;gap:16px;justify-content:center}
.sky-hero__kicker{margin:0;font-weight:600;font-size:14px;letter-spacing:1.5px;text-transform:uppercase;color:#BFE0F5}
.sky-hero h1{margin:0;font-weight:900;font-size:clamp(32px,4.5vw,48px)}
.sky-hero p{margin:0;font-size:17px;color:#E2F0FA}
.sky-hero__btns{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px}
.sky-hero__img{min-height:320px;background:#0E5F8E center/cover no-repeat}

/* Sections */
.sky-section{margin-top:48px}
.sky-section__head{display:flex;justify-content:space-between;align-items:baseline;gap:16px;flex-wrap:wrap;margin-bottom:20px}
.sky-section h2{font-size:28px;margin:0}
.sky-cats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}
.sky-cat{background:#fff;border:1px solid var(--sky-line);border-radius:var(--sky-radius);padding:20px;display:flex;flex-direction:column;gap:12px;color:var(--sky-ink)}
.sky-cat__img{height:110px;border-radius:12px;background:var(--sky-soft) center/cover no-repeat}
.sky-cat strong{font-family:Nunito,sans-serif;font-size:19px}
.sky-cat span{font-size:13px;color:var(--sky-muted)}
.sky-cat:hover{border-color:var(--sky-brand)}

/* Content */
.sky-main{padding-top:24px;padding-bottom:24px}
.sky-page{background:#fff;border:1px solid var(--sky-line);border-radius:var(--sky-radius);padding:32px}
.sky-crumbs,.woocommerce-breadcrumb{font-size:13px;color:var(--sky-muted);margin-bottom:20px}

/* WooCommerce: product grid */
.woocommerce ul.products{list-style:none;margin:0;padding:0;display:grid!important;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none!important}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;background:#fff;border:1px solid var(--sky-line);border-radius:var(--sky-radius);padding:16px;display:flex;flex-direction:column;gap:10px}
.woocommerce ul.products li.product a img{border-radius:12px;background:#fff;aspect-ratio:1/1;object-fit:contain;margin:0!important;width:100%}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-family:Inter,sans-serif;font-size:14px!important;font-weight:500;line-height:1.4;color:var(--sky-ink);padding:0!important}
.woocommerce ul.products li.product .price{font-size:18px!important;font-weight:700;color:var(--sky-brand)!important;margin:auto 0 0!important}
.woocommerce ul.products li.product .button{margin-top:4px}
.woocommerce span.onsale{background:var(--sky-accent);border-radius:999px;min-height:auto;line-height:1;padding:6px 10px}

/* Single product */
.woocommerce div.product{display:block}
.woocommerce div.product .sky-product{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:40px}
.woocommerce div.product div.images,.woocommerce div.product div.summary{width:auto!important;float:none!important;margin:0!important}
.woocommerce div.product div.images img{border-radius:20px;background:#fff}
.woocommerce div.product .product_title{font-size:34px}
.woocommerce div.product p.price{font-size:30px!important;font-weight:700;color:var(--sky-brand)!important}
.woocommerce div.product .stock.in-stock{display:inline-block;padding:4px 10px;border-radius:999px;background:#E6F4EA;color:#1E6B35;font-size:13px;font-weight:600}
.woocommerce .quantity .qty{width:72px;height:48px;border:2px solid #D5DDE7;border-radius:10px;font:inherit}
.woocommerce div.product form.cart .button{min-height:52px;font-size:16px;font-weight:700;padding:0 32px}
.woocommerce div.product .woocommerce-tabs{margin-top:48px;background:#fff;border:1px solid var(--sky-line);border-radius:var(--sky-radius);padding:0 24px 24px}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:0 -24px 24px;border-bottom:1px solid var(--sky-line)}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:none!important;border:0!important;margin:0!important;border-radius:0!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:16px 20px!important;color:var(--sky-muted)!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--sky-ink)!important;font-weight:700;box-shadow:inset 0 -3px 0 var(--sky-brand)}
.related.products,.upsells.products{margin-top:48px}

/* Forms, notices, account */
.woocommerce form .input-text,.woocommerce select,input[type=text],input[type=email],input[type=tel],input[type=password],textarea{border:2px solid #D5DDE7;border-radius:10px;padding:10px 12px;font:inherit}
.woocommerce-message,.woocommerce-info,.woocommerce-error{border-radius:12px;border-top-width:0;border-left:0;background:#fff;box-shadow:0 0 0 1px var(--sky-line)}
.woocommerce-MyAccount-navigation ul{list-style:none;padding:0;margin:0;display:grid;gap:4px}
.woocommerce-MyAccount-navigation a{display:block;padding:10px 14px;border-radius:10px;color:var(--sky-ink)}
.woocommerce-MyAccount-navigation .is-active a{background:var(--sky-soft);color:var(--sky-brand);font-weight:600}

/* Footer */
.sky-footer{margin-top:64px;background:#13202E;color:#C9D3DE;font-size:14px}
.sky-footer .sky-wrap{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:32px;padding-top:40px;padding-bottom:40px}
.sky-footer strong{color:#fff}
.sky-footer a{color:#C9D3DE}.sky-footer a:hover{color:#fff}
.sky-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:8px}
.sky-footer__brand{font-family:Nunito,sans-serif;font-size:22px;font-weight:900;color:#fff}
.sky-copy{border-top:1px solid #24364A;font-size:12px;padding:16px 0;text-align:center}

/* Accueil pleine largeur (bannières comme l'ancien site) */
.sky-home{padding-bottom:24px}
.sky-full-hero{background:#0E5F8E center/cover no-repeat;min-height:220px;display:flex;align-items:center;justify-content:center;padding:48px 24px}
.sky-full-hero__inner{width:100%;max-width:640px}
.sky-search--hero{min-width:0;box-shadow:0 8px 30px rgba(0,0,0,.25);border-radius:12px}
.sky-search--hero input[type=search]{height:54px;border:0;font-size:17px}
.sky-search--hero button{height:54px;width:60px}
.sky-band{margin-top:32px}
.sky-band__banner{display:block;width:100%;line-height:0}
.sky-band__banner img{display:block;width:100%;height:auto}
.sky-band__products{margin-top:24px}
.sky-band__more{text-align:center;margin:20px 0 0}

/* Cartes produits : titre sur 3 lignes, prix et bouton toujours alignés en bas */
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;gap:10px;flex:1 1 auto;color:var(--sky-ink)}
.woocommerce ul.products li.product .woocommerce-loop-product__title{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:calc(1.4em*3)}
.woocommerce ul.products li.product .price{margin-top:auto!important}
.woocommerce ul.products li.product .button{width:100%;margin-top:0}
.woocommerce ul.products li.product .button,.woocommerce a.button,.woocommerce button.button{display:flex!important;align-items:center;justify-content:center;text-align:center;padding:0 18px!important;line-height:1.2!important;min-height:44px}
/* Accueil : 6 articles par ligne */
.sky-band__products .woocommerce ul.products,.sky-band__products ul.products{grid-template-columns:repeat(6,minmax(0,1fr))!important}
@media (max-width:1100px){.sky-band__products .woocommerce ul.products,.sky-band__products ul.products{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media (max-width:760px){.sky-band__products .woocommerce ul.products,.sky-band__products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.sky-band__products ul.products li.product{padding:12px}
.sky-band__products ul.products li.product .button{padding:0 6px!important;font-size:14px;white-space:nowrap}
/* Barre bleue + en-tête : restent en haut de la page (ne suivent pas le défilement) */
.sky-sticky{position:relative;z-index:50}
.sky-sticky .sky-header{position:static}
.sky-wrap.sky-band__products{max-width:1680px;padding:0 32px}
/* Accueil : la dernière bannière touche le pied de page */
.sky-home{padding-bottom:0}
.home .sky-footer{margin-top:0}

/* Pied de page (repris de l'ancien site) */
.sky-footer{background:#222;color:#cfcfcf}
.sky-footer .sky-wrap.sky-footer__cols{grid-template-columns:repeat(4,minmax(0,1fr));padding-top:32px;padding-bottom:40px}
@media (max-width:860px){.sky-footer .sky-wrap.sky-footer__cols{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:520px){.sky-footer .sky-wrap.sky-footer__cols{grid-template-columns:1fr}}
.sky-footer h3{color:#2E8FD6;font-size:18px;margin:0 0 12px}
.sky-footer p{margin:0 0 18px;line-height:1.7}
.sky-footer__cols ul{list-style:disc;padding-left:18px;display:block}
.sky-footer__cols li{margin-bottom:6px}
.sky-pay{display:grid;gap:8px;max-width:160px}
.sky-pay img{display:block;width:100%;border-radius:4px}
.sky-partner{max-width:210px}
.sky-footer__bottom{background:#2b2b2b;padding:18px 0}
.sky-footer__bottom .sky-wrap{display:block;padding-top:0;padding-bottom:0}
.sky-footer__legal ul{list-style:none;padding:0;margin:0 0 16px;display:flex;flex-wrap:wrap;gap:8px 24px}
.sky-footer__legal a{color:#ddd;font-weight:600}
.sky-footer__copy{display:flex;justify-content:space-between;align-items:center;gap:16px;font-size:13px;font-style:italic;color:#8a8a8a}
.sky-fb{color:#8a8a8a}.sky-fb:hover{color:#fff}
/* Fiche produit : quantité et bouton de même hauteur */
.woocommerce div.product form.cart{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.woocommerce div.product form.cart .quantity{margin:0!important;float:none!important}
.woocommerce div.product form.cart .quantity .qty{height:52px;box-sizing:border-box}
.woocommerce div.product form.cart .button{height:52px;min-height:52px;margin:0!important;float:none!important}

/* Recherche instantanée (FiboSearch) dans l'en-tête */
.sky-search--live{display:block;flex:1;min-width:240px}
.sky-search--live .dgwt-wcas-search-wrapp{max-width:none!important;width:100%}
.sky-search--live .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input{height:46px;border:2px solid #D5DDE7;border-radius:10px;font:inherit;font-size:15px;padding-left:16px}
.sky-search--live .dgwt-wcas-search-submit{background:var(--sky-accent)!important;border-radius:0 10px 10px 0!important;height:46px!important}

/* Pages boutique (catégories, recherche, fiche produit) : même largeur que l'accueil */
.woocommerce-page .sky-main.sky-wrap,.post-type-archive-product .sky-main.sky-wrap,.tax-product_cat .sky-main.sky-wrap,.search .sky-main.sky-wrap{max-width:1680px;padding-left:32px;padding-right:32px}
.post-type-archive-product ul.products,.tax-product_cat ul.products,.tax-product_tag ul.products,.search-results ul.products{grid-template-columns:repeat(6,minmax(0,1fr))!important}
@media (max-width:1100px){.post-type-archive-product ul.products,.tax-product_cat ul.products,.tax-product_tag ul.products,.search-results ul.products{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media (max-width:760px){.post-type-archive-product ul.products,.tax-product_cat ul.products,.tax-product_tag ul.products,.search-results ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
.post-type-archive-product ul.products li.product,.tax-product_cat ul.products li.product{padding:12px}
.post-type-archive-product ul.products li.product .button,.tax-product_cat ul.products li.product .button{padding:0 6px!important;font-size:14px;white-space:nowrap}

/* Fiche produit : image d'aperçu plus petite */
.woocommerce div.product .sky-product{grid-template-columns:minmax(0,480px) minmax(0,1fr);align-items:start}
@media (max-width:860px){.woocommerce div.product .sky-product{grid-template-columns:1fr}}
.woocommerce div.product div.images{max-width:480px}
.woocommerce div.product div.images .woocommerce-product-gallery__image img{max-height:440px;width:100%;object-fit:contain;background:#fff}
.woocommerce div.product div.images .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:10px!important}
.woocommerce div.product div.images .flex-control-thumbs li{width:auto!important;margin:0!important}
.woocommerce div.product div.images .flex-control-thumbs img{aspect-ratio:1/1;object-fit:contain;background:#fff;border-radius:10px;border:1px solid var(--sky-line)}

/* Fiche produit : page moins large */
.single-product .sky-main.sky-wrap{max-width:1200px;padding-left:24px;padding-right:24px}

/* Panier, commande, compte : page moins large, bouton à sa taille */
.woocommerce-cart .sky-main.sky-wrap,.woocommerce-checkout .sky-main.sky-wrap,.woocommerce-account .sky-main.sky-wrap{max-width:1200px;padding-left:24px;padding-right:24px}
.woocommerce .return-to-shop .button,.woocommerce .wc-backward{display:inline-flex!important;width:auto}

/* Mon compte : tableau des commandes */
.woocommerce-account table.shop_table{border-collapse:separate;border-spacing:0;border:1px solid var(--sky-line);border-radius:12px;overflow:hidden;background:#fff;width:100%}
.woocommerce-account table.shop_table th{background:#F1F4F8;font-weight:700;font-size:14px;padding:12px 14px;text-align:left}
.woocommerce-account table.shop_table td{padding:12px 14px;border-top:1px solid var(--sky-line);vertical-align:middle;font-size:14px}
.woocommerce-account table.shop_table tbody tr:hover td{background:#FAFBFD}
.woocommerce-orders-table__cell-order-actions{white-space:nowrap}
.woocommerce .woocommerce-orders-table__cell-order-actions a.button{display:inline-flex!important;width:auto;min-height:36px!important;height:36px;padding:0 14px!important;font-size:13px;margin:2px 6px 2px 0!important}
.woocommerce .woocommerce-orders-table__cell-order-actions a.button:not(.view){background:#fff!important;color:var(--sky-accent)!important;box-shadow:inset 0 0 0 2px var(--sky-accent)}
@media (max-width:760px){.woocommerce-orders-table__cell-order-actions{white-space:normal}}

/* Adresses mon compte */
.woocommerce-account .woocommerce-Addresses{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin-top:16px}
.woocommerce-account .woocommerce-Addresses::before,.woocommerce-account .woocommerce-Addresses::after{display:none!important}
.woocommerce-account .woocommerce-Addresses .woocommerce-Address{width:auto!important;float:none!important;max-width:none!important;border:1px solid #e5e7eb;border-radius:12px;padding:20px 22px;background:#fff}
.woocommerce-account .woocommerce-Address-title{display:flex!important;flex-direction:column;align-items:flex-start;gap:4px;margin-bottom:12px}
.woocommerce-account .woocommerce-Address-title h2{font-size:20px;margin:0}
.woocommerce-account .woocommerce-Address-title a.edit{float:none!important;font-size:14px;font-weight:600}
.woocommerce-account .woocommerce-Address address{font-style:normal;line-height:1.6;color:#374151}

.sky-band__title{font-size:28px;margin:32px auto 8px}
.sky-band__title a{color:inherit;text-decoration:none}

.sky-home>.sky-band:first-child{margin-top:0!important}

/* Effet survol articles */
.woocommerce ul.products li.product{transition:transform .2s ease,box-shadow .2s ease}
.woocommerce ul.products li.product:hover{transform:translateY(-4px);box-shadow:0 10px 24px rgba(0,0,0,.12)}
.woocommerce ul.products li.product img{transition:transform .3s ease}
.woocommerce ul.products li.product:hover img{transform:scale(1.04)}
.woocommerce ul.products li.product a img{overflow:hidden}


/* Sélecteur de langue */
.sky-lang{position:relative;border:0;padding:0;font-size:14px;font-weight:700}
.sky-lang summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:6px;padding:8px 12px;border:1px solid #e5e7eb;border-radius:8px;color:#374151}
.sky-lang summary::-webkit-details-marker{display:none}
.sky-lang summary::after{content:"";width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px)}
.sky-lang ul{position:absolute;right:0;top:calc(100% + 6px);z-index:50;list-style:none;margin:0;padding:6px;min-width:140px;background:#fff;border:1px solid #e5e7eb;border-radius:10px;box-shadow:0 10px 24px rgba(0,0,0,.12)}
.sky-lang li a{display:block;padding:8px 12px;border-radius:6px;color:#374151;text-decoration:none;font-weight:600}
.sky-lang li a:hover{background:#f3f4f6}
.sky-lang li a.is-active{background:var(--sky-brand);color:#fff}


/* Panier */
.woocommerce-cart table.cart{border-radius:12px;overflow:hidden;border-collapse:separate}
.woocommerce-cart table.cart th{background:#f9fafb;font-size:13px;text-transform:uppercase;letter-spacing:.03em;color:#6b7280}
.woocommerce-cart table.cart td{vertical-align:middle;padding:16px 12px}
.woocommerce-cart table.cart td.product-thumbnail img{width:72px!important;height:72px;object-fit:contain;background:#fff;border:1px solid #eef0f3;border-radius:8px;padding:4px}
.woocommerce-cart table.cart td.product-name a{font-weight:600;color:#111827;text-decoration:none}
.woocommerce-cart table.cart td.product-name a:hover{color:var(--sky-brand)}
.woocommerce-cart table.cart td.product-subtotal{font-weight:700}
.woocommerce-cart table.cart a.remove{display:inline-flex!important;align-items:center;justify-content:center;width:30px;height:30px;border-radius:50%;color:#9ca3af!important;font-size:20px;background:#f3f4f6}
.woocommerce-cart table.cart a.remove:hover{background:#fee2e2;color:#b91c1c!important}
.woocommerce-cart table.cart td.actions{background:#f9fafb;padding:14px 12px!important}
.woocommerce-cart table.cart td.actions{display:table-cell}
.woocommerce-cart table.cart td.actions .coupon{display:inline-flex!important;gap:8px;align-items:center;float:left}
.woocommerce-cart table.cart td.actions .coupon #coupon_code{width:200px!important;height:44px;padding:0 12px;border:1px solid #d1d5db;border-radius:8px;margin:0!important}
.woocommerce-cart table.cart td.actions .button{height:44px;min-height:44px!important;width:auto!important;padding:0 18px!important;border-radius:8px;margin:0!important;display:inline-flex!important}
.woocommerce-cart table.cart td.actions>.button[name=update_cart]{float:right;background:#fff!important;color:#374151!important;box-shadow:inset 0 0 0 1px #d1d5db;opacity:1!important}
.woocommerce-cart table.cart td.actions>.button[name=update_cart]:disabled{color:#9ca3af!important;cursor:default}
.woocommerce-cart .cart-collaterals{margin-top:28px}
.woocommerce-cart .cart_totals{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:22px 24px;box-shadow:0 4px 14px rgba(0,0,0,.04)}
.woocommerce-cart .cart_totals h2{margin-top:0;font-size:22px}
.woocommerce-cart .cart_totals table.shop_table{border:0}
.woocommerce-cart .cart_totals table.shop_table th,.woocommerce-cart .cart_totals table.shop_table td{border:0;border-bottom:1px solid #f0f1f3;padding:12px 0;background:none}
.woocommerce-cart .cart_totals .order-total th,.woocommerce-cart .cart_totals .order-total td{border-bottom:0;font-size:18px;padding-top:16px}
.woocommerce-cart .cart_totals .order-total td{color:var(--sky-accent)}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button{border-radius:10px;font-size:18px;min-height:54px}
@media(max-width:760px){.woocommerce-cart table.cart td.actions .coupon,.woocommerce-cart table.cart td.actions>.button[name=update_cart]{float:none;width:100%!important;margin-bottom:8px!important}.woocommerce-cart table.cart td.actions .coupon #coupon_code{flex:1;width:auto!important}}

.woocommerce-cart .cart-collaterals .cart_totals{float:right;width:60%!important;max-width:none}
@media(max-width:900px){.woocommerce-cart .cart-collaterals .cart_totals{width:100%!important;float:none}}


/* Message ajout panier */
.sky-toast{position:fixed;right:24px;bottom:24px;z-index:9999;display:flex;align-items:center;gap:14px;max-width:420px;background:#fff;border:1px solid #e5e7eb;border-left:5px solid #16a34a;border-radius:12px;padding:14px 16px;box-shadow:0 14px 34px rgba(0,0,0,.18);transform:translateY(20px);opacity:0;transition:all .3s ease}
.sky-toast.is-on{transform:none;opacity:1}
.sky-toast__ok{flex:none;width:32px;height:32px;border-radius:50%;background:#16a34a;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900}
.sky-toast strong{display:block;font-size:15px}
.sky-toast small{display:block;color:#6b7280;font-size:13px;line-height:1.3;margin-top:2px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.sky-toast__btn{flex:none;background:var(--sky-accent);color:#fff!important;text-decoration:none;font-weight:700;font-size:14px;padding:9px 14px;border-radius:8px;white-space:nowrap}
.woocommerce ul.products li.product a.added_to_cart{display:none!important}
@media(max-width:600px){.sky-toast{left:12px;right:12px;bottom:12px;max-width:none}}
.woocommerce-notices-wrapper .woocommerce-message{border-radius:10px;border-top-color:#16a34a;background:#f0fdf4}


/* Messages WooCommerce : une ligne, bouton à droite */
.woocommerce-notices-wrapper .woocommerce-message,.woocommerce-message{display:flex!important;align-items:center;gap:16px;flex-wrap:wrap;padding:14px 18px 14px 50px!important;border:1px solid #bbf7d0!important;border-radius:10px;background:#f0fdf4!important;color:#14532d;outline:0}
.woocommerce-message::before{top:50%!important;transform:translateY(-50%);left:18px!important;color:#16a34a!important}
.woocommerce-message .button.wc-forward{order:2;margin-left:auto!important;float:none!important;height:40px;min-height:40px!important;padding:0 16px!important;width:auto!important}
.woocommerce-notices-wrapper .woocommerce-message+.woocommerce-message{margin-top:-6px}


/* Caisse : moyens de paiement */
.woocommerce-checkout #payment{background:#fff!important;border:1px solid #e5e7eb;border-radius:12px;padding:8px}
.woocommerce-checkout #payment ul.payment_methods{border:0!important;padding:8px!important;margin:0}
.woocommerce-checkout #payment ul.payment_methods>li{list-style:none;border:1px solid #e5e7eb;border-radius:10px;padding:14px 16px!important;margin:0 0 10px!important;background:#fff;transition:border-color .2s,box-shadow .2s}
.woocommerce-checkout #payment ul.payment_methods>li:has(>input:checked){border-color:var(--sky-brand);box-shadow:0 0 0 3px rgba(17,116,173,.12)}
.woocommerce-checkout #payment ul.payment_methods>li>input[type=radio]{accent-color:var(--sky-brand);width:18px;height:18px;vertical-align:middle;margin:0 10px 0 0!important}
.woocommerce-checkout #payment ul.payment_methods>li>label{font-weight:700;font-size:16px;cursor:pointer;display:inline-flex!important;align-items:center;gap:10px}
.woocommerce-checkout #payment ul.payment_methods>li>label img{max-height:24px;width:auto;margin:0!important;float:none!important}
.woocommerce-checkout #payment div.payment_box{background:#f9fafb!important;border:0;border-radius:8px;margin:14px 0 2px!important;padding:16px!important;color:#374151;font-size:14px}
.woocommerce-checkout #payment div.payment_box::before{display:none!important}
.woocommerce-checkout #payment div.payment_box fieldset{border:0!important;padding:0!important;margin:0!important;background:none!important}
.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew{display:flex;align-items:center;gap:8px;margin:12px 0 0!important;padding:12px 0 0;border-top:1px solid #e5e7eb}
.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew input{accent-color:var(--sky-brand);width:16px;height:16px;margin:0!important}
.woocommerce-checkout #payment .woocommerce-SavedPaymentMethods-saveNew label{margin:0!important;font-size:14px}
.woocommerce-checkout #payment div.form-row.place-order{padding:16px 8px 8px!important;margin:0}
.woocommerce-checkout #payment #place_order{width:100%!important;min-height:56px;font-size:18px;border-radius:10px;float:none}
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper{font-size:14px;margin-bottom:12px}

.woocommerce-checkout .woocommerce-terms-and-conditions{background:#f9fafb!important;border:1px solid #e5e7eb;border-radius:10px;padding:16px 20px!important;max-height:220px;font-size:14px;line-height:1.6;color:#374151;margin-bottom:14px}
.woocommerce-checkout .woocommerce-terms-and-conditions h1,.woocommerce-checkout .woocommerce-terms-and-conditions h2,.woocommerce-checkout .woocommerce-terms-and-conditions h3{font-size:16px;margin:12px 0 6px}
.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text{font-size:15px}
.woocommerce-checkout #terms{accent-color:var(--sky-brand);width:18px;height:18px;vertical-align:middle}

.sky-figure{margin:18px 0 26px}
.sky-figure img,.sky-page-img{display:block;max-width:100%;height:auto;max-height:520px;border-radius:12px;box-shadow:0 6px 18px rgba(0,0,0,.08)}

.sky-lang summary{height:45px;box-sizing:border-box;padding:0 14px;border-radius:10px;font-size:16px}
