

.collection{
position: relative;
padding-top: -5vh;
padding-bottom: 24px;

background: linear-gradient(
to bottom,
#E1E1C8 0%,
#FFFFFF 100%
);
  
margin-right:6px;
margin-left:3px;
border-radius:12px 12px 0px 0px;
box-shadow: 4px 4px 4px rgba(0,0,0,0.75);

z-index:6;

}



/* gradient */
.collection::before{
content:"";
position:absolute;
top:0; left:0; right:0;
height: 4vh;                          /* même valeur que le peek */
background: linear-gradient(180deg, rgba(255,255,255,0) 100%, #fff 0%);
pointer-events: none;                   /* n’empêche pas la carte ni les liens */
z-index: 1;
}



.collection .wrap{
max-width: 80%;
width: 100%;
margin: 0 auto;
padding: 0 12px;
}




/* maxi screens */
@media (min-width: 1200px){
.collection .wrap{ width: 75%; }
}




/* Chrome / Safari / Edge */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {

margin: 0;
}


button {
cursor: pointer;
}








/* title */

#shop-brand{
left:12%;
top:3px;
position:fixed;
}

#shop-brand img{
width:50%;
}

@media (max-width: 640px) {
#shop-brand {
width:50%;
left:96px;
top:24px;
}

#shop-brand img{
width:100%;
}
}








/* shop */

.shop-container {
display: flex;
flex-wrap: wrap;
gap: 1rem;
padding: 1rem;
margin-top:144px;
}

.shop-cart__inner{
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0; /* 🔑 très important en flex pour autoriser le scroll */
  padding:0px 12px 0px 0px;
}

.shop-products {
box-sizing: border-box;
padding: 1rem;
border: 1px solid #ddd;
border-radius: 8px;
position: fixed;
top: 144px;
right: 1rem;
left: 1rem; 
max-height: calc(100vh - 144px - 16px);
display: flex;
flex-direction: column;
}

.shop-products {
flex: 2 1 300px;
}

.shop-cart {
flex: 1 1 260px;
max-width: 420px;
}




.shop-cart h2 {
margin-top: 0;
}

	
@media (max-width: 768px) {
.shop-container {
flex-direction: column;
}

.shop-cart {
max-width: 100%;
}
}
		
		










		
		
		



/* GRID */
.shop-products-grid{
display: grid;
grid-template-columns: 1fr;
gap: 1rem;
margin-top: 1rem;
}

@media (min-width: 520px){
.shop-products-grid{
grid-template-columns: repeat(2, 1fr);
}
}

@media (min-width: 900px){
.shop-products-grid{
grid-template-columns: repeat(3, 1fr);
}
}

@media (min-width: 1200px){
    .shop-products-grid{
        grid-template-columns: repeat(4, 1fr);
    }
}





/* [( )] */
.map-card{
    border: 3px solid white;
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
	background:#00647D;
	padding:0px 12px 0px 12px;
}


.map-card-body{
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.map-card-title{
margin: 0;
}

.map-card-price{
font-weight: 700;
color: #333;
}

.map-card-actions{
margin-top: auto;
}

.map-card-actions form{
display: flex;
gap: 0.5rem;
align-items: center;
}

.map-card-actions input[type="number"]{
width: 64px;
}

.map-card-actions button{
flex: 1;
padding: 0.55rem 0.8rem;
border-radius: 10px;
}

.map-thumb {
width: 40px;
}
		
.map-thumb img{
margin-top:-60px;
margin-left:6px;
width: 96px;
height: auto;
display: block;
transform: rotate(-3deg);
transform-origin: 50% 50%;
margin-right: -25px;

/* + relief "carte réelle" */
background: #fff;                     /* liseré papier */
border: 1px solid rgba(0,0,0,.10);    /* tranche fine */
filter:
drop-shadow(0 3px 4px rgba(0,0,0,.5))   /* ombre principale */
drop-shadow(0 4px 6px rgba(0,0,0,.18));    /* ombre de proximité */
/* léger biseau interne (optionnel) */
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset;
}

.map-thumb img:hover{
transform: rotate(-5deg) translateY(-5px);
filter:
drop-shadow(0 16px 20px rgba(0,0,0,.24))
drop-shadow(0 6px 8px rgba(0,0,0,.18));
}














/*		b  u  t  t  o   n		*/

.btn-buy{
--iconSpace: 40px;   /* half circle reserved */
--sidePad: 16px;     /* classic padding right side */
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
height: 40px;
padding: 0 var(--sidePad) 0 calc(var(--iconSpace) + var(--sidePad));
border-radius: 9999px;
background: #007D4B;
color:white;
font-weight: 700;
text-decoration: none;
border: 2px solid rgba(255,255,255,1);
transition: transform .06s ease, background-color .2s ease, box-shadow .2s ease;
}


.btn-buy::before{
content: "";
position: absolute;
left: 6px;                  /* place l’icône au centre du demi-cercle */
top: 50%;
transform: translateY(-50%);
width: 24px;                /* ← ajuste la taille du caddie ici */
height: 24px;
background: url('pictOpat/shop/white/convenience.svg') no-repeat center / contain;
pointer-events: none;
}

.btn-buy:hover{ background:#19C87D; box-shadow: 0 4px 10px rgba(0,0,0,.16); }
.btn-buy:active{ transform: translateY(1px); }

.btn-buy:focus-visible{
outline: 2px solid #1b2634;
outline-offset: 2px;
}



.see-all-collection {
  background-color: #00647D;
  text-align: center;
  border-radius: 18px;
  border:3px solid white;
  padding-bottom:12px;
}

.see-all-collection a {
  text-decoration: none;
  display: inline-block;
}

.see-all-collection {
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.see-all-collection:hover {
  background-color: #007A96;
  transform: translateY(-8px);
}

.link-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top:18px;
}

.link-icon .icon {
  height: 1.5em;
  transform: translateY(8px);
}








		
		
	