.box-shadow {
  width:100%;
    max-width: 430px;
    margin-right: auto;
    margin-left: auto;
    background-color: #000000;
    z-index: 10000;
}

html, body {
  
  height: 100%;
  margin: 0;
}
body { position: relative; }



body {
    margin: 0;
    overflow-x: hidden;
    width:100%;
    height: 100%;
    max-width: 430px;
    margin-right: auto;
    margin-left: auto;
  
   
  }

  .container {
    display: flex;
    flex-direction: column;
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    
    overflow: hidden;
    

  }

  .section {
    position: relative;
    width: 100%;
   
    display: block;
  }

  #section-1 {
    height: 100vh;
    perspective: 1000px;
  transform-style: preserve-3d;
  }

  
#sec1bgbg2name {

    margin-bottom: 50px;
    
}


  

  /* zoom & pin under 430px */
@media (max-width: 430px) {
 
  .background-img-section .bg-img--left {
    
    transform: scale(150%) ;
  }
  .background-img-section .bg-img--right {

    transform: scale(150%) ;
  }
}
  


  #section-2 {
  
  height: auto      !important;
  min-height: 100vh;    /* optional floor at one viewport */
  overflow: visible !important;          /* optional spacing */
  
}




  #s2-title-index {
    margin-bottom: 50px;
  }

   #section-count {
    height: 300px;
    width: 100%;
  }

 /* instead of height:500px; */
#section-3 {
  
  height: auto      !important;
  width: 100%;
  min-height: 300px;
  line-height: 0 !important;
  overflow: hidden !important;          /* optional spacing */
}

#section-3-additional {
  background-color: rgb(255, 255, 255);
    margin-inline: auto;
    align-items: center;
    align-content: center;
    align-self: auto;
    text-align: center;
}

  
  #section-4 {
  position: relative;
  overflow: hidden;
  
  min-height: 100vh; /* let it grow if needed */
   

  }

  #section-4 > .container-gallery {  /* whatever immediate wrapper you have */
    z-index: 1000 !important;
  height: 100%;
}
/* wherever you put your global CSS */
.pin-spacer {
  width: 100% !important;
}

.gallery-pin-wrapper {
  position: relative;
  /* we’ll set its height dynamically in JS */
}


/* in your stylesheet, loaded last */
#section-5 {
 
  min-height: 100vh;
  height: 100%;
   overflow: visible;
  display: block;
  padding-top: 50px;
  
}

#section-5 p {
  text-align: center;
  margin: 0 !important;
  padding-bottom: 20px;

}

.container-wish {
  
  overflow-y: auto;
  position: relative;
  overflow: hidden;
  height: calc(3 * 200px + 1.5rem); /* 2 rows high + 1 row-gap */
  /* your fade-mask, etc. */
}


/* your 2-row “window” */
.container-wish {
  position: relative;
  height: calc(2 * 200px + 1 * 1.5rem);
  overflow: hidden;   /* hide cards outside the window */
  mask-image: linear-gradient(
    to bottom,
    transparent 0%, black 15%, black 85%, transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%, black 15%, black 85%, transparent 100%
  );
}

  /* Reset the UL */
.container-wish .wish-list {
  list-style: none;
  margin: 0;
  padding: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Each wish-card is one “card” */
.container-wish .wish-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  padding: 1rem;
  flex: 1 1 calc(50% - 1.5rem);
  /* two cards per row; subtract the gap */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* The wish text (top half) */
.container-wish .wish-text {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 0.75rem;
  color: #333; 
}

/* The author line (bottom) */
.container-wish .wish-author {
  font-size: 0.875rem;
  text-align: right;
  color: #666;
}

/* Make it fully responsive */
@media (max-width: 600px) {
  .container-wish .wish-card {
    flex: 1 1 100%;
  }
}

.wish-list {
  will-change: transform;
  backface-visibility: hidden;
}


#bg-overlay-1 {
  position: absolute;
  inset: 0;
  width: 100%;
 
  background: rgba(0, 0, 0, 0); /* start transparent */
  pointer-events: none;
  z-index: 2;
}

#bg {
  top:-150px;
  width: 100%;
  height: 100%;
}


.noscroll {
  overflow: hidden;
  height: 100vh;
}




  .title .top {
    font-size:1em;
    color: black;
    margin-bottom: 80px;
    line-height: 0;
    text-shadow: 10px 10px 10px #838383 !important;
   
  }

  .title .below {
    font-size:20px;
    color: black;
    margin-top: 30px;
    text-shadow: 10px 10px 10px #747474 !important;
   
  }

  .title.middle {
  line-height: 1;
  margin: 2px;
}

.info-heading-name {
   line-height: 1;
  margin: 8px;

}

.greetings2 {
  line-height: 1 !important;
  margin: 8px !important;

}
  

  .title .middle {
   
    margin-top: 10px;
    font-size:1.5rem;
  
    text-shadow: 10px 1px 5px #b3b3b3 !important;
    
  }

  
 

  

.main-card {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}
.container {
    max-width: 420px;
    margin: auto;
}



/* make container a stacking context */
.main-card {
  position: relative; /* if you didn’t inline it */
  overflow: hidden;   /* hide any overflow during envelope fold */
}

/* envelope overlay sits on top initially */
.start-overlay {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
  border-radius: 1em;

  background: rgba(255, 255, 255, 0.08); /* translucent white */
  backdrop-filter: blur(5px) saturate(160%) brightness(120%);
  -webkit-backdrop-filter: blur(5px) saturate(160%) brightness(120%);

  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 0 0.5px rgba(255, 255, 255, 0.4),
    0 8px 32px rgba(0, 0, 0, 0.2);

  /* Optional subtle animated sheen */
  overflow: hidden;
}

.start-overlay::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 10% 10%, rgba(255,255,255,0.3) 0%, transparent 70%);
  animation: glassWave 8s linear infinite;
  pointer-events: none;
  opacity: 0.15;
}

@keyframes glassWave {
  0% {
    transform: rotate(0deg) scale(1.1);
  }
  100% {
    transform: rotate(360deg) scale(1.1);
  }
}



