/* Applitour — retouches du thème 2026 (extension applitour-retouches) */

/* 1. Boutons principaux WooCommerce (panier « Valider la commande », tunnel « Commander ») : rouge Applitour au lieu du violet par défaut */
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.woocommerce a.checkout-button,
.wc-proceed-to-checkout a.checkout-button,
#place_order {
	background: var(--red, #d0241a) !important;
	border-color: var(--red, #d0241a) !important;
	color: #fff !important;
}
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce a.checkout-button:hover,
.wc-proceed-to-checkout a.checkout-button:hover,
#place_order:hover {
	background: #a81c14 !important;
	border-color: #a81c14 !important;
	color: #fff !important;
}

/* 2. Créateur : la barre « Matière / Format / Fixation / Commande » restait collée en bas de l'écran et recouvrait la plaque et les outils → remise à sa place, sous l'éditeur */
@media (min-width: 900px) {
	#dOpts.d-opts {
		position: relative !important;
		bottom: auto !important;
	}
}

/* 3. Pied de page : tuiles « Nos partenaires » et « Les news du tourisme » — présentation de l'ancien site (140 px, arrondi 14 px, ombre, survol) */
.apl-tiles {
	display: flex;
	flex-wrap: wrap;
	gap: .8rem;
	margin-top: 18px;
}
.apl-tiles a {
	display: block;
	width: 140px;
	padding: 0;
	border-radius: 14px;
	overflow: hidden;
	line-height: 0;
	box-shadow: 0 9px 20px -10px rgba(0, 0, 0, .55);
	transition: transform .18s, filter .18s;
}
.apl-tiles a[href*="partenaires"] { order: -1; }
.apl-tiles a:hover {
	transform: translateY(-3px);
	filter: brightness(1.05);
}
.apl-tiles img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
}

