@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

:root{
  --blue:#0756b8;
  --navy:#081a42;
  --orange:#ff6500;
  --orange-soft:#fff1e8;
  --text:#1f2a3d;
  --muted:#667085;
  --line:#e8edf3;
  --surface:#ffffff;
  --page:#eef1f4;
}

*{box-sizing:border-box}

html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
}

body{
  margin:0;
  background:var(--page);
  color:var(--text);
  font-family:'Poppins',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}

button,
a{
  -webkit-tap-highlight-color:transparent;
}

button{
  font:inherit;
}

.promo-page{
  width:min(100%,900px);
  min-height:100vh;
  margin:0 auto;
  padding:0 18px 0;
  background:#fff;
  overflow:hidden;
}


.promo-hero{
  padding:34px 0 26px;
  text-align:center;
}

.promo-hero h1{
  margin:0;
  color:var(--navy);
  font-size:clamp(2rem,6.2vw,3.2rem);
  line-height:1.06;
  letter-spacing:-.045em;
  font-weight:800;
}

.promo-hero p{
  margin:9px 0 0;
  color:#5f687a;
  font-size:clamp(.96rem,2.2vw,1.2rem);
  line-height:1.45;
}

.promo-hero-line{
  display:block;
  width:78px;
  height:4px;
  margin:18px auto 0;
  border-radius:999px;
  background:var(--orange);
}

.day-picker{
  display:grid;
  grid-template-columns:repeat(7,minmax(88px,1fr));
  gap:12px;
  overflow-x:auto;
  padding:2px 0 14px;
  scrollbar-width:none;
}

.day-picker::-webkit-scrollbar{display:none}

.day-button{
  min-width:88px;
  min-height:92px;
  padding:10px 8px;
  border:1px solid #e7ebf0;
  border-radius:17px;
  background:#fff;
  color:var(--navy);
  box-shadow:0 5px 16px rgba(20,39,77,.08);
  cursor:pointer;
}

.day-button strong,
.day-button span{
  display:block;
}

.day-button strong{
  font-size:1rem;
  font-weight:800;
}

.day-button span{
  margin-top:4px;
  color:#657084;
  font-size:.84rem;
}

.day-button.is-active{
  border-color:var(--orange);
  background:var(--orange);
  color:#fff;
  box-shadow:0 9px 22px rgba(255,101,0,.25);
}