.start-content {
  position:relative;
  border-radius: 1em;
  z-index: 100;
  top: 45vh;
  text-align: center;
  width: 100%;
  max-width: 420px;
}

#start-btn {
  
  display: inline-block;
  font-size: 1.3rem;
  padding: 1rem 2rem;
   background: rgba(0, 0, 0, 0.3); /* darker glass background */
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 9999px; /* ⬅️ Makes it fully round */
  cursor: pointer;
  margin: 0 auto;
  z-index: 1000;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow:
    inset 0 0 0.5px rgba(255, 255, 255, 0.6),
    0 6px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;

  /* 🌟 Add this for text depth */
  text-shadow:
    1px 1px 2px rgba(0, 0, 0, 0.45),
    0 0 3px rgba(255, 255, 255, 0.8);
aspect-ratio: 1 / 1;  
    width: auto;
height: auto;
 text-align: center;
  white-space: nowrap;
}
/* the real card underneath */
#main-div {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  z-index: 1;

  
}

.main-div.hide-others .section:not(#section-1) {
  display: none !important;
}



.camera-scene {

  transform-style: preserve-3d;
  position: relative;
  height: 100vh;
  overflow: hidden;
}
.layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transform-style: preserve-3d;
  will-change: transform;
}
/* save the date button */

.save-date-container {
  margin-top: 1rem;
  text-align: center;
}

.main-div {
    max-width: 420px;
    margin: auto;
    box-shadow: 0 10px 20px rgb(0 0 0 / 19%), 0 6px 6px rgb(0 0 0 / 23%);
}

.zoomIn {
    animation-name: zoomIn;
}

.main_text {
    text-shadow: 0.3px 0.3px 0.3px rgba(0, 0, 0, 0.25);
    color: #52605f;
}

.fontType-2 {
    font-size: 45px !important;
    font-family: 'Cinzel Decorative', cursive !important;
}

.main-div {
    max-width: 420px;
    margin: auto;
    box-shadow: 0 10px 20px rgb(0 0 0 / 19%), 0 6px 6px rgb(0 0 0 / 23%);
    
}




.hidden {
    display: none;
}




  /* SECTION 1 CONTAINER AND IMAGES POSITIONING */



  
  #background-img-section1 {
    perspective: 1000px;
    will-change: transform;
    
  transform-style: preserve-3d;
    position: absolute;
    height:100%;
    width: 100%;
    z-index: 0;
  

}

#background-img-section1 * {
  backface-visibility: hidden;
}
    
  

  #background-img-section1 img {
    position: absolute;
    object-fit:cover;
    width: 100%;
  
  }

  .fixed-layers {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5; 
    align-items: center;
    align-content: center;
    align-self: auto;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
  }

  .sec-1-elements {
 
   
    position: absolute;
 
    height: 100vh;
    width: 100%;
  
 
    z-index: 5; 

    
    align-items: center;
    align-content: center;
    align-self: auto;
    text-align: center;
    line-height: 1; 

  }


  
    

  #petals-1 {
    position: sticky;
    top: 200px;
    left: -170px;
    scale: 1.3;
    opacity: 0.6;

  }

  

  #petals-2 {
    position: sticky;
    top: 100px;
    left: -170px;
    scale: 1.3;
    opacity: 0.7;

  }


  

  

  
/* mobile view */


  #top-right {
    position: absolute;
    top: 0px;
    right: -160px;
    scale: 0.7;
    opacity: 1;
  
  }

   #right-top {
    position: absolute;
    top: 300px;
    right: -110px;
    scale: 0.5;
    opacity: 1;
  
  }

  /* The container defines the area; it stays the same size (no layout shift) */
.frame-wrap{
  position: relative;
  width: 100%;
  height: 100%;        /* or a fixed height/aspect-ratio if needed */
  overflow: visible;   /* so scaled image can spill if larger */
}

      #frame{
  width: 100%;
  height: 100%;
  margin-bottom: -30px;
  scale: 0.77;
  margin-bottom: 30px;
  overflow:visible !important;
  object-fit: contain !important;        /* keep full frame visible */
  object-position: 50% 50%;   /* center */
  z-index: 2;
  pointer-events: none;       /* clicks pass through if needed */
}




  #top-left-1 {
    position: absolute;
    top: -8vh;
    left: -60vw;
    scale: 0.6;
    opacity: 1;
    

  }
  
    #top-left-2 {
    position: absolute;
    top: 2vh;
    left: -55vw;
    scale: 0.5;
    opacity: 1;
    

  }

  
    #top-left-3 {
    position: absolute;
    top: 2vh;
    left: -55vw;
    scale: 0.5;
    opacity: 1;
    

  }

   #right-1 {
    position: absolute;
    top: -5vh;
    right: -65vw;
    scale: 0.4;
    opacity: 1;
    

  }

  
   #right-2 {
    position: absolute;
    top: -5vh;
    right: -70vw;
    scale: 0.5;
    opacity: 1;
    

  }

    





   #flower1 {
    position: absolute;
    top: 10vh;
    left: -50vw;
    scale: 0.4;
    opacity: 1;
    

  }

  
   #flower2 {
    position: absolute;
    bottom: 20vh;
    right: -45vw;
    scale: 0.4;
    opacity: 1;
    

  }

    
   #flower3 {
    position: absolute;
    bottom: 10vh;
    left: 0vw;
    scale: 0.7;
    opacity: 1;
    

  }








  #bottom-right {
    position: absolute;
    bottom: -50px;
    right: -190px;
    scale: 0.6;
    opacity: 1;
    

  }

#main-title {



    
  
  padding: 20px;
  position: absolute;
  top: clamp(0%, 50%, 50%);   /* Ideal is 50%, but allows movement */
  left: 50%;
   transform: translate(50%, 50%);
   margin-top: -50%;
  width: 100%;
  text-align: center;
}

#main-title.pos-left {
  
  text-align: left !important;
  left: 0% !important;
  transform: translateX(0%) !important;
 
}
#main-title.pos-center {

  text-align: center !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}