/* 4. Produits similaires (fiche produit) : grille de cartes du thème */
.apl-related { margin: 10px 0 0; }
.apl-related > h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; margin: 0 0 16px; color: var(--ink, #111); }
.apl-rel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .apl-rel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1100px) { .apl-rel-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.apl-rel-grid .card h3 a { color: inherit; text-decoration: none; }
.apl-rel-grid .card .price { font-size: 20px; }
.apl-rel-grid .card .price del { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted, #888); line-height: 1.2; }
.apl-rel-grid .card .price .woocommerce-Price-amount { white-space: nowrap; }
.apl-rel-grid .card a.add { display: grid; place-items: center; flex: 0 0 auto; text-decoration: none; }
.apl-rel-grid .card a.add:hover { background: var(--red, #d0241a); }
@media (max-width: 520px) { .apl-rel-grid .card .bd { padding: 10px 10px 12px; } .apl-rel-grid .card h3 { font-size: 13.5px; } .apl-rel-grid .card .price { font-size: 17px; } .apl-rel-grid .card a.add { width: 40px; height: 40px; } }

/* 5. Blog « Les news du tourisme » (page blog + rubriques) — mise en page magazine de l'ancien site */
body.apl-blog, body.apl-page-partenaires { --display: Montserrat, system-ui, -apple-system, sans-serif; }
.hs-blog{max-width:1120px;margin:0 auto;padding:.5rem 0 3.5rem}
.hs-blog-hero{text-align:center;padding:2rem 0 .6rem}
.hs-blog-hero h1{font-family:var(--display);font-weight:800;font-size:clamp(1.9rem,4.6vw,3rem);color:var(--ink);margin:0;line-height:1.05;letter-spacing:-.01em}
.hs-blog-hero h1 em,.hs-blog-kicker em{font-family:'Caveat',cursive;font-style:normal;color:var(--red);font-size:1.25em;font-weight:700}
.hs-blog-kicker{font-family:var(--display);font-weight:800;color:var(--ink);font-size:1.15rem;margin:0 0 .2rem!important;line-height:1}
.hs-blog-hero p{color:#666;max-width:660px;margin:.5rem auto 0;font-size:.98rem}
.hs-blog-filter{display:flex;flex-wrap:wrap;gap:.5rem;justify-content:center;margin:1.3rem 0 1.8rem}
.hs-blog-filter a{padding:.42em 1.05em;border-radius:999px;background:#fff;border:1px solid var(--line);color:var(--ink);text-decoration:none;font-weight:700;font-size:.84rem;transition:.15s}
.hs-blog-filter a:hover{border-color:var(--red);color:var(--red)}
.hs-blog-filter a.on{background:var(--red);color:#fff;border-color:var(--red)}
.hs-blog-sec{font-family:var(--display);font-weight:800;color:var(--ink);font-size:1.25rem;margin:2.2rem 0 1.1rem;border-left:4px solid var(--gold);padding-left:.6rem;line-height:1.3}
.hs-bc{display:block;text-decoration:none;color:var(--ink);background:#fff;border:1px solid var(--line);border-radius:16px;overflow:hidden;transition:.18s;box-shadow:0 8px 20px -14px rgba(0,0,0,.35)}
.hs-bc:hover{transform:translateY(-3px);box-shadow:0 16px 34px -16px rgba(0,0,0,.4);border-color:var(--gold);text-decoration:none}
.hs-bc-img{display:block;position:relative;background-size:cover;background-position:center;min-height:190px;background-color:var(--cream,#f3ead1)}
.hs-bc-badge,.hs-art-badge{color:#fff;font-family:var(--display);font-weight:800;font-size:.68rem;text-transform:uppercase;letter-spacing:.04em;padding:.36em .82em;border-radius:999px;box-shadow:0 4px 12px -5px rgba(0,0,0,.6);background:var(--red)}
.hs-bc-badge{position:absolute;top:12px;left:12px;z-index:2}
.hs-badge-actualites{background:var(--red)}
.hs-badge-chiffres-tourisme{background:#0f6476}
.hs-badge-reglementation-signaletique{background:#2c3039}
.hs-badge-labels-classements{background:#8a6a22}
.hs-bc-ribbon{position:absolute;top:14px;right:0;left:auto;background:var(--gold);color:#2a2008;font-weight:800;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;padding:.3em .7em .3em .9em;border-radius:999px 0 0 999px;box-shadow:0 4px 10px -4px rgba(0,0,0,.4)}
.hs-bc-body{display:block;padding:1.1rem 1.25rem 1.35rem}
.hs-bc-title{display:block;font-family:var(--display);font-weight:800;color:var(--ink);line-height:1.22;font-size:1.12rem;margin-bottom:.45rem}
.hs-bc-ex{display:block;color:#5a5a5a;font-size:.9rem;line-height:1.5;margin-bottom:.7rem}
.hs-bc-meta{display:block;color:var(--red);font-weight:700;font-size:.8rem}
.hs-blog-une .hs-bc-feat{display:grid;grid-template-columns:1.1fr .9fr}
.hs-blog-une .hs-bc-img{min-height:340px;height:100%}
.hs-blog-une .hs-bc-body{align-self:center;padding:2rem 2.2rem}
.hs-blog-une .hs-bc-title{font-size:clamp(1.4rem,2.6vw,2rem)}
.hs-blog-une .hs-bc-ex{font-size:.98rem}
.hs-blog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:1.4rem}
.hs-blog-pag{margin-top:2rem;text-align:center}
.hs-blog-pag .nav-links{display:flex;flex-wrap:wrap;justify-content:center;gap:.3rem}
.hs-blog-pag .page-numbers{display:inline-block;min-width:36px;padding:.4em .6em;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);text-decoration:none;font-weight:700}
.hs-blog-pag .page-numbers.current{background:var(--red);color:#fff;border-color:var(--red)}
.hs-blog-pag .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
.hs-blog-empty{text-align:center;color:#777;margin:2rem 0}
@media(max-width:768px){.hs-blog-une .hs-bc-feat{grid-template-columns:1fr}.hs-blog-une .hs-bc-img{min-height:210px}.hs-blog-une .hs-bc-body{padding:1.2rem 1.25rem 1.4rem}}
@media(max-width:400px){.hs-blog-grid{grid-template-columns:1fr}}

/* 6. Article du blog : colonne de lecture, rubrique, date, image, typographie */
.hs-article{max-width:780px;margin:0 auto;padding:1.4rem 0 .5rem}
.hs-art-crumbs{font-size:.8rem;color:var(--muted,#6f685d);margin:0 0 1.2rem;display:flex;flex-wrap:wrap;gap:.35rem;align-items:center}
.hs-art-crumbs a{color:var(--muted,#6f685d);text-decoration:none}
.hs-art-crumbs a:hover{color:var(--red);text-decoration:underline}
.hs-art-head{margin:0 0 1.4rem}
.hs-art-badge{display:inline-block;text-decoration:none;margin:0 0 .8rem;box-shadow:none}
.hs-art-badge:hover{filter:brightness(1.08);color:#fff;text-decoration:none}
.hs-art-head h1{font-family:var(--display);font-weight:800;color:var(--ink);font-size:clamp(1.7rem,3.8vw,2.5rem);line-height:1.15;margin:0 0 .6rem;letter-spacing:-.01em}
.hs-art-meta{color:var(--muted,#6f685d);font-size:.85rem;margin:0}
.hs-art-img{margin:0 0 1.6rem;border-radius:16px;overflow:hidden;background:var(--cream,#f3ead1)}
.hs-art-img img{display:block;width:100%;height:auto;max-height:460px;object-fit:cover}
.hs-art-content{font-size:1.02rem;line-height:1.75;color:#2b2925}
.hs-art-content > *:first-child{margin-top:0}
.hs-art-content p{margin:0 0 1.05em}
.hs-art-content h2{font-family:var(--display);font-weight:800;color:var(--ink);font-size:clamp(1.3rem,2.6vw,1.6rem);line-height:1.25;margin:2em 0 .7em;padding-left:.65rem;border-left:4px solid var(--gold)}
.hs-art-content h3{font-family:var(--display);font-weight:800;color:var(--ink);font-size:1.15rem;line-height:1.3;margin:1.6em 0 .55em}
.hs-art-content h4{font-weight:800;font-size:1rem;margin:1.4em 0 .5em}
.hs-art-content ul,.hs-art-content ol{margin:0 0 1.2em;padding-left:1.4em}
.hs-art-content li{margin:.35em 0}
.hs-art-content li::marker{color:var(--red)}
.hs-art-content a{color:var(--red);font-weight:600;text-decoration:underline;text-underline-offset:2px}
.hs-art-content a:hover{color:var(--red-d,#a81c14)}
.hs-art-content strong{color:var(--ink)}
.hs-art-content blockquote{margin:1.4em 0;padding:.9em 1.2em;border-left:4px solid var(--gold);background:var(--off,#fbf9f5);border-radius:0 12px 12px 0;color:#444}
.hs-art-content img{max-width:100%;height:auto;border-radius:12px}
.hs-art-content table{width:100%;border-collapse:collapse;margin:0 0 1.4em;font-size:.92rem}
.hs-art-content th,.hs-art-content td{border:1px solid var(--line);padding:.55em .7em;text-align:left;vertical-align:top}
.hs-art-content th{background:var(--off,#fbf9f5)}
.hs-art-content details{border:1px solid var(--line);border-radius:10px;margin:.5rem 0;background:#fff;padding:.2em 1em}
.hs-art-content summary{cursor:pointer;font-weight:700;padding:.6em 0}
.single-post .entry-content .chapo{font-size:1.12rem;line-height:1.6;color:#2c3039;font-weight:600;margin-bottom:1rem}
.single-post .entry-content .src{color:#777;font-size:.86rem;border-top:1px solid var(--line);padding-top:.7rem;margin-top:1.4rem}
.hs-art-foot{margin:2.2rem 0 0;padding-top:1.2rem;border-top:1px solid var(--line)}
.hs-art-back{display:inline-block;font-weight:700;color:var(--red);text-decoration:none}
.hs-art-back:hover{text-decoration:underline}
.hs-art-more{max-width:1120px;margin:1.4rem auto 3.5rem}

/* 7. Page « Nos partenaires » : grille de logos (ancien site) */
.apl-page-partenaires main .wrap > article{max-width:1120px;margin:0 auto}
.apl-page-partenaires main .wrap > article > h1{font-family:var(--display);font-weight:800;font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.1;margin:0 0 .7rem}
.apl-page-partenaires main .wrap > article > p{font-size:1rem;line-height:1.65;color:#4a463f;max-width:820px;margin:0 0 1.2rem}
.apl-page-partenaires main .wrap > article h2{font-family:var(--display);font-weight:800;color:var(--ink);font-size:1.25rem;line-height:1.3;margin:2rem 0 .9rem;border-left:4px solid var(--gold);padding-left:.6rem}
.hs-partners{list-style:none;margin:.6rem 0 1.6rem;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:.55rem}
.hs-partners li{margin:0;padding:0;list-style:none}
.hs-partners li::marker{content:none}
.hs-partners li a{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:96px;padding:1em .8em;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);text-decoration:none;transition:.15s}
.hs-partners li a:hover{border-color:var(--gold);box-shadow:0 7px 18px -9px rgba(0,0,0,.28);transform:translateY(-1px)}
.hs-partner-logo{flex:0 0 auto;width:40px;height:40px;border-radius:8px;background:linear-gradient(135deg,#f3ead1,#e2d1a2);color:#7a5e12;font-weight:800;display:flex;align-items:center;justify-content:center;font-size:1.05rem;overflow:hidden}
.hs-partner-logo img{width:100%;height:100%;object-fit:contain}
img.hs-partner-logo{width:auto;max-width:86%;height:60px;object-fit:contain;background:none;border:0;border-radius:0;box-shadow:none}
.hs-partner-name{display:none}
@media(max-width:560px){.hs-partners{grid-template-columns:repeat(2,minmax(0,1fr))}.hs-partners li a{min-height:84px;padding:.8em .6em}img.hs-partner-logo{height:50px}}
