/* Variables */
:root {
    --black: #000000;
    --white: #FFFFFF;
}

/* Meta */

/* Scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--black)
}

*::-webkit-scrollbar {
    max-height: 8px;
    max-width: 8px;
    background-color: var(--black);
    
    cursor: none;
}

*::-webkit-scrollbar-track {
    max-height: 8px;
    border-radius: 8px;
}

*::-webkit-scrollbar-thumb {
    max-height: 8px;
    border-radius: 8px;
    background-clip: border-box;
    background-color: var(--black);
}

*::-webkit-scrollbar-thumb:hover {
    background-color: var(--black);
}

/* URLs */

a {
    position: relative;
    height: auto;
    background-color: transparent;
    color: white;
    text-decoration: none;

    cursor: pointer !important;
    transition: color .35s ease-in-out, outline .25s ease-in-out;
}

a.underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1.5px;
    border-radius: 1px;
    background: linear-gradient(90deg, #e65913, #ff9e00);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s cubic-bezier(.25, .1, .25, 1);
    pointer-events: none;
}

a:-webkit-any-link {
    text-decoration: none;
}

a:focus-visible {
    color: #ffffffb3;
    outline: 2px solid var(--black) !important;

    transition: color .35s ease-in-out, outline .25s ease-in-out;
}

a.underline:focus-visible::after {
    transform: scaleX(1);
}

/* a:hover, a:hover #language-active-text {
    color: #ffffff77;

    cursor: pointer !important;
    transition: color .35s ease-in-out, outline .25s ease-in-out;
} */

a.underline:hover::after {
    transform: scaleX(1);
}

/* Selected (Highlighted) Text */

::-moz-selection { /* Code for Firefox */
    background: var(--white);
    color: var(--black);
}

::selection {
    background: var(--white);
    color: var(--black);
}

/* Primaire */
html, body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

html {
    width: 100vw;
    height: 100vh;
    background-color: black;
}

body {
    min-height: 100vh;
    position: relative;
    /* Establishes body's own stacking context so negative z-index
       descendants (e.g. #ap, the homepage's ambient hero photo) stack
       against body's own background instead of escaping to the root
       and rendering underneath it. */
    z-index: 0;
    overflow-x: hidden;
    /* background-color: var(--black); */
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    padding-bottom: 64px;
    padding: 0;

    background:
    radial-gradient(ellipse 900px 550px at 50% 15%, rgba(201, 151, 62, 0.14), transparent 62%),
    radial-gradient(ellipse 1200px 600px at 50% 0%, rgba(255, 255, 255, 0.03), transparent 70%),
    linear-gradient(180deg, #100b0a 0%, #0a0705 55%, #060402 100%);
}

/* Les styles essentiaux */

/* Les icônes */

.icn {
    padding: 0px;
    margin-left: 4px;
}

.icn img {
    height: 16px;
    width: 16px;
    margin-bottom: -3.5px;
    filter: brightness(0) saturate(100%) invert(59%) sepia(28%) saturate(793%) hue-rotate(6deg) brightness(91%) contrast(87%);
    transition: margin .25s;
}

/* 
p {
    color: white;
    opacity: .8;
    font-family:"Poppins",sans-serif;
    font-size:12px;
    line-height:1.8;
    margin-bottom:8px;
}

h2 {
    font-family:"Cinzel",serif;
    font-size:32px;
    font-weight:600;
    margin-bottom:12px;
    background: linear-gradient(to bottom, #fffef6 0%, #ffe8b3 20%, #efb149 45%, #fc9c00 70%, #cf7b00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
} */

/* Dim sibling items on list hover; the hovered one keeps full opacity */
ul li {
    transition: opacity .35s ease-in-out;
}

ul:hover > li {
    opacity: .33;
}

ul:hover > li:hover {
    opacity: 1;
}

/* La barre de navigation */

#rentals-nav {
    position: fixed;
    z-index: 99;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: brightness(50%) blur(2px);

    height: 50px;
    padding: 0 24px;
    box-sizing: border-box;
}

#rentals-nav > ul {
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 100%;   /* prevents inner content from expanding navbar */
}

#rentals-nav > ul > li {
    list-style: none;
    padding-left: 8px;

    color: white;
    font-family: "Poppins", sans-serif;
    /* font-family: "Cinzel", sans-serif; */
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

#rentals-nav #section-nav-logo, #rentals-nav #section-nav-quote {
    padding-left: 16px;
    padding-right: 16px;
    width: 15%;
    /* background-color: green; */
}

#rentals-nav #section-nav-logo > img, #rentals-nav #section-nav-quote img  {
    width: auto;
    height: auto;
    margin: 0;
}

#rentals-nav #section-nav-logo img {
    max-height: 32px;
    margin-top: -4px;
    height: 24px;
    width: auto;
}

#rentals-nav #section-nav-logo > a > p {
    max-height: 32px;
    margin-top: -4px;
    text-align: left;
    margin: 0;
    /* user-select: none; */
}

#rentals-nav #section-nav-quote, #rentals-nav #section-nav-quote a {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
}

#section-nav-logo-footer {
    margin-top: 8px;
    /* background-color: green; */
}

#section-nav-logo-footer img {
    width: 256px;
    height: auto;
    margin: 0;
}

#rentals-nav #marque {
    height: 128px;
    margin-top: -64px;
}

#rentals-nav #marque-chercher {
    max-height: 16px;
    margin-top: -64px;
}

/* L'indicateur du panier (injecté par bundle.js) */
#rentals-nav #section-nav-quote > a {
    position: relative;
}

#rentals-nav #nav-quote-indicateur {
    display: none;
    position: absolute;
    top: 10px;
    right: 8px;

    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    box-sizing: border-box;
    border-radius: 8px;

    background-color: #ff9e00;
    color: white;
    font-family: "Poppins", sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;

    pointer-events: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35);
    /* animation: sestomper .25s ease-in-out; */
}

#rentals-nav #nav-quote-indicateur.visible {
    display: block;
}

#rentals-nav p {
    color: white;
    /* font-family: "Amarante", serif; */
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 300;
    font-style: normal;
    text-align: center;
    white-space: nowrap;

    margin: 0;
    padding: 0;
}

#rentals-nav #section-nav-mobile-items-wrapper {
    display: none;
}

#rentals-nav ul#section-nav-mobile-items {
    display: none;
    padding: 0;
}

#rentals-nav ul#section-nav-mobile-items > li {
    display: flex;
    align-items: center;
    padding: 0;
}

#rentals-nav ul#section-nav-mobile-items > li a {
    font-size: 12px;
}

#rentals-nav #nav-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

#rentals-nav #nav-search-input {
    position: absolute;
    top: 100%;
    right: 0;
    width: 0;
    padding: 4px 8px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    color: white;
    background-color: #111;
    border: 1px solid #fff;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
}

#rentals-nav #nav-search-input.active {
    width: 180px;
    opacity: 1;
    pointer-events: auto;
}

/* Footer */
footer {
    margin-top: auto;
    width: 100%;
    position: absolute;
    bottom: 0;
    /* border-top: 1px solid #ffffff84; */
    padding-top: 4px;
    display: flex;
    align-items: center;
    justify-content: center;

    /* -webkit-animation: sestomper ease-in-out 3s; Safari, Chrome and Opera > 12.1 */
    /* -moz-animation: sestomper ease-in-out 3s; Firefox < 16 */
    /* -ms-animation: sestomper ease-in-out 3s; Internet Explorer */
    /* -o-animation: sestomper ease-in-out 3s; Opera < 12.1 */
    /* animation: sestomper ease-in-out 3s; */

    width: 100%;
  /* background-color: #0000008b; */
  backdrop-filter:blur(8px);
  color: var(--white);
  font-family: "Poppins", sans-serif;
  padding: 32px 16px 16px;
  box-sizing: border-box;
  position: relative;
  display: flex;
  flex-direction: column;
}

footer form {
    height: fit-content;
    margin-top: 8px;
    padding: 0 !important;
    border: none;
}

footer .formkit-form[data-uid="084914522f"][min-width~="700"] [data-style="clean"], .formkit-form[data-uid="084914522f"][min-width~="800"] [data-style="clean"] {
    padding: 8px 0px 12px 0px !important;
}

.footer-divider {
  width: 100%;
  border: none;
  height: 1px;
  background-color: white;
  opacity: 0.2;
  margin: 16px 0;
}

.footer-columns {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  gap: 32px;
  flex-wrap: wrap;
  width: 100%;
}

.footer-column:first-of-type p:last-of-type {
    margin-top: 12px;
}

.footer-column h3 {
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-column p,
.footer-column li {
  font-weight: 300;
  font-size: 14px;
  margin: 4px 0;
  list-style: none;
}

.footer-column ul {
  padding: 0;
  margin: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  width: 100%;
}

.footer-column p {
    text-align: left;
}

/* SOUS le footer */

.footer-top {
    display: flex;
    gap: 64px;
}

.footer-right {
    display: flex;
}

footer ul#terms {
    display: flex;
    justify-content: center;
    align-items: center;
    height: fit-content;
    margin: 0;
}

footer ul#terms > li {
    list-style: none;
    padding-left: 8px;

    color: white;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

footer #section-nav-items li {
    padding: 0;
    line-height: 1.2;
}

#footer-index {
    margin-top: 128px;
}

/* Forms */
form.composant-form {
    position: relative;
    display: flex;
    flex-direction: column;
    align-self: center;

    width: 100%;
    max-width: 720px;
    height: 100%;
    padding: 32px;
    box-sizing: border-box;

    background: rgba(0,0,0,.25);
    border: 1px solid #c9973e;
}

form.composant-form .form-fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

form.composant-form .form-submit {
        margin-top: auto;
}

form.composant-form:hover {
    filter: drop-shadow(0 0px 32px rgba(0,0,0,.6));
}

form.composant-form::before {
    content: '';
    position: absolute;
    top: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c9973e, transparent);
    pointer-events: none;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    /* margin-bottom: 12px; */
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-top: 8px;
}

textarea,
input[type="text"],
input[type="email"],
input[type="date"],
input[type="tel"] {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 16px;
    min-height: 32px;
    resize: vertical;

    background-color: rgba(0,0,0,.4);
    border: 1px solid #c9973e40;
    border-radius: 4px;
    color: white;

    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 500;
    transition: color .25s ease,
    background-color .25s ease,
    border .25s ease;
}

textarea:hover,
input[type="text"]:hover,
input[type="email"]:hover,
input[type="date"]:hover,
input[type="tel"]:hover {
    border-color: #c9973e;
}

textarea:focus-visible,
input[type="text"]:focus-visible,
input[type="email"]:focus-visible,
input[type="date"]:focus-visible,
input[type="tel"]:focus-visible {
    outline: none;
    border-color: #ff9e00;
    box-shadow: 0 0 0 3px rgba(255,158,0,.15);
}

form input::placeholder,
form textarea::placeholder {
    color: rgba(255,255,255,.9);
    opacity: .25;
    transition: opacity .5s;
}

form input:hover::placeholder,
form textarea:hover::placeholder,
form input:focus::placeholder,
form textarea:focus::placeholder {
    opacity: .45;
    transition: opacity .5s;
}

form p.disclaimer {
    margin: 12px 0 0;
    color: rgba(255,255,255,0.4);
    font-family: "Poppins", sans-serif;
    font-size: 11px;
    line-height: 1.6;
    text-align: center;
}

form button[type="submit"] {
    width: 100%;
    padding: 14px;

    background: #ff9e00;
    border: none;
    color: white;
    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: .5s;
    cursor: pointer;
}

form button[type="submit"]:hover,
form button[type="submit"]:focus-visible {
    background: white;
    border-color: white;
    /* border: none;
    outline: none; */
    color: #e65913;
    filter: drop-shadow(0 0 20px rgba(255,158,0,.45));
}

form .checkbox-wrapper,
form .form-group.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    flex-flow: row;
    gap: 12px;
    margin: 18px 0;
    text-align: left;
    transition: opacity .3s ease;
}

form .checkbox-wrapper input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    flex: 0 0 18px;
    padding: 0;
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    border: 1px solid rgba(201, 151, 62, 0.65);
    border-radius: 2px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.18)),
        rgba(8, 7, 5, 0.9);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.035),
        0 0 0 1px rgba(0, 0, 0, 0.7);
    cursor: pointer;
    transition: background-color .25s ease;
}

form .checkbox-wrapper input[type="checkbox"]::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
}

form .checkbox-wrapper input[type="checkbox"]:checked {
    border-color: rgba(252, 156, 0, 0.9);
    background:
        linear-gradient(180deg, #f0bd63 0%, #c9973e 48%, #8f5f17 100%);
    box-shadow:
        0 0 14px rgba(252, 156, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.28);
    opacity: 1;
}

form .checkbox-wrapper input[type="checkbox"]:checked::after {
    opacity: 1;
    transform: rotate(45deg) scaleY(1);
}

form .checkbox-wrapper input[type="checkbox"]:focus-visible {
    outline: none;
    background-color: #8f5f17;
}

form label {
    margin: 0 0 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #e6b869;
}

form .checkbox-wrapper a {
    color: #e6b869;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Les boutons */

/* Le bouton contour (or) */
a.composant-lien-bouton,
button.composant-lien-bouton {
    -webkit-appearance: none;
    appearance: none;
    display: inline-flex;
    margin: 32px 0 0;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    background: transparent;
    border: 1px solid #c9973e80;
    border-radius: 0;
    color: #e6b869;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: .25s;
    width: fit-content;
  align-self: center;
}

a.composant-lien-bouton::after {
    display: none;
}

a.composant-lien-bouton:hover,
button.composant-lien-bouton:hover {
    background: #c9973e1a;
    border-color: #c9973e;
}

a.composant-lien-bouton:hover .icn img,
button.composant-lien-bouton:hover .icn img {
    margin-left: 8px;
    margin-right: -2px;
    transition: margin .25s;
}

/* Main */
main {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    width: 100%;
    margin-top: 64px;
}

main.col {
    flex-direction: row;
    align-items: stretch;
    gap: 8px;
}

main.col #gauche {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: left;
    margin: 8px;
    padding: 8px;
}

main.col #droite {
    width: 40%;
    border-color: #c9973e59;
    text-align: left;
    margin: 8px;
    padding: 8px;
}

/* Hero (Chaque page) */

#hero {
  position: relative;
  width: 100%;
  height: fit-content;
  min-height: 200px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#hero[hidden] {
  display: none;
}

#hero #header {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 16px;

    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

#hero #header > h1 {
    font-family: "Cinzel", serif;
    font-size: 64px;
    font-weight: 600;
    font-style: normal;
    margin: 0;
    padding: 0;
    white-space: nowrap;

    background:
        linear-gradient(
            115deg,
            transparent 35%,
            rgba(255,255,255,.9) 48%,
            rgba(255,255,255,.9) 52%,
            transparent 65%
        ),
        linear-gradient(
            to bottom,
            #fffef6 0%,
            #ffe8b3 12%,
            #efb149 28%,
            #fc9c00 52%,
            #cf7b00 72%,
            #8a4d00 100%
        );
        
    background-size: 300% 100%, 100% 100%;
    background-position: -120% 0, 0 0;
    background-repeat: no-repeat, no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    padding: 0px 32px;

    text-shadow:
        0 1px 0 rgba(255,255,255,.15),
        0 2px 4px rgba(0,0,0,.28),
        0 8px 20px rgba(0,0,0,.40);

    letter-spacing: .02em;

    opacity: 1;
    animation: briller ease-out 4.8s forwards;
    animation: brillerSansSestomper ease-out 4.8s forwards;
}

#hero #header > p {
    margin-top: -16px;
    font-family: 'Cinzel', 'Times New Roman', Times, serif;
    text-transform: lowercase;
    font-size: 24px;
    font-weight: 400;
    color: #fff; /* fully white for premium look */
    color: #c8c7c9;
    text-align: center;
    /* animation: sestomper ease-in-out 1.5s; */
}

/* Content */

main.col #content {
    flex-direction: row;
}

#content {
    width: 100%;
    display: flex;
    flex-direction: column;
    animation: sestomper ease-in-out 1s;
}

#content > p {
    display: block;
    font-family: 'Times';
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #b0adb0;
    text-align: center;
    margin: 0;
    margin-bottom: 12px;
}

/* Les composants */

/* FAQ */
.composant-faq {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 64px;

    /* animation: sestomperVite ease-in-out 6s; */
}