#main-title.pos-right {

  text-align: right !important;
  left: 100% !important;
  transform: translateX(-100%) !important;
}

  .endtrigger {

    visibility: hidden;
  }

  #left-layer-0 {

    position: absolute;
    scale: 0.8;
    max-width: 200px;
    transform: translateX(-130px); 
    top: 180px;
    object-fit: cover; 

   
 }

 /* COUNTDOWN */ 

 .countdown-container {
  margin-top: 120px;
  text-align: center;
}

.countdown-title {
  font-size: 1rem;
  margin-bottom: 2rem;
  letter-spacing: 2px;
}

.time-grid {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.time-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-number {
  font-size: 1.5rem;
  font-weight: lighter;
  color: #222;
}

.time-label {
  margin-top: 1rem;
  font-size: 1rem;
  color: #666;
}

/* SEC 1 DESKTOP */
  @media (min-width: 431px) {



     #top-left-1 {
    position: absolute;
    top: -20px;
    left: -230px;
    scale: 0.8;
    opacity: 1;
    

  }
       #top-left-2 {
    position: absolute;
    top: -40px;
    left: -200px;
    scale: 0.8;
    opacity: 1;
    

  }
         #top-left-3 {
    position: absolute;
    top: -100px;
    left: -200px;
    scale: 0.8;
    opacity: 1;
    

  }

    #right-1 {
    position: absolute;
    bottom: 130px;
    right: -280px;
    scale: 0.6;
    opacity: 1;
    

  }

      #right-2 {
    position: absolute;
    top: -100px;
    right: -250px;
    scale: 0.6;
    opacity: 1;
    

  }

  #petals-1 {
    position: absolute;
    top: 200px;
    left: -170px;
    scale: 1;
    opacity: 0.6;

  }

  

  


  /* The container defines the area; it stays the same size (no layout shift) */
.frame-wrap{
  position: relative;
  width: 100%;
  height: 100%;        /* or a fixed height/aspect-ratio if needed */
  overflow: visible;   /* so scaled image can spill if larger */
}

      #frame{
  width: 100%;
  height: 100%;
  margin-bottom: -30px;
  scale: 0.70;
  margin-bottom: 30px;
  overflow:visible !important;
  object-fit: contain !important;        /* keep full frame visible */
  object-position: 50% 50%;   /* center */
  z-index: 2;
  pointer-events: none;       /* clicks pass through if needed */
}

  #frameSvg{
  width: 100%;
  height: 100%;
  scale: 0.9;
  overflow:visible !important;
  object-fit: cover;     /* keep full frame visible */
  object-position: 50% 50%;   /* center */
  z-index: 2;
  pointer-events: none;       /* clicks pass through if needed */
}

/* Keep stroke width visually constant while scaling */
#frameSvg path{ vector-effect: non-scaling-stroke; }








  #flower1 {
    position: absolute;
    top: 100px;
    left: -220px;
    scale: 0.5;
    opacity: 1;
    

  }


  
  #flower2 {
    position: absolute;
    bottom: 150px;
    right: -180px;
    scale: 0.5;
    opacity: 1;
    

  }

  #flower3 {
    position: absolute;
    top: 200px;
    left: 0px;
    scale: 0.8;
    opacity: 1;
    

  }

}




/* SECTION 2 CONTAINER AND IMAGES POSITIONING */


#background-img-section2 {
  position: absolute;
  height:100%;
  width: 100%;
 
  
}

#background-img-section3 {
  position: absolute;
  height:100%;
  width: 100%;
 
  
}

#background-img-section2 img {
  position: absolute;
  object-fit:cover;
  width: 100%;
  
 

}
#section-2 .sec-2-elements {
  position: relative  !important;
  /* (or position: relative if you still need it positioned) */
  width:    100%    !important;
  top:      auto    !important;
  left:     auto    !important;
}