.day-button.is-active span{color:#fff}

.category-picker{
  display:grid;
  grid-template-columns:repeat(6,minmax(104px,1fr));
  gap:12px;
  overflow-x:auto;
  padding:16px 0 24px;
  scrollbar-width:none;
}

.category-picker::-webkit-scrollbar{display:none}

.category-button{
  min-width:104px;
  border:0;
  padding:0;
  background:transparent;
  color:var(--navy);
  cursor:pointer;
}

.category-icon{
  width:70px;
  height:70px;
  display:grid;
  place-items:center;
  margin:0 auto 7px;
  border:1px solid #dfe5ec;
  border-radius:50%;
  background:#fff;
  color:var(--navy);
}

.category-icon svg{
  width:40px;
  height:40px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.category-button>span:last-child{
  display:block;
  white-space:nowrap;
  font-size:.82rem;
  font-weight:500;
}

.category-button.is-active{
  color:var(--orange);
}

.category-button.is-active .category-icon{
  border-color:var(--orange);
  background:var(--orange);
  color:#fff;
  box-shadow:0 8px 18px rgba(255,101,0,.22);
}

.category-icon.dots{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
}

.category-icon.dots i{
  width:6px;
  height:6px;
  border-radius:50%;
  background:currentColor;
}

.promo-list-shell{
  margin-top:4px;
  padding:18px;
  border:1px solid #edf0f4;
  border-radius:22px;
  background:#fff;
  box-shadow:0 10px 28px rgba(15,35,70,.07);
}

.promo-list-heading{
  display:flex;
  align-items:center;
  gap:13px;
  margin-bottom:16px;
}

.promo-list-calendar{
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  color:var(--orange);
}

.promo-list-calendar svg{
  width:38px;
  height:38px;
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.promo-list-heading h2{
  margin:0;
  color:var(--navy);
  font-size:clamp(1.35rem,4vw,1.8rem);
  line-height:1.12;
}

.promo-list-heading p{
  margin:3px 0 0;
  color:#5f687a;
  font-size:.92rem;
}

.promo-list{
  display:grid;
  gap:14px;
}

.promo-card{
  display:grid;
  grid-template-columns:minmax(190px,31%) minmax(0,1fr);
  min-height:218px;
  overflow:hidden;
  border:1px solid #e6eaf0;
  border-radius:17px;
  background:#fff;
  box-shadow:0 5px 16px rgba(21,42,76,.06);
}

.promo-card[hidden]{display:none!important}

.promo-photo{
  position:relative;
  min-width:0;
  overflow:hidden;
  background:#f0f2f5;
}

.promo-photo img{
  display:block;
  width:100%;
  height:100%;
  min-height:218px;
  object-fit:cover;
}

.promo-badge{
  position:absolute;
  top:12px;
  left:12px;
  min-width:72px;
  min-height:50px;
  display:grid;
  place-items:center;
  padding:8px 11px;
  border-radius:11px;
  background:var(--orange);
  color:#fff;
  box-shadow:0 7px 18px rgba(0,0,0,.18);
  font-size:1.2rem;
  line-height:1;
  font-weight:800;
}

.promo-card-main{
  display:grid;
  grid-template-columns:minmax(0,1fr) 178px;
  gap:16px;
  padding:17px 16px 14px 18px;
}

.promo-card-copy{
  min-width:0;
}

.promo-category-label{
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:4px 10px;
  border-radius:999px;
  background:var(--orange-soft);
  color:var(--orange);
  font-size:.72rem;
  font-weight:700;
}

.promo-card h3{
  margin:8px 0 5px;
  color:var(--navy);
  font-size:clamp(1.25rem,3.2vw,1.75rem);
  line-height:1.08;
  letter-spacing:-.025em;
}

.promo-card-copy>p{
  margin:0;
  color:#606a7c;
  font-size:.88rem;
  line-height:1.5;
}

.promo-merchant{
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:14px;
  color:var(--navy);
  font-size:.86rem;
}

.promo-merchant svg{
  flex:none;
  width:22px;
  height:22px;
  fill:var(--orange);
  stroke:none;
}

.promo-card-action{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  justify-content:center;
  text-align:right;
}

.promo-price{
  color:var(--orange);
  font-size:clamp(1.55rem,4vw,2rem);
  line-height:1;
  font-weight:800;
}

.promo-old-price{
  margin-top:5px;
  color:#687183;
  font-size:.98rem;
  text-decoration:line-through;
}

.promo-book{
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  margin-top:14px;
  padding:10px 14px;
  border-radius:10px;
  background:var(--orange);
  color:#fff;
  text-decoration:none;
  box-shadow:0 7px 17px rgba(255,101,0,.2);
  font-size:.96rem;
  font-weight:800;
}

.promo-book svg{
  width:23px;
  height:23px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.promo-card-action small{
  display:block;
  margin-top:5px;
  color:var(--orange);
  font-size:.71rem;
  font-weight:600;
}

.promo-empty{
  padding:32px 16px;
  text-align:center;
  border:1px dashed #d7dee8;
  border-radius:15px;
  background:#fafbfc;
}

.promo-empty strong,
.promo-empty span{
  display:block;
}

.promo-empty strong{
  color:var(--navy);
  font-size:1.08rem;
}

.promo-empty span{
  margin-top:5px;
  color:#6d7789;
  font-size:.86rem;
}

.promo-info{
  display:grid;
  grid-template-columns:64px minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  margin:20px 0 6px;
  padding:15px 18px;
  border:1px solid #ffd8bb;
  border-radius:18px;
  background:#fff6ed;
}

.promo-info-icon{
  width:56px;
  height:56px;
  display:grid;
  place-items:center;
  color:var(--orange);
}

.promo-info-icon svg{
  width:52px;
  height:52px;
  fill:none;
  stroke:currentColor;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.promo-info strong{
  color:var(--navy);
  font-size:1rem;
}

.promo-info p{
  margin:3px 0 0;
  color:#586477;
  font-size:.83rem;
  line-height:1.45;
}

.promo-info>a{
  min-height:46px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px 18px;
  border-radius:10px;
  background:var(--orange);
  color:#fff;
  text-decoration:none;
  white-space:nowrap;
  font-size:.85rem;
  font-weight:800;
}

/* Footer coerente con le pagine interne */
.psc-footer{
  position:relative;
  width:calc(100% + 36px);
  min-height:132px;
  margin:28px -18px 0;
  padding:44px 18px 14px;
  overflow:hidden;
  background:transparent;
  color:#fff;
}

.psc-footer-wave{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  pointer-events:none;
}

.psc-footer-wave path{fill:var(--blue)}

.psc-footer-inner{
  position:relative;
  z-index:2;
  min-height:64px;
  display:grid;
  place-items:center;
}

.psc-footer-url{
  position:relative;
  color:#fff;
  text-decoration:none;
  font-size:clamp(1.35rem,4vw,2rem);
  font-weight:700;
}

.psc-footer-url::after{
  content:"";
  position:absolute;
  left:18%;
  right:18%;
  bottom:-7px;
  height:4px;
  border-radius:999px;
  background:var(--orange);
  transform:skewX(-24deg);
}

/* Cookie compact */
.psc-cookie-banner{
  position:fixed;
  left:10px;
  right:10px;
  bottom:10px;
  z-index:20000;
  display:none;
  width:min(calc(100% - 20px),540px);
  margin:0 auto;
  padding:10px 12px;
  border:1px solid #dfe7f0;
  border-radius:12px;
  background:rgba(255,255,255,.98);
  box-shadow:0 10px 28px rgba(7,26,66,.16);
  color:#183250;
  backdrop-filter:blur(8px);
}

.psc-cookie-banner.is-visible{display:block}

.psc-cookie-banner p{
  margin:0;
  color:#5f7085;
  font-size:.73rem;
  line-height:1.38;
}

.psc-cookie-banner a{
  color:var(--blue);
  font-weight:700;
}

.psc-cookie-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
  margin-top:8px;
}

.psc-cookie-btn{
  min-height:36px;
  padding:7px 9px;
  border-radius:9px;
  font:inherit;
  font-size:.76rem;
  font-weight:800;
  cursor:pointer;
}

.psc-cookie-btn.reject{
  border:1px solid var(--blue);
  background:#fff;
  color:var(--blue);
}

.psc-cookie-btn.accept{
  border:1px solid var(--blue);
  background:var(--blue);
  color:#fff;
}

@media(max-width:760px){
  .promo-page{
    padding:0 12px;
  }

  .promo-hero{
    padding:26px 6px 20px;
  }

  .day-picker{
    margin-right:-12px;
    padding-right:12px;
    gap:9px;
  }

  .day-button{
    min-width:82px;
    min-height:84px;
    border-radius:15px;
  }

  .category-picker{
    margin-right:-12px;
    padding-right:12px;
    gap:7px;
  }

  .category-button{
    min-width:96px;
  }

  .category-icon{
    width:62px;
    height:62px;
  }

  .category-icon svg{
    width:35px;
    height:35px;
  }

  .promo-list-shell{
    padding:13px;
    border-radius:19px;
  }

  .promo-card{
    grid-template-columns:31% minmax(0,1fr);
    min-height:190px;
    border-radius:15px;
  }

  .promo-photo img{
    min-height:190px;
  }

  .promo-badge{
    top:9px;
    left:9px;
    min-width:58px;
    min-height:42px;
    padding:7px 8px;
    font-size:1rem;
  }

  .promo-card-main{
    grid-template-columns:minmax(0,1fr) 128px;
    gap:8px;
    padding:12px 10px 10px 12px;
  }

  .promo-category-label{
    min-height:21px;
    padding:3px 7px;
    font-size:.61rem;
  }

  .promo-card h3{
    margin-top:6px;
    font-size:1.18rem;
  }

  .promo-card-copy>p{
    font-size:.77rem;
    line-height:1.42;
  }

  .promo-merchant{
    gap:5px;
    margin-top:9px;
    font-size:.74rem;
    line-height:1.25;
  }

  .promo-merchant svg{
    width:19px;
    height:19px;
  }

  .promo-price{
    font-size:1.38rem;
  }

  .promo-old-price{
    font-size:.82rem;
  }

  .promo-book{
    min-height:44px;
    gap:6px;
    margin-top:10px;
    padding:8px 9px;
    font-size:.79rem;
  }

  .promo-book svg{
    width:19px;
    height:19px;
  }

  .promo-card-action small{
    font-size:.62rem;
  }

  .promo-info{
    grid-template-columns:52px minmax(0,1fr) auto;
    gap:10px;
    padding:12px;
  }

  .promo-info-icon{
    width:48px;
    height:48px;
  }

  .promo-info-icon svg{
    width:46px;
    height:46px;
  }

  .promo-info>a{
    padding:9px 12px;
    font-size:.72rem;
  }

  .psc-footer{
    width:calc(100% + 24px);
    margin-left:-12px;
    margin-right:-12px;
  }
}

@media(max-width:520px){
  .promo-hero h1{
    font-size:2rem;
  }

  .promo-hero p{
    font-size:.92rem;
  }

  .promo-list-shell{
    padding:11px;
  }

  .promo-card{
    grid-template-columns:34% minmax(0,1fr);
    min-height:184px;
  }

  .promo-photo img{
    min-height:184px;
  }

  .promo-card-main{
    grid-template-columns:minmax(0,1fr) 105px;
    gap:6px;
    padding:10px 8px 9px 10px;
  }

  .promo-card h3{
    font-size:1.02rem;
  }

  .promo-card-copy>p{
    font-size:.69rem;
  }

  .promo-merchant{
    font-size:.66rem;
  }

  .promo-price{
    font-size:1.2rem;
  }

  .promo-old-price{
    font-size:.72rem;
  }

  .promo-book{
    min-height:40px;
    padding:7px 6px;
    font-size:.68rem;
  }

  .promo-book svg{
    width:17px;
    height:17px;
  }

  .promo-info{
    grid-template-columns:45px minmax(0,1fr);
  }

  .promo-info>a{
    grid-column:1 / -1;
    min-height:42px;
    width:100%;
  }
}

@media(max-width:390px){
  .promo-page{padding:0 9px}

  .promo-card{
    grid-template-columns:36% minmax(0,1fr);
  }

  .promo-card-main{
    grid-template-columns:minmax(0,1fr) 92px;
    padding:9px 6px 8px 8px;
  }

  .promo-card h3{
    font-size:.93rem;
  }

  .promo-card-copy>p{
    font-size:.64rem;
  }

  .promo-merchant{
    font-size:.61rem;
  }

  .promo-book span{
    font-size:.64rem;
  }

  .psc-cookie-banner{
    width:calc(100% - 12px);
    left:6px;
    right:6px;
    bottom:6px;
    padding:9px 10px;
  }
}


/* HEADER COPIATO IDENTICO DA prenota.php / prenota.css */
/* HEADER */
.topbar{
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  min-height:86px;
  gap:16px;
  border-bottom:1px solid #eef1f5;
}

.back-link{
  justify-self:start;
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#1b2742;
  text-decoration:none;
  font-size:1.03rem;
  font-weight:500;
}

.back-arrow{
  color:#0863c9;
  font-size:2rem;
  line-height:1;
}

.brand{
  display:block;
}

.brand img{
  display:block;
  width:220px;
  max-width:34vw;
  height:auto;
}

.share-button{
  justify-self:end;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
}

.share-button svg{
  width:34px;
  height:34px;
  fill:none;
  stroke:#ef7200;
  stroke-width:2.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

@media(max-width:680px){
  .topbar{
    min-height:72px;
  }

  .back-link span:last-child{
    display:none;
  }

  .back-arrow{
    font-size:2.2rem;
  }

  .brand img{
    width:172px;
    max-width:43vw;
  }

  .share-button{
    width:40px;
    height:40px;
  }

  .share-button svg{
    width:29px;
    height:29px;
  }
}

@media(max-width:420px){
  .brand img{
    width:150px;
    max-width:49vw;
  }
}






/* =========================================================
   STRUTTURA SUPERIORE IDENTICA A prenota.php
   ========================================================= */
:root{
  --navy:#071a42;
  --blue:#0964c9;
  --orange:#ff6500;
}

body{
  margin:0 !important;
  overflow-x:hidden !important;
  background:#f4f5f7 !important;
  color:var(--navy) !important;
  font-family:"Poppins",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
}

.promo-page{
  width:min(100%,900px) !important;
  margin:0 auto !important;
  padding:20px 30px 34px !important;
  background:#fff !important;
  overflow:visible !important;
}

/* HEADER: regole identiche a prenota.css */
.topbar{
  display:grid !important;
  grid-template-columns:1fr auto 1fr !important;
  align-items:center !important;
  min-height:86px !important;
  gap:16px !important;
  border-bottom:1px solid #eef1f5 !important;
}

.back-link{
  justify-self:start !important;
  display:inline-flex !important;
  align-items:center !important;
  gap:8px !important;
  color:#1b2742 !important;
  text-decoration:none !important;
  font-size:1.03rem !important;
  font-weight:500 !important;
}

.back-arrow{
  color:#0863c9 !important;
  font-size:2rem !important;
  line-height:1 !important;
}

.brand{
  display:block !important;
}

.brand img{
  display:block !important;
  width:220px !important;
  max-width:34vw !important;
  height:auto !important;
}

.share-button{
  justify-self:end !important;
  width:46px !important;
  height:46px !important;
  display:grid !important;
  place-items:center !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  cursor:pointer !important;
}

.share-button svg{
  width:34px !important;
  height:34px !important;
  fill:none !important;
  stroke:#ef7200 !important;
  stroke-width:2.8 !important;
  stroke-linecap:round !important;
  stroke-linejoin:round !important;
}

@media(max-width:680px){
  .promo-page{
    padding:14px 14px 26px !important;
  }

  .topbar{
    min-height:72px !important;
  }

  .back-link span:last-child{
    display:none !important;
  }

  .back-arrow{
    font-size:2.2rem !important;
  }

  .brand img{
    width:172px !important;
    max-width:43vw !important;
  }

  .share-button{
    width:40px !important;
    height:40px !important;
  }

  .share-button svg{
    width:29px !important;
    height:29px !important;
  }
}

@media(max-width:420px){
  .brand img{
    width:150px !important;
    max-width:49vw !important;
  }
}