.composant-faq .faq-container {
    width: 90%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.composant-faq .faq-item {
    border: 1px solid #ffffff20;
    backdrop-filter: blur(6px);
    transition: 0.25s ease;
}

.composant-faq .faq-item:hover {
    border: 1px solid white;
}

.composant-faq .faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: whitesmoke;
    border: 1px solid #F1F1F1;
    
    padding: 16px;
    
    font-family: 'Times';
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    /* background-color: #0000006b; */
    background-color: transparent;

    cursor: pointer;
}

.composant-faq .faq-chevron {
    width: 14px;
    transition: transform 0.25s ease;
}

.composant-faq .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.composant-faq .faq-answer p {
    margin: 8px;
    text-align: left;
    opacity: 0.8;

    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: #F1F1F1;
}

.composant-faq .faq-answer p b {
    font-weight: 600;
}

.composant-faq .faq-answer p a {
    font-weight: 600;
}

/* Les diviseurs */
.diviseur {
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 8px;
    align-self: center;
}

.diviseur > img {
    height: 18px;
}

.diviseur > hr {
    width: 100%;
}

.diviseur-kr {
    margin-bottom: -24px;

    /* animation: sestomperSimple ease-in-out 1s; */
}

.diviseur-kr img {
    height: 32px;
}

.diviseur-avec-texte {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.diviseur-avec-texte .diviseur {
    width: 50%;
    height: 1px;
    padding: 0;
    background-color: white;
    opacity: 33%;
    margin: 0;
    align-self: center;
}

.diviseur-avec-texte p {
    color: white;
    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: normal;
    white-space: nowrap;

    margin: 0;
    padding: 0;
    text-align: left;
    transition: ease-in-out .25s;
}

hr.point {
    margin-left: 8px;
    background-color: white;
    width: 2px;
    height: 2px;
    border-radius: 100%;
    border: none;
}

hr.point-p {
    margin: 4px;
    background-color: white;
    min-width: 1px;
    width: 1px;
    height: 24px;
    border: none;
}

/* Timeline */
.composant-timeline {
    width: 100%;
    max-width: 560px;
    margin: 32px 0 0;
    display: flex;
    align-items: flex-start;
    align-self: center;
    user-select: none;
}

.composant-timeline .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    width: 110px;
}

.composant-timeline .dot {
    width: 22px;
    height: 22px;
    box-sizing: border-box;
    border-radius: 50%;
    border: 2px solid #ffffff30;
    background-color: #0a0705;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .3s ease-in-out, background-color .3s ease-in-out, box-shadow .3s ease-in-out;
}

.composant-timeline .check {
    width: 10px;
    height: 10px;
    fill: none;
    stroke: black;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.composant-timeline .step.is-complete .dot {
    border-color: #ff9e00;
    background: linear-gradient(135deg, #ffce6e, #e65913);
}

.composant-timeline .step.is-active .dot {
    border-color: #ff9e00;
    animation: pulserActif 1.8s ease-out infinite;
}

.composant-timeline .step.is-active .dot::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffce6e, #e65913);
}

.composant-timeline .label {
    margin: 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-wrap: nowrap;
    color: #c8c7c9;
    transition: color .3s ease-in-out;
}

.composant-timeline .step.is-complete .composant-timeline .label,
.composant-timeline .step.is-active .composant-timeline .label {
    color: #f0b96b;
}

.composant-timeline .connector {
    flex: 1 1 auto;
    height: 2px;
    margin-top: 10px;
    background-color: #ffffff20;
    transition: background .3s ease-in-out;
}

.composant-timeline .connector.is-complete {
    background: linear-gradient(90deg, #e65913, #ff9e00);
}

/* La carte */
.composant-carte {
    --notch: 18px;
    --clip: polygon(
        var(--notch) 0, calc(100% - var(--notch)) 0,
        100% var(--notch), 100% calc(100% - var(--notch)),
        calc(100% - var(--notch)) 100%, var(--notch) 100%,
        0 calc(100% - var(--notch)), 0 var(--notch)
    );

    position: relative;
    width: 100%;
    max-width: 520px;
    margin: 24px 16px 56px;
    padding: 1.5px; /* gold hairline thickness */
    clip-path: var(--clip);
    box-sizing: border-box;
    align-self: center;

    /* animation: sestomperVite ease-in-out 6s; */
    transition: transform .4s ease, filter .4s ease;
    filter: drop-shadow(0 24px 40px rgba(0,0,0,.6));
}

.composant-carte:hover {
    transform: scale(1.025);
}

/* gold hairline border */
.composant-carte::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(180deg, #e6b869 0%, #c9973e 40%, #8a4d00 100%);
}

.composant-carte::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 12px;
    background: linear-gradient(90deg, transparent, #c9973e, transparent);
    z-index: 9;
    pointer-events: none;
}

.composant-carte .carte-frame {
    position: relative;
    z-index: 1;
    clip-path: var(--clip);
    background:
        repeating-linear-gradient(135deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 1px, transparent 1px, transparent 4px),
        linear-gradient(150deg, #17110a 0%, #100b08 45%, #0a0605 100%);
    padding: 40px 32px 36px;
    text-align: center;
    overflow: hidden;
}

.composant-carte .carte-sheen {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, transparent 30%, #ffffff07 48%, #ffffff0c 52%, transparent 70%);
    background-size: 300% 100%;
    background-position: -120% 0;
    background-repeat: no-repeat;
    animation: balayer 5s ease-in-out infinite;
    pointer-events: none;
}

.composant-carte .carte-eyebrow {
    margin: 0 0 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #f3eee3;
}

.composant-carte .carte-amount {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: clamp(56px, 12vw, 84px);
    line-height: 1;

    background: linear-gradient(to bottom, #fffef6 0%, #ffe8b3 12%, #efb149 28%, #fc9c00 52%, #cf7b00 72%, #8a4d00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 4px 20px rgba(252,156,0,.25));
}

.composant-carte .carte-word {
    /* margin: 10px 0 18px; */
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #f3eee3;
}

.composant-carte .carte-desc {
    margin: 0 0 26px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: rgba(243,238,227,0.62);
}

.composant-carte .carte-rule {
    display: block;
    width: 100%;
    max-width: 180px;
    height: 1px;
    margin: 0 auto 26px;
    background: rgba(201,151,62,0.4);
}

.composant-carte .carte-code-box {
    border: 1px solid rgba(201,151,62,0.35);
    border-radius: 3px;
    padding: 16px 22px;
    background: rgba(0,0,0,0.2);
}

.composant-carte .carte-code-label {
    margin: 0 0 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(243,238,227,0.5);
}

.composant-carte .carte-code-value {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: 0.18em;
    cursor: pointer;
    color: #e6b869;
    transition: color .2s ease;
}

.composant-carte .carte-code-value:hover {
    color: #fffef6;
}

.composant-carte .carte-copy-hint {
    margin: 12px 0 0;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(243,238,227,0.4);
    transition: color .25s ease;
}

.composant-carte .carte-copy-hint[data-state="copied"] {
    color: #e6b869;
}

/* La galérie des photos */

.composant-galerie {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.composant-galerie figure {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    filter: drop-shadow(8px 8px 8px #0b0b0b);
    border: 1px solid #c9973e40;
}

.composant-galerie img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transition: filter .3s ease;
}

.composant-galerie figure:hover img {
    filter: brightness(1);
}

.composant-galerie figcaption {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    background: rgba(0,0,0,0.6);
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: white;
}

/* Les pages */

main#page-feedback form {
    max-width: 800px;
}

main#page-feedback-received #content .composant-lien-bouton {
    margin-top: 0;
}

main#page-feedback-received #content .diviseur {
    margin: 32px 0px 16px;
}











































































































/* Particulière pour les pages */

.contact-form-wrapper {
    width: 90%;
    max-width: 700px;
    margin: 48px auto 64px;
}

#page-gift #hero #header > h1 {
    margin-bottom: -18px;
}

#page-gift #content > p {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: #b0adb0;
    margin-bottom: 6px;
}

#contact-form > .form-fields {
    margin-bottom: 32px;
}













































































































/* ============================================================
   QUOTE PAGE COMPONENTS (Kastle Rentals 2.0) — pending review
   Built for /quote-new.html: equipment table (.composant-table),
   quote summary sidebar (.composant-resume), and the production
   & contact details form (form.rental-form.form-wide).
   ============================================================ */

/* Shared gold heading treatment for the new quote components */
.composant-table h2,
.composant-resume .resume-eyebrow,
form.rental-form .form-title {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 0.04em;
    background: linear-gradient(to bottom, #fffef6 0%, #ffe8b3 20%, #efb149 45%, #fc9c00 70%, #cf7b00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.composant-table h2 {
    font-size: 22px;
}

.composant-resume .resume-eyebrow {
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

form.rental-form .form-title {
    font-size: 24px;
    margin-bottom: 12px;
}

/* Layout: equipment table + quote summary sidebar */
.quote-layout {
    width: 90%;
    max-width: 1200px;
    margin: 48px auto 0;
    display: flex;
    align-items: flex-start;
    gap: 24px;

    /* animation: sestomper ease-in-out 1s; */
}

/* --- .composant-table --- */
.composant-table {
    position: relative;
    flex: 1 1 62%;
    min-width: 0;
    box-sizing: border-box;
    background: rgba(0,0,0,.25);
    border: 1px solid #c9973e40;
    padding: 24px;
}

.composant-table::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c9973e, transparent);
    pointer-events: none;
}

.composant-table .table-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.composant-table .table-toolbar .composant-lien-bouton {
    margin-top: 0;
    padding: 10px 18px;
    font-size: 11px;
}

.composant-table table {
    width: 100%;
    border-collapse: collapse;
}

.composant-table thead th {
    padding: 0 8px 12px;
    border-bottom: 1px solid #ffffff20;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
    white-space: nowrap;
}

.composant-table thead th:first-child {
    width: 32px;
}

.composant-table tbody td {
    padding: 16px 8px;
    border-bottom: 1px solid #ffffff12;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 400;
    color: #f1f1f1;
    vertical-align: middle;
    transition: background-color .2s ease;
}

.composant-table tbody tr:last-child td {
    border-bottom: none;
}

.composant-table tbody tr.item-row:hover td {
    background-color: #ffffff08;
}

.composant-table tbody tr.item-addon td {
    background-color: #c9973e0d;
    color: rgba(255,255,255,.65);
    font-size: 11px;
}

.composant-table .item-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.composant-table .item-thumb {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    padding: 8px;
    object-fit: contain;
    /* background: #0a0705; */
    background: transparent;
    /* border: 1px solid #c9973e40; */
    border: none;
}

.composant-table .remove-item-btn {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    border: 1px solid #ffffff30;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0.3)), #0a0705;
    color: rgba(255,255,255,.6);
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    line-height: 1;
    cursor: pointer;
    transition: .25s ease;
}

.composant-table .remove-item-btn:hover {
    border-color: #e65913;
    color: white;
    background: #e6591333;
}

.composant-table .qty-wrapper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #c9973e40;
}

.composant-table .qty-wrapper button {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    border: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0.3)), #0a0705;
    color: #e6b869;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
    transition: opacity .25s ease-in-out background-color .2s ease;
}

.composant-table .qty-wrapper button:hover {
    background: #c9973e26;
}

.composant-table .qty-wrapper button.max-reached {
    opacity: .3;
    cursor: not-allowed;
}

.composant-table .qty-wrapper input[type="number"] {
    width: 34px;
    min-height: 0;
    padding: 4px 0;
    border: none;
    border-left: 1px solid #c9973e40;
    border-right: 1px solid #c9973e40;
    border-radius: 0;
    background: transparent;
    color: white;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;

    -moz-appearance: textfield;
    appearance: textfield;
}

.composant-table .qty-wrapper input[type="number"]::-webkit-outer-spin-button,
.composant-table .qty-wrapper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.composant-table .article-prix {
    margin: 0;
    line-height: 1.6;
}

.composant-table .prix-précédent {
    opacity: .45;
    text-decoration: line-through;
    font-size: 11px;
}

.composant-table .prix-nouveau {
    color: #ffce6e;
    font-weight: 600;
}

.composant-table tbody td[colspan] {
    text-align: center;
    padding: 32px 8px;
    color: rgba(255,255,255,.4);
    font-style: italic;
}

/* --- .composant-resume (quote summary sidebar) --- */
.composant-resume {
    flex: 0 0 320px;
    box-sizing: border-box;
    position: sticky;
    top: 66px;
    display: flex;
    flex-direction: column;
    padding: 24px;
    background: rgba(0,0,0,.25);
    border: 1px solid #c9973e80;
}

.composant-resume .resume-duration {
    margin-top: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
}

.composant-resume .resume-duration span {
    color: #e6b869;
    font-weight: 600;
}

.composant-resume .resume-divider {
    height: 1px;
    margin: 20px 0;
    background: #ffffff20;
}

.composant-resume .resume-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: rgba(255,255,255,.65);
}

.composant-resume .resume-line span:last-child {
    color: white;
    font-weight: 500;
}

.composant-resume .resume-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px solid #ffffff20;
}

.composant-resume .resume-total span:first-child {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
}

.composant-resume .resume-total span:last-child {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    font-weight: 700;
    background: linear-gradient(to bottom, #fffef6 0%, #ffe8b3 12%, #efb149 28%, #fc9c00 52%, #cf7b00 72%, #8a4d00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.composant-resume .resume-cta {
    width: 100%;
    margin-top: 20px;
    padding: 14px;

    background: #ff9e00;
    border: none;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: .35s;
}

.composant-resume .resume-cta:hover {
    background: white;
    color: #e65913;
    filter: drop-shadow(0 0 20px rgba(255,158,0,.45));
}

.composant-resume .resume-discount {
    margin-top: 20px;
}

.composant-resume .resume-discount label {
    display: block;
    margin-bottom: 6px;
    color: rgba(255,255,255,.55);
    font-family: 'Poppins', sans-serif;
    font-size: 10.5px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.composant-resume .discount-code-input-group {
    display: flex;
    gap: 8px;
}

.composant-resume .discount-code-input-group input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
}

.composant-resume .discount-code-input-group button {
    flex: 0 0 auto;
    padding: 0 16px;
    border: 1px solid #c9973e80;
    background: transparent;
    color: #e6b869;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: .25s;
}

.composant-resume .discount-code-input-group button:hover {
    background: #c9973e1a;
    border-color: #c9973e;
}

.composant-resume #subtotal-discount-code:not(:empty) {
    display: block;
    margin-top: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: #ffce6e;
}

.composant-resume .resume-trust {
    margin: 24px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid #ffffff20;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.composant-resume .resume-trust li {
    position: relative;
    padding-left: 18px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 300;
    color: rgba(255,255,255,.6);
    line-height: 1.5;
}

.composant-resume .resume-trust li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffce6e, #e65913);
}

/* --- Production & contact details form --- */
form.rental-form.form-wide {
    width: 90%;
    max-width: 1200px;
    margin: 40px auto 0;
}

form.rental-form.form-wide > * + * {
    margin-top: 24px;
}

form.rental-form.form-wide .form-group:not(.checkbox-wrapper) > label {
    display: block;
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(255,255,255,.6);
}

form.rental-form.form-wide select {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 16px;
    min-height: 32px;

    background-color: rgba(0,0,0,.4);
    border: 1px solid #c9973e40;
    border-radius: 4px;
    color: white;

    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 500;
    transition: color .25s ease, background-color .25s ease, border .25s ease;
}

form.rental-form.form-wide select:hover {
    border-color: #c9973e;
}

form.rental-form.form-wide select:focus-visible {
    outline: none;
    border-color: #ff9e00;
    box-shadow: 0 0 0 3px rgba(255,158,0,.15);
}

/* The Type dropdown reuses the catalogue sort component (.custom-select);
   inside the form it stretches to the field width instead of the fixed
   210px/160px widths used in the catalogue toolbar. */
form.rental-form.form-wide .custom-select {
    width: 100%;
}

.form-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.form-column {
    flex: 1 1 320px;
    min-width: 0;
}

.form-divider {
    height: 1px;
    background: #ffffff20;
}

/* Segmented control (e.g. Pickup / Delivery) */
.segmented-control {
    display: flex;
    border: 1px solid #c9973e40;
}

.segmented-control input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.segmented-control label {
    flex: 1;
    margin: 0;
    padding: 10px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,.6);
    cursor: pointer;
    transition: .25s ease;
}

.segmented-control label:first-of-type {
    border-right: 1px solid #c9973e40;
}

.segmented-control input[type="radio"]:checked + label {
    background: #c9973e26;
    color: white;
}

/* --- "Add More Equipment" modal --- */
.composant-modal {
    position: fixed;
    inset: 0;
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    backdrop-filter: blur(4px);
    transition: opacity .3s ease;
}