#section-3 .sec-3-elements {
  position: relative  !important;
  /* (or position: relative if you still need it positioned) */
  width:    100%    !important;
  top:      auto    !important;
  left:     auto    !important;
}



 
  #sec2-right-1 {
    position: absolute;
    top: -20vh;
    right: -65vw;
    scale: 0.8;
    opacity: 1;

  }

  
  #sec2-right-2 {
    position: absolute;
    top: 10vh;
    right: -50vw;
    scale: 0.8;
    opacity: 1;
    

  }

  #sec2-right-3 {
    position: absolute;
    top: 40vh;
    right: -60vw;
    scale: 0.8;
    opacity: 1;
    

  }

  
  #sec2-right-middle2 {
    position: absolute;
    bottom: -15vh;
    right: -60vw;
    scale: 0.8;
    opacity: 1;
    

  }

  #sec2-right-bottom {
    position: absolute;
    top: 180px;
    right: -25vw;
    scale: 0.6;
    opacity: 1;
    

  }

    #sec2-left-1 {
    position: absolute;
    top: -15vh;
    left: -55vw;
    scale: 0.8;
    opacity: 1;
    


  }

     #sec2-left-2 {
    position: absolute;
    top: 15vh;
    left: -65vw;
    scale: 0.8;
    opacity: 1;
    

  }

     #sec2-left-3 {
    position: absolute;
    bottom: 5vh;
    left: -60vw;
    scale: 0.7;
    opacity: 1;
    

  }

     #sec2-left-4 {
     position: absolute;
    bottom: -15vh;
    left: -55vw;
    scale: 0.7;
    opacity: 1;
    

  }


   #sec2-left-middle {
    position: absolute;
    top: 40vh;
    left: -40vw;
    scale: 0.9;
    opacity: 1;
    

  }



  #sec2-left-5 {
    position: absolute;
    bottom: -10vh;
    left: -65vw;
    scale: 1.05;
    opacity: 1;
    

  }

  
  #sec2-bottom-left2 {
    position: absolute;
    bottom: -10vh;
    left: -55vw;
    scale: 1.25;
    opacity: 1;
    

  }

  #sec2-bottom-right {
    position: absolute;
    bottom: 5vh;
    right: -35vw;
    scale: 0.7;
    opacity: 1;
    

  }

  /* FOR DESKTOP */

  @media (min-width: 431px) {


  #sec2-right-1 {
    position: absolute;
    top: -180px;
    right: -270px;
    scale: 0.8;
    opacity: 1;
    

  }

  
  #sec2-right-2 {
    position: absolute;
    top: 100px;
    right: -220px;
    scale: 0.8;
    opacity: 1;
    

  }

  #sec2-right-3 {
    position: absolute;
    top: 300px;
    right: -280px;
    scale: 0.8;
    opacity: 1;
    

  }


  
  #sec2-right-middle2 {
    position: absolute;
    bottom: -50px;
    right: -270px;
    scale: 0.8;
    opacity: 1;
    

  }

  #sec2-right-bottom {
    position: absolute;
    top: 180px;
    right: -260px;
    scale: 0.6;
    opacity: 1;
    

  }

    #sec2-left-1 {
    position: absolute;
    top: -180px;
    left: -220px;
    scale: 0.8;
    opacity: 1;
    

  }

     #sec2-left-2 {
    position: absolute;
    top: -70px;
    left: -270px;
    scale: 0.9;
    opacity: 1;
    

  }

   #sec2-left-3 {
    position: absolute;
    bottom: 160px;
    left: -290px;
    scale: 0.9;
    opacity: 1;
    

  }

  
    #sec2-left-4 {
    position: absolute;
    bottom: -100px;
    left: -250px;
    scale: 0.8;
    opacity: 1;
    

  }

   #sec2-left-middle {
    position: absolute;
    top: 200px;
    left: -240px;
    scale: 0.7;
    opacity: 1;
    

  }




  #sec2-left-5 {
    position: absolute;
    bottom: -150px;
    left: -210px;
    scale: 0.85;
    opacity: 1;
    

  }

  
  #sec2-bottom-left2 {
    position: absolute;
    bottom: -100px;
    left: -210px;
    scale: 1.05;
    opacity: 1;
    

  }

  #sec2-bottom-right {
    position: absolute;
    bottom: -110px;
    right: -200px;
    scale: 0.6;
    opacity: 1;
    

  }

}


 
  
  #photos-center-0 {
  
    position: absolute;
    width: 100%;
    left: 110px;
    top: 250px;
   
    max-width: 200px;
    margin-left: auto;
    margin-right: auto;
  
  }

  

  .greetings-parents {
    padding-top: 10px;
    font-size: 1.2em !important;
  }

  /* SECTION 3 */ 

  #eventInfo {
    position:relative !important;

   
    margin-bottom: 100px;
  
   
    height: 100%;
    width: 100%;
    max-width: 430px;
    visibility: hidden;
  
    margin-top: 40px;
    
    margin-inline: auto;
    align-items: center;
    align-content: center;
    align-self: auto;
   
    z-index: 1000;

   
  }


  
  #eventInfoContents {
    
    padding-right: 8px;
    padding-left:8px;
    
 
    padding-top: 30px;
    padding-bottom: 10px;
    text-align: center;
    margin-inline: auto;
    margin-left:25px;
    margin-right:25px;


  background: rgba(255, 255, 255, 0.12); /* translucent blue tint */
  backdrop-filter: blur(4px) saturate(130%) brightness(105%);
  -webkit-backdrop-filter: blur(4px) saturate(110%) brightness(105%);

  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 0 0.5px rgba(255, 255, 255, 0.4),
    0 8px 32px rgba(0, 0, 0, 0.2);

  /* Optional subtle animated sheen */
  overflow: hidden;
 
    
  }



#eventInfoContents::before {
   
  content: "";
  position: fixed; /* use fixed instead of absolute to avoid affecting scroll */
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  background: radial-gradient(circle at 10% 10%, rgba(255,255,255,0.3) 0%, transparent 70%);
  backdrop-filter: blur(4px) saturate(130%) brightness(100%);
  -webkit-backdrop-filter: blur(4px) saturate(110%) brightness(100%);
  animation: glassWave 8s linear infinite;
  pointer-events: none;
  opacity: 0.15;
}

