
body{
font-family:'Quicksand',sans-serif;
margin:0;
background:linear-gradient(to bottom,#dffcff,#fff0f8,#f5ffff);
}

.hero{
background:linear-gradient(135deg,#39d7db,#84ecff,#ffcfe8);
min-height:300px;
display:flex;
justify-content:center;
align-items:center;
text-align:center;
position:relative;
padding:25px 20px;
box-sizing:border-box;
}

.hero h1{
font-family:'Pacifico',cursive;
font-size:58px;
color:white;
}

.hero p{
font-size:22px;
color:white;
}
.price-line{
margin-top:12px;
}
.price-note{
display:inline-block;
margin-left:8px;
font-size:12px;
font-weight:600;
color:#7a7a7a;
vertical-align:middle;
}

.admin-btn{
position:absolute;
top:12px;
right:12px;
width:28px;
height:28px;
padding:0;
border-radius:50%;
border:1px solid rgba(255,255,255,.55);
background:rgba(255,255,255,.22);
color:rgba(255,255,255,.82);
font-size:0;
line-height:1;
cursor:pointer;
box-shadow:none;
z-index:5;
opacity:.45;
transition:opacity .2s ease, transform .2s ease, background .2s ease;
}
.admin-btn::before{
content:"🔒";
font-size:13px;
}
.admin-btn:hover{
opacity:.95;
transform:scale(1.04);
background:rgba(255,255,255,.38);
}

.card{
background:white;
padding:25px;
margin:20px auto;
max-width:1200px;
border-radius:28px;
box-shadow:0 6px 20px rgba(0,0,0,.08);
}

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:20px;
}

.product-card,.event-card{
background:#fff;
border-radius:20px;
overflow:hidden;
box-shadow:0 4px 15px rgba(0,0,0,.08);
}

.product-title{
padding:15px;
text-align:center;
font-size:22px;
font-weight:bold;
color:#19afb3;
}

.product-card img,.event-card img{
width:100%;
max-height:400px;
object-fit:contain;
cursor:pointer;
}

.gallery-strip{
display:flex;
overflow-x:auto;
gap:15px;
}

.gallery-strip img{
height:220px;
border-radius:20px;
cursor:pointer;
}

button{
background:linear-gradient(135deg,#39d7db,#ffbde5);
border:none;
padding:12px 18px;
border-radius:20px;
cursor:pointer;
color:white;
font-weight:bold;
}

input,textarea,select{
width:100%;
padding:14px;
margin-top:10px;
border-radius:14px;
border:1px solid #ddd;
box-sizing:border-box;
}

.modal{
position:fixed;
inset:0;
background:rgba(0,0,0,.6);
display:flex;
justify-content:center;
align-items:center;
z-index:999;
}

.hidden{display:none !important;}

.modal-box{
background:white;
padding:25px;
width:90%;
max-width:550px;
border-radius:25px;
max-height:90vh;
overflow:auto;
position:relative;
}

.close-btn{
position:absolute;
right:15px;
top:15px;
}

.image-modal{
position:fixed;
inset:0;
background:rgba(0,0,0,.8);
display:flex;
justify-content:center;
align-items:center;
z-index:999;
}

#zoomedImage{
max-width:95vw;
max-height:90vh;
border-radius:20px;
}

.about-photo{
width:220px;
height:220px;
object-fit:cover;
border-radius:50%;
display:block;
margin:auto;
}

.large-admin{
max-width:900px;
}
.admin-note{
background:#fff4cc;
padding:12px;
border-radius:12px;
font-weight:bold;
}
.admin-list{
background:#f8fdff;
border:1px dashed #9de8ee;
border-radius:18px;
padding:12px;
margin:10px 0 25px;
}
.admin-item{
background:white;
padding:12px;
border-radius:14px;
margin-bottom:10px;
box-shadow:0 2px 8px rgba(0,0,0,.06);
}
.admin-item img{
width:90px;
height:90px;
object-fit:cover;
border-radius:12px;
float:left;
margin-right:12px;
}
.admin-gallery{
display:flex;
flex-wrap:wrap;
gap:12px;
background:#f8fdff;
border:1px dashed #9de8ee;
border-radius:18px;
padding:12px;
margin:10px 0 25px;
}
.admin-thumb,.gallery-admin-item{
position:relative;
display:inline-block;
}
.admin-thumb img{
width:100px;
height:100px;
object-fit:cover;
border-radius:12px;
}
.admin-thumb button,.gallery-admin-item button{
position:absolute;
top:5px;
right:5px;
padding:6px 8px;
border-radius:50%;
}
.gallery-admin-item img{
height:220px;
border-radius:20px;
cursor:pointer;
}

.admin-message{
  padding:12px 15px;
  margin:10px 0 20px;
  border-radius:14px;
  font-weight:bold;
}

/* Contact en haut à gauche : sans encart */
.contact-top{
position:absolute;
top:18px;
left:48px;
display:flex;
flex-direction:column;
gap:5px;
text-align:left;
z-index:2;
font-size:14px;
color:white;
text-shadow:0 1px 5px rgba(0,0,0,.22);
}
.contact-top a{
color:white;
text-decoration:none;
font-weight:700;
}
.contact-top a:hover{text-decoration:underline;}

.category-links{
display:flex;
justify-content:center;
align-items:center;
flex-wrap:wrap;
gap:10px;
margin-top:12px;
}
.category-link{
background:transparent;
color:white;
box-shadow:none;
border:2px solid rgba(255,255,255,.75);
text-shadow:0 1px 4px rgba(0,0,0,.18);
}
.category-link.active,
.category-link:hover{
background:rgba(255,255,255,.25);
color:white;
border-color:white;
}

@media(max-width:760px){
.hero{height:auto;min-height:390px;padding:105px 10px 30px;box-sizing:border-box;}
.hero h1{font-size:44px;}
.contact-top{top:12px;left:42px;right:auto;max-width:215px;font-size:13px;}
.admin-btn{top:8px;left:8px;width:24px;height:24px;}
.admin-btn::before{font-size:11px;}
.category-links{gap:8px;}
.category-link{padding:10px 12px;font-size:14px;}
}

/* Cadenas administrateur replacé en haut à droite */
.admin-btn{
left:auto !important;
right:10px !important;
top:10px !important;
}

.product-card{
cursor:pointer;
transition:transform .18s ease, box-shadow .18s ease;
}
.product-card:hover{
transform:translateY(-3px);
box-shadow:0 8px 24px rgba(0,0,0,.12);
}
.product-card .admin-delete-btn,
.product-card img{
cursor:pointer;
}

.product-detail-box{max-width:760px;}
.product-detail-image{
width:100%;
max-height:520px;
object-fit:contain;
border-radius:18px;
background:#f8fdff;
}
.product-detail-content{padding:8px 2px 0;}
.product-reference{
display:inline-block;
background:#eefcff;
color:#128b90;
padding:6px 10px;
border-radius:999px;
font-weight:700;
font-size:13px;
margin:4px 0 10px;
}
.order-btn,.paypal-btn{
display:inline-block;
text-align:center;
text-decoration:none;
margin-top:14px;
background:linear-gradient(135deg,#39d7db,#ffbde5);
border:none;
padding:13px 20px;
border-radius:22px;
cursor:pointer;
color:white;
font-weight:bold;
}
.paypal-btn{
width:100%;
box-sizing:border-box;
font-size:18px;
background:linear-gradient(135deg,#0070ba,#1546a0);
}
.order-rules{
background:#f8fdff;
border:1px solid #b9eff4;
border-radius:18px;
padding:14px 16px;
line-height:1.45;
}
.order-rules ul{margin-top:6px;}
#orderInfo{
font-weight:700;
color:#128b90;
margin-bottom:12px;
}

@media(max-width:760px){
.admin-btn{left:auto !important;right:8px !important;top:8px !important;}
.product-detail-box,.order-box{width:92%;}
}

.secondary-btn{
background:#e9f8fa;
color:#128b90;
margin-top:8px;
}
.password-admin-box{
background:#f8fdff;
border:1px dashed #9de8ee;
border-radius:18px;
padding:12px;
margin-bottom:25px;
}
.product-thumbs{
display:flex;
gap:8px;
margin-top:10px;
overflow-x:auto;
padding-bottom:6px;
}
.product-thumbs img{
width:78px;
height:78px;
object-fit:cover;
border-radius:12px;
cursor:pointer;
border:2px solid #dffcff;
background:white;
}
.admin-item::after{content:"";display:block;clear:both;}

.event-location{
font-weight:700;
color:#128b90;
margin:8px 0 10px;
}
.event-map{
width:100%;
height:240px;
border:0;
border-radius:16px;
box-shadow:0 3px 12px rgba(0,0,0,.08);
background:#f8fdff;
}
.map-link{
display:inline-block;
margin:8px 0 10px;
color:#128b90;
font-weight:700;
text-decoration:none;
}
.map-link:hover{text-decoration:underline;}

.event-map-wrap{
width:100%;
height:260px;
border-radius:18px;
overflow:hidden;
background:#eefbfc;
margin:12px 0 8px;
}
.map-loading,
.map-error{
padding:18px;
font-size:14px;
color:#4d777a;
}

.last-update-line{
  max-width:1200px;
  margin:10px auto 0;
  padding:0 18px;
  box-sizing:border-box;
  font-size:13px;
  font-style:italic;
  color:#6b7d80;
  text-align:center;
}

.event-map-wrap{
  height:330px;
  border:1px solid #cdeff3;
}
.event-map-wrap .leaflet-container,
.event-map-wrap.leaflet-container{
  width:100%;
  height:100%;
  border-radius:18px;
}
.leaflet-control-attribution{
  font-size:10px;
}

.reviews-list{
  display:grid;
  gap:14px;
  margin-bottom:18px;
}
.review-card{
  background:#f8fdff;
  border:1px solid #cdeff3;
  border-radius:18px;
  padding:15px 16px;
  box-shadow:0 2px 10px rgba(0,0,0,.04);
}
.review-head{
  display:flex;
  justify-content:space-between;
  gap:12px;
  align-items:center;
  color:#128b90;
  margin-bottom:8px;
}
.review-head span{
  font-size:12px;
  color:#7a7a7a;
  font-style:italic;
  white-space:nowrap;
}
.review-main-btn{
  margin-top:6px;
}
.review-box textarea{
  min-height:130px;
}
.review-help,.small-admin-info{
  font-size:13px;
  color:#6b7d80;
  font-style:italic;
}

@media(max-width:760px){
  .last-update-line{text-align:left;font-size:12px;}
  .event-map-wrap{height:280px;}
  .review-head{align-items:flex-start;flex-direction:column;gap:3px;}
}


.stars{
display:inline-block;
color:#f2b705;
letter-spacing:2px;
font-size:18px;
margin:6px 0;
}
.rating-label{
display:block;
margin-top:12px;
font-weight:700;
color:#555;
}
.rating-picker{
display:flex;
flex-direction:row-reverse;
justify-content:flex-end;
gap:4px;
margin:8px 0 12px;
}
.rating-picker input{
display:none;
}
.rating-picker label{
font-size:32px;
color:#ddd;
cursor:pointer;
line-height:1;
transition:transform .15s ease,color .15s ease;
}
.rating-picker input:checked ~ label,
.rating-picker label:hover,
.rating-picker label:hover ~ label{
color:#f2b705;
}
.rating-picker label:hover{
transform:scale(1.08);
}
.order-rules a{
color:#19afb3;
font-weight:700;
}


.catalog-card{
background:#fff;
border-radius:20px;
overflow:hidden;
box-shadow:0 4px 15px rgba(0,0,0,.08);
}
.catalog-card img{
width:100%;
max-height:400px;
object-fit:contain;
cursor:pointer;
}
.catalog-info{
color:#128b90;
font-weight:700;
font-style:italic;
line-height:1.4;
}
.catalog-info.small{
font-size:14px;
}