.composant-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.composant-modal .modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.7);
}

.composant-modal .modal-panel {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 960px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 24px;
    background: linear-gradient(150deg, #17110a 0%, #100b08 45%, #0a0605 100%);
    border: 1px solid #c9973e80;
    transform: scale(.96);
    transition: transform .3s ease;
}

.composant-modal.is-open .modal-panel {
    transform: scale(1);
}

.composant-modal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ffffff20;
}

.composant-modal .modal-header h2 {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 20px;
    letter-spacing: 0.04em;
    background: linear-gradient(to bottom, #fffef6 0%, #ffe8b3 20%, #efb149 45%, #fc9c00 70%, #cf7b00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.composant-modal .modal-close {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0.3)), #0a0705;
    border: 1px solid #ffffff30;
    border-radius: 2px;
    cursor: pointer;
    transition: border-color .25s ease;
}

.composant-modal .modal-close img {
    width: 11px;
    height: 11px;
}

.composant-modal .modal-close:hover {
    border-color: #ff9e00;
}

.composant-modal .modal-search {
    margin-bottom: 20px;
}

.composant-modal .modal-search input {
    margin: 0;
}

.composant-modal .modal-results {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    align-content: start;
    padding-right: 4px;
}

.composant-modal .modal-results .search-status {
    grid-column: 1 / -1;
}

@media screen and (max-width: 900px) {
    .quote-layout {
        flex-direction: column;
    }

    .composant-resume {
        position: static;
        width: 100%;
        flex: 1 1 auto;
    }

    .form-columns {
        flex-direction: column;
        gap: 16px;
    }

    .composant-modal .modal-panel {
        max-height: 88vh;
        padding: 16px;
    }

    .composant-modal .modal-results {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

/* --- Address field autocomplete (OpenStreetMap/Photon suggestions dropdown) --- */
.address-autocomplete {
    position: relative;
}

.address-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    display: none;
    flex-direction: column;
    max-height: 220px;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    list-style: none;
    background-color: #100b0a;
    border: 1px solid #c9973e40;
    border-top: none;
}

.address-suggestions.open {
    display: flex;
}

.address-suggestions li {
    padding: 10px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: white;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}

.address-suggestions li:hover,
.address-suggestions li.active {
    background-color: #c9973e1a;
    color: #ff9e00;
}

/* Override the site-wide "dim siblings on list hover" rule (ul:hover > li) —
   this dropdown should behave like .custom-options: only the hovered row changes. */
.address-suggestions:hover > li {
    opacity: 1;
}

/* --- Inline field validation messaging (phone / email), matches .admin-form-error --- */
.rental-form-error {
    display: block;
    min-height: 14px;
    margin-top: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: #ff9e6e;
}

.rental-form-error:empty {
    margin-top: 0;
}

form.rental-form input.is-invalid {
    border-color: #ff9e6e;
}

/* ============================================================
   SEARCH PAGE COMPONENTS (Kastle Rentals 2.0) — pending review
   Built for /search.html: hero search bar (#search-hero),
   results toolbar + sort dropdown (.custom-select), the filter
   drawer (#rental-filters), and the results grid (.article-wrapper).
   Shared by any page reusing the same filter/sort/grid markup.
   ============================================================ */

/* --- Hero search bar --- */
#search-hero {
    display: flex;
    align-items: center;
    width: 92%;
    max-width: 560px;
    margin: 8px auto 48px;
    /* animation: sestomper ease-in-out 1.6s; */
}

#search-hero #search-page-input {
    flex: 1;
    min-width: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 14px 20px;
    min-height: 0;
    background-color: rgba(0,0,0,.4);
    border: 1px solid #c9973e40;
    border-right: none;
    border-radius: 999px 0 0 999px;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
}

#search-hero #search-page-input:hover {
    border-color: #c9973e;
}

#search-hero #search-page-input:focus-visible {
    outline: none;
    border-color: #ff9e00;
    background-color: rgba(0,0,0,.55);
    box-shadow: none;
}

#search-hero #search-page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    padding: 0;
    background: linear-gradient(135deg, #f0bd63 0%, #c9973e 48%, #8f5f17 100%);
    border: 1px solid #c9973e;
    border-radius: 0 999px 999px 0;
    cursor: pointer;
    transition: filter .25s ease;
}

#search-hero #search-page-btn img {
    width: 18px;
    height: 18px;
}

#search-hero #search-page-btn:hover,
#search-hero #search-page-btn:focus-visible {
    outline: none;
    filter: brightness(1.15);
}

/* --- Results toolbar --- */
#shoppe {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
}

#shoppe-len-tête {
    margin-bottom: 12px;
}

#shoppe-texte {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

#shoppe-texte > section {
    margin-right: auto;
}

#shoppe-texte h2,
.filters-inner h2 {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #f3eee3;
}

#shoppe .diviseur {
    padding: 0;
    margin: 16px 0 24px;
}

.diviseur > hr {
    border: none;
    height: 1px;
    background-color: white;
    opacity: .2;
}

/* --- Custom sort dropdown --- */
.sort-container {
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

.custom-select {
    position: relative;
    width: 210px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    color: white;
    cursor: pointer;
}

.custom-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background-color: rgba(0,0,0,.4);
    border: 1px solid #c9973e40;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: border-color .25s ease;
}

.custom-select-trigger::after {
    content: '';
    flex: 0 0 auto;
    width: 7px;
    height: 7px;
    border-right: 1.5px solid #e6b869;
    border-bottom: 1.5px solid #e6b869;
    /* translateY is a constant visual nudge (not toggled) so only the
       rotation animates — a toggled margin here previously shifted the
       flex row's layout and made the whole trigger jump on open/close. */
    transform: translateY(-2px) rotate(45deg);
    transition: transform .25s ease;
}

.custom-select:hover .custom-select-trigger {
    border-color: #c9973e;
}

.custom-select.open .custom-select-trigger {
    border-color: #ff9e00;
}

.custom-select.open .custom-select-trigger::after {
    transform: translateY(1px) rotate(225deg);
}

.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    display: none;
    flex-direction: column;
    max-height: 220px;
    overflow-y: auto;
    background-color: #100b0a;
    border: 1px solid #c9973e40;
    border-top: none;
}

.custom-select.open .custom-options {
    display: flex;
}

.custom-option {
    padding: 10px 14px;
    transition: background-color .15s ease, color .15s ease;
}

.custom-option:hover,
.custom-option.selected {
    background-color: #c9973e1a;
    color: #ff9e00;
}

/* --- Mobile filter toggle / drawer chrome --- */
#open-filters-btn {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    background-color: rgba(0,0,0,.4);
    border: 1px solid #c9973e40;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .04em;
    cursor: pointer;
    transition: border-color .25s ease, color .25s ease;
}

#open-filters-btn:hover,
#open-filters-btn:focus-visible {
    outline: none;
    border-color: #c9973e;
    color: #ff9e00;
}

#close-filters-btn {
    display: none;
    position: absolute;
    top: 16px;
    right: 16px;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: none;
    border: 1px solid #ffffff30;
    border-radius: 50%;
    color: white;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}

#filters-overlay {
    display: none;
}

/* --- Filter panel + results layout --- */
#barre-avec-filtre {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

#rental-filters {
    flex: 0 0 280px;
    width: 280px;
    box-sizing: border-box;
    position: sticky;
    top: 66px;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    padding: 24px;
    background: rgba(0,0,0,.25);
    border: 1px solid #c9973e40;
}

#rental-filters::-webkit-scrollbar-thumb {
    background-color: #c9973e;
}

.filters-inner {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.filter-section h3 {
    margin: 0 0 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #e6b869;
}

.filter-section label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: rgba(255,255,255,.75);
    cursor: pointer;
}

.filter-section input[type="checkbox"] {
    width: 14px;
    height: 14px;
    accent-color: #ff9e00;
    cursor: pointer;
}

.filter-section input[type="range"] {
    width: 100%;
    margin: 8px 0;
    accent-color: #ff9e00;
}

.range-values {
    display: flex;
    justify-content: space-between;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: rgba(255,255,255,.5);
}

.filter-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #ffffff20;
}

.filter-footer button#apply-filters {
    padding: 12px;
    background: #ff9e00;
    border: none;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease;
}

.filter-footer button#apply-filters:hover {
    background: white;
    color: #e65913;
}

.filter-footer button.reset-btn {
    padding: 12px;
    background: transparent;
    border: 1px solid #c9973e80;
    color: #e6b869;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: border-color .25s ease, background-color .25s ease;
}

.filter-footer button.reset-btn:hover {
    background: #c9973e1a;
    border-color: #c9973e;
}

/* --- Results grid --- */
.catalogue {
    flex: 1;
    min-width: 0;
}

.catalogue #articles {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.hidden-item {
    opacity: 0;
    transform: scale(.98);
    pointer-events: none;
    position: absolute;
}

.article-wrapper {
    height: fit-content;
    padding: 0;
}

.article-wrapper .article {
    position: relative;
    display: flex;
    flex-direction: column;
    aspect-ratio: 1 / 1;
    border: 1px solid #ffffff20;
    transition: border-color .25s ease;
}

.article-wrapper:hover .article {
    border-color: #c9973e;
}

.article-wrapper .article-boite {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0A0A0A8b;
    overflow: hidden;
}

.article-wrapper .article-boite::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, #ffffff14, transparent 70%);
    pointer-events: none;
    opacity: 66%;
}

.article-wrapper .article-boite img {
    position: relative;
    max-width: 82%;
    max-height: 82%;
    object-fit: contain;
    filter: brightness(.9);
    transition: filter .3s ease, transform .3s ease;
    z-index: 3;
}

.article-wrapper:hover .article-boite img {
    filter: brightness(1);
    transform: scale(1.05);
}

.article-wrapper .article-boite-texte {
    position: relative;
    flex: 0 0 auto;
    padding: 10px 12px;
    text-align: center;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(2px);
}

.article-wrapper .article-boite-texte::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c9973e, transparent);
}

.article-wrapper .article-boite-texte h2 {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: none;
    line-height: 1.3;
    color: white;
    background: none;
    -webkit-text-fill-color: white;
}

.article-boite-information {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin: 10px 0 0;
}

.article-prix-wrapper {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.3);
    border: 1px solid #c9973e40;
    margin: 0;
    padding: 10px 8px;
    text-align: center;
    max-height: 20px;
}

.article-prix {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 11.5px;
    font-weight: 400;
    color: rgba(255,255,255,.75);
}

.article-indisponible {
    color: #e6b869;
    font-weight: 500;
}

.article-bouton-ajouter-wrapper {
    display: flex;
    align-items: stretch;
    flex: 0 0 auto;
    width: auto;
    margin: 0;
    justify-content: flex-end;
    gap: 6px;
}

.article-bouton-ajouter,
.bouton-moins-du-carte,
.bouton-plus-du-carte,
.cart-qty-indicator {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    /* height: 100%; */
    height: 40px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background: transparent;
    border: 1px solid #c9973e80;
    border-radius: 0;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
}

.bouton-moins-du-carte,
.bouton-plus-du-carte {
    width: 32px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 1;
    color: #e6b869;
    cursor: pointer;
}

.cart-qty-indicator {
    width: 32px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: rgba(255,255,255,.9);
}

.article-bouton-ajouter {
    width: 40px;
    cursor: pointer;
}

.article-bouton-ajouter img {
    display: block;
    margin-top: -1px;
    width: 14px;
    height: 14px;
    filter: none;
}

.article-bouton-ajouter:hover,
.article-bouton-ajouter:focus-visible,
.bouton-moins-du-carte:hover,
.bouton-moins-du-carte:focus-visible,
.bouton-plus-du-carte:hover,
.bouton-plus-du-carte:focus-visible {
    outline: none;
    background: #ff9e00;
    border-color: #ff9e00;
    color: #141414;
}

.bouton-plus-du-carte, .article-bouton-ajouter {
    transition: .25s ease-in-out;
}

.article-bouton-ajouter.max-reached,
.bouton-plus-du-carte.max-reached {
    opacity: .4;
    pointer-events: none;
}

/* --- Search status messages (no query / no results / error) --- */
.search-status {
    grid-column: 1 / -1;
    width: 100%;
    /* padding: 64px 16px; */
    padding: 0;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: .02em;
    color: rgba(255,255,255,.45);
}

.search-status strong {
    color: #e6b869;
    font-weight: 600;
}

body.no-scroll {
    overflow: hidden;
}

/* --- Responsive --- */
@media screen and (max-width: 1024px) {
    #open-filters-btn {
        display: flex;
    }

    #close-filters-btn {
        display: flex;
    }

    #rental-filters {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 200;
        width: 85vw;
        max-width: 340px;
        height: 100vh;
        max-height: 100vh;
        margin: 0;
        transform: translateX(-100%);
        transition: transform .3s ease;
        border-top: none;
        border-bottom: none;
        border-left: none;
    }

    #rental-filters.active {
        transform: translateX(0);
    }

    #filters-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 150;
        background: rgba(0,0,0,.6);
        backdrop-filter: blur(4px);
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s ease;
    }

    #filters-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }
}

@media screen and (max-width: 600px) {
    #shoppe-texte {
        justify-content: space-between;
    }

    .custom-select {
        width: 160px;
    }

    .catalogue #articles {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }
}

/* ============================================================
   FEEDBACK PAGE COMPONENTS (Kastle Rentals 2.0) — pending review
   Built for /feedback.html: reuses form.composant-form (as seen
   on /bts.html) plus the shared .form-title, .form-divider, and
   .form-column-label helpers from the quote-new components above.
   Adds a small intro paragraph helper and a star-rating variant
   of .segmented-control rather than a bespoke rating widget.
   ============================================================ */

#page-feedback #droite {
    text-align: left;
}

#page-feedback form.composant-form {
    margin: 0 auto;
}

#page-feedback .composant-note {
    width: 100%;
    max-width: none;
    margin: 32px auto 0;
}

/* --- Star rating (segmented-control variant) --- */
.segmented-control.rating-scale label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 8px;
}

.segmented-control.rating-scale label:hover {
    background-color: #c9973e1b;
}

.segmented-control.rating-scale label:not(:last-child) {
    border-right: 1px solid #c9973e40;
}

.segmented-control.rating-scale .rating-star-icons {
    font-size: 14px;
    letter-spacing: 2px;
    color: #c9973e80;
    transition: color .25s ease;
}

.segmented-control.rating-scale input:checked + label .rating-star-icons {
    color: #ffce6e;
}

.segmented-control.rating-scale small {
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@media screen and (max-width: 560px) {
    .segmented-control.rating-scale label {
        padding: 10px 4px;
    }

    .segmented-control.rating-scale .rating-star-icons {
        font-size: 12px;
        letter-spacing: 1px;
    }

    .segmented-control.rating-scale small {
        font-size: 9px;
    }
}



.info-cards {
    width: 100%;
    max-width: 640px;
    margin: 32px auto 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* ============================================================
   CATALOGUE PAGE COMPONENTS (Kastle Rentals 2.0) — pending review
   Built for /catalogue.html: the department overview grid
   (.department-grid / .department-card, a new image-forward card
   sized in the spirit of .catalogue #articles / .article-wrapper)
   and a "talk to a specialist" callout bar (.catalogue-cta-bar)
   styled after the existing .info-card panel + solid gold CTA
   button (form button[type="submit"]) patterns.
   ============================================================ */

#page-catalogue .departments-wrap,
#page-index .departments-wrap {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
}

#page-catalogue .departments-intro h2,
#page-index .departments-intro h2 {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #f3eee3;
}

#page-catalogue .departments-intro p,
#page-index .departments-intro p {
    margin: 6px 0 0;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 300;
    color: rgba(255,255,255,.55);
}

#page-catalogue .departments-wrap .diviseur,
#page-index .departments-wrap .diviseur {
    padding: 0;
    margin: 16px 0 24px;
}

.department-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}

.department-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #ffffff20;
    text-decoration: none;
    transition: border-color .25s ease;
}

.department-card:hover,
.department-card:focus-visible {
    outline: none;
    border-color: #c9973e;
}

.department-card-image {
    position: relative;
    aspect-ratio: 16 / 11;
    overflow: hidden;
    background: #0A0A0A8b;
}

.department-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.72);
    transition: filter .3s ease, transform .3s ease;
}

.department-card:hover .department-card-image img {
    filter: brightness(.9);
    transform: scale(1.05);
}

.department-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.55) 100%);
    pointer-events: none;
}

/* Cutout product renders (same images as the index "Browse by"
   articles) — transparent PNGs need contain + breathing room,
   and drop-shadow instead of a cover crop */
.department-card-image--product img {
    object-fit: contain;
    padding: 20px;
    box-sizing: border-box;
    filter: brightness(.82) drop-shadow(0 12px 18px rgba(0,0,0,.5));
}

.department-card:hover .department-card-image--product img {
    filter: brightness(1) drop-shadow(0 12px 18px rgba(0,0,0,.5));
}

.department-card-image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(0,0,0,.4));
}

.department-card-image--placeholder svg {
    width: 32px;
    height: 32px;
    stroke: #c9973e80;
    fill: none;
    stroke-width: 1.2;
}

.department-card-info {
    position: relative;
    flex: 0 0 auto;
    padding: 14px 16px;
    text-align: left;
    background: rgba(0,0,0,.35);
    backdrop-filter: blur(2px);
}

.department-card-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #c9973e, transparent);
}

.department-card-info h3 {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #e6b869;
}

.department-card-info p {
    margin: 4px 0 0;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 300;
    letter-spacing: .03em;
    color: rgba(255,255,255,.5);
}

.department-card.is-soon {
    cursor: default;
}

.department-card.is-soon:hover {
    border-color: #ffffff20;
}

.department-card.is-soon .department-card-info h3 {
    color: rgba(230,184,105,.55);
}

.department-card.is-soon .department-card-info p {
    color: #c9973e;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 10px;
}

/* --- "Talk to a specialist" callout bar --- */
.catalogue-cta-bar {
    position: relative;
    width: 92%;
    max-width: 1400px;
    margin: 48px auto 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 32px;
    background: rgba(0,0,0,.25);
    border: 1px solid #c9973e40;
}

.catalogue-cta-bar::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9973e, transparent);
    pointer-events: none;
}

.catalogue-cta-bar-text {
    display: flex;
    align-items: center;
    gap: 16px;
}

.catalogue-cta-bar .cta-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    box-sizing: content-box;
    padding: 13px;
    border-radius: 50%;
    border: 1px solid #c9973e59;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.35));
    stroke: #ffce6e;
    fill: none;
    stroke-width: 1.5;
}

.catalogue-cta-bar .cta-title {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #f3eee3;
}

.catalogue-cta-bar .cta-subtitle {
    margin: 2px 0 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: rgba(255,255,255,.55);
}

.catalogue-cta-bar .cta-button-solid {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: #ff9e00;
    border: none;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: .5s;
}

.catalogue-cta-bar .cta-button-solid:hover,
.catalogue-cta-bar .cta-button-solid:focus-visible {
    outline: none;
    background: white;
    color: #e65913;
    filter: drop-shadow(0 0 20px rgba(255,158,0,.45));
}

@media screen and (max-width: 768px) {
    .catalogue-cta-bar {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalogue-cta-bar .cta-button-solid,
    .catalogue-cta-bar .composant-lien-bouton {
        width: 100%;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 600px) {
    .department-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }

    .department-card-info {
        padding: 10px 12px;
    }
}

/* ============================================================
   PRODUCT PAGE COMPONENTS (Kastle Rentals 2.0) — pending review
   Built for /product/*.html (first: blackmagic-pocket-cinema-
   6k-g2.html). Reuses .composant-resume (+ .resume-cta,
   .resume-trust, .resume-line) for the rental panel,
   .catalogue-cta-bar for the contact callout, and the 2.0
   .article-wrapper cards inside the add-ons Splide carousel.
   New here: the full-width header (.produit-entête), the
   layout + gallery frame (.produit-*), the compact rental-kit
   sidebar, the tabbed overview panel (.aperçu-tabs), and the trust strip
   (.produit-bande-confiance).
   ============================================================ */

/* --- Layout: gallery left, rental panel right --- */
#page-produit #content {
    width: 92%;
    max-width: 1400px;
    margin: 24px auto 0;
}

.produit-layout {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

/* Left column shrink-wraps the square gallery frame; the
   rental panel fills the remaining width (original layout) */
.produit-gauche {
    flex: 0 0 auto;
    min-width: 0;
}

/* --- Full-width header: breadcrumb + title above the layout --- */
.produit-entête {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 28px;
    padding-bottom: 22px;
    border-bottom: 1px solid #ffffff20;
}

.produit-breadcrumb {
    margin: 0 0 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #e6b869;
}

.produit-breadcrumb a {
    color: #e6b869;
}

.produit-breadcrumb a:hover,
.produit-breadcrumb a:focus-visible {
    color: #ffce6e;
    outline: none;
}

.produit-breadcrumb .breadcrumb-sep {
    margin: 0 6px;
    color: #c9973e80;
}

.produit-breadcrumb > span:last-child {
    color: rgba(255,255,255,.45);
}

.produit-titre {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: clamp(26px, 3.4vw, 40px);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: .02em;
    text-transform: uppercase;

    background: linear-gradient(to bottom, #fffef6 0%, #ffe8b3 20%, #efb149 45%, #fc9c00 70%, #cf7b00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.produit-sous-titre {
    margin: 12px 0 0;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255,255,255,.7);
    max-width: 480px;
}

/* --- Gallery frame (wraps the existing #gallery Splide) ---
   Slide sizing mirrors the original style-rentals.css
   .produit-img-wrapper: Splide mounts with autoWidth, so each
   slide needs a definite pixel width (percentages collapse). */
.produit-galerie {
    position: relative;
    /* Definite width (600px slide + 16px padding + 1px border
       each side) so the shrink-wrapped column and the autoWidth
       Splide don't resolve to the track's max-content width */
    width: 634px;
    max-width: 100%;
    /* border: 1px solid #ffffff20; */
    border: 1px solid #c9973e80;
    background: #0A0A0A8b;
    padding: 16px;
    box-sizing: border-box;
}

.produit-galerie::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, #ffffff14, transparent 70%);
    pointer-events: none;
    opacity: 66%;
}

.produit-galerie #gallery {
    padding: 0;
}

.produit-galerie .produit-img-wrapper {
    width: 600px;
    height: 600px;
    max-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: clip;
}

.produit-galerie .produit-img-wrapper a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.produit-galerie .produit-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(.95);
    transition: filter .3s ease;
}

.produit-galerie .produit-img-wrapper:hover img {
    filter: brightness(1);
}

.produit-galerie .splide__pagination__page {
    background: #ffffff40;
}

.produit-galerie .splide__pagination__page.is-active {
    background: #ff9e00;
    transform: scale(1.2);
}

.produit-galerie .splide__arrow {
    z-index: 2;
    width: 38px;
    height: 38px;
    border: 1px solid #c9973e80;
    border-radius: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(0,0,0,.5)), #100b08;
    box-shadow: 0 6px 18px rgba(0,0,0,.35);
    opacity: .9;
    transition: border-color .25s ease, background-color .25s ease, opacity .25s ease, transform .25s ease;
}

.produit-galerie .splide__arrow:hover,
.produit-galerie .splide__arrow:focus-visible {
    border-color: #ffce6e;
    background-color: #c9973e33;
    opacity: 1;
}

.produit-galerie .splide__arrow:focus-visible {
    outline: 2px solid #ffce6e;
    outline-offset: 3px;
}

.produit-galerie .splide__arrow svg {
    width: 14px;
    height: 14px;
    fill: #ffce6e;
}

.produit-galerie .splide__arrow--prev {
    left: 18px;
}

.produit-galerie .splide__arrow--next {
    right: 18px;
}

/* --- Rental panel (reuses .composant-resume) --- */
.produit-resume {
    flex: 1 1 auto;
    min-width: 0;
    height: 634px;
    max-height: 634px;
    padding: 20px;
    overflow: hidden;
}

.produit-resume .resume-statut {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.produit-resume .statut-stock {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #7fce8e;
}

.produit-resume .statut-point {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3ec26b;
    box-shadow: 0 0 8px rgba(62,194,107,.7);
}

.produit-resume .statut-id {
    color: rgba(255,255,255,.4);
    letter-spacing: .08em;
}

.produit-resume .resume-field-label {
    margin: 0 0 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #e6b869;
}

/* Quantity stepper (mirrors .composant-table .qty-wrapper).
   align-self stops the column-flex panel from stretching it
   to full width (align-items: stretch ignores inline-flex). */
.produit-resume .qty-wrapper {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    width: fit-content;
    border: 1px solid #c9973e40;
    margin-bottom: 0;
}

.produit-resume .qty-wrapper button {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    border: none;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0.3)), #0a0705;
    color: #e6b869;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: background-color .2s ease;
}

.produit-resume .qty-wrapper button:hover {
    background: #c9973e26;
}

.produit-resume .qty-wrapper button.max-reached {
    opacity: .3;
    cursor: not-allowed;
}

.produit-resume .qty-wrapper input[type="number"] {
    width: 48px;
    min-height: 0;
    padding: 6px 0;
    border: none;
    border-left: 1px solid #c9973e40;
    border-right: 1px solid #c9973e40;
    border-radius: 0;
    background: transparent;
    color: white;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;

    -moz-appearance: textfield;
    appearance: textfield;
}

.produit-resume .qty-wrapper input[type="number"]::-webkit-outer-spin-button,
.produit-resume .qty-wrapper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Day / week price box. Each cell mirrors the quote sidebar's
   .resume-total pattern: small uppercase label over a large
   Cinzel gradient amount; the weekly cell adds a "Best value"
   chip + savings note (catalogue-style discount accent). */
.produit-resume .produit-prix {
    display: flex;
    margin-top: auto;
    margin-bottom: 0;
    border: 1px solid #c9973e40;
    background: linear-gradient(180deg, rgba(201,151,62,.12), rgba(0,0,0,.2));
}

.produit-resume .prix-cellule {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 14px;
}

.produit-resume .prix-cellule + .prix-cellule {
    border-left: 1px solid #c9973e40;
}

.produit-resume .prix-libellé {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
}

.produit-resume .prix-badge {
    padding: 1px 6px;
    border: 1px solid #c9973e80;
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: .12em;
    color: #ffce6e;
    background: #c9973e1a;
    white-space: nowrap;
}

.produit-resume .prix-valeur {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.produit-resume .prix-note {
    font-family: 'Poppins', sans-serif;
    font-size: 9px;
    font-weight: 300;
    font-style: italic;
    color: #e6b869;
}

.produit-resume .prix-montant {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    background: linear-gradient(to bottom, #fffef6 0%, #ffe8b3 12%, #efb149 28%, #fc9c00 52%, #cf7b00 72%, #8a4d00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.produit-resume .prix-unité {
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
}

/* Add-to-quote row (JS inserts .bouton-supprimer-du-carte here) */
.produit-resume .produit-bouton-ajouter-wrapper {
    display: flex;
    align-items: stretch;
    gap: 8px;
    min-width: 0;
    height: 36px;
    margin-top: 0;
}

.produit-resume .produit-bouton-ajouter.resume-cta {
    flex: 1;
    min-width: 0;
    padding: 9px 12px;
    margin-top: 0;
}

.produit-resume .produit-bouton-ajouter.max-reached {
    opacity: .45;
    pointer-events: none;
}

.produit-resume .bouton-supprimer-du-carte {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 46px;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background: transparent;
    border: 1px solid #c9973e80;
    cursor: pointer;
    transition: border-color .25s ease, background-color .25s ease;
}

.produit-resume .bouton-supprimer-du-carte:hover {
    border-color: #e65913;
    background: #e6591333;
}

.produit-resume .bouton-supprimer-du-carte img {
    width: 12px;
    height: 12px;
}

/* Keep the conversion controls together in one compact row. */
.produit-resume .resume-actions {
    display: grid;
    grid-template-columns: auto minmax(150px, 1fr);
    align-items: end;
    gap: 12px;
    margin-top: 12px;
}

.produit-resume .resume-quantity {
    min-width: 0;
}

/* --- Trust strip --- */
.produit-bande-confiance {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
    padding: 28px 8px;
    border-top: 1px solid #ffffff20;
    border-bottom: 1px solid #ffffff12;
}

.confiance-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.confiance-icône img {
    display: block;
    width: 18px;
    height: 18px;
    box-sizing: content-box;
    padding: 10px;
    border-radius: 50%;
    border: 1px solid #c9973e59;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.35));
    filter: brightness(0) saturate(100%) invert(39%) sepia(98%) saturate(2182%) hue-rotate(352deg) brightness(93%) contrast(92%);
}

.confiance-item h3 {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #e6b869;
}

.confiance-item p {
    margin: 4px 0 0;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255,255,255,.55);
}

/* "Need help building a package?" mini-bar */
.produit-aide {
    padding: 18px 8px;
    border-bottom: 1px solid #ffffff12;
    text-align: center;
    display: none;
}

.produit-aide p {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255,255,255,.6);
}

.produit-aide a {
    margin-left: 8px;
    color: #e6b869;
    font-weight: 600;
}

.produit-aide a:hover,
.produit-aide a:focus-visible {
    color: #ffce6e;
}

/* --- Section heading (crown + gold Cinzel), shared by kit + add-ons --- */
.produit-section-entête {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 56px 0 28px;
    text-align: center;
}

.produit-section-entête .diviseur-kr {
    margin-bottom: -8px;
}

.produit-section-entête .diviseur-kr img {
    height: 24px;
}

.produit-section-entête h2 {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;

    background: linear-gradient(to bottom, #fffef6 0%, #ffe8b3 20%, #efb149 45%, #fc9c00 70%, #cf7b00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.produit-section-entête .entête-sous-titre {
    margin: -6px 0 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: rgba(255,255,255,.55);
}

/* --- Rental-kit list: compact, direct, and easy to scan --- */
.resume-kit h2 {
    margin: 0 0 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .1em;
    line-height: 1.3;
    text-transform: uppercase;
    color: #f3eee3;
}

.resume-kit ul {
    margin: 0;
    padding-left: 19px;
    list-style: disc;
}

.resume-kit li {
    margin: 0 0 4px;
    padding-left: 3px;
    font-family: 'Poppins', sans-serif;
    font-size: 11.2px;
    font-weight: 300;
    line-height: 1.45;
    color: rgba(255,255,255,.78);
}

.resume-kit li:last-child {
    margin-bottom: 0;
}

.resume-kit li::marker {
    color: #e6b869;
    font-size: .8em;
}

/* --- Overview panel (text + feature grid) --- */
.produit-aperçu {
    position: relative;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    box-sizing: border-box;
    padding: 32px 40px;
    background: rgba(0,0,0,.25);
    border: 1px solid #c9973e40;
}

.produit-aperçu::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9973e, transparent);
    pointer-events: none;
}

/* Specs and practices live with About, leaving the hero focused
   on kit contents and the quote action. */
.aperçu-tabs {
    position: relative;
    background: rgba(0,0,0,.25);
    border: 1px solid #c9973e40;
}

.aperçu-tabs::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9973e, transparent);
    pointer-events: none;
}

.aperçu-tabs .tab-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.aperçu-tabs .tabs-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0 40px;
    border-bottom: 1px solid #ffffff20;
}

.aperçu-tabs .tabs-nav label {
    padding: 15px 18px 13px;
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    white-space: nowrap;
    color: rgba(255,255,255,.45);
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    transition: color .25s ease, border-color .25s ease;
}

.aperçu-tabs .tabs-nav label:hover,
.aperçu-tabs .tabs-nav label:focus-visible {
    color: #ffce6e;
}

#otab-about:checked ~ .tabs-nav label[for="otab-about"],
#otab-specs:checked ~ .tabs-nav label[for="otab-specs"],
#otab-pratiques:checked ~ .tabs-nav label[for="otab-pratiques"] {
    color: #ff9e00;
    border-bottom-color: #ff9e00;
}

.aperçu-tabs > .tab-panel {
    display: none;
}

#otab-about:checked ~ #opanel-about,
#otab-specs:checked ~ #opanel-specs,
#otab-pratiques:checked ~ #opanel-pratiques {
    display: block;
}

.aperçu-tabs .produit-aperçu {
    border: 0;
    background: transparent;
}

.aperçu-tabs .produit-aperçu::before {
    content: none;
}

.aperçu-tabs .aperçu-details {
    box-sizing: border-box;
    padding: 28px 40px 32px;
}

.aperçu-tabs .aperçu-pratiques ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 40px;
    margin: 0;
    padding-left: 20px;
}

.aperçu-tabs .aperçu-pratiques li {
    padding-left: 3px;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255,255,255,.7);
}

.aperçu-tabs .aperçu-pratiques li::marker {
    color: #e6b869;
}