@keyframes glassWave {
  0% {
    transform: rotate(0deg) scale(1.1);
  }
  100% {
    transform: rotate(360deg) scale(1.1);
  }
}


   #eventInfoContents #s2-inviter-msg-index {
    text-align: left !important;
    padding-top: 10px;

  }


  #sec3f1 {
    position: absolute;
    top: max(-150vh, -1000px); /* never go beyond -430px */
    right: max(-300vw, -630px); /* never go beyond -430px */
    scale: 0.25;
    opacity: 1;
    

  }
    #sec3f2 {
    position: absolute;
    top: max(-40vh, -300px);
    right: max(-200vw, -490px); /* never go beyond -430px */
    scale: 0.3;
    opacity: 1;
    

  }

   #sec3f3 {
    position: absolute;
    top: -55vh;
    right: max(-200vw, -530px); /* never go beyond -430px */
    scale: 0.3;
    opacity: 1;
    

  }


   @media (min-width: 431px) {


  #sec3f1 {
    position: absolute;
    top: -600px;
    left: -600px;
    scale: 0.35;
    opacity: 1;
    

  }
    #sec3f2 {
    position: absolute;
    top: -880px;
    left: -370px;
    scale: 0.3;
    opacity: 1;
    

  }

   #sec3f3 {
    position: absolute;
    top: -550px;
    left: -280px;
    scale: 0.3;
    opacity: 1;
    

  }

}






  
  .event-info .wedding-inviter, .event-info .bride-groom, .event-info .wedding-event-info {
    margin: 20px 10px
  }
  
  .event-info .wedding-inviter .flex-row, .event-info .bride-groom .flex-row, .event-info .wedding-event-info .flex-row {
    display: flex
  }
  
  .event-info .wedding-inviter .flex-row span, .event-info .bride-groom .flex-row span, .event-info .wedding-event-info .flex-row span {
    width: 50%;
    margin-bottom: 10px
  }
  
  .event-info .wedding-inviter .btn-rsvp, .event-info .bride-groom .btn-rsvp, .event-info .wedding-event-info .btn-rsvp {
    border-radius: 3px;
    display: inline-block;
    padding: 12px 15px;
  
    border: 0;
    width: auto
  }
  
  .event-info .wedding-inviter .btn-rsvp.btn-main, .event-info .bride-groom .btn-rsvp.btn-main, .event-info .wedding-event-info .btn-rsvp.btn-main {
    background-color: #282552;
    color: white
  }
  
  .event-info .wedding-inviter .btn-rsvp.btn-main img, .event-info .bride-groom .btn-rsvp.btn-main img, .event-info .wedding-event-info .btn-rsvp.btn-main img {
    width: 20px;
    margin-right: 10px;
    vertical-align: top
  }
  
  .event-info .wedding-inviter .btn-rsvp.btn-block, .event-info .bride-groom .btn-rsvp.btn-block, .event-info .wedding-event-info .btn-rsvp.btn-block {
    display: block;
    width: auto
  }
  
  .event-info .wedding-inviter p, .event-info .bride-groom p {
   
  
    line-height: 1em
  }
  

  
  .event-info .btn-angpau {
    background-color: #f5f5f6;
    color: #42443c;
    border: 1px solid #969696
  }




  /* NAV AND MODALS */

 /*=============== NAV ===============*/
  
  
  .nav {
	
	justify-content: space-between;
	align-items: center;
	z-index: 50;
	bottom: 0 !important;
	max-width: 425px;
	position: fixed !important;
	
	align-content: center;

	width: 100%;
	margin-right: 20px;
 
  
	

	

	
	
  }
  
  .nav-wrapper {
  

	z-index: 100;
  
		  
  }

  #header { 
  
  visibility: hidden;
  position: fixed;
  max-width: 430px;
  margin-left: auto;
  margin-right: auto;
  bottom: 0;
  opacity: 0;
  
  width: 100%;
  z-index: 9999;
  background-color: white; /* or your theme */
  
  }

  #header.visible {
  visibility: visible;
  opacity: 1;
}
  
  
  
  .nav__img {
	width: 32px;
	border-radius: 50%;
	z-index: 50;
	
  }
  
  .nav__logo {
	color: var(--title-color);
	font-weight: 600;
	z-index: 55;
	
  }
  
  
  .nav__menu {
	
	backdrop-filter: blur(10px);               /* blur the background */
  -webkit-backdrop-filter: blur(10px);       /* Safari support */
	background-color: rgba(255, 255, 255, 0.5);
	box-shadow: 0 2px 16px hsla(228, 95%, 4%, 0.1);
	height: 5rem;
	max-width: 430px;
	width: 100%;
	text-decoration: none;
	display: grid;
	margin-inline: auto;
	align-content: center;
	
	font-size: 0.7rem;
	
	z-index: 50;




	
	
  }
  
  
  .nav__list, 
  .nav__link {
	display: flex;
	list-style-type: none;
	padding: 0;
	text-decoration: none;
	z-index: 50;
  
  }
  
  .nav__link {
	flex-direction: column;
	align-items: center;
	row-gap: 4px;
	color: var(--title-color);
	font-weight: 600;
	z-index: 50;
  }
  
  .nav__list {
	justify-content: space-around;
	z-index: 50;
  
  }
  
  .nav__name {
	font-size: var(--tiny-font-size);
	/* display: none;*/ /* Minimalist design, hidden labels */
  }
  
  .nav__icon {
	font-size: 1.5rem;
	z-index: 50;
  
  }
  
  /*Active link*/
  .active-link {
	position: relative;
	color: var(--first-color);
	transition: .3s;
  }
  
  
  
 
  
  
  

  
  
  
  
  
  
  /*=============== RSVP MODAL ===============*/
  
  

  #rsvpModal {

	position: fixed;
	max-width: 420px;
  width: 100%;
	opacity: 0;
	z-index: 24;
  left: 49.7%;
  transform: translateX(-50%);
	bottom: -200px;
	border-radius: 1rem;
	font-size: 0.7rem;

  
	
  }
  
  .rsvp-content {

  backdrop-filter: blur(10px);               /* blur the background */
  -webkit-backdrop-filter: blur(10px);       /* Safari support */
	background-color: rgba(255, 255, 255, 0.9);
	box-shadow: 0 2px 16px hsla(228, 95%, 4%, 0.1);
	padding-bottom: 10px;
	max-width: 430px;
	text-decoration: none;
	display: grid;
	margin-inline: auto;
  text-align: left;
	border-radius: 1rem;
	font-size: 1.0rem;
	opacity: 0.9;
	z-index: 50;
	margin-left: 5px;
	margin-right: 5px;
  max-height: 70vh;
  overflow-y: scroll;
  overflow-x:hidden;

  
	
  }
  

  .rsvp-form { 
    text-align: left;
    
  }



 /* hide the WebKit scrollbar, if you’d like */
.rsvp-content::-webkit-scrollbar {
  display: none;
}
.rsvp-content {
  -ms-overflow-style: none;  /* IE/Edge */
  scrollbar-width: none;     /* Firefox */
}







#rsvpModal select#guest-count {
  display: block;
  width: 94%;
  padding: 6px;
  margin: 10px auto 10px;
  font-size: 15px;
  height: 33px;
  border-radius: 7px;
  background: #fff;
  color: #000000;
  border-color: #666;
  border: 1px black solid;
  /* ensure it’s above any background layers */
  position: relative;
  z-index: 10;
  /* make sure it really is clickable */
  pointer-events: auto;
  
}

#rsvpModal select#guest-adult-count {
  display: block;
  width: 94%;
  padding: 6px;
  margin: 5px auto 5px;
  height: 33px;
  font-size: 15px;
  border-radius: 7px;
  background: #fff;
  color: #000000;

  border: 1px black solid;
  /* ensure it’s above any background layers */
  position: relative;
  z-index: 10;
  /* make sure it really is clickable */
  pointer-events: auto;
}

#rsvpModal select#guest-child-count {
  display: block;
  width: 94%;
  padding: 6px;
  margin: 5px auto 5px;
  font-size: 15px;
  border-radius: 7px;
  height: 33px;
  color: #000000;

  border: 1px black solid;
  background: #fff;
  /* ensure it’s above any background layers */
  position: relative;
  z-index: 10;
  /* make sure it really is clickable */
  pointer-events: auto;
}


