:root{
  --bg:#fbf7ef;
  --card:#fffdf8;
  --text:#342b22;
  --muted:#766b5d;
  --gold:#c7a34f;
  --gold2:#a98235;
  --gold3:#ead8a7;
  --cream:#f7efdf;
  --line:#e9ddc7;
  --soft:#f3eadb;
  --shadow:0 12px 28px rgba(88,67,35,.08);
  --ok:#177d57;
  --bad:#b54d3d;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  background:
    radial-gradient(circle at top left, rgba(199,163,79,.12), transparent 22rem),
    linear-gradient(180deg,#f9f1e5,#fbf7ef 42%,#fffdf8);
  color:var(--text);
}
a{text-decoration:none;color:inherit}
button,input,textarea{font:inherit}
button{cursor:pointer}
.page{max-width:760px;margin:0 auto;padding:12px}
.hero,.card,.footer{
  background:rgba(255,253,248,.98);
  border:1px solid var(--line);
  border-radius:28px;
  box-shadow:var(--shadow);
  margin:0 0 12px 0;
}
.hero{
  padding:16px;
  background:
    linear-gradient(135deg,rgba(255,253,248,.99),rgba(250,244,232,.98)),
    radial-gradient(circle at right top, rgba(199,163,79,.12), transparent 16rem);
}
.hero-top{display:flex;align-items:center;gap:14px}
.hero-logo{
  width:96px;height:96px;object-fit:cover;display:block;flex:0 0 auto;
  background:#fff;border-radius:50%;border:1px solid var(--line);
  box-shadow:0 8px 18px rgba(70,50,24,.08);
}
.hero-text{min-width:0}
.top-label{
  display:inline-flex;padding:7px 11px;border-radius:999px;background:var(--cream);
  border:1px solid #e4d1a3;color:#8c6a2e;font-size:12px;font-weight:900;
}
h1{font-size:35px;line-height:1.02;letter-spacing:-.045em;margin:10px 0 6px}
.hero p{margin:0;color:var(--muted);line-height:1.4;font-weight:650}
.main-cta,.primary{
  min-height:50px;border:0;border-radius:18px;background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:#fff;font-weight:900;display:flex;align-items:center;justify-content:center;padding:13px 18px;
  box-shadow:0 10px 22px rgba(169,130,52,.2);
}
.main-cta{margin-top:14px;width:100%}
.card{padding:18px}
.section-title{display:flex;gap:11px;align-items:flex-start;margin-bottom:15px}
.section-title>span{
  width:36px;height:36px;border-radius:50%;flex:0 0 auto;background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:#fff;display:grid;place-items:center;font-weight:900;
}
h2{font-size:23px;line-height:1.08;margin:0 0 5px;letter-spacing:-.035em}
.section-title p{margin:0;color:var(--muted);line-height:1.35}
.services-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.service-card{
  border:1px solid var(--line);border-radius:22px;padding:14px;
  background:linear-gradient(180deg,#fff,#fbf6ee);
  text-align:left;min-height:118px;transition:.16s ease;overflow:hidden;
}
.service-card.selected,.service-card:hover{
  border-color:var(--gold);
  transform:translateY(-1px);
  box-shadow:0 10px 20px rgba(88,67,35,.08);
  background:linear-gradient(180deg,#fffdf8,#fbf1dd);
}
.service-category{
  display:inline-flex;border:1px solid #e6d2a2;background:var(--cream);color:#8e6c2c;border-radius:999px;
  padding:5px 9px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.05em
}
.service-card strong{display:block;font-size:17px;line-height:1.16;margin:10px 0 8px}
.duration-pill{display:inline-flex;background:#2f281f;color:#fff;padding:6px 10px;border-radius:999px;font-size:12px;font-weight:900}
.service-card small{display:block;color:var(--muted);font-size:12px;margin-top:8px;font-weight:650;line-height:1.25}
.calendar-shell{border:1px solid var(--line);border-radius:22px;background:#fff;padding:12px;overflow:hidden}
.calendar-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;gap:8px}
.calendar-month{text-transform:capitalize;font-size:18px;font-weight:900;text-align:center;letter-spacing:-.02em}
.calendar-nav{
  width:40px;height:40px;border-radius:13px;border:1px solid var(--line);background:#fff;color:#91702c;
  font-size:24px;font-weight:800;display:grid;place-items:center;
}
.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.calendar-weekdays span{font-size:11px;font-weight:900;color:#998c77;text-align:center;padding:6px 0;text-transform:uppercase}
.calendar-day{
  min-height:50px;border-radius:15px;border:1px solid var(--line);background:#fff;color:var(--text);
  display:flex;align-items:flex-start;justify-content:flex-end;position:relative;padding:7px;font-weight:900;font-size:14px;
}
.day-number{line-height:1}
.day-indicator{position:absolute;left:50%;bottom:8px;transform:translateX(-50%);width:7px;height:7px;border-radius:50%;background:var(--gold);opacity:0}
.day-state{position:absolute;left:50%;bottom:4px;transform:translateX(-50%);font-size:8px;color:#afa390;font-weight:800;display:none;white-space:nowrap}
.calendar-day.available .day-indicator{opacity:1}
.calendar-day.selected{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#fff;border-color:transparent}.calendar-day.selected .day-indicator{background:#fff;opacity:1}
.calendar-day.disabled{background:#f3eee6;color:#c1b7a7;border-color:#eee4d6}.calendar-day.disabled .day-state{display:block}
.calendar-day.empty{visibility:hidden}
.slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.slot{
  min-height:52px;border:1px solid var(--line);border-radius:16px;background:#fff;font-size:15px;font-weight:900;
  color:var(--text);box-shadow:0 6px 14px rgba(88,67,35,.05)
}
.slot.selected{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#fff;border-color:transparent}

.empty-slots-state{
  grid-column:1 / -1;
  width:100%;
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  padding:18px 20px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  min-height:92px;
  box-shadow:0 8px 18px rgba(88,67,35,.05);
}
.empty-slots-icon{
  width:44px;
  height:44px;
  border-radius:50%;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:#fff;
  font-size:23px;
  font-weight:900;
}
.empty-slots-text{
  min-width:0;
  text-align:left;
}
.empty-slots-state h3{
  margin:0 0 4px;
  font-size:21px;
  line-height:1.15;
  letter-spacing:-.03em;
  white-space:normal;
}
.empty-slots-state p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.35;
  font-weight:650;
}

.summary-card{background:linear-gradient(180deg,#fffdf9,#fbf2df)}
.summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.summary-grid div{border:1px solid var(--line);border-radius:17px;background:#fff;padding:13px;min-width:0}
.summary-grid small{display:block;color:#8e6c2c;font-weight:900;text-transform:uppercase;font-size:11px;margin-bottom:5px}
.summary-grid strong{font-size:16px;line-height:1.25;word-break:break-word}
label{display:block;margin:12px 0 6px;font-weight:850}
input,textarea{
  width:100%;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff;font-size:16px;color:var(--text);outline:none
}
input:focus,textarea:focus{border-color:var(--gold);box-shadow:0 0 0 4px rgba(198,162,78,.12)}
textarea{min-height:96px;resize:vertical}
.primary{width:100%;margin-top:14px}
.message{padding:15px 17px;border-radius:17px;margin:0 0 12px 0;background:#effcf5;color:var(--ok);border:1px solid #cbead8;font-weight:750}
.message.error{background:#fff3f1;color:var(--bad);border-color:#f0c7bf}
.footer{padding:18px;display:flex;justify-content:space-between;align-items:flex-end;gap:16px}
.footer strong{font-size:18px}
.footer p{margin:4px 0 0;color:var(--muted);line-height:1.35}
.footer-socials{display:flex;gap:10px;flex-wrap:wrap}
.social-link{
  display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:14px;border:1px solid var(--line);
  background:#fff;font-weight:850;
}
.social-link img{width:20px;height:20px;display:block;object-fit:contain}
.hidden{display:none!important}

@media(max-width:620px){
  .page{padding:0;max-width:none}
  .full-bleed-card{border-left:0;border-right:0;border-radius:0;margin:0 0 8px 0;box-shadow:none}
  .hero,.card,.footer{padding:14px}
  .hero-top{align-items:center}
  .hero-logo{width:82px;height:82px}
  h1{font-size:29px}
  h2{font-size:21px}
  .services-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
  .service-card{padding:11px;min-height:106px;border-radius:18px}
  .service-category{padding:4px 8px;font-size:9px}
  .service-card strong{font-size:14px;line-height:1.14;margin:8px 0 7px}
  .duration-pill{font-size:11px;padding:6px 9px}
  .service-card small{font-size:10px;line-height:1.18;margin-top:7px}
  .summary-grid{grid-template-columns:1fr}
  .footer{display:block}
  .footer-socials{margin-top:12px}
}

@media(max-width:420px){
  .hero,.card,.footer{padding:12px}
  .hero-top{gap:10px}
  .hero-logo{width:74px;height:74px}
  .top-label{font-size:11px;padding:6px 9px}
  h1{font-size:26px}
  .hero p{font-size:13px}
  .main-cta{min-height:46px}
  .section-title>span{width:34px;height:34px}
  h2{font-size:20px}
  .section-title p{font-size:13px}
  .services-grid{gap:7px}
  .service-card{padding:10px;min-height:102px}
  .calendar-shell{padding:8px}
  .calendar-weekdays,.calendar-grid{gap:3px}
  .calendar-weekdays span{font-size:9px}
  .calendar-day{min-height:42px;border-radius:12px;padding:5px;font-size:12px}
  .day-state{font-size:6px;bottom:3px}
  .slots{gap:7px}
  .slot{font-size:13px;min-height:46px}
    .social-link{padding:7px 10px}
  .social-link img{width:18px;height:18px}
  .empty-slots-state{grid-column:1 / -1; padding:14px; min-height:82px; justify-content:flex-start; gap:12px}
  .empty-slots-icon{width:38px; height:38px; font-size:20px}
  .empty-slots-state h3{font-size:17px}
  .empty-slots-state p{font-size:13px}
}


/* Admin Premium V29 */
.admin-page .admin-hero{
  background:
    linear-gradient(135deg,rgba(255,253,248,.99),rgba(250,244,232,.98)),
    radial-gradient(circle at right top, rgba(199,163,79,.14), transparent 16rem);
  padding:16px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}
.admin-hero-left{display:flex;align-items:center;gap:14px}
.admin-hero-logo{
  width:86px;
  height:86px;
  border-radius:50%;
  object-fit:cover;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 8px 18px rgba(70,50,24,.08);
}
.admin-hero h1{margin:8px 0 4px;font-size:32px}
.admin-hero p{margin:0;color:var(--muted);font-weight:650}
.admin-selected-date{
  margin-top:12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:12px 14px;
}
.admin-list{display:grid;gap:10px;margin-top:14px}
.admin-item,.admin-empty{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
}
.admin-item-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:flex-start;
}
.admin-item p{margin:5px 0 0;color:var(--muted);line-height:1.35}
.admin-muted{color:var(--muted)}
.admin-status{
  flex:0 0 auto;
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
  font-weight:900;
  background:#f5eee0;
  color:#8e6c2c;
}
.status-confirmed,.status-done{background:#eaf8ef;color:#177d57}
.status-cancelled,.status-no_show{background:#fff0ed;color:#b54d3d}
.admin-warning{
  margin-top:8px;
  display:inline-flex;
  padding:7px 10px;
  border-radius:14px;
  background:#fff4df;
  color:#9b741e;
  font-weight:850;
  font-size:13px;
}
.admin-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:12px;
}
.small-btn,.secondary-btn{
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  border-radius:14px;
  padding:9px 12px;
  font-weight:850;
}
.small-btn.ok{background:#eaf8ef;color:#177d57;border-color:#cbead8}
.small-btn.warn{background:#fff7df;color:#9b741e;border-color:#ead8a7}
.small-btn.bad{background:#fff0ed;color:#b54d3d;border-color:#f0c7bf}
.secondary-btn{width:100%;margin-top:8px}
.admin-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.reschedule-box{
  margin-top:12px;
  padding:12px;
  border-radius:16px;
  border:1px dashed var(--line);
  background:#fffdf8;
}
select{
  width:100%;
  padding:14px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  font-size:16px;
  color:var(--text);
  outline:none;
}
.services-editor{
  display:grid;
  gap:12px;
}
.service-edit{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:14px;
}
.check-line{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:10px;
}
.check-line input{width:auto}
@media(max-width:620px){
  .admin-page .admin-hero{display:block}
  .admin-hero-left{align-items:flex-start}
  .admin-hero-logo{width:72px;height:72px}
  .admin-hero button{margin-top:12px;width:100%}
  .admin-item-head{display:block}
  .admin-status{display:inline-flex;margin-top:10px}
  .admin-two{grid-template-columns:1fr}
  .admin-selected-date{display:block}
  .admin-selected-date button{margin-top:10px;width:100%}
}


/* Admin V33 urgent fixes */
.admin-toast{
  position:fixed;
  left:14px;
  right:14px;
  top:14px;
  z-index:9999;
  padding:14px 16px;
  border-radius:18px;
  background:#effcf5;
  color:#177d57;
  border:1px solid #cbead8;
  box-shadow:0 14px 34px rgba(88,67,35,.16);
  font-weight:850;
  text-align:center;
}
.admin-toast.error{
  background:#fff3f1;
  color:#b54d3d;
  border-color:#f0c7bf;
}
.admin-availability{
  margin:12px 0;
}
.availability-title{
  font-weight:900;
  color:#8e6c2c;
  margin:0 0 8px;
}
.availability-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
}
.slot-mini{
  border:1px solid var(--line);
  background:#fff;
  border-radius:14px;
  padding:10px 8px;
  font-weight:900;
  color:var(--text);
}
.slot-mini.selected{
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:#fff;
  border-color:transparent;
}
.small-empty{
  padding:12px;
  border-radius:16px;
}
.note-box{
  margin-top:8px;
  background:#fff7e8;
  border:1px solid #ead8a7;
  color:#6b5120;
  padding:10px;
  border-radius:14px;
  font-size:13px;
  line-height:1.35;
}
@media(max-width:620px){
  .availability-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}


/* Admin V37 */
.admin-selected-date{margin-top:12px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px 14px}
.admin-list{display:grid;gap:10px;margin-top:14px}.admin-item,.admin-empty{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px}.admin-item-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.admin-item p{margin:5px 0 0;color:var(--muted);line-height:1.35}.admin-muted{color:var(--muted)}
.admin-status{flex:0 0 auto;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:900;background:#f5eee0;color:#8e6c2c}.status-confirmed,.status-done{background:#eaf8ef;color:#177d57}.status-cancelled,.status-no_show{background:#fff0ed;color:#b54d3d}
.admin-warning{margin-top:8px;display:inline-flex;padding:7px 10px;border-radius:14px;background:#fff4df;color:#9b741e;font-weight:850;font-size:13px}.admin-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.small-btn,.secondary-btn{border:1px solid var(--line);background:#fff;color:var(--text);border-radius:14px;padding:9px 12px;font-weight:850}.small-btn.ok{background:#eaf8ef;color:#177d57;border-color:#cbead8}.small-btn.warn{background:#fff7df;color:#9b741e;border-color:#ead8a7}.small-btn.bad{background:#fff0ed;color:#b54d3d;border-color:#f0c7bf}.secondary-btn{width:100%;margin-top:8px}.admin-two{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.reschedule-box{margin-top:12px;padding:12px;border-radius:16px;border:1px dashed var(--line);background:#fffdf8}select{width:100%;padding:14px;border:1px solid var(--line);border-radius:16px;background:#fff;font-size:16px;color:var(--text);outline:none}
.services-editor,.working-hours-box{display:grid;gap:12px}.service-edit,.work-day-row{background:#fff;border:1px solid var(--line);border-radius:18px;padding:14px}.check-line,.day-toggle{display:flex;align-items:center;gap:10px}.check-line input,.day-toggle input{width:auto}.work-periods{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.work-periods input{padding:10px;border-radius:12px}.admin-separator{height:1px;background:var(--line);margin:18px 0}.small-section{margin-top:8px}
.admin-toast{position:fixed;left:14px;right:14px;top:14px;z-index:9999;padding:14px 16px;border-radius:18px;background:#effcf5;color:#177d57;border:1px solid #cbead8;box-shadow:0 14px 34px rgba(88,67,35,.16);font-weight:850;text-align:center}.admin-toast.error{background:#fff3f1;color:#b54d3d;border-color:#f0c7bf}
.admin-availability{margin:12px 0}.availability-title{font-weight:900;color:#8e6c2c;margin:0 0 8px}.availability-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.slot-mini{border:1px solid var(--line);background:#fff;border-radius:14px;padding:10px 8px;font-weight:900;color:var(--text)}.slot-mini.selected{background:linear-gradient(135deg,var(--gold),var(--gold2));color:#fff;border-color:transparent}
.note-box{margin-top:8px;background:#fff7e8;border:1px solid #ead8a7;color:#6b5120;padding:10px;border-radius:14px;font-size:13px;line-height:1.35}
@media(max-width:620px){.admin-item-head{display:block}.admin-status{display:inline-flex;margin-top:10px}.admin-two{grid-template-columns:1fr}.admin-selected-date{display:block}.admin-selected-date button{margin-top:10px;width:100%}.work-periods{grid-template-columns:repeat(2,1fr)}.availability-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}


/* V40 - Promotions, prix et horaires exceptionnels */
.promo-section{
  margin:0 0 12px 0;
}
.promo-card{
  background:linear-gradient(135deg,#fffdf8,#fbf1dd);
  border:1px solid var(--gold3);
  border-radius:28px;
  box-shadow:var(--shadow);
  padding:18px;
}
.promo-card h2{margin:8px 0 6px}
.promo-card p{margin:0 0 8px;color:var(--text);font-weight:750;line-height:1.35}
.promo-card small{color:var(--muted);font-weight:800}
.promo-badge{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:#2f281f;
  color:#fff;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.price-line{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:8px;
  flex-wrap:wrap;
  font-weight:900;
}
.old-price{
  color:var(--muted);
  text-decoration:line-through;
}
.promo-price{
  background:linear-gradient(135deg,var(--gold),var(--gold2));
  color:#fff;
  padding:5px 9px;
  border-radius:999px;
}
.service-edit .admin-two{margin-top:8px}


/* V41 - Bannière promotions côté cliente */
.promo-section{
  margin:-4px 0 14px 0;
}
.promo-banner{
  overflow:hidden;
  border:1px solid var(--gold3);
  border-radius:22px;
  background:
    linear-gradient(135deg,rgba(255,253,248,.98),rgba(251,241,221,.98)),
    radial-gradient(circle at right, rgba(199,163,79,.18), transparent 14rem);
  box-shadow:0 10px 22px rgba(88,67,35,.07);
}
.promo-banner-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:11px 13px 8px;
  border-bottom:1px solid rgba(199,163,79,.24);
}
.promo-banner-head .promo-banner-title{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:2px 0;
  color:#8c6a2e;
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.promo-banner-head .promo-banner-title::before{
  content:"★";
  color:var(--gold2);
}
.promo-banner-head .promo-banner-subtitle{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#8c6a2e;
  font-weight:950;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.promo-banner-head .promo-subtitle-star{
  color:var(--gold2);
  font-size:1em;
  line-height:1;
}
.promo-ticker{
  overflow:hidden;
  width:100%;
  padding:10px 0 12px;
}
.promo-ticker-track{
  display:flex;
  width:max-content;
  gap:12px;
  animation:promoTicker 28s linear infinite;
}
.promo-ticker-item{
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-width:max-content;
  margin-right:10px;
  padding:9px 13px;
  border-radius:999px;
  background:#fff;
  border:1px solid var(--line);
  color:var(--text);
  box-shadow:0 6px 14px rgba(88,67,35,.06);
  font-size:14px;
  font-weight:750;
}
.promo-ticker-item strong{
  color:#8c6a2e;
  font-weight:950;
}
.promo-ticker-item span{
  color:var(--muted);
}
@keyframes promoTicker{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
@media (prefers-reduced-motion: reduce){
  .promo-ticker-track{animation:none;flex-wrap:wrap;padding:0 10px;width:auto}
  .promo-ticker-item{white-space:normal;min-width:0;border-radius:16px}
}


/* V42 - Bannière non stoppable + prix/promo automatique */
.promo-banner,
.promo-ticker,
.promo-ticker-track{
  -webkit-user-select:none;
  user-select:none;
}
.promo-ticker-track{
  animation-play-state:running !important;
  will-change:transform;
}
.promo-ticker{
  pointer-events:none;
}
.summary-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
}
.price-line .promo-name{
  flex-basis:100%;
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}
.discount-chip{
  display:inline-flex;
  align-items:center;
  width:max-content;
  margin-top:8px;
  padding:6px 10px;
  border-radius:999px;
  background:#fff7e5;
  border:1px solid var(--gold3);
  color:#8c6a2e;
  font-size:12px;
  font-weight:950;
}


.admin-stats{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(130px,1fr));
  gap:10px;
  margin:12px 0;
}
.stat-card{
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:12px;
  background:rgba(255,255,255,.75);
}
.stat-card strong{
  display:block;
  font-size:1.25rem;
}
.stat-card span{
  color:#6b7280;
  font-size:.88rem;
}
.admin-toolbar{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin:12px 0;
}
.admin-toolbar input[type="search"]{
  flex:1;
  min-width:220px;
}
button:disabled,
.primary:disabled{
  opacity:.65;
  cursor:not-allowed;
}


/* V45 - Responsive téléphone/ordinateur + icône app */
@media (min-width: 900px){
  .admin-page{
    max-width:1180px;
    padding:18px;
  }
  .admin-page .full-bleed-card{
    border-radius:30px;
  }
  .admin-hero{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
  }
  .admin-hero-left{
    display:flex;
    align-items:center;
    gap:16px;
  }
  .admin-hero-logo{
    width:88px;
    height:88px;
  }
  .admin-calendar-shell{
    max-width:760px;
    margin:0 auto;
  }
  #adminPanel > .card{
    scroll-margin-top:18px;
  }
}

@media (max-width: 760px){
  html,body{
    max-width:100%;
    overflow-x:hidden;
  }
  .page{
    width:100%;
  }
  .admin-page{
    padding:0;
  }
  .admin-page .card,
  .admin-page .admin-hero{
    border-left:0;
    border-right:0;
    border-radius:0;
    margin-bottom:8px;
  }
  .admin-hero-left{
    display:flex;
    align-items:center;
    gap:12px;
  }
  .admin-hero-logo{
    width:68px;
    height:68px;
    flex:0 0 auto;
  }
  .admin-hero h1{
    font-size:25px;
    line-height:1.05;
  }
  .admin-hero p{
    font-size:13px;
  }
  .section-title{
    align-items:flex-start;
  }
  .section-title span{
    width:34px;
    height:34px;
    min-width:34px;
  }
  .calendar-shell{
    border-radius:20px;
    padding:10px;
  }
  .calendar-day{
    min-height:46px;
    border-radius:13px;
    padding:6px;
    font-size:13px;
  }
  .calendar-weekdays,
  .calendar-grid{
    gap:4px;
  }
  .admin-toolbar{
    display:grid;
    grid-template-columns:1fr;
    gap:8px;
  }
  .admin-toolbar input[type="search"]{
    min-width:0;
    width:100%;
  }
  .admin-toolbar .small-btn{
    width:100%;
    min-height:46px;
  }
  .admin-stats{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .stat-card{
    padding:10px;
  }
  .stat-card strong{
    font-size:1.05rem;
  }
  .admin-item{
    border-radius:18px;
    padding:12px;
  }
  .admin-item-head{
    display:block;
  }
  .admin-status{
    display:inline-flex;
    width:max-content;
    margin-top:10px;
  }
  .admin-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
    margin-top:12px;
  }
  .admin-actions .small-btn,
  .reschedule-box .small-btn{
    width:100%;
    min-height:44px;
    justify-content:center;
  }
  .reschedule-box{
    border-radius:16px;
    padding:10px;
  }
  .admin-two,
  .service-edit .admin-two{
    grid-template-columns:1fr;
  }
  .work-periods{
    grid-template-columns:1fr 1fr;
  }
  .availability-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  input,select,textarea,button{
    font-size:16px;
  }
  .primary,
  .secondary-btn,
  .main-cta{
    min-height:52px;
  }
  .services-grid{
    grid-template-columns:1fr;
  }
  .service-card{
    min-height:auto;
  }
  .summary-grid{
    grid-template-columns:1fr;
  }
  .promo-banner{
    border-radius:18px;
  }
  .promo-banner-head{
    display:flex;
    flex-wrap:wrap;
    gap:8px 12px;
    justify-content:space-between;
  }
  .promo-banner-head .promo-banner-title{
    font-size:11px;
  }
  .promo-banner-head .promo-banner-subtitle{
    font-size:11px;
  }
  .footer-socials{
    grid-template-columns:1fr;
  }
}

@media (max-width: 390px){
  .admin-stats{
    grid-template-columns:1fr;
  }
  .admin-actions{
    grid-template-columns:1fr;
  }
  .work-periods,
  .availability-grid{
    grid-template-columns:1fr;
  }
  h1{
    font-size:26px;
  }
}

@media (display-mode: standalone){
  body{
    padding-top:env(safe-area-inset-top);
    padding-bottom:env(safe-area-inset-bottom);
  }
}


/* V50 - Client mobile premium : services en 2 colonnes comme la version préférée */
@media (max-width: 760px){
  body:not(.admin-body) .page{
    padding:0;
    max-width:none;
  }

  body:not(.admin-body) .services-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:10px !important;
    align-items:stretch;
  }

  body:not(.admin-body) .service-card{
    min-height:118px !important;
    padding:13px 12px !important;
    border-radius:22px !important;
    background:linear-gradient(180deg,#fffefb 0%,#fbf6ee 100%);
  }

  body:not(.admin-body) .service-card strong{
    font-size:17px !important;
    line-height:1.13 !important;
    margin:10px 0 8px !important;
    letter-spacing:-.025em;
  }

  body:not(.admin-body) .service-category{
    font-size:10px !important;
    padding:5px 10px !important;
    max-width:100%;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }

  body:not(.admin-body) .duration-pill{
    font-size:12px !important;
    padding:7px 11px !important;
  }

  body:not(.admin-body) .service-card small{
    font-size:12px !important;
    line-height:1.2 !important;
    margin-top:8px !important;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
  }

  body:not(.admin-body) .promo-banner{
    margin-bottom:14px;
  }
}

@media (max-width: 430px){
  body:not(.admin-body) .services-grid{
    gap:8px !important;
  }

  body:not(.admin-body) .service-card{
    min-height:112px !important;
    padding:11px 10px !important;
    border-radius:20px !important;
  }

  body:not(.admin-body) .service-card strong{
    font-size:15.5px !important;
    line-height:1.12 !important;
  }

  body:not(.admin-body) .service-category{
    font-size:9.5px !important;
    padding:4px 8px !important;
  }

  body:not(.admin-body) .duration-pill{
    font-size:11.5px !important;
    padding:6px 10px !important;
  }

  body:not(.admin-body) .service-card small{
    font-size:11px !important;
  }
}

@media (max-width: 350px){
  body:not(.admin-body) .services-grid{
    gap:7px !important;
  }

  body:not(.admin-body) .service-card{
    padding:10px 9px !important;
  }

  body:not(.admin-body) .service-card strong{
    font-size:14px !important;
  }

  body:not(.admin-body) .service-category{
    font-size:8.5px !important;
  }
}


.admin-subcard{
  margin:0 0 14px 0;
  padding:14px;
  border:1px dashed var(--line);
  border-radius:20px;
  background:linear-gradient(180deg,#fffdf8,#fbf5e9);
}
.admin-subcard h3{
  margin:0 0 6px 0;
  font-size:18px;
  letter-spacing:-.02em;
}
.service-edit-head{
  margin-bottom:10px;
  align-items:center;
}
.service-edit-head strong{
  display:block;
  font-size:15px;
}


.client-quick-search{
  margin:8px 0 14px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(180deg,#fffdf8,#fbf3e5);
}
.full-small-btn{
  width:100%;
  min-height:47px;
  justify-content:center;
}
.client-suggestions{
  display:grid;
  gap:8px;
  margin-top:8px;
}
.client-suggestion{
  width:100%;
  text-align:left;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  padding:10px 12px;
  color:var(--text);
}
.client-suggestion strong,
.client-suggestion span,
.client-suggestion small{
  display:block;
}
.client-suggestion strong{
  font-size:14px;
}
.client-suggestion span{
  color:var(--muted);
  font-size:12px;
  margin-top:3px;
  font-weight:700;
}
.client-suggestion small{
  color:#8c6a2e;
  font-size:11px;
  margin-top:3px;
  font-weight:800;
}
.client-suggestion:hover,
.client-suggestion:focus{
  border-color:var(--gold);
  box-shadow:0 8px 18px rgba(88,67,35,.08);
}
.client-selected{
  border:1px solid #d9c48f;
  background:#fff8e8;
  color:var(--text);
  border-radius:16px;
  padding:10px 12px;
  font-size:13px;
  line-height:1.45;
}

/* V53 - mémos admin et calendrier */
.admin-memo{
  margin-top:14px;
  padding:14px;
  border:1px dashed var(--line);
  border-radius:22px;
  background:rgba(247,239,223,.55);
}
.admin-memo h3{
  margin:0 0 6px;
  font-size:1.05rem;
}
.memo-item{
  opacity:.86;
  background:rgba(255,253,248,.72);
}
.calendar-day .day-state{
  max-width:100%;
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}


#instagramLink{
  cursor:pointer;
}


/* V57 - Anti dark mode forcé Samsung Internet / navigateurs mobiles */
:root{
  color-scheme: light only;
}
html,
body,
main,
section,
.card,
.service-card,
.promo-banner,
.calendar-card,
.footer-card,
.admin-body,
.admin-shell,
.admin-card,
input,
select,
textarea,
button{
  color-scheme: light only;
}
html{
  background:#fffaf0 !important;
}
body{
  background:
    radial-gradient(circle at top left, rgba(199,163,79,.14), transparent 34rem),
    linear-gradient(180deg,#fffdf7 0%,#fbf5ea 100%) !important;
  color:#2b241d !important;
}
body:not(.admin-body) .hero,
body:not(.admin-body) .section,
body:not(.admin-body) .service-card,
body:not(.admin-body) .promo-banner,
body:not(.admin-body) .calendar,
body:not(.admin-body) footer{
  background-color:rgba(255,253,248,.96);
}
input,
select,
textarea{
  background-color:#fff !important;
  color:#2b241d !important;
  -webkit-text-fill-color:#2b241d !important;
}
::placeholder{
  color:#8b8175 !important;
  opacity:1 !important;
}


/* V58 - Espace gérante */
.manager-page .admin-hero h1{
  margin-bottom:4px;
}
.manager-date-line{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin:0 0 14px;
  padding:12px 14px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,253,248,.84);
}
.manager-search-box{
  margin:14px 0;
  padding:14px;
  border:1px solid var(--line);
  border-radius:20px;
  background:linear-gradient(180deg,rgba(250,244,232,.7),rgba(255,253,248,.95));
}
.manager-client-info{
  margin-top:10px;
  padding:12px;
  border-radius:16px;
  border:1px solid var(--gold3);
  background:#fffaf0;
  color:var(--text);
  font-weight:750;
  line-height:1.45;
}
.manager-stats{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin-bottom:14px;
}
.manager-stat{
  border:1px solid var(--line);
  border-radius:18px;
  background:#fffdf8;
  padding:12px;
}
.manager-stat strong{
  display:block;
  font-size:28px;
  color:var(--text);
}
.manager-stat span{
  color:var(--muted);
  font-weight:750;
}
.manager-booking-card{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}
.manager-actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-end;
}
.manager-memo{
  margin-top:16px;
  padding:16px;
  border-radius:22px;
  border:1px dashed var(--gold3);
  background:#fff8ec;
}
.manager-memo h3{
  margin:0 0 10px;
}
.manager-memo-item{
  display:grid;
  gap:5px;
  padding:11px 0;
  border-top:1px solid rgba(199,163,79,.18);
}
.manager-memo-item:first-of-type{
  border-top:0;
}
.client-suggestion{
  width:100%;
  text-align:left;
  display:grid;
  gap:4px;
  border:1px solid var(--line);
  background:#fff;
  color:var(--text);
  border-radius:16px;
  padding:11px 12px;
  margin-top:8px;
}
.client-suggestion span{
  color:var(--muted);
  font-weight:700;
}
.muted-suggestion{
  color:var(--muted);
  font-weight:750;
}
.admin-success-text{
  color:var(--ok);
  font-weight:900;
}
.admin-error-text{
  color:var(--bad);
  font-weight:900;
}
@media(max-width:620px){
  .manager-stats{
    grid-template-columns:1fr;
  }
  .manager-booking-card{
    display:grid;
  }
  .manager-actions{
    justify-content:flex-start;
  }
}

/* V61 - Liste jours fermés admin */
.admin-list-title{
  margin:14px 0 8px;
  color:#8c6a2e;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.04em;
  font-size:13px;
}
.closed-date-item{
  border-style:solid;
}


/* V62 - Bouton rafraîchir gérante plus visible */
.manager-refresh-btn{
  background:linear-gradient(135deg,var(--gold2),var(--gold));
  color:#fff;
  border:0;
  box-shadow:0 8px 16px rgba(154,115,38,.18);
  font-weight:950;
  padding:12px 16px;
}
.manager-refresh-btn:disabled{
  opacity:.7;
}
.manager-date-line{
  gap:12px;
  align-items:center;
}
@media(max-width:720px){
  .manager-date-line{
    display:grid;
    grid-template-columns:1fr;
  }
  .manager-refresh-btn{
    width:100%;
    min-height:48px;
    font-size:15px;
  }
}


/* V69 - Recherche cliente gérante plus stable mobile */
.manager-search-box .client-suggestions{
  max-height:220px;
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
}
.suggestion-helper{
  font-size:12px;
  font-weight:850;
  color:#8c6a2e;
  background:#fff8e8;
  border:1px solid var(--gold3);
  border-radius:14px;
  padding:8px 10px;
}
.client-suggestion.muted{
  font-weight:800;
  color:var(--muted);
  background:#fffdf8;
}