.produit-aperçu .panel-texte {
    flex: 1 1 46%;
    min-width: 0;
}

.produit-aperçu .panel-texte p {
    margin: 0 0 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,.7);
}

.produit-aperçu .panel-texte p:last-child {
    margin-bottom: 0;
}

.produit-aperçu .panel-texte b {
    font-weight: 600;
    color: #e6b869;
}

.produit-aperçu .panel-features {
    flex: 1 1 54%;
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 32px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

/* Single shared icon (ATOUTS svg), tinted gold from white */
.feature-icône img {
    display: block;
    width: 14px;
    height: 14px;
    box-sizing: content-box;
    padding: 8px;
    border: 1px solid #c9973e59;
    border-radius: 2px;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.35));
    filter: sepia(1) saturate(3.5) hue-rotate(-8deg);
}

.feature-item h4 {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #f3eee3;
}

.feature-item p {
    margin: 3px 0 0;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 300;
    color: rgba(255,255,255,.5);
}

/* Specs list (used inside the sidebar accordion) */
.specs-liste {
    margin: 0;
    width: 100%;
}

.specs-ligne {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 24px;
    padding: 11px 0;
    border-bottom: 1px solid #ffffff12;
}

.specs-ligne:last-child {
    border-bottom: none;
}

.specs-ligne dt {
    flex: 0 0 auto;
    font-family: 'Poppins', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
}

.specs-ligne dd {
    margin: 0;
    text-align: right;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 400;
    color: #f1f1f1;
}

/* --- Add-ons carousel (2.0 article cards inside Splide) --- */
.addons-shoppe {
    position: relative;
}

.addons-shoppe #shoppe-len-tête {
    position: relative;
}

.addons-shoppe #shoppe-flèches {
    position: absolute;
    right: 0;
    bottom: 4px;
    display: flex;
    gap: 8px;
}

.addons-shoppe #shoppe-flèches button {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0.3)), #0a0705;
    border: 1px solid #c9973e80;
    cursor: pointer;
    transition: border-color .25s ease, background-color .25s ease;
}

.addons-shoppe #shoppe-flèches button:hover,
.addons-shoppe #shoppe-flèches button:focus-visible {
    outline: none;
    border-color: #ff9e00;
    background: #c9973e26;
}

.addons-shoppe #shoppe-flèches button img {
    width: 14px;
    height: 14px;
}

/* Splide calculates fluid slide widths inside its actual track;
   the card fills that width and keeps a consistent desktop height. */
.addons-shoppe #articles .article-wrapper {
    min-width: 0;
    box-sizing: border-box;
}

.addons-shoppe #articles .article {
    width: 100%;
    height: 256px;
    aspect-ratio: auto;
}

.addons-shoppe #addons-splide {
    padding-bottom: 32px;
}

.addons-shoppe .article-prix .prix-précédent {
    opacity: .45;
    text-decoration: line-through;
    font-size: 10.5px;
}

.addons-shoppe .article-prix .prix-nouveau {
    color: #ffce6e;
    font-weight: 600;
}

.addons-shoppe .splide__pagination__page {
    background: #ffffff40;
}

.addons-shoppe .splide__pagination__page.is-active {
    background: #ff9e00;
    transform: scale(1.2);
}

.addons-shoppe .addons-note {
    margin: 16px 0 0;
    font-family: 'Poppins', sans-serif;
    font-size: 10.5px;
    font-weight: 300;
    font-style: italic;
    color: rgba(255,255,255,.4);
}

/* --- Contact CTA bar (reuses .catalogue-cta-bar) --- */
.produit-cta-bar {
    width: 90%;
    margin: 56px auto 64px;
}

/* Outline button inside the flex bar: strip its default
   top margin so it centers against the bar text */
.produit-cta-bar .composant-lien-bouton {
    margin: 0;
    align-self: auto;
}

/* --- Responsive --- */
@media screen and (max-width: 1180px) {
    .produit-layout {
        flex-direction: column;
    }

    .produit-resume {
        position: static;
        width: 100%;
        height: auto;
        max-height: none;
        flex: 1 1 auto;
        box-sizing: border-box;
        overflow: visible;
    }

    .produit-gauche {
        width: 100%;
    }

    /* Stacked layout: the gallery frame spans the full content
       width and slides drop the desktop square for a wider 4:3
       frame. Splide's autoWidth still needs a definite slide
       width, so size it off the viewport like the add-on cards
       (92vw content, ~15px scrollbar allowance) minus the
       frame's 16px padding + 1px border each side. */
    .produit-galerie {
        width: 100%;
        margin: 0 auto;
    }

    .produit-galerie .produit-img-wrapper {
        width: calc(92vw - 15px - 34px);
        height: auto;
        max-height: none;
        aspect-ratio: 4 / 3;
    }

    .produit-bande-confiance {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .produit-bande-confiance {
        grid-template-columns: 1fr;
    }

    .produit-aperçu {
        flex-direction: column;
        padding: 24px 20px;
    }

    .produit-aperçu .panel-features {
        grid-template-columns: 1fr;
    }

    .aperçu-tabs .tabs-nav {
        padding: 0;
    }

    .aperçu-tabs .tabs-nav label {
        flex: 1 1 33.333%;
        padding: 13px 6px 11px;
        letter-spacing: .08em;
    }

    .aperçu-tabs .aperçu-details {
        padding: 24px 20px;
    }

    .aperçu-tabs .aperçu-pratiques ul {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .specs-ligne {
        flex-direction: column;
        gap: 2px;
    }

    .specs-ligne dd {
        text-align: left;
    }

    .addons-shoppe #shoppe-flèches {
        position: static;
        justify-content: center;
        margin-top: 4px;
    }

    .addons-shoppe #articles .article {
        width: 100%;
        height: 220px;
    }
}

@media screen and (max-width: 430px) {
    .produit-resume .resume-actions {
        grid-template-columns: 1fr;
    }

    .produit-resume .produit-prix {
        flex-direction: column;
    }

    .produit-resume .prix-cellule + .prix-cellule {
        border-left: none;
        border-top: 1px solid #c9973e40;
    }
}

/* ============================================================
   LEGAL PAGE COMPONENTS (Kastle Rentals 2.0) — pending review
   Built for /terms.html and /privacy-policy.html: a sticky
   table-of-contents panel (.legal-toc) with jump links beside
   the numbered clause column (.legal-body / .legal-section).
   Reuses the shared #hero header and the .catalogue-cta-bar
   contact callout; the gold top-edge gradient and panel
   treatment mirror .catalogue-cta-bar / .produit-aperçu.
   ============================================================ */

/* Smooth-scroll the TOC jump links — scoped to the two legal
   pages so anchor jumps elsewhere keep their instant behaviour */
html:has(#page-terms),
html:has(#page-privacy),
body:has(#page-terms),
body:has(#page-privacy) {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html:has(#page-terms),
    html:has(#page-privacy),
    body:has(#page-terms),
    body:has(#page-privacy) {
        scroll-behavior: auto;
    }
}

.legal-wrap {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 48px;
}

/* --- Table of contents panel --- */
.legal-toc {
    position: sticky;
    top: 96px;
    flex: 0 0 280px;
    box-sizing: border-box;
    max-height: calc(100vh - 128px);
    overflow-y: auto;
    padding: 22px 26px;
    background: rgba(0,0,0,.25);
    border: 1px solid #c9973e40;
}

.legal-toc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9973e, transparent);
    pointer-events: none;
}

.legal-toc h2 {
    margin: 0 0 14px;
    font-family: 'Cinzel', serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #e6b869;
}

.legal-toc ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

.legal-toc li + li {
    margin-top: 2px;
}

.legal-toc a {
    display: block;
    padding: 5px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 11.5px;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255,255,255,.55);
    text-decoration: none;
    transition: color .2s ease;
}

.legal-toc a:hover,
.legal-toc a:focus-visible {
    outline: none;
    color: #ffce6e;
}

/* --- Clause column --- */
.legal-body {
    flex: 1;
    min-width: 0;
}

.legal-section {
    /* keep anchor targets clear of the fixed nav on jump */
    scroll-margin-top: 96px;
}

.legal-section + .legal-section {
    margin-top: 36px;
}

.legal-section h2 {
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ffffff1a;
    font-family: 'Cinzel', serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .04em;
    color: #f3eee3;
}

.legal-section p {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.9;
    color: rgba(255,255,255,.65);
}

/* Bottom callout spacing (bar itself is .catalogue-cta-bar) */
#page-terms .catalogue-cta-bar,
#page-privacy .catalogue-cta-bar {
    margin-bottom: 64px;
}

/* --- Responsive --- */
@media screen and (max-width: 900px) {
    .legal-wrap {
        flex-direction: column;
        gap: 32px;
    }

    .legal-toc {
        /* relative (not static) keeps the ::before gold edge anchored */
        position: relative;
        top: auto;
        flex: 0 0 auto;
        width: 100%;
        max-height: none;
    }
}

/* ============================================================
   DASHBOARD PAGE COMPONENTS (Kastle Rentals 2.0) — pending review
   Built for /dashboard.html (the Renter Dashboard). Reuses the
   shared #hero header, .composant-lien-bouton outline button,
   and the .catalogue-cta-bar support callout. New here: the
   sticky rental menu (.dash-side, after .legal-toc), the panel
   cards (.dash-carte, after .composant-table's gold-edge panel),
   the status pill + progress bars, the vertical booking
   checklist (.dash-étapes — dots reuse the .composant-timeline
   visual language), the next-steps rows (.dash-échéancier,
   after .specs-ligne), and the activity feed (.dash-activité).
   ============================================================ */

.dash-layout {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 32px;

    /* animation: sestomper ease-in-out 2s; */
}

/* --- Rental menu (sticky sidebar) --- */
.dash-side {
    position: sticky;
    top: 96px;
    flex: 0 0 240px;
    box-sizing: border-box;
    padding: 22px 26px;
    background: rgba(0,0,0,.25);
    border: 1px solid #c9973e40;
}

.dash-side::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9973e, transparent);
    pointer-events: none;
}

.dash-side .viewing-label {
    margin: 0 0 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
}

.dash-side .viewing-id {
    margin: 0 0 18px;
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .04em;

    background: linear-gradient(to bottom, #fffef6 0%, #ffe8b3 20%, #efb149 45%, #fc9c00 70%, #cf7b00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dash-side ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dash-side li + li {
    margin-top: 2px;
}

.dash-side nav a {
    display: block;
    padding: 6px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(255,255,255,.55);
    transition: color .2s ease;
}

.dash-side nav a:hover,
.dash-side nav a:focus-visible {
    outline: none;
    color: #ffce6e;
}

.dash-side nav a.active {
    color: #ffce6e;
    font-weight: 600;
}

.dash-side .soon-tag {
    margin-left: 8px;
    padding: 1px 6px;
    border: 1px solid #c9973e40;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #c9973e;
    background: #c9973e12;
    white-space: nowrap;
}

.dash-side .side-divider {
    height: 1px;
    margin: 16px 0;
    background: #ffffff20;
}

/* --- Main column --- */
.dash-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* --- Panel card (after .composant-table's gold-edge panel) --- */
.dash-carte {
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding: 24px;
    background: rgba(0,0,0,.25);
    border: 1px solid #c9973e40;
}

.dash-carte::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9973e, transparent);
    pointer-events: none;
}

.dash-carte--priorité {
    border-color: #c9973e80;
    background: linear-gradient(180deg, rgba(201,151,62,.1), rgba(0,0,0,.25));
}

.carte-entête {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.carte-libellé {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #e6b869;
}

.dash-pill {
    padding: 3px 9px;
    border: 1px solid #c9973e80;
    font-family: 'Poppins', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #ffce6e;
    background: #c9973e1a;
    white-space: nowrap;
}

.carte-montant {
    margin: 0 0 10px;
    font-family: 'Cinzel', serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;

    background: linear-gradient(to bottom, #fffef6 0%, #ffe8b3 12%, #efb149 28%, #fc9c00 52%, #cf7b00 72%, #8a4d00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.carte-texte {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,.7);
}

.carte-texte strong {
    font-weight: 600;
    color: #e6b869;
}

.carte-note {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid #ffffff12;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 300;
    color: rgba(255,255,255,.5);
}

.carte-note a,
.carte-note b {
    color: #e6b869;
    font-weight: 600;
}

.carte-note a:hover,
.carte-note a:focus-visible {
    color: #ffce6e;
}

/* --- Progress bar (fill matches the timeline connector gradient) --- */
.dash-bar {
    height: 5px;
    margin-top: 16px;
    background: #ffffff12;
    overflow: hidden;
}

.dash-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #e65913, #ff9e00);
    transition: width .6s ease;
}

/* --- Rental overview card --- */
.overview-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.overview-titre .carte-libellé {
    margin-bottom: 8px;
}

.dash-ref {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: .03em;

    background: linear-gradient(to bottom, #fffef6 0%, #ffe8b3 12%, #efb149 28%, #fc9c00 52%, #cf7b00 72%, #8a4d00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dash-production {
    margin: 6px 0 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 300;
    font-style: italic;
    color: rgba(255,255,255,.5);
}

.dash-production--id {
    font-style: normal;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
}

.dash-statut {
    flex: 0 0 auto;
    text-align: right;
}

.dash-statut .statut-label {
    margin: 0 0 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
}

.dash-statut .statut-value {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #ffce6e;
}

.dash-statut .statut-point {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff9e00;
    box-shadow: 0 0 8px rgba(255,158,0,.7);
}

.overview-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 40px;
    margin-top: 20px;
}

.stat-cellule .stat-libellé {
    margin: 0 0 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: rgba(255,255,255,.45);
}

.stat-cellule .stat-valeur {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #f1f1f1;
}

.stat-cellule .stat-valeur--or {
    font-family: 'Cinzel', serif;
    font-size: 19px;
    font-weight: 700;

    background: linear-gradient(to bottom, #fffef6 0%, #ffe8b3 12%, #efb149 28%, #fc9c00 52%, #cf7b00 72%, #8a4d00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dash-carte .composant-lien-bouton {
    margin: 22px 0 0;
    align-self: flex-start;
}

/* --- Deposit payment row + solid CTA (after .resume-cta) --- */
.paiement-ligne {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 16px;
}

.paiement-total {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #f1f1f1;
}

.paiement-total small {
    font-size: 11px;
    font-weight: 300;
    color: rgba(255,255,255,.45);
}

.paiement-pourcent {
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    color: #ffce6e;
}

.dash-cta-solide {
    width: 100%;
    margin-top: 18px;
    padding: 14px;

    background: #ff9e00;
    border: none;
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: .35s;
}

.dash-cta-solide:hover,
.dash-cta-solide:focus-visible {
    outline: none;
    background: white;
    color: #e65913;
    filter: drop-shadow(0 0 20px rgba(255,158,0,.45));
}

/* --- Next steps rows (after .specs-ligne) --- */
.dash-échéancier {
    display: flex;
    flex-direction: column;
}

.dash-échéancier .échéance {
    display: flex;
    align-items: baseline;
    gap: 20px;
    padding: 12px 0;
    border-bottom: 1px solid #ffffff12;
}

.dash-échéancier .échéance:first-child {
    padding-top: 2px;
}

.dash-échéancier .échéance:last-child {
    border-bottom: none;
}

.dash-échéancier .échéance-temps {
    flex: 0 0 110px;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #e6b869;
}

.dash-échéancier .échéance-texte {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255,255,255,.65);
}

/* --- Booking checklist (dots after .composant-timeline) --- */
.dash-étapes {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dash-étapes li {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 20px;
}

.dash-étapes li:last-child {
    padding-bottom: 0;
}

/* connector between the dots */
.dash-étapes li:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 22px;
    bottom: 0;
    left: 10.5px;
    width: 2px;
    background: #ffffff20;
}

.dash-étapes li.is-complete:not(:last-child)::before {
    background: linear-gradient(180deg, #e65913, #ff9e00);
}

.dash-étapes .étape-point {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    box-sizing: border-box;
    border-radius: 50%;
    border: 2px solid #ffffff30;
    background-color: #0a0705;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .3s ease-in-out, background .3s ease-in-out;
}

.dash-étapes .check {
    width: 10px;
    height: 10px;
    fill: none;
    stroke: black;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dash-étapes li.is-complete .étape-point {
    border-color: #ff9e00;
    background: linear-gradient(135deg, #ffce6e, #e65913);
}

.dash-étapes li.is-active .étape-point {
    border-color: #ff9e00;
    animation: pulserActif 1.8s ease-out infinite;
}

.dash-étapes li.is-active .étape-point::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffce6e, #e65913);
}

.dash-étapes .étape-texte {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255,255,255,.4);
}

.dash-étapes li.is-complete .étape-texte,
.dash-étapes li.is-active .étape-texte {
    color: #f1f1f1;
}

.dash-étapes .étape-note {
    margin-left: 10px;
    font-size: 10px;
    font-weight: 300;
    letter-spacing: .08em;
    color: rgba(255,255,255,.4);
}

/* --- Activity feed --- */
.dash-activité {
    display: flex;
    flex-direction: column;
}

.activité-ligne {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #ffffff12;
}

.activité-ligne:first-child {
    padding-top: 2px;
}

.activité-ligne:last-child {
    border-bottom: none;
    padding-bottom: 2px;
}

.activité-point {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-top: 5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffce6e, #e65913);
}

.activité-ligne.is-pending .activité-point {
    background: transparent;
    box-sizing: border-box;
    border: 1px solid #c9973e80;
}

.activité-corps p {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    color: #f1f1f1;
}

.activité-corps p + p {
    margin-top: 3px;
    font-size: 11.5px;
    font-weight: 300;
    line-height: 1.6;
    color: rgba(255,255,255,.5);
}

.activité-ligne.is-pending .activité-corps p:first-child {
    color: rgba(255,255,255,.45);
}

.activité-heure {
    margin-left: 8px;
    font-size: 10.5px;
    font-weight: 300;
    color: rgba(255,255,255,.4);
}

/* --- Support callout spacing (bar itself is .catalogue-cta-bar) --- */
.dash-cta-bar {
    width: 92%;
    max-width: 1200px;
    margin: 40px auto 64px;
}

/* --- Responsive --- */
@media screen and (max-width: 900px) {
    .dash-layout {
        flex-direction: column;
        gap: 24px;
    }

    .dash-side {
        /* relative (not static) keeps the ::before gold edge anchored */
        position: relative;
        top: auto;
        flex: 0 0 auto;
        width: 100%;
        box-sizing: border-box;
    }

    .dash-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 600px) {
    .overview-top {
        flex-direction: column;
        gap: 16px;
    }

    .dash-statut {
        text-align: left;
    }

    .dash-échéancier .échéance {
        flex-direction: column;
        gap: 4px;
    }
}

/* ============================================================
   INDEX (HOME) PAGE COMPONENTS (Kastle Rentals 2.0) — pending review
   Built for /index.html: the landing hero reuses the shared
   #hero header (responsive title size so "KASTLE RENTALS" fits
   on small screens), and the "Browse by department" section
   reuses the catalogue page's .departments-wrap /
   .department-grid / .department-card and .catalogue-cta-bar.
   ============================================================ */

#page-index #hero {
    padding: 48px 0 16px;
    box-sizing: border-box;
}

#page-index #hero #header > h1 {
    font-size: clamp(30px, 7.5vw, 64px);
    white-space: normal;
    text-align: center;
}