#rsvpModal select#slot-select {
  display: block;
  width: 94%;
  padding: 6px;
  margin: 5px auto 5px;
  font-size: 15px;
  border-radius: 7px;
  height: 33px;
  color: black;
  border: 1px black solid;
  background: #fff;
  /* ensure it’s above any background layers */
  position: relative;
  z-index: 10;
  /* make sure it really is clickable */
  pointer-events: auto;
}




#guest-wish {
  overflow-y: hidden;
  resize: none; /* optional: prevent manual resize */
  min-height: 3rem; /* optional: set a nice default */
   margin: auto 15px auto;
   width: 90%;
   padding: 6px;

  font-size: 15px;
   border-radius: 7px;
  background: #fff;
  /* ensure it’s above any background layers */
  position: relative;
  z-index: 10;
  /* make sure it really is clickable */
  pointer-events: auto;


}

.hidden {
  display: none !important;
}

.hidden-section {
  display: none !important;
}

#guest-wish-lite {
  overflow-y: hidden;
  resize: none; /* optional: prevent manual resize */
  min-height: 3rem; /* optional: set a nice default */
   margin: auto 15px auto;
   width: 90%;
   padding: 6px;

  font-size: 15px;
   border-radius: 7px;
  background: #fff;
  /* ensure it’s above any background layers */
  position: relative;
  z-index: 10;
  /* make sure it really is clickable */
  pointer-events: auto;


}

#wish-only {
    overflow-y: hidden;
  resize: none; /* optional: prevent manual resize */
  min-height: 3rem; /* optional: set a nice default */
   margin: auto 15px auto;
   width: 90%;
   padding: 6px;

  font-size: 15px;
   border-radius: 7px;
  background: #fff;
  /* ensure it’s above any background layers */
  position: relative;
  z-index: 10;
  /* make sure it really is clickable */
  pointer-events: auto;

}

.button-row {
  padding-top:10px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  gap: 10px; /* spacing between buttons */
  width: 93%;
  margin: 5px auto;
}

.button-row .accept  {
  background-color: white !important; /* green */
  color: black; /* ensure text is visible on white background */
  border: 1px solid #4b4b4b;
   font-weight: normal; /* ← fix bold issue on iOS Safari */
  
}


.button-row .cancel {
   background-color: white !important; /* green */
  color: black; /* ensure text is visible on white background */
  border: 1px solid #4b4b4b;
}

.button-row button {
  flex: 1; /* equal width */
  font-size: 15px;
  padding: 6px;
  border-radius: 7px;
  border: 3px;
  color: black !important;

  cursor: pointer;
}

#btn-attending, #btn-not-attending {
   background-color: white !important; /* green */
  color: black; /* ensure text is visible on white background */
  border: 1px solid #4b4b4b;
   font-weight: normal; /* ← fix bold issue on iOS Safari */

}

#rsvp-initial-buttons p {
  padding-left: 5px;
}





  .modal-content {

     will-change: transform;
  }
  
  
  
  .modal-window {
	width: 100%;
	align-content: center;
	text-align: center;
	align-items: center;
	opacity: 0;
	z-index: 22;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	justify-content: space-around;
	margin-top: 180px;
	margin-left: auto;
	margin-right: auto;
	
  
  }
  
  
  .dimmer {
  top: 0;
	position: fixed;
	width: 100%;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.4);
	opacity: 0;
	z-index: 10;
	max-width: 425px;
	justify-content: space-between;
	align-items: center;
	margin-inline: auto;
	align-content: center;
  }
  
  
  .gnl-modal-title {
	grid-column-start: 1;
	grid-column-end: 4;
  
  }
  
  #rsvp-btn-1 {
	grid-column-start: 1;
	grid-row-start: 2;
	grid-row-end: 4;
  }

  


  
  /*=============== CONTACT MODAL ===============*/
  
 /* ── Contacts Modal layout ── */

 #ctcModal {
	width: 100%;
	max-width: 430px;
	position: fixed;
   
  overflow-y: hidden;
  bottom: -200px;
	z-index: 40;
	transform: translateY(100%);
  opacity: 0;
  visibility: hidden;

 }
	