#page-index #hero #header > p {
    font-size: clamp(16px, 3.2vw, 24px);
    padding: 0 24px;
}

#page-index .departments-wrap {
    margin-top: 24px;
}

#page-index .catalogue-cta-bar {
    margin-bottom: 64px;
}

/* ============================================================
   ADMIN DASHBOARD PAGE COMPONENTS (Kastle Rentals 2.0) — pending review
   Built for /a/dashboard.html (internal discount-code admin
   portal, gated by Firebase Google sign-in). Reuses the shared
   #hero header, .composant-lien-bouton outline button, the
   .composant-table gold-edge panel (code list + toolbar), and
   the global form input styles. New here: the sign-in / access-
   denied gate cards (.admin-gate, after form.composant-form),
   the signed-in topbar (.admin-topbar), the inline add-code form
   (.admin-add-form), and the active/inactive status pill
   (.admin-statut-pill).
   ============================================================ */

.admin-layout {
    width: 92%;
    max-width: 1200px;
    margin: 48px auto 96px;
    /* animation: sestomper ease-in-out 2s; */
}

/* Vertically center the sign-in / access-denied gate while auth is being
   resolved, instead of leaving it stranded at the top of .admin-layout.
   :has() only matches while a gate is unhidden, so this reverts on its
   own the moment the dashboard panel unhides — no JS toggle needed.

   Centering needs the height to come from somewhere real: body's
   min-height:100vh is a true viewport measurement, but main/#content
   above don't pass that height down (percentage heights against an
   auto-height ancestor resolve to auto), so a centered box just sits
   at content height instead of viewport height. flex:1 down the chain
   (main → #content → .admin-layout) makes each level actually claim
   the leftover vertical space instead of hugging its own content. */
#page-admin-dashboard,
#page-admin-rentals {
    flex: 1;
}

#page-admin-dashboard #content,
#page-admin-rentals #content {
    flex: 1;
}

.admin-layout:has(.admin-gate:not([hidden])) {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* .dash-layout normally sizes itself off the viewport (92%/1200px on
   #content). Nested here inside .admin-layout, which already carries
   those same bounds, let it fill its parent instead of re-applying
   them a second time — otherwise the sidebar/main proportions end up
   noticeably narrower than the customer-facing dashboard.html. */
.admin-layout .dash-layout {
    width: 100%;
    max-width: none;
}

.admin-codes-table {
    width: 100%;
}

/* --- Sign-in / access-denied gate card (after form.composant-form) --- */
/* :not([hidden]) — display:flex on an author rule beats the UA [hidden]
   stylesheet regardless of specificity, so a bare .admin-gate selector
   would defeat the `hidden` attribute the JS toggles. */
.admin-gate:not([hidden]) {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;

    background: rgba(0,0,0,.25);
    border: 1px solid #c9973e;
}

.admin-gate::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c9973e, transparent);
    pointer-events: none;
}

.admin-gate-icône {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    box-sizing: content-box;
    padding: 16px;
    margin-bottom: 14px;
    border-radius: 50%;
    border: 1px solid #c9973e59;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.35));
}

.admin-gate-icône svg {
    width: 100%;
    height: 100%;
    stroke: #ffce6e;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.admin-gate-icône--attention svg {
    stroke: #ff9e6e;
}

.admin-gate h2 {
    margin: 0 0 4px;
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.03em;

    background: linear-gradient(to bottom, #fffef6 0%, #ffe8b3 20%, #efb149 45%, #fc9c00 70%, #cf7b00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.admin-gate p {
    margin: 0 0 4px;
    max-width: 440px;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,.65);
}

.admin-gate p strong {
    color: #e6b869;
    font-weight: 600;
}

.admin-gate-note {
    margin-top: 12px !important;
    font-size: 11px !important;
    color: rgba(255,255,255,.45) !important;
}

.admin-uid-tag {
    display: inline-block;
    margin: 6px 0 18px;
    padding: 8px 14px;
    background: rgba(0,0,0,.4);
    border: 1px solid #c9973e40;
    color: #ffce6e;
    font-family: monospace;
    font-size: 12px;
    letter-spacing: 0.02em;
    word-break: break-all;
}

.admin-gate .composant-lien-bouton {
    margin-top: 16px;
}

/* --- Signed-in topbar --- */
.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.admin-topbar-label {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: rgba(255,255,255,.55);
}

.admin-topbar-label span {
    color: #e6b869;
    font-weight: 600;
}

.admin-topbar .composant-lien-bouton {
    margin: 0;
    padding: 8px 16px;
    font-size: 10.5px;
}

/* --- Table toolbar actions + status pill --- */
.admin-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-statut-pill {
    display: inline-block;
    padding: 3px 9px;
    border: 1px solid #c9973e80;
    font-family: 'Poppins', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #ffce6e;
    background: #c9973e1a;
    white-space: nowrap;
}

.admin-statut-pill.est-inactive {
    border-color: #ffffff30;
    color: rgba(255,255,255,.5);
    background: #ffffff0d;
}

.admin-actions-cell {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.admin-actions-cell .composant-lien-bouton {
    margin: 0;
    padding: 6px 12px;
    font-size: 10px;
}

/* --- Inline add-code form (extends the global form-row / form-group inputs) --- */
.admin-add-form {
    margin: 4px 0 24px;
    padding: 20px;
    background: rgba(0,0,0,.3);
    border: 1px solid #c9973e40;
}

.admin-add-form .form-row {
    margin: 0;
}

/* Discount-type <select> — the global form input rules only cover
   text/email/date/tel, so the add-code form's Type dropdown needs
   its own dark-theme treatment. */
.admin-add-form select {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 16px;
    min-height: 32px;

    background-color: rgba(0,0,0,.4);
    border: 1px solid #c9973e40;
    border-radius: 4px;
    color: white;

    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 500;
    transition: color .25s ease,
    background-color .25s ease,
    border .25s ease;
}

.admin-add-form select:hover {
    border-color: #c9973e;
}

.admin-add-form select:focus-visible {
    outline: none;
    border-color: #ff9e00;
    box-shadow: 0 0 0 3px rgba(255,158,0,.15);
}

.admin-add-form select option {
    background-color: #17110a;
    color: white;
}

.admin-form-error {
    min-height: 14px;
    margin: 10px 0 0;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: #ff9e6e;
}

.admin-form-error:empty {
    margin: 0;
}

.admin-global-error {
    text-align: center;
    font-size: 12px;
}

.admin-global-error:not(:empty) {
    margin: 0 0 20px;
    padding: 12px 16px;
    background: rgba(230, 89, 19, .1);
    border: 1px solid #e6591380;
}

.admin-form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
}

/* Overrides the generic `form button[type="submit"]` (solid, 100% width) so
   the Save button keeps the outline .composant-lien-bouton look and sits
   inline with Cancel instead of filling the row. */
.admin-add-form button[type="submit"] {
    width: auto;
    margin: 0;
    padding: 14px 24px;
    background: transparent;
    border: 1px solid #c9973e80;
    color: #e6b869;
    font-size: 12px;
}

.admin-add-form button[type="submit"]:hover,
.admin-add-form button[type="submit"]:focus-visible {
    background: #c9973e1a;
    border-color: #c9973e;
    color: #ffce6e;
    filter: none;
}

.admin-cancel-btn {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: none;
    color: rgba(255,255,255,.5);
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .25s ease;
}

.admin-cancel-btn:hover,
.admin-cancel-btn:focus-visible {
    outline: none;
    color: white;
}

/* --- Responsive --- */
@media screen and (max-width: 640px) {
    .admin-topbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .admin-codes-table .table-toolbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-add-form .form-row {
        flex-direction: column;
    }
}

/* ============================================================
   RENTER DASHBOARD SIGN-IN GATE (Kastle Rentals 2.0) — pending review
   Built for /dashboard.html. Gates the existing #dashboard-panel
   (rental overview, action cards, booking progress, activity)
   behind a Rental ID + Password form checked against the
   `rentals` Firestore collection — not Firebase Auth. Modeled on
   the admin portal's gate card (.admin-gate) but under its own
   .dash-gate class since this page isn't Google-auth based. New
   here: the gate card itself, the password show/hide field
   (.dash-password-wrapper), and the error/lockout messaging.
   ============================================================ */

.dash-gate:not([hidden]) {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    max-width: 460px;
    margin: 0 auto 48px;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;

    background: rgba(0,0,0,.25);
    border: 1px solid #c9973e;
}

.dash-gate::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c9973e, transparent);
    pointer-events: none;
}

.dash-gate-icône {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    box-sizing: content-box;
    padding: 16px;
    margin-bottom: 14px;
    border-radius: 50%;
    border: 1px solid #c9973e59;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.35));
}

.dash-gate-icône svg {
    width: 100%;
    height: 100%;
    stroke: #ffce6e;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dash-gate h2 {
    margin: 0 0 4px;
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.03em;

    background: linear-gradient(to bottom, #fffef6 0%, #ffe8b3 20%, #efb149 45%, #fc9c00 70%, #cf7b00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dash-gate > p {
    margin: 0 0 20px;
    max-width: 380px;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,.65);
}

.dash-gate-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dash-gate-form .form-group {
    text-align: left;
}

.dash-gate-form label {
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.5);
}

/* --- Password field with show/hide toggle --- */
.dash-password-wrapper {
    position: relative;
    display: flex;
}

.dash-password-wrapper input[type="password"],
.dash-password-wrapper input[type="text"] {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 44px 12px 16px;
    min-height: 32px;

    background-color: rgba(0,0,0,.4);
    border: 1px solid #c9973e40;
    border-radius: 4px;
    color: white;

    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 500;
    transition: color .25s ease,
    background-color .25s ease,
    border .25s ease;
}

.dash-password-wrapper input:hover {
    border-color: #c9973e;
}

.dash-password-wrapper input:focus-visible {
    outline: none;
    border-color: #ff9e00;
    box-shadow: 0 0 0 3px rgba(255,158,0,.15);
}

.dash-password-toggle {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
}

.dash-password-toggle svg {
    width: 16px;
    height: 16px;
    stroke: rgba(255,255,255,.4);
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke .25s ease;
}

.dash-password-toggle:hover svg,
.dash-password-toggle[aria-pressed="true"] svg {
    stroke: #e6b869;
}

/* Overrides the generic `form button[type="submit"]` (solid, 100% width)
   so the Sign In button keeps the outline .composant-lien-bouton look. */
.dash-gate-form button[type="submit"] {
    width: 100%;
    margin-top: 20px;
    padding: 14px 24px;
    background: transparent;
    border: 1px solid #c9973e80;
    color: #e6b869;
    font-size: 12px;
}

.dash-gate-form button[type="submit"]:hover,
.dash-gate-form button[type="submit"]:focus-visible {
    background: #c9973e1a;
    border-color: #c9973e;
    color: #ffce6e;
    filter: none;
}

.dash-gate-form button[type="submit"]:disabled {
    opacity: .4;
    cursor: not-allowed;
    background: transparent;
    border-color: #c9973e40;
    color: rgba(255,255,255,.4);
}

.dash-gate-note {
    margin-top: 18px !important;
    font-size: 11px !important;
    color: rgba(255,255,255,.45) !important;
}

.dash-form-error {
    min-height: 14px;
    margin: 10px 0 0;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: #ff9e6e;
}

.dash-form-error:empty {
    margin: 0;
}

.dash-global-error {
    width: 90%;
    max-width: 460px;
    box-sizing: border-box;
    margin: 0 auto;
    text-align: center;
    align-self: center;
    font-size: 12px;
}

.dash-global-error:not(:empty) {
    margin: 0 auto 24px;
    padding: 12px 16px;
    background: rgba(230, 89, 19, .1);
    border: 1px solid #e6591380;
}

/* --- Responsive --- */
@media screen and (max-width: 560px) {
    .dash-gate:not([hidden]) {
        padding: 32px 24px;
    }
}

/* ============================================================
   RENTALS ADMIN PAGE COMPONENTS (Kastle Rentals 2.0) — pending review
   Built for /a/rentals.html and the new sidebar on /a/dashboard.html.
   Reuses the tenant dashboard's sticky menu (.dash-layout/.dash-side,
   after .legal-toc) as the admin sidebar, the admin portal's gate
   cards and .composant-table gold-edge panel (search/list toolbar),
   and quote.html's .quote-layout + .composant-resume + .qty-wrapper +
   .composant-modal (Add Equipment search) for the equipment editor.
   New here: the rentals search toolbar (.admin-rentals-search-wrap),
   a dark-theme <select> for admin forms not already covered by
   .admin-add-form (.admin-select), and the detail/edit card
   (.admin-rental-detail, extends .dash-carte).
   ============================================================ */

/* --- Search / list toolbar --- */
.admin-rentals-search-wrap {
    align-items: center;
}

.admin-rentals-search-wrap input[type="text"] {
    width: 260px;
    min-height: 0;
    padding: 10px 14px;
}

/* --- Dark <select> for admin forms outside .admin-add-form --- */
.admin-select {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 12px 16px;
    min-height: 32px;

    background-color: rgba(0,0,0,.4);
    border: 1px solid #c9973e40;
    border-radius: 4px;
    color: white;

    font-family: "Poppins", sans-serif;
    font-size: 12px;
    font-weight: 500;
    transition: color .25s ease,
    background-color .25s ease,
    border .25s ease;
}

.admin-select:hover {
    border-color: #c9973e;
}

.admin-select:focus-visible {
    outline: none;
    border-color: #ff9e00;
    box-shadow: 0 0 0 3px rgba(255,158,0,.15);
}

.admin-select option {
    background-color: #17110a;
    color: white;
}

.admin-rentals-search-wrap .admin-select {
    width: auto;
    min-width: 200px;
}

/* --- Detail / edit card (extends .dash-carte) --- */
.admin-rental-detail {
    margin-top: 24px;
}

/* .quote-layout is normally a direct #content child (quote.html,
   dashboard/quote.html) — here it's nested inside a .dash-carte, so
   drop its own width/centering and let the card's padding handle it. */
.admin-rental-detail .quote-layout {
    width: 100%;
    max-width: none;
    margin: 24px 0 0;
}

#dashboard-quote-notes {
    margin-left: 4px;
}

.admin-rental-detail-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 8px;
}

.admin-rental-detail-form {
    margin-bottom: 8px;
}

.admin-rental-detail-notes-group {
    margin-top: 16px;
}

.admin-rental-detail-status-msg {
    min-height: 14px;
    margin: 8px 0 0;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    color: #8fd19e;
}

.admin-rental-detail-status-msg:empty {
    margin: 0;
}

/* Stack the summary card's action buttons full-width, like .resume-cta. */
.admin-rental-detail .composant-resume .composant-lien-bouton {
    width: 100%;
    margin-top: 16px;
}

.admin-rental-detail .composant-resume .admin-rental-save-btn {
    margin-top: 8px;
}

/* --- Responsive --- */
@media screen and (max-width: 768px) {
    .admin-rentals-search-wrap {
        flex-direction: column;
        align-items: stretch;
    }

    .admin-rentals-search-wrap input[type="text"],
    .admin-rentals-search-wrap .admin-select {
        width: 100%;
    }
}

@media screen and (max-width: 640px) {
    .admin-rental-detail-header {
        flex-direction: column;
        gap: 8px;
    }
}

/* ============================================================
   ASSETS PAGE COMPONENTS (Kastle Rentals 2.0) — pending review
   Built for /assets.html (logo & brand-asset library for credits
   and partnership use). Reuses the shared #hero header,
   .diviseur-kr, .produit-section-entête section headings,
   .composant-lien-bouton / .cta-button-solid buttons, and the
   .catalogue-cta-bar contact callout. New here: the logo showcase
   grid (.asset-grid / .asset-card), the dark gold-edge text panels
   (.usage-card, mirrors the .legal-toc panel treatment), the
   "remember when using" warning tiles (.dont-grid / .dont-card),
   the typography specimen cards (.type-grid / .type-card), and
   the colour swatch chips (.colour-grid / .colour-swatch).
   ============================================================ */

.assets-section {
    width: 92%;
    max-width: 1200px;
    margin: 0 auto 64px;
}

.assets-section:last-of-type {
    margin-bottom: 0;
}

.assets-section > .produit-section-entête {
    margin-bottom: 32px;
}

/* --- Logo showcase --- */
.asset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.asset-card {
    display: flex;
    flex-direction: column;
    background: rgba(0,0,0,.25);
    border: 1px solid #ffffff20;
    transition: border-color .25s ease;
}

.asset-card:hover {
    border-color: #c9973e;
}

.asset-card-image {
    position: relative;
    aspect-ratio: 16 / 11;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    box-sizing: border-box;
    background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(0,0,0,.4));
}

.asset-card-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9973e, transparent);
    pointer-events: none;
}

.asset-card-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.asset-card-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 22px 24px;
}

.asset-card-tag {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .03em;
    color: #e6b869;
}

.asset-card-info p {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,.65);
}

.asset-card-info .composant-lien-bouton {
    align-self: flex-start;
}

/* --- Usage / note text panels --- */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.usage-card {
    position: relative;
    padding: 26px 28px;
    background: rgba(0,0,0,.25);
    border: 1px solid #c9973e40;
}

.usage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9973e, transparent);
    pointer-events: none;
}

.usage-card h3 {
    margin: 0 0 12px;
    font-family: 'Cinzel', serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: .04em;
    color: #f3eee3;
}

.usage-card p,
.usage-card ul {
    margin: 0 0 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.9;
    color: rgba(255,255,255,.65);
}

.usage-card ul {
    padding-left: 20px;
}

.usage-card p:last-child,
.usage-card ul:last-child {
    margin-bottom: 0;
}

.usage-card a {
    color: #ffce6e;
}

/* --- "Remember when using" warning tiles --- */
.dont-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.dont-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(0,0,0,.25);
    border: 1px solid #ffffff20;
}

.dont-card-icône {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    box-sizing: content-box;
    padding: 10px;
    border-radius: 50%;
    border: 1px solid #c9973e59;
    background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.35));
}

.dont-card-icône svg {
    width: 100%;
    height: 100%;
    stroke: #ff9e6e;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dont-card p {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 400;
    letter-spacing: .02em;
    color: rgba(255,255,255,.75);
}

/* --- Typography specimens --- */
.type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.type-card {
    padding: 28px;
    text-align: center;
    background: rgba(0,0,0,.25);
    border: 1px solid #ffffff20;
}

.type-sample {
    margin: 0 0 10px;
    font-size: 32px;
    font-weight: 500;
    color: #f3eee3;
}

.type-sample#cinzel {
    font-family: 'Cinzel', serif;
}

.type-sample#amarante {
    font-family: 'Amarante', serif;
    text-transform: uppercase;
}

.type-sample#poppins {
    font-family: 'Poppins', sans-serif;
}

.type-card p {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,.6);
}

/* --- Colour swatches --- */
.colour-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
}

.colour-swatch {
    padding: 20px;
    text-align: center;
    background: rgba(0,0,0,.25);
    border: 1px solid #ffffff20;
}

.swatch-chip {
    width: 100%;
    height: 72px;
    margin-bottom: 14px;
    border: 1px solid #ffffff20;
}

.swatch-chip#noir { background: #000000; }
.swatch-chip#or { background: #FF9E00; }
.swatch-chip#blanc { background: #FFFFFF; }

.colour-swatch p {
    margin: 4px 0 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 300;
    color: rgba(255,255,255,.65);
}

.colour-swatch p strong {
    font-weight: 600;
    color: #f3eee3;
}

/* --- Responsive --- */
@media screen and (max-width: 900px) {
    .usage-grid,
    .asset-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 640px) {
    .dont-grid,
    .type-grid,
    .colour-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* ============================================================
   INDEX (HOME) PAGE COMPONENTS (Kastle Rentals 2.0) — pending review
   Built for /index.html: this keeps the existing "WELCOME TO" +
   wordmark hero and the "Browse by" Splide carousel exactly as
   they were on the old theme — only re-themed with 2.0's dark/
   gold palette. #shoppe-flèches reuses the addons-carousel arrow
   button look (.addons-shoppe #shoppe-flèches), and the department
   cards reuse .article-wrapper (same component as the add-ons
   carousel on the product page) instead of a new card style.
   ============================================================ */

/* Full-bleed ambient hero photo behind the nav/hero, fading out before
   the "Browse by" carousel — same #ap/.img element and ap-03.png plate
   the old theme used, dimmed a touch to sit under the gold hero text. */
#ap {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    /* Sized to the viewport (not inset:0/full body height) so the fade
       mask below lines up with the hero itself, which — together with
       the "Browse by" carousel — fills #accueil-hero's 100vh. */
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

#ap .img {
    position: absolute;
    inset: 0;
    background: url('../ATOUTS/ap-03.png') left/cover no-repeat;
    filter: blur(8px) brightness(.6);
    -webkit-mask-image: linear-gradient(to bottom, black 10%, transparent 80%);
    mask-image: linear-gradient(to bottom, black 10%, transparent 80%);
}

@media screen and (max-width: 640px) {
    #ap .img {
        background-position: center 15%;
    }
}

/* #section-banner + .shoppe-rentals together fill exactly one screen:
   scrolling past this wrapper goes straight to the footer. */
#accueil-hero {
    min-height: 100vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

#section-banner {
    position: relative;
    width: 100%;
    flex: 1;
    min-height: 0;
    box-sizing: border-box;
    padding: 96px 24px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#section-banner #texte {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
}

#section-banner #len-tête {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;

    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;

    /* animation: sestomper ease-in-out 1.2s; */
}

/* Text styling matches the original style-rentals.css values verbatim —
   just carried over onto the 2.0 stylesheet. */
#section-banner h1#bienvenue {
    color: white;
    font-family: 'Amarante', serif;
    font-size: 32px;
    font-weight: 400;
    font-style: normal;
    white-space: nowrap;
    margin: 0;
    text-align: center;
}

#section-banner #len-tête #marque {
    height: 128px;
    width: auto;
    max-width: 85vw;
    margin-top: -20px;
}

#section-banner #à-propos {
    margin-top: 16px;
    max-width: 560px;
    /* animation: sestomper ease-in-out 2s; */
}

#section-banner #à-propos p {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    text-align: center;
    color: rgba(255,255,255,.7);
}

/* --- "Browse by" Splide carousel --- */
.shoppe-rentals {
    flex: 0 0 auto;
    width: 92%;
    max-width: 1400px;
    margin: 32px auto 64px;
}

.shoppe-rentals #shoppe-len-tête {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.shoppe-rentals #shoppe-texte h2 {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #f3eee3;
}

.shoppe-rentals .diviseur {
    padding: 0;
    margin: 16px 0 24px;
}

.shoppe-rentals #shoppe-flèches {
    display: flex;
    gap: 8px;
}

.shoppe-rentals #shoppe-flèches button {
    -webkit-appearance: none;
    appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    box-sizing: border-box;
    background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(0,0,0,0.3)), #0a0705;
    border: 1px solid #c9973e80;
    cursor: pointer;
    transition: border-color .25s ease, background-color .25s ease;
}

.shoppe-rentals #shoppe-flèches button:hover,
.shoppe-rentals #shoppe-flèches button:focus-visible {
    outline: none;
    border-color: #ff9e00;
    background: #c9973e26;
}

.shoppe-rentals #shoppe-flèches button img {
    width: 14px;
    height: 14px;
}

/* Splide mounts this carousel with autoWidth: true (chargerPageRentalsJS),
   so each slide needs an explicit pixel size — a percentage width can't
   resolve against autoWidth's own natural-width measurement. */
.shoppe-rentals #articles .article-wrapper {
    box-sizing: border-box;
}

.shoppe-rentals #articles .article {
    width: 256px;
    height: 256px;
    aspect-ratio: auto;
}

@media screen and (max-width: 1000px) {
    .shoppe-rentals #articles .article {
        width: 192px;
        height: 192px;
    }
}

@media screen and (max-width: 480px) {
    .shoppe-rentals #articles .article {
        width: 150px;
        height: 150px;
    }
}

.shoppe-rentals #articles .article-boite-texte h2 {
    font-size: 24px;
    font-weight: 800;
}

@media screen and (max-width: 480px) {
    .shoppe-rentals #articles .article-boite-texte h2 {
        font-size: 18px;
    }
}

@media screen and (max-width: 640px) {
    #section-banner {
        padding: 80px 16px 24px;
    }

    #section-banner h1#bienvenue {
        font-size: 24px;
    }

    #section-banner #len-tête #marque {
        height: auto;
        width: min(85vw, 320px);
        max-width: 85vw;
        margin-top: -20px;
    }

    #section-banner #à-propos p {
        font-size: 13px;
    }

    .shoppe-rentals #shoppe-len-tête {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* ============================================================
   BLOG PAGE COMPONENTS (Kastle Rentals 2.0) — pending review
   Built for /blog.html. Reuses the shared #hero header,
   .diviseur-kr, .composant-lien-bouton (+ .icn chevron), the
   a.underline link treatment, and .catalogue-cta-bar for the
   closing callout. New here: the category filter pills
   (.blog-categories / .blog-pill), the large featured-post
   panel (.blog-featured, styled after the .asset-card /
   .produit-entête dark gold-edge treatments), and the article
   grid (.blog-grid / .blog-card, sized in the spirit of
   .department-grid / .department-card).
   ============================================================ */

#page-blog #content {
    width: 92%;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 64px;
    box-sizing: border-box;
}

/* --- Category filter pills --- */
.blog-categories {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 0 0 48px;
}

.blog-pill {
    -webkit-appearance: none;
    appearance: none;
    padding: 9px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    background: rgba(0,0,0,.25);
    border: 1px solid #ffffff20;
    cursor: pointer;
    transition: border-color .25s ease, color .25s ease;
}

.blog-pill:hover,
.blog-pill.is-active {
    outline: none;
    border-color: #c9973e;
    color: #e6b869;
}

/* --- Featured post --- */
.blog-featured {
    position: relative;
    display: flex;
    align-items: stretch;
    gap: 40px;
    margin: 0 0 56px;
    background: linear-gradient(150deg, #17110a, #100b08, #0a0605);
    border: 1px solid #c9973e40;
    overflow: hidden;
    /* animation: sestomper ease-in-out 1.4s; */
}

.blog-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #c9973e, transparent);
    pointer-events: none;
}

.blog-featured-image {
    position: relative;
    flex: 1 1 50%;
    min-width: 0;
    aspect-ratio: 16 / 11;
    overflow: hidden;
}

.blog-featured-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.78);
}

.blog-featured-info {
    flex: 1 1 50%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 40px 40px 40px 0;
    box-sizing: border-box;
}

.blog-featured-tag {
    padding: 5px 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #100b08;
    background: linear-gradient(180deg, #f0bd63 0%, #c9973e 48%, #8f5f17 100%);
}

.blog-featured-info h2 {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 28px;
    font-weight: 600;
    line-height: 1.3;
    background: linear-gradient(to bottom, #fffef6 0%, #ffe8b3 20%, #efb149 45%, #fc9c00 70%, #cf7b00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.blog-featured-excerpt {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 13.5px;
    font-weight: 300;
    line-height: 1.9;
    color: rgba(255,255,255,.65);
}

.blog-featured-info .composant-lien-bouton {
    margin-top: 6px;
}

/* --- Meta line (shared by featured + grid cards) --- */
.blog-card-meta {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #c9973e;
}

/* --- Article grid --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: rgba(0,0,0,.25);
    border: 1px solid #ffffff20;
    transition: border-color .25s ease;
}

.blog-card:hover,
.blog-card:focus-within {
    border-color: #c9973e;
}

.blog-card-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.blog-card-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(.75);
    transition: filter .3s ease, transform .3s ease;
}

.blog-card:hover .blog-card-image img {
    filter: brightness(.95);
    transform: scale(1.05);
}

.blog-card-category {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 1;
    padding: 5px 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #f3eee3;
    background: rgba(10,7,5,.65);
    border: 1px solid #c9973e59;
    backdrop-filter: blur(2px);
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 20px 22px 24px;
}

.blog-card-body h3 {
    margin: 0;
    font-family: 'Cinzel', serif;
    font-size: 16.5px;
    font-weight: 600;
    line-height: 1.4;
}

.blog-card-body h3 a {
    color: #f3eee3;
    text-decoration: none;
    transition: color .25s ease;
}

.blog-card-body h3 a:hover {
    color: #ffce6e;
}

.blog-card-body p {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    font-size: 12.5px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255,255,255,.6);
}

.blog-card-body a.underline {
    margin-top: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #ffce6e;
    text-decoration: none;
}

/* --- Load more --- */
.blog-load-more {
    display: flex;
    justify-content: center;
    margin: 0 0 56px;
}

.blog-load-more .composant-lien-bouton {
    margin: 0;
}

/* --- Contact CTA bar (reuses .catalogue-cta-bar) --- */
.blog-cta-bar {
    width: 100%;
    margin: 0;
}

/* --- Responsive --- */
@media screen and (max-width: 900px) {
    .blog-featured {
        flex-direction: column;
    }

    .blog-featured-image {
        aspect-ratio: 16 / 9;
    }

    .blog-featured-info {
        padding: 28px 28px 32px;
    }
}

@media screen and (max-width: 640px) {
    .blog-categories {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .blog-featured-info h2 {
        font-size: 22px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   DASHBOARD HERO CARD (Kastle Rentals 2.0) — pending review
   Bordered gold-edge hero card + overlapping krown + welcome intro,
   shared by every rental dashboard page (dashboard.html, rental-details,
   current-quote, invoice-payment, return-checklist, pickup-return,
   documents). Originated on the Documents page, class names kept as-is.
   ============================================================ */

.documents-hero {
    min-height: 330px;
    padding: 42px 0 28px;
    box-sizing: border-box;
}

.documents-hero-card {
    position: relative;
    align-items: flex-start;
    width: min(86%, 1320px);
    min-height: 230px;
    box-sizing: border-box;
    gap: 0;
    padding: 36px 48px 32px;
    border: 1px solid #c9973e59;
    border-top: transparent;
    background:
        radial-gradient(circle at 88% 18%, rgba(201,151,62,.11), transparent 34%),
        linear-gradient(150deg, rgba(23,17,10,.82), rgba(10,6,5,.92));
    box-shadow: inset 0 1px rgba(255,255,255,.035), 0 22px 50px rgba(0,0,0,.16);
}

#hero #header.documents-hero-card {
    gap: 0px;
}

.documents-hero-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #c9973e, transparent);
    pointer-events: none;
    background: transparent;
}

.documents-hero-krown {
    position: absolute;
    z-index: 1;
    top: -19px;
    left: 50%;
    display: grid;
    place-items: center;
    width: 100%;
    height: 36px;
    margin: 0;
    transform: translateX(-50%);
}

.documents-hero-krown img {
    display: block;
    height: 30px;
}

.documents-hero-card > h1 {
    padding: 0;
    font-size: clamp(34px, 4.2vw, 62px);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.documents-hero-card > h2 {
    margin: 6px 0 0;
    color: #d6d3d0;
    font: 400 clamp(25px, 2.8vw, 40px)/1.1 'Cinzel', serif;
    letter-spacing: .16em;
    text-transform: uppercase;
    text-shadow: 0 4px 18px rgba(0,0,0,.45);
}

.documents-hero-intro {
    margin-top: 26px;
}

.documents-hero-intro strong {
    display: block;
    margin-bottom: 5px;
    color: #e6a038;
    font: 700 11px/1.4 'Poppins', sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.documents-hero-intro p {
    margin: 0;
    color: rgba(255,255,255,.68);
    font: 300 12px/1.7 'Poppins', sans-serif;
}

/* ============================================================
   DOCUMENTS DASHBOARD COMPONENTS (Kastle Rentals 2.0) — pending review
   Reference-led documents overview, support bar and journey.
   ============================================================ */

#page-dashboard-documents {
    padding-bottom: 70px;
    background:
        radial-gradient(circle at 72% 18%, rgba(201,151,62,.08), transparent 27%),
        linear-gradient(180deg, #100b0a 0%, #0a0705 48%, #060402 100%);
}

#page-dashboard-documents .documents-content,
#page-dashboard-documents #documents-panel {
    width: 100%;
}

#page-dashboard-documents .documents-dashboard {
    display: flex;
    flex-direction: column;
    gap: 22px;
    width: min(86%, 1320px);
    margin: 0 auto;
}

#page-dashboard-documents .documents-overview-grid {
    display: grid;
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
    gap: 24px;
}

#page-dashboard-documents .documents-overview-card,
#page-dashboard-documents .documents-required-card,
#page-dashboard-documents .documents-good-to-know {
    background:
        linear-gradient(180deg, rgba(255,255,255,.035), rgba(0,0,0,.2)),
        rgba(0,0,0,.29);
}

#page-dashboard-documents .documents-overview-card {
    align-items: center;
    justify-content: flex-start;
    min-height: 390px;
    padding: 28px 25px;
    text-align: center;
}