/* ── CONTACTS MODAL LAYOUT ── */
#ctcModal .row-ctc {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}
#ctcModal .contact-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 1rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
#ctcModal .contact-info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
#ctcModal .contact-info .name {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  color: #222;
}
#ctcModal .contact-info .relation {
  font-style: italic;
  font-size: 0.875rem;
  color: #666;
  margin-left: 0.25rem;
}
#ctcModal .contact-actions {
  display: flex;
  gap: 0.5rem;
  flex: 0 0 auto;
}
#ctcModal .contact-actions .icon {
  
  width: 32px; height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f0f0f0;
  color: #333;
  font-size: 1.2rem;
  transition: background 0.2s;
}
#ctcModal .contact-actions .icon:hover {
  background: #ddd;
}
#ctcModal .contact-actions .wa {
  background: #25D366;
  color: #fff;
}
#ctcModal .contact-actions .wa:hover {
  background: #1DA851;
}


  /*=============== MUSIC MODAL ===============*/

  #mscModal {
	width: 100%;
	max-width: 425px;
	position: fixed;

	z-index: 21;
	
	bottom: 100px;

	border-radius: 1rem;
	font-size: 0.7rem;
	justify-content: space-between;
	margin-inline: auto;
	align-content: center;
	text-align: center;
	align-items: center;
  
  }
  
  .contact-content {
  
	background-color: white;
	box-shadow: 0 2px 16px hsla(228, 95%, 4%, 0.1);
	padding-bottom: 10px;
	text-decoration: none;
	display: grid;
	margin-inline: auto;
	align-content: center;
	border-radius: 1rem;
	font-size: 0.7rem;
	opacity: 0.9;
	z-index: 50;
	margin-left: 10px;
	margin-right: 10px;
  
  }
  

  
  #mscModal .row-ctc {
	justify-content: center;
  }
  
  #mscModal .contact {
	  display: flex;
	  justify-content: center;
	  align-items: center;
	  height: 100%;
	  width: 100%
  }
  
  #mscModal .wrapper {
	display: flex;
	max-width: 380px;
	justify-content: center;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0px
  }
  
  #mscModal .wrapper span.name {
	text-transform: uppercase;
	font-size: 1em
  }
  
  #mscModal .wrapper a {
	display: inline-block
  }
  
  #mscModal .wrapper a img {
	height: 30px;
	vertical-align: middle
  }
  
  #mscModal .wrapper a img.whatsapp {
	margin-left: 15px
  }

  
  
  /*=============== LOCATION MODAL ===============*/
  
  .dimmer3 {
	top: 0;
	visibility: hidden;
	position: fixed;
	width: 100%;
	height: 100vh;
	background-color: rgba(0, 0, 0, 0.4);
	opacity: 0;
	z-index: 10;
	max-width: 425px;
	justify-content: space-between;
	align-items: center;
	margin-inline: auto;
	align-content: center;
  }

  
  #lctModal {
	width: 100%;
	max-width: 430px;
	position: fixed;
	opacity: 0;
	z-index: 25;
	
	bottom: -500px;

	border-radius: 1rem;
	font-size: 0.7rem;
	justify-content: space-between;
	margin-inline: auto;
	align-content: center;
	text-align: center;
	align-items: center;
  }

  
  .lct-content {
  
	background-color: white;
	box-shadow: 0 2px 16px hsla(228, 95%, 4%, 0.1);
	padding-bottom: 10px;
	text-decoration: none;
	display: grid;
	margin-inline: auto;
	align-content: center;
	border-radius: 1rem;
	font-size: 0.7rem;
	opacity: 0.9;
	z-index: 50;
	margin-left: 10px;
	margin-right: 10px;
  
  }
  
  
  
  #ltcModal .row {
	justify-content: center;
  }
  
  #lctModal a.non-block {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	max-width: 380px;
  
  }

  .modal, .lct-content, .feature-content, .row, .col, a.non-block {
  position: relative;
  z-index: 20;
}

iframe {
  position: relative;
  z-index: 1;
}
  
  #lctModal a.non-block img {
	height: 45px;
	margin-bottom: 5px;
  
  }
  
  #lctModal a.non-block span.text {
	display: block;
  margin-left: 10px;
	font-size: 1em;
	text-transform: uppercase;
	color: black;
	line-height: 1.1em;
  font-size: 1rem;
  }
  
  
  
  .feature-title {
	
	text-align: center;
	font-size: 20px;
	font-weight: bold;
  
  }
  
  #lctModal .wrapper {
	display: flex;
	max-width: 380px;
	justify-content: center;
	align-items: center;
	justify-content: space-between;
	padding: 10px 0px;
  
  }
  
  

  
  #cldModal {
	width: 100%;
	max-width: 430px;
	position: fixed;
	opacity: 0;
	z-index: 21;
	bottom: -545px;

	border-radius: 1rem;
	font-size: 0.7rem;
	justify-content: space-between;
	margin-inline: auto;
	align-content: center;
	text-align: center;
	align-items: center;
  }
  
  .cld-content {
  
	background-color: white;
	box-shadow: 0 2px 16px hsla(228, 95%, 4%, 0.1);
	padding-bottom: 10px;
	text-decoration: none;
	display: grid;
	margin-inline: auto;
	align-content: center;
	border-radius: 1rem;
	font-size: 0.7rem;
	opacity: 0.9;
	z-index: 50;
	margin-left: 10px;
	margin-right: 10px;
  
  }
  
  #cldModal .row {
	justify-content: center;
  }
  
  #cldModal a.non-block {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
	width: 100%
  }
  
  #cldModal a.non-block img {
	height: 45px;
	margin-bottom: 5px
  }
  
  #cldModal a.non-block span.text {
	display: block;
	font-size: 1em;
	text-transform: uppercase;
	color: black;
 
	line-height: 1.1em
  }
  .calendar {
	width: 100%;
	padding: 5px 20px;
	text-align: center;
  }
  
  .calendar-icon:first-of-type {
	padding-bottom: 20px;
  }
  
  .calendar-icon > a > i, .calendar-icon > a > span {
	color: var(--text-color);
  }
  
  .color-calendar.basic .calendar__header {
	padding: 5px 5px 0px 5px !important;
  }
  
  .color-calendar.basic .calendar__body {
	padding: 5px !important;
  }
  
.form input {
  font-size: 15px;
  width: 90%;
  color: black;
  padding: 6px;
  margin: 5px auto 5px;
  display: block;
  border-radius: 7px;

}

  
.form label {
  font-size: 15px;
  width: 90%;
  color: black;
  padding: 6px;
  margin: auto 5px;
  display: block;
  border-radius: 7px;

}

button {
  font-weight: normal;
  -webkit-appearance: none; /* Remove iOS styling */
  appearance: none;
}




input:focus {
  outline: 0;
}

#RSVP-Form .row {
  width: 100%;

  justify-content: space-between;
	margin-inline: auto;
	align-content: center;
	text-align: center;
	align-items: center;
}
#RSVP-Form .row .col {
  width: 100%;

  justify-content: space-between;
	margin-inline: auto;
	align-content: center;
	text-align: center;
	align-items: center;
}





/* CONTROL FONTS */