#page-dashboard-documents .documents-overview-card > .carte-libellé {
    align-self: flex-start;
    color: rgba(255,255,255,.68);
}

#page-dashboard-documents .documents-score-ring {
    --documents-progress: 0%;
    display: grid;
    place-content: center;
    width: 148px;
    height: 148px;
    box-sizing: border-box;
    margin: 34px 0 20px;
    border-radius: 50%;
    background:
        radial-gradient(circle closest-side, #0d0a08 79%, transparent 80% 100%),
        conic-gradient(#d6a24c 0 var(--documents-progress), #45423d var(--documents-progress) 100%);
    box-shadow:
        0 0 0 1px rgba(255,206,110,.22),
        inset 0 0 28px rgba(201,151,62,.08),
        0 12px 30px rgba(0,0,0,.28);
}

#page-dashboard-documents .documents-score-ring strong,
#page-dashboard-documents .documents-score-ring > span {
    display: block;
    text-align: center;
}

#page-dashboard-documents .documents-score-ring strong {
    color: #ffbd4b;
    font: 700 31px/1.1 'Cinzel', serif;
}

#page-dashboard-documents .documents-score-ring > span {
    margin-top: 5px;
    color: rgba(255,255,255,.48);
    font: 600 9px/1.2 'Poppins', sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
}

#page-dashboard-documents .documents-overview-card h2 {
    margin: 0 0 8px;
    color: rgba(255,255,255,.86);
    font: 600 14px/1.45 'Poppins', sans-serif;
}

#page-dashboard-documents .documents-overview-card > p:not(.carte-libellé):not(.documents-rental-reference) {
    max-width: 225px;
    margin: 0;
    color: rgba(255,255,255,.48);
    font: 300 10.5px/1.65 'Poppins', sans-serif;
}

#page-dashboard-documents .documents-rental-reference {
    margin: auto 0 0;
    padding-top: 22px;
    color: rgba(255,255,255,.32);
    font: 600 8px/1.4 'Poppins', sans-serif;
    letter-spacing: .12em;
    text-transform: uppercase;
}

#page-dashboard-documents .documents-rental-reference span {
    color: #c9973e;
}

#page-dashboard-documents .documents-required-card {
    min-width: 0;
    min-height: 390px;
    padding: 24px;
}

#page-dashboard-documents .documents-required-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}

#page-dashboard-documents .documents-required-heading h2 {
    margin: 5px 0 0;
    color: rgba(255,255,255,.86);
    font: 600 15px/1.45 'Cinzel', serif;
}

#page-dashboard-documents .documents-required-note {
    color: rgba(255,255,255,.34);
    font: 500 8px/1.5 'Poppins', sans-serif;
    letter-spacing: .11em;
    text-transform: uppercase;
    white-space: nowrap;
}

#page-dashboard-documents .documents-list {
    flex: 1;
    min-height: 290px;
}

#page-dashboard-documents .documents-list > .checklist-loading {
    display: grid;
    flex: 1;
    place-items: center;
    min-height: 286px;
    border: 1px solid #c9973e2e;
    color: rgba(255,255,255,.42);
    font: 400 11px/1.6 'Poppins', sans-serif;
}

#page-dashboard-documents .documents-list .documents-empty {
    flex: 1;
    justify-content: center;
    min-height: 286px;
    padding: 34px 24px;
    border-color: #c9973e2e;
    background: rgba(0,0,0,.16);
}

#page-dashboard-documents .documents-list .documents-empty::before {
    display: none;
}

#page-dashboard-documents .documents-list .documents-empty > span {
    width: 52px;
    height: 62px;
    color: rgba(255,255,255,.34);
    border-color: rgba(255,255,255,.25);
}

#page-dashboard-documents .documents-list .document-row {
    background: rgba(0,0,0,.18);
}

#page-dashboard-documents .documents-good-to-know {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 18px 24px;
}

#page-dashboard-documents .documents-good-to-know > div > p:last-child {
    max-width: 740px;
    margin: 4px 0 0;
    color: rgba(255,255,255,.54);
    font: 300 10.5px/1.65 'Poppins', sans-serif;
}

#page-dashboard-documents .documents-support-button {
    flex: 0 0 auto;
    min-width: 190px;
    box-sizing: border-box;
    padding: 14px 24px;
    border: 1px solid #ffbd4b;
    color: #130b03;
    background: linear-gradient(180deg, #f0bd63 0%, #c9973e 48%, #8f5f17 100%);
    box-shadow: 0 8px 20px rgba(0,0,0,.28);
    font: 700 10px/1.2 'Poppins', sans-serif;
    letter-spacing: .14em;
    text-align: center;
    text-transform: uppercase;
    transition: transform .25s ease, filter .25s ease;
}

#page-dashboard-documents .documents-support-button:hover,
#page-dashboard-documents .documents-support-button:focus-visible {
    color: #130b03;
    filter: brightness(1.08);
    transform: translateY(-2px);
}

#page-dashboard-documents .documents-journey {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    min-height: 96px;
    box-sizing: border-box;
    padding: 20px 38px 14px;
    border: 1px solid #c9973e40;
    background: rgba(0,0,0,.28);
}

#page-dashboard-documents .documents-journey a {
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 11px;
    color: rgba(255,255,255,.28);
}

#page-dashboard-documents .documents-journey a:not(:last-child)::after {
    content: '';
    position: absolute;
    z-index: 0;
    top: 15px;
    left: calc(50% + 17px);
    width: calc(100% - 34px);
    height: 1px;
    background: rgba(255,255,255,.22);
}

#page-dashboard-documents .documents-journey a.is-complete::after {
    background: linear-gradient(90deg, #c9973e, #c9973e 55%, rgba(255,255,255,.22));
}

#page-dashboard-documents .documents-journey a > span {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    box-sizing: border-box;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%;
    background: #0b0806;
    font: 600 8px/1 'Poppins', sans-serif;
}

#page-dashboard-documents .documents-journey a > strong {
    font: 600 9px/1.4 'Poppins', sans-serif;
    letter-spacing: .13em;
    text-align: center;
    text-transform: uppercase;
}

#page-dashboard-documents .documents-journey a.is-complete,
#page-dashboard-documents .documents-journey a.is-active {
    color: #d6a24c;
}

#page-dashboard-documents .documents-journey a.is-complete > span,
#page-dashboard-documents .documents-journey a.is-active > span {
    border-color: #d6a24c;
}

#page-dashboard-documents .documents-journey a.is-active > span {
    color: #130b03;
    background: linear-gradient(135deg, #ffce6e, #e65913);
    box-shadow: 0 0 0 5px rgba(201,151,62,.1);
}

@media screen and (max-width: 900px) {
    .documents-hero-card,
    #page-dashboard-documents .documents-dashboard {
        width: 92%;
    }

    #page-dashboard-documents .documents-overview-grid {
        grid-template-columns: 1fr;
    }

    #page-dashboard-documents .documents-overview-card {
        min-height: 0;
    }

    #page-dashboard-documents .documents-rental-reference {
        margin-top: 22px;
    }

    #page-dashboard-documents .documents-journey {
        padding-inline: 18px;
    }
}

@media screen and (max-width: 640px) {
    .documents-hero {
        min-height: 290px;
        padding-top: 34px;
    }

    .documents-hero-card {
        min-height: 220px;
        padding: 34px 24px 26px;
    }

    .documents-hero-card > h1 {
        font-size: clamp(27px, 8.6vw, 38px);
        white-space: normal;
    }

    .documents-hero-card > h2 {
        font-size: clamp(20px, 7vw, 28px);
    }

    #page-dashboard-documents .documents-required-heading,
    #page-dashboard-documents .documents-good-to-know {
        align-items: flex-start;
        flex-direction: column;
    }

    #page-dashboard-documents .documents-required-note {
        white-space: normal;
    }

    #page-dashboard-documents .documents-support-button {
        width: 100%;
    }

    #page-dashboard-documents .documents-journey {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 15px 20px;
    }

    #page-dashboard-documents .documents-journey a {
        align-items: center;
        flex-direction: row;
        min-height: 52px;
        gap: 14px;
    }

    #page-dashboard-documents .documents-journey a:not(:last-child)::after {
        top: 41px;
        bottom: -11px;
        left: 15px;
        width: 1px;
        height: auto;
    }

    #page-dashboard-documents .documents-journey a > strong {
        text-align: left;
    }
}

/* ============================================================
   ADMIN RENTAL DOCUMENTS (Kastle Rentals 2.0) — pending review
   CRUD controls for each rental's external DocuSeal links.
   ============================================================ */

#page-dashboard-documents .documents-list .document-row {
    grid-template-columns: 44px minmax(0, 1fr) auto auto;
    min-height: 82px;
    padding: 14px 16px;
}

#page-dashboard-documents .documents-list .document-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #171007;
    background: linear-gradient(135deg, #ffce6e, #c9973e);
}

#page-dashboard-documents .documents-list .document-info > p {
    margin-top: 3px;
}

#page-dashboard-documents .documents-list .document-row .composant-lien-bouton {
    min-width: 150px;
    box-sizing: border-box;
    justify-content: center;
    text-align: center;
}

.admin-rental-documents {
    margin-top: 24px;
}

.admin-rental-documents-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.admin-rental-documents-header h2 {
    margin: 5px 0 6px;
    color: #fff;
    font: 700 22px/1.3 'Cinzel', serif;
}

.admin-rental-documents-header h2 span {
    display: inline-grid;
    place-items: center;
    min-width: 22px;
    height: 22px;
    margin-left: 8px;
    padding: 0 5px;
    box-sizing: border-box;
    border: 1px solid #c9973e60;
    color: #ffbd4b;
    font: 700 9px/1 'Poppins', sans-serif;
    vertical-align: middle;
}

.admin-rental-documents-header > div > p:last-child {
    margin: 0;
    color: rgba(255,255,255,.48);
    font: 300 10.5px/1.65 'Poppins', sans-serif;
}

.admin-rental-documents-header .composant-lien-bouton {
    flex: 0 0 auto;
    margin: 0;
}

.admin-rental-document-form {
    margin: 22px 0;
    padding: 20px;
    border: 1px solid #c9973e45;
    background: rgba(0,0,0,.3);
}

.admin-rental-document-form[hidden] {
    display: none;
}

.admin-rental-document-form .form-row {
    margin: 0;
}

.admin-rental-document-form .form-row + .form-row {
    margin-top: 16px;
}

.admin-rental-document-description {
    flex: 2 1 360px;
}

.admin-rental-document-secondary .form-group:not(.admin-rental-document-description) {
    flex: 0 1 110px;
}

.admin-document-signed-check {
    display: flex;
    align-items: center;
    align-self: flex-end;
    gap: 10px;
    min-height: 42px;
    box-sizing: border-box;
    padding: 10px 14px;
    border: 1px solid #c9973e40;
    color: rgba(255,255,255,.68);
    background: rgba(0,0,0,.35);
    font: 600 10px/1 'Poppins', sans-serif;
    letter-spacing: .12em;
    cursor: pointer;
}

.admin-document-signed-check input {
    width: 16px;
    height: 16px;
    accent-color: #c9973e;
}

.admin-rental-document-form-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-top: 16px;
}

.admin-rental-document-form-actions .composant-lien-bouton {
    width: auto;
    margin: 0;
}

.admin-rental-documents-table {
    width: 100%;
    margin-top: 22px;
}

.admin-rental-documents-table table {
    width: 100%;
}

.admin-rental-documents-table td code {
    color: #e6b869;
    font: 500 9.5px/1.5 monospace;
}

.admin-rental-documents-table td strong,
.admin-rental-documents-table td small {
    display: block;
    font-family: 'Poppins', sans-serif;
}

.admin-rental-documents-table td strong {
    color: rgba(255,255,255,.84);
    font-size: 11px;
    font-weight: 600;
}

.admin-rental-documents-table td small {
    max-width: 340px;
    margin-top: 4px;
    color: rgba(255,255,255,.42);
    font-size: 9.5px;
    font-weight: 300;
    line-height: 1.5;
}

.admin-rentals-table td small {
    display: block;
    margin-top: 4px;
    color: rgba(255,255,255,.42);
    font-size: 9.5px;
    font-weight: 300;
    line-height: 1.5;
    font-family: 'Poppins', sans-serif;
}

.admin-document-external-link {
    color: #ffce6e;
    font: 600 9px/1.5 'Poppins', sans-serif;
    letter-spacing: .06em;
    white-space: nowrap;
}

.admin-document-actions {
    white-space: nowrap;
}

.admin-document-edit-btn,
.admin-document-delete-btn {
    padding: 5px 8px;
    border: 0;
    color: rgba(255,255,255,.58);
    background: transparent;
    font: 600 9px/1.4 'Poppins', sans-serif;
    text-transform: uppercase;
    cursor: pointer;
}

.admin-document-edit-btn:hover,
.admin-document-edit-btn:focus-visible {
    color: #ffce6e;
}

.admin-document-delete-btn:hover,
.admin-document-delete-btn:focus-visible {
    color: #ff9e6e;
}

@media screen and (max-width: 1050px) {
    .admin-rental-documents-table {
        overflow-x: auto;
    }

    .admin-rental-documents-table table {
        min-width: 780px;
    }
}

@media screen and (max-width: 720px) {
    #page-dashboard-documents .documents-list .document-row {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    #page-dashboard-documents .documents-list .document-status,
    #page-dashboard-documents .documents-list .document-row .composant-lien-bouton {
        grid-column: 2;
        justify-self: start;
    }

    .admin-rental-documents-header {
        flex-direction: column;
    }

    .admin-rental-documents-header .composant-lien-bouton {
        width: 100%;
    }

    .admin-rental-document-form-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .admin-rental-document-form-actions .composant-lien-bouton {
        width: 100%;
    }
}