@font-face {
  font-family: 'Rustic Roadway';
  src: url('./fonts/RusticRoadway.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Modernline';
  src: url('./fonts/modernline.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

.font-rusticRoadway {
  font-family: 'Rustic Roadway';
   font-size: 1.7em;
}

.font-modernline {
  font-family: 'modernline';
   font-size: 1.7em;
}

 .font-georgia {
    font-family: 'Georgia', serif;
    font-size: 1.0em;
  }

  .font-georgia-bold {
    font-family: 'Georgia', serif;
    font-size: 0.8em;
    font-weight: bold;
  }

  .font-courier {
    font-family: 'Courier New', monospace;
  }

  .font-handwriting {
    font-family: 'Lucida Handwriting', cursive;
  }


   /* map .ql-font-arial → the Arial family */
    .ql-font-arial {
      font-family: Arial, Helvetica, sans-serif;
    }

    /* map .ql-font-times-new-roman → Times New Roman */
    .ql-font-times-new-roman {
      font-family: "Times New Roman", Times, serif;
    }

    /* map .ql-font-courier-new → Courier New */
    .ql-font-courier-new {
      font-family: "Courier New", Courier, monospace;
    }

    /* map .ql-font-verdana → Verdana */
    .ql-font-verdana {
      font-family: Verdana, Geneva, sans-serif;
    }

    
    .ql-size-10px { font-size: 10px; }
    .ql-size-12px { font-size: 12px; }
    .ql-size-14px { font-size: 14px; }
    .ql-size-16px { font-size: 16px; }
    .ql-size-18px { font-size: 18px; }
    .ql-size-24px { font-size: 24px; }
    .ql-size-32px { font-size: 32px; }
    .ql-size-48px { font-size: 48px; }
      
/* GALERY SECTION 4 */

#section-4 p {
  width: 100%;
  text-align: center;
  
}


.container-gallery {
 
  height: 100vh !important;    /* spans the 100vh of #section-4 */
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
 
  /* …existing rules… */
}

.content-gallery {
  position: absolute;
  top: 70px;
  flex-direction: column-reverse;
  width: 100%;
 
  display: flex;
  background-position: center;
    justify-content: center;
    align-items: center;
    margin-top: 30%;

 


}

.img-wrapper {

  max-width: 300px;
  height: 50vh;
  width: 100%;
 
  aspect-ratio: 6/5;
  padding: 15px;
  border-radius: 10px;
  background-color: #fff;
  box-shadow: 0 13px 27px -5px rgba(50,50,93,0.25),
  0 8px 16px -8px rgba(0,0,0.3);

}

.img-wrapper img {
  display: block;
  max-width: 300px;
  width: 100%;
  height: 50vh;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;
  filter: saturate(0.9) brightness(1.05);
}

.text-gallery {
  flex: 0 0 0;
  bottom: 1%;

  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  font-weight: 300;
  line-height: 1.5;
  margin-right: 0px;
  margin-top: 100px;
}

.content-gallery:not(:first-child) .text-gallery {
  opacity: 0;
}

.content-gallery:not(:first-child) .img-wrapper {
  transform: translateY(-200%);
}









/* test for quill intro message type font */


.ql-font-rustic-roadway {
  font-family: 'Rustic Roadway', cursive;
}
.ql-font-modernline {
  font-family: 'Modernline', cursive;
}
.ql-font-arial {
  font-family: Arial, sans-serif;
}
.ql-font-georgia {
  font-family: Georgia, serif;
}

.ql-align-center {
  text-align: center;
}
.ql-align-left {
  text-align: left;
}


.ql-align-right {
  text-align: right;
}
.ql-align-justify {
  text-align: justify;
}

/*quill video*/ 

.ql-video {
  display: block;
  padding-left:10px;
  padding-right:10px;
  max-width: 100%;
  margin: 1em auto;
  aspect-ratio: 16/9;
  height: auto;
}


.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem; /* optional spacing between buttons */
  justify-content: center; /* or 'space-between' if you want full width */
}

.col {
  flex: 0 1 auto;
  max-width: 45%; /* optional: control width */
  text-align: center;
}

#flower-sketch {
  width: 100px;
  height: 100px;
  height: auto;
  display: block;
}


/*RSVP*/





#section-rsvp-summary {
  text-align: center;
  height: auto;
  padding-top: 1rem;
  padding-bottom: 3rem;
  background-image: "/./assets/images/wedding-001/bg.png";
}

.rsvp-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #444;
}

.rsvp-circles {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.rsvp-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.4s ease;
  position: relative;
}

.rsvp-circle h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 500;
  color: #555;
  font-family: 'Poppins', sans-serif;
}

.rsvp-count {
  font-size: 3rem;
  font-weight: bold;
  margin-top: 0.5rem;
  color: #222;
}
#flower-sketch {
  width: 100%;
  height: auto;
  display: block;
}




.gallery-pin-wrapper {
  position: relative;
  overflow: visible;
}

.container-gallery {
  position: relative;
}

/* google apple clanedar */ 

.calendar {
  display: flex;
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
   padding-top: 20px;
}

.calendar-icon a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border-radius: 6px;
 
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.calendar-icon a:hover {
  transform: translateY(-2px);
}

/* Apple button */
.calendar-icon:first-child a {
  background-color: #ffffff;
    border: 1px solid #ddd;
  color: black;
}

/* Google button */
.calendar-icon:last-child a {
  background-color: white;
  border: 1px solid #ddd;
  color: #333;
}

/* Logo size */
.cal-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

/* Same container style as calendar modal */
.location-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Shared button style */
.location-btn {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

/* Hover effect */
.location-btn:hover {
  transform: translateY(-2px);
}

/* Waze button (blue) */
#waze-link {
  background-color: #ffffff;
  border: 1px solid #ddd;
  color: black;
}

/* Google Maps button (white with border) */
#gm-link {
  background-color: white;
  border: 1px solid #ddd;
  color: #333;
}

/* Icon image style */
.loc-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

  
  .preserve-lines {
  white-space: pre-line;   /* turns \n into visible line breaks */
  word-break: break-word;  /* avoids overflow on long lines */

}

/* overlay should not block clicks */
.stage { pointer-events: none; }

.sec-1-elements { pointer-events: none; }

/* if stage contains some interactive children you still need */
.stage .can-click { pointer-events: auto; }




/* overlay */ 


/* Page-wide watermark */
.unpaid-watermark::before{
  content:"";
  position:fixed; inset:0;
  z-index:2147483647;
  pointer-events:none;
  background-image:url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='320' height='200' viewBox='0 0 320 200'>\
  <text x='0' y='120' fill='%23ff4d4f' fill-opacity='0.16' font-size='32' font-family='Inter,Arial' \
        transform='rotate(-30 160 100)'>PREVIEW • INVAIT</text>\
</svg>");
  background-size:320px 200px;
  background-repeat:repeat;
}

@media print {
  .unpaid-watermark::before { opacity:0.25; } /* stronger on print */
}













  
  