@import url('https://fonts.googleapis.com/css2?family=Josefin+Slab:ital,wght@0,100..700;1,100..700&display=swap');

:root{

    --pri: #EFDFFF;
    --sec: #26163C;
    --tert: #5EB24A;
    --tert2: rgba(64, 255, 16, 0.5);
    --tert3: rgba(0, 0, 0, 0.1);
    --tert4: rgba(64, 255, 16, 0.3);;
    --dark: black;
    --light: white;
    --highlight: orange;
    --loading_bg: #26163C;
    --loading_border: var(--pri);
    --loading_pri: var(--sec);
    --loading_sec: var(--sec);
    --faded_bg: #f6f6f6;

    /* --pri: #fff;
    --sec: #000000;
    --tert: #D7DF23;
    --tert2: rgba(215, 223, 35, 0.5);
    --tert3: rgba(0, 0, 0, 0.1);
    --tert4: rgba(215,223,35,0.4) ;
    --dark: #1f1e1e;
    --light: #f3f3f3;
    --highlight: red;
    --loading_bg: #000;
    --loading_border: var(--tert);
    --loading_pri: var(--tert3);
    --loading_sec: var(--sec);
    --faded_bg: #f6f6f6; */

}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Josefin Slab", serif;
    font-optical-sizing: auto;
    font-style: normal;
    /* font-family: 'Josefin Sans', sans-serif; */
    scroll-behavior: smooth;
}
html{
    scroll-behavior: smooth;
    background-color: var(--light);
    
}


a{
    text-decoration: none;
    color: var(--sec);
}
/* Commons */
.bg_sec{
    background-color: var(--sec) !important;
}
.txt_tert{
    color: var(--tert) !important;
}
.txt_pri{
    color: var(--pri);
}
.border_tert{
    border: 1px solid var(--tert) !important;
}
.border_pri{
    border: 1px solid var(--pri) !important;
}
.display_none{
    display: none I !important;
}
.display_block{
    display: block;
}

/* For Mobile */
@media (min-width:820px){
    .for_mobile{
        display: none !important;
    }
}
/* For Tablets and PC */
@media (max-width:640px){
    .not_for_mobile{
        display: none !important;
    }
}

/* For Tablets and PC */
@media (max-width:820px){
    .for_pc{
        display: none !important;
    }
}

/* ---------------------Loading Screen Animation ------------------ */
#loading_screen_cont{
    position: fixed;
    height: 100vh;
    width: 100vw;
    z-index: 5;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--loading_bg);

}
.hide_loading_screen{
    display: none !important;
}
.loading_screen {
    position: relative;
    width: 100px;
    height: 100px;
    
  }
  
  .droplet {
    border-radius: 5px 90%;
    border-style: solid;
    border-width: 5px;
    border-color: var(--loading_border);
    height: 100px;
    margin: auto;
    width: 100px;
    position: absolute;
    top: 50px;
    left: 50px;
    /* top: 50%;
      right: 50%;*/
    transform-origin: left top;
    opacity: 0;
  }
  
  #no1 {
    background: var(--loading_pri);
    animation: spin 5s ease-out infinite;
    animation-fill-mode: forwards;
    animation-delay: 0s;
  }
  
  #no2 {
    background: var(--loading_sec);
    animation: spin2 5s ease-out infinite;
    animation-fill-mode: forwards;
    animation-delay: 0.05s;
  }
  
  #no3 {
    background: var(--loading_pri);
    animation: spin3 5s ease-out infinite;
    animation-fill-mode: forwards;
    animation-delay: 0.1s;
  }
  
  #no4 {
    background: var(--loading_sec);
    animation: spin4 5s ease-out infinite;
    animation-fill-mode: forwards;
    animation-delay: 0.15s;
  }
  
  #no5 {
    background: var(--loading_pri);
    animation: spin5 5s ease-out infinite;
    animation-fill-mode: forwards;
    animation-delay: 0.2s;
  }
  
  #no6 {
    background: var(--loading_sec);
    animation: spin6 5s ease-out infinite;
    animation-fill-mode: forwards;
    animation-delay: 0.25s;
  }
  
  #no7 {
    background: var(--loading_pri);
    animation: spin7 5s ease-out infinite;
    animation-fill-mode: forwards;
    animation-delay: 0.30s;
  }
  
  #no8 {
    background: var(--loading_sec);
    animation: spin8 5s ease-out infinite;
    animation-fill-mode: forwards;
    animation-delay: 0.35s;
  }
  
  #no9 {
    background: var(--loading_pri);
    animation: spin9 5s ease-out infinite;
    animation-fill-mode: forwards;
    animation-delay: 0.40s;
  }
  
  #no10 {
    background: var(--loading_sec);
    animation: spin10 5s ease-out infinite;
    animation-fill-mode: forwards;
    animation-delay: 0.45s;
  }
  
  @keyframes spin {
    0% {
      opacity: 0;
      -webkit-transform: rotate(0deg) scale(0.01);
      transform: rotate(0deg) scale(0.01);
    }
    20% {
      opacity: 100;
      -webkit-transform: rotate(324deg) scale(1);
      transform: rotate(324deg) scale(1);
    }
    60% {
      opacity: 100;
      -webkit-transform: rotate(324deg) scale(1);
      transform: rotate(324deg) scale(1);
    }
    80% {
      opacity: 0;
      -webkit-transform: rotate(720deg) scale(0.01);
      transform: rotate(720deg) scale(0.01);
    }
    100% {
      -webkit-transform: rotate(720deg) scale(0.01);
      transform: rotate(720deg) scale(0.01);
    }
  }
  
  @keyframes spin2 {
    0% {
      opacity: 0;
      -webkit-transform: rotate(0deg) scale(0.01);
      transform: rotate(0deg) scale(0.01);
    }
    20% {
      opacity: 100;
      -webkit-transform: rotate(288deg) scale(1);
      transform: rotate(288deg) scale(1);
    }
    60% {
      opacity: 100;
      -webkit-transform: rotate(288deg) scale(1);
      transform: rotate(288deg) scale(1);
    }
    80% {
      opacity: 0;
      -webkit-transform: rotate(720deg) scale(0.01);
      transform: rotate(720deg) scale(0.01);
    }
    100% {
      -webkit-transform: rotate(720deg) scale(0.01);
      transform: rotate(720deg) scale(0.01);
    }
  }
  
  @keyframes spin3 {
    0% {
      opacity: 0;
      -webkit-transform: rotate(0deg) scale(0.01);
      transform: rotate(0deg) scale(0.01);
    }
    20% {
      opacity: 100;
      -webkit-transform: rotate(252deg) scale(1);
      transform: rotate(252deg) scale(1);
    }
    60% {
      opacity: 100;
      -webkit-transform: rotate(252deg) scale(1);
      transform: rotate(252deg) scale(1);
    }
    80% {
      opacity: 0;
      -webkit-transform: rotate(720deg) scale(0.01);
      transform: rotate(720deg) scale(0.01);
    }
    100% {
      -webkit-transform: rotate(720deg) scale(0.01);
      transform: rotate(720deg) scale(0.01);
    }
  }
  
  @keyframes spin4 {
    0% {
      opacity: 0;
      -webkit-transform: rotate(0deg) scale(0.01);
      transform: rotate(0deg) scale(0.01);
    }
    20% {
      opacity: 100;
      -webkit-transform: rotate(2160deg) scale(1);
      transform: rotate(216deg) scale(1);
    }
    60% {
      opacity: 100;
      -webkit-transform: rotate(216deg) scale(1);
      transform: rotate(216deg) scale(1);
    }
    80% {
      opacity: 0;
      -webkit-transform: rotate(720deg) scale(0.01);
      transform: rotate(720deg) scale(0.01);
    }
    100% {
      -webkit-transform: rotate(720deg) scale(0.01);
      transform: rotate(720deg) scale(0.01);
    }
  }
  
  @keyframes spin5 {
    0% {
      opacity: 0;
      -webkit-transform: rotate(0deg) scale(0.01);
      transform: rotate(0deg) scale(0.01);
    }
    20% {
      opacity: 100;
      -webkit-transform: rotate(180deg) scale(1);
      transform: rotate(180deg) scale(1);
    }
    60% {
      opacity: 100;
      -webkit-transform: rotate(180deg) scale(1);
      transform: rotate(180deg) scale(1);
    }
    80% {
      opacity: 0;
      -webkit-transform: rotate(720deg) scale(0.01);
      transform: rotate(720deg) scale(0.01);
    }
    100% {
      -webkit-transform: rotate(720deg) scale(0.01);
      transform: rotate(720deg) scale(0.01);
    }
  }
  
  @keyframes spin6 {
    0% {
      opacity: 0;
      -webkit-transform: rotate(0deg) scale(0.01);
      transform: rotate(0deg) scale(0.01);
    }
    20% {
      opacity: 100;
      -webkit-transform: rotate(144deg) scale(1);
      transform: rotate(144deg) scale(1);
    }
    60% {
      opacity: 100;
      -webkit-transform: rotate(144deg) scale(1);
      transform: rotate(144deg) scale(1);
    }
    80% {
      opacity: 0;
      -webkit-transform: rotate(720deg) scale(0.01);
      transform: rotate(720deg) scale(0.01);
    }
    100% {
      -webkit-transform: rotate(720deg) scale(0.01);
      transform: rotate(720deg) scale(0.01);
    }
  }
  
  @keyframes spin7 {
    0% {
      opacity: 0;
      -webkit-transform: rotate(0deg) scale(0.01);
      transform: rotate(0deg) scale(0.01);
    }
    20% {
      opacity: 100;
      -webkit-transform: rotate(108deg) scale(1);
      transform: rotate(108deg) scale(1);
    }
    60% {
      opacity: 100;
      -webkit-transform: rotate(108deg) scale(1);
      transform: rotate(108deg) scale(1);
    }
    80% {
      opacity: 0;
      -webkit-transform: rotate(720deg) scale(0.01);
      transform: rotate(720deg) scale(0.01);
    }
    100% {
      -webkit-transform: rotate(720deg) scale(0.01);
      transform: rotate(720deg) scale(0.01);
    }
  }
  
  @keyframes spin8 {
    0% {
      opacity: 0;
      -webkit-transform: rotate(0deg) scale(0.01);
      transform: rotate(0deg) scale(0.01);
    }
    20% {
      opacity: 100;
      -webkit-transform: rotate(72deg) scale(1);
      transform: rotate(72deg) scale(1);
    }
    60% {
      opacity: 100;
      -webkit-transform: rotate(72deg) scale(1);
      transform: rotate(72deg) scale(1);
    }
    80% {
      opacity: 0;
      -webkit-transform: rotate(720deg) scale(0.01);
      transform: rotate(720deg) scale(0.01);
    }
    100% {
      /* ; */
      -webkit-transform: rotate(720deg) scale(0.01);
      transform: rotate(720deg) scale(0.01);
    }
  }
  
  @keyframes spin9 {
    0% {
      opacity: 0;
      -webkit-transform: rotate(0deg) scale(0.01);
      transform: rotate(0deg) scale(0.01);
    }
    20% {
      opacity: 100;
      -webkit-transform: rotate(36deg) scale(1);
      transform: rotate(36deg) scale(1);
    }
    60% {
      opacity: 100;
      -webkit-transform: rotate(36deg) scale(1);
      transform: rotate(36deg) scale(1);
    }
    80% {
      opacity: 0;
      -webkit-transform: rotate(720deg) scale(0.01);
      transform: rotate(720deg) scale(0.01);
    }
    100% {
      /* ; */
      -webkit-transform: rotate(720deg) scale(0.01);
      transform: rotate(720deg) scale(0.01);
    }
  }
  
  @keyframes spin10 {
    0% {
      opacity: 0;
      -webkit-transform: rotate(0deg) scale(0.01);
      transform: rotate(0deg) scale(0.01);
    }
    20% {
      opacity: 100;
      -webkit-transform: rotate(0deg) scale(1);
      transform: rotate(0deg) scale(1);
    }
    60% {
      opacity: 100;
      -webkit-transform: rotate(0deg) scale(1);
      transform: rotate(0deg) scale(1);
    }
    80% {
      opacity: 0;
      -webkit-transform: rotate(720deg) scale(0.01);
      transform: rotate(720deg) scale(0.01);
    }
    100% {
      /* ; */
      -webkit-transform: rotate(720deg) scale(0.01);
      transform: rotate(720deg) scale(0.01);
    }
  }
/* ---------------------Loading Screen Animation ------------------ */


/* ---------------------Toppest Bar ------------------ */
#toppest_bar{
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 35px;
    padding-top:  5px;
    padding-bottom: 5px;
    background-color: var(--sec);
    color: var(--light);
    position: relative; /* To contain the sliding items */
    overflow: hidden; /* Hide items outside the view */
}
.toppest_bar_item{
    display: flex;
    align-items: center;
    gap: 10px;
}
.toppest_bar_item img{
    width: 20px;
}
.toppest_bar_item p a{
    color: var(--light);
    font-weight: bold;
}
/* In Mobile mode */
@media (max-width: 640px) {
    
    .toppest_bar_item {
        opacity: 0; /* Start hidden */
        position: absolute; /* Stack items */
        transform: translateX(100%); /* Start items off-screen */
        animation: slideShow 9s infinite;
    }
    .toppest_bar_item:nth-child(1) { animation-delay: 0s; }
    .toppest_bar_item:nth-child(2) { animation-delay: 3s; }
    .toppest_bar_item:nth-child(3) { animation-delay: 6s; }
    /* Add more nth-child styles if you have more items */

    #top
    /* Adjust .toppest_bar_item for mobile */
    .toppest_bar_item {
        font-size: 2rem;
        gap: 5px; /* Adjust gap size */
        color: green !important;
    }

    .toppest_bar_item img {
        width: 16px; /* Slightly smaller image for mobile */
    }
}

@keyframes slideShow {
    0%, 20% {
        opacity: 1;
        transform: translateX(0); /* Center item in view */
    }
    25%, 100% {
        opacity: 0;
        transform: translateX(-100%); /* Move item out of view */
    }
}
/* ---------------------End of Toppest Bar ------------------ */



/* --------------------- Top Bar ------------------ */

#top_bar{
    display: flex;
    justify-content: space-around;
    width: 100vw;
    height: auto;
    padding: 10px 0;
    background-color: var(--sec);
    color: var(--pri);
    z-index: 4;
}
#top_bar a{
    color: var(--pri);

}
.t_contacts{
    display: flex;
    gap: 60px;
    list-style: none;
    position: relative; /* To contain the sliding items */
    overflow: hidden; /* Hide items outside the view */
}
.t_socials{
    display: flex;
    gap: 30px;
}

/* In Mobile mode */
@media (max-width: 820px) {
    #top_bar{
       display: none;
    }
   
}

@keyframes slideShow {
    0%, 20% {
        opacity: 1;
        transform: translateX(0); /* Center item in view */
    }
    25%, 100% {
        opacity: 0;
        transform: translateX(-100%); /* Move item out of view */
    }
}
/*  End of In Mobile Mode */
/* ---------------------End of Top Bar ------------------------------------------------------- */

/* ---------------------Logo Bar ------------------ */
#logo_bar{
    width: 98%;
    height: 80px;
    background-color: var(--light);
    padding: 10px 1%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content:space-between;
    border-bottom: 1px solid var(--tert3);
    flex-wrap: wrap-reverse;
    position: sticky;
    top: 0;
    z-index: 4;
    transition: transform 0.3s ease; /* Smooth transition */
}
/* Hidden state for #logo_bar */
#logo_bar.hidden {
    transform: translateY(-100%);
  }

#logo_bar > *{
    min-width: 33%;
    /* border: 1px solid red; */
}
#send_gifts_to{
    font-size: 1.2rem;
    visibility: hidden;
    height: 1px;
}
#send_gifts_to select{
    padding: 5px 15px;
    background: var(--light);
    border: none;
    border-bottom: 1px solid var(--dark);
    font-size: 1.2rem;
}
#logo{
    display: flex;
    justify-content: center;
}
#logo img{
    width: 250px;
    margin: 0 auto;
}
#search_cart_account{
    display: flex;
    justify-content: space-around;
    gap: 50px;
}
.logo_search_input{
    padding: 5px 2px;
    border: none;
    border-bottom: 1px solid var(--dark);
    transition: border 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}
.logo_search_input:focus{
    outline: none;
    border: 1px solid var(--tert);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1), 0 0 8px var(--tert); /* Smooth shadow effect */
}
#search_cart_account ul{
    list-style: none;
    display: flex;
    justify-content: space-around;
    gap: 35px;
}
#search_cart_account img{
    width: 25px;
}
.search-box{
    position: relative;
}
.search-box button{
    cursor: pointer;
    width: 25px;
    height: 25px;
    border: none;
    position: absolute;
    top: 0;
    right: 5px;
    transform: scale(0.9);
    background: var(--pri);
    transition: all ease-in-out 0.5;
}
.search-box button:hover{
    color: var(--pri);
    background-color: var(--sec);
}
.cart_icon{
    position: relative;
    display: flex;
    align-items: center;
}
.cart_icon span{
    position: absolute;
    top: -8px;
    right: -5px;
    /* background-color: var(--tert); */
    padding: 2px;
    font-size: 18px;
    /* display: none; */
    /* border-radius: 100%; */
    color: var(--sec);
    font-weight: bold;
}
@media (max-width:640px){
    #logo_bar{
        flex-direction: column;
        gap: 10px;
        height: auto;
    }
    .cart_icon span{
        padding: 2px;
    }
    #send_gifts_to span{
        display: none;
    }
    /* Change the order of the children */
    #logo_bar > *:nth-child(1) {
        order: 3; /* Move the first element to last */
    }
    
    #logo_bar > *:nth-child(2) {
        order: 1; /* Move the second element to first */
    }
    
    #logo_bar > *:nth-child(3) {
        order: 2; /* Move the third element to second */
    }
    #logo_bar > *{
        padding: 20px auto;
    }
    #search_cart_account{
        /* flex-direction: column; */
        width: 90vw;
        /* border: 1px dashed red; */
        margin-right: auto 5vw;
        justify-content: space-between;
        margin-bottom: 10px;
    }
    .search-box{
        /* width: 100vw; */
    }
    #logo img{
        width: 200px;
    }
    #send_gifts_to, #send_gifts_to select{
        font-size: 0.9rem;
    }
    .logo_search_input{
        width: 50vw;
    }
    #search_cart_account img{
        width: 20px;
    }
}
/* ---------------------End ofLogo Bar ------------------ */

/* ---------------------Nav Bar ------------------ */
/* Basic Navbar Styling */
#navbar {
    display: flex;
    justify-content: space-between;
    width: 100%;
    background-color: var(--light);
    color: var(--sec);
    padding: 5px;
    position: sticky;
    top: 80px;
    z-index: 3;
    transition: top 0.3s ease; /* Smooth transition */
}
#navbar.sticky {
    top: 1px; /* Navbar moves to the top when #logo_bar is hidden */
}

.menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-item {
    position: relative;
}

.menu > li > a {
    color: var(--sec);
    padding: 10px 20px;
    text-decoration: none;
    display: block;
}

.menu-item:hover > a {
    background-color: var(--pri);
    color: var(--sec);
}

.menu-item i {
    margin-left: 5px;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--pri);
    color: var(--sec);
    padding: 15px;
    white-space: nowrap;
    flex-direction: row;
    gap: 20px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}


.submenu h4 {
    margin: 0 0 10px;
    font-size: 16px;
    color: var(--sec);
}

.submenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu li {
    margin-bottom: 8px;
}

.submenu a {
    color: var(--sec);
    text-decoration: none;
}

.menu-item:hover .submenu {
    display: flex;
}


.sub_sub_menu_content{
    display: none;
}
.sub_sub_menu_content a{
    padding: 5px;
}
.sub_sub_menu_title{
    font-size: inherit;
}
.sub_sub_menu:hover .sub_sub_menu_content{
    display: block;
    padding: 3px;
    background: var(--tert2);
    /* border: 1px solid var(--sec); */
}


/* Responsive Navbar */
.menu-toggle {
    display: none;
}

@media (max-width: 820px) {
    #navbar{
        position: sticky;
        top: 0;
        padding-top: 30px;
    }
    .menu {
        display: none;
        flex-direction: column;
        background-color: var(--pri);
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 0;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }

    #navbar .menu-item:hover .submenu {
        display: none;
    }

    .menu-item i.fa-angle-down {
        transform: rotate(-90deg);
        margin-left: auto;
    }
}

@media (max-width: 640px) {
    #navbar{
        position: sticky !important;
        top: 1px !important;
        z-index: 3;
    }
    #navbar.sticky {
        top: 1px; /* Navbar moves to the top when #logo_bar is hidden */
    }
    .submenu {
        position: static;
        flex-direction: column;
        box-shadow: none;
    }

    .submenu h4 {
        font-size: 14px;
    }

    .menu-item:hover .submenu {
        display: none;
    }

    .menu > li > a {
        padding: 10px;
    }
    #hamburger-icon-cont{
        width: 100%;
        height: 40px;
        position: sticky;
        top:0;
        z-index: 3;
        /* background-color: red; */
    }
    #hamburger-icon{
        width: 40px;
    }
}

/* ---------------------End of Nav Bar ------------------ */


/* ---------------------Below Nav Bar ------------------ */
#below_navbar{
    padding: 20px 0;
}
#below_navbar ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    list-style: none;
    margin: auto;
    
}
#below_navbar ul li{
    display: flex;
    align-items: center;
}
#below_navbar ul li img{
    height: 20px;
    margin-right: 10px;
}
#below_navbar ul li i{
    color: #ff9500;
}
.below_navbar_rating_last_star{
    margin-right: 10px;
}
@media (max-width:820px){
    #below_navbar ul > *:nth-child(2){
        display: none;
    }
    #below_navbar ul li{
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
}
/* ---------------------End of Below Nav Bar ------------------ */

/* ---------------------Uno Slider Carousel ------------------ */

  
  .uno_slider {
    width: 90%;
    margin: auto;
    /* max-width: 800px; */
    height: 350px;
    position: relative;
    overflow: hidden; /* <===  */
    border-radius: 15px;
  }
  
  .uno_slide {
    width: 100%;
    /* max-width: 800px; */
    height: 350px;
    position: absolute;
    transition: all 0.5s;
  }
  
  .uno_slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .uno_btn {
    position: absolute;
    width: 40px;
    height: 40px;
    padding: 10px;
    border: none;
    border-radius: 50%;
    z-index: 10px;
    cursor: pointer;
    background-color: var(--tert2);
    font-size: 18px;
  }
  .uno_btn:hover{
    background-color: var(--tert);
  }
  .uno_btn:active {
    transform: scale(1.1);
  }
  .uno_btn-prev {
    top: 45%;
    left: 2%;
  }
  
  .uno_btn-next {
    top: 45%;
    right: 2%;
  }

  @media (max-width:820px){
    .uno_slide img{
        width: 100%;
        object-fit: fill;
    }
  }
  
/* ---------------------End of Uno Slider Carousel ------------------ */

/* ---------------------Ocassions Row ------------------ */
#ocassions{
    width: 90%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}
#ocassions a{
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    color: var(--sec);
    text-align: center;
    font-weight: 500;
}
#ocassions a img{
    height: 75px;
}
@media(max-width:820px){
    #ocassions > *{
        flex: 1 1 calc(25% - 16px); /* Each item takes 25% of the row minus the gap */
        max-width: calc(25% - 16px); /* Prevent items from growing beyond 25% */
        box-sizing: border-box; /* Include padding/border in width */
    }
    #ocassions a{
        margin-bottom: 20px;
    }
    #ocassions a img{
        width: 70%;
        height: auto;
        margin: auto;
    }
}
/* ---------------------End of Ocassions Row ------------------ */

/* ---------------------Below Ocassions Row ------------------ */
#below_ocassions{
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    padding: 50px 0;
}
#below_ocassions a{
    width: 45%;
    transition: border 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}
#below_ocassions a:hover{
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1), 0 0 8px var(--tert); /* Smooth shadow effect */
}
#below_ocassions a img{
    width: 100%;
}
/* ---------------------End of Below Ocassions Row ------------------ */

/* ---------------------Heading ------------------ */
#heading{
    width: 90%;
    margin: auto;
    text-align: center;
}
#heading h1{
    margin-bottom: 10px;
}
/* ---------------------End of Heading ------------------ */

/* ---------------------Why Flowerbox254 ------------------ */
#why_flowerbox254{
    width: 90%;
    margin: auto;
    margin-top: 30px;
}
#why_flowerbox254 img{
    width: 100%;
}
/* ---------------------End of Why Flowerbox254 ------------------ */

/* ---------------------About Us ------------------ */
#about_us{
    display: flex;
    width: 90%;
    justify-content: space-between;
    margin: auto;
    margin-top: 30px;
}
.about_us_sub{
    width: 30%;
    font-size: large;
}
.about_us_sub img{
    width: 100%;
}
.about_us_sub h4{
    margin: 10px 0;
    font-size: x-large;
    font-weight: bolder;
}


/* ---------------------End of About Us ------------------ */

/* --------------------- All the Divs to hide in Mobile Mode ------------------ */
@media (max-width:640px){
    #below_ocassions, #heading, #why_flowerbox254, #about_us {display: none;}
}
/* ---------------------End of All the Divs to hide in Mobile Mode ------------------ */

/* ---------------------TaggBox Reviews ------------------ */
.taggbox{
    overflow: hidden;
    width:90%;
    margin: 40px auto;
}
/* ---------------------End of TaggBox Reviews ------------------ */


/* ---------------------Featured Products ------------------ */
.hor_scroll_title{
    width: 100%;
    text-align: center;
    margin: 10px auto;
    
}

.hor_scroll{
    width: 100%;
    display: flex;
    justify-content: space-around;
    overflow-x: scroll;
    background-color: var(--tert);
    padding: 20px 0;
    color: var(--sec);
    margin-bottom: 80px;
    
}


.hor_scoll_child_title h4{
    width: 95%;
    font-size: 2rem;
    margin: 20px auto;
}
.hor_scoll_child_title p{
    width: 95%;
    margin: 10px auto;
}
.hor_scoll_child_title a{
    width: 60%;
    margin: 10px auto;
    padding: 10px 20px;
    background-color: var(--sec);
    color: var(--tert);
    font-weight: bolder;
    text-align: center;
    transition: all 0.3s ease-in-out;
}
.hor_scoll_child_title a:hover{
    background-color: var(--tert);
    color: var(--sec);
}
.hor_scroll a{
    text-decoration: none;
}
.hor_scoll_child{
    width: 18%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1), 0 0 8px var(--tert3); /* Smooth shadow effect */
    display: flex;
    flex-direction: column;
    background-color: var(--pri);
    text-align: center;
    overflow: hidden;

}
.hor_scoll_child img{
    width: 100%;
    margin-bottom: 10px;
}
.hor_scoll_child .product_name{
    font-size: large;
    margin-bottom: 5px;
}
.hor_scoll_child .product_price{
    font-weight: bolder;
    margin-bottom: 10px;
}
.hor_scoll_child .add_to_cart{
    width: 100%;
    margin-bottom: 10px;
}
.hor_scoll_child .add_to_cart button{
    width: 50%;
    margin: auto;
    padding: 5px 10px;
    background-color: var(--sec);
    color: var(--tert);
    border: none;
    font-weight: bold;
    font-size: 1rem;
    transition: all ease-in-out 0.5s;
    transform: translateY(200%);
    cursor: pointer;
    
}
.hor_scoll_child:hover .add_to_cart button{
    transform: translateY(0%);
}
.add_to_cart button:hover{
    transform: scale(1.1);
    background-color: var(--tert);
    color: var(--sec);
}

@media (max-width: 820px) {
    .hor_scroll {
        /* Ensure the parent div remains a scrollable container */
        display: flex;
        justify-content: flex-start; /* Align items to the start */
        overflow-x: auto; /* Enable horizontal scrolling */
        scroll-behavior: smooth; /* Optional: Smooth scrolling */
        padding: 20px 0; /* Retain the padding */
    }

    .hor_scroll > *:nth-child(5){
        margin-right: 4%;
    }

    .hor_scoll_child {
        margin-left: 3%;
        width: 30%; /* Adjust child width */
        flex: 0 0 auto; /* Prevent flex shrinking and growing */
    }

    .hor_scoll_child .add_to_cart button{
        width: 70%;
        font-size: 0.9rem;
        transform: translateY(0%);
    }
}

@media (max-width: 640px) {

    .hor_scoll_child {
        width: 45%; /* Adjust child width */
    }
}


/* ---------------------End of Featured Products ------------------ */

/* ---------------------Premium Flowers ------------------ */
#premium_flowers{
    background: url(../img/others/background.webp);
    height: 100vh;
    width: 100vw;
    padding-top: 30px;
    position: relative;
    color: var(--tert);
    text-align: center;
    margin-bottom: 100px;

}

#premium_flowers h2{
    width: 100%;
    margin-top: 10px !important;
    font-size: 2.5rem;
    margin-bottom: 20px;
}
#premium_flowers h3{
    width: 100%;
    margin-bottom: 50px;

}
.premium_flowers_see_more{
    width: 100%;
    padding: 10px 20px;
    font-size: 1.2rem;
    background-color: var(--tert);
    color: var(--sec);
    margin-bottom: 100px !important;
} 
#premium_flowers_row_cont{
    margin-top: 10vh;
    display: grid;
    grid-template-columns: 5vw 90vw 5vw;
    grid-template-rows:  auto;
    grid-template-areas: 
    "   left_arrow   content   right_arrow   "
    ;
    align-items: center;
    
}
.premium_flowers_row_cont_left_arrow{
    grid-area: left_arrow;
}
.premium_flowers_row_cont_right_arrow{
    grid-area: right_arrow;
}
.pointer{
    font-size: 2rem;
    cursor: pointer;
    transition: all ease-in-out 0.3s;
}
.pointer:hover{
    transform: scale(1.2);
    
}
#premium_flowers_row{
    grid-area: content;
    /* border: 1px solid red; */
    display: flex;
    justify-content: flex-start;
    overflow-x: scroll;
}
#premium_flowers_row a {
    width: 23%;
    flex: 0 0 auto; 
    /* border: 1px solid green; */
    margin-left: 70px;
    height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--pri);
    font-size: 1.5rem;
}
#premium_flowers_row a img{
    width: 90%;
    margin-bottom: 20px;
}
.premium_price{
    font-weight: bolder;
    color: var(--tert);
}
@media (max-width:820px){
    #premium_flowers_row_cont{
        grid-template-columns: 10vw 80vw 10vw;
    }
    #premium_flowers_row a {
        width: 40%;
        margin-left: 50px;
    }
}
@media (max-width:640px){
    #premium_flowers_row_cont{
        grid-template-columns: 10vw 80vw 10vw;
    }
    #premium_flowers_row a {
        width: 60%;
        margin-left: 30px;
    }
    #premium_flowers_row a img{
        width: 100%;
    }
}
/* ---------------------End of Premium Flowers ------------------ */

/* ---------------------New Arrivals ------------------ */

#new_arrivals_banner{
    width: 90%;
    margin: auto;
}
#new_arrivals_banner a img{
    width: 100%;
}
#new_arrivals_row{
    width: 90%;
    display: flex;
    justify-content: space-between;
    margin: auto;
    margin-top: 20px;
}
.new_arrivals_row_child{
    width: 30%;
    /* border: 1px solid black; */
    text-align: center;
    font-size: larger;
    padding-bottom: 10px;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1), 0 0 8px var(--tert); /* Smooth shadow effect */
}
.new_arrivals_row_child img{
    width: 100%;
    margin-bottom: 10px;
}

@media (max-width:640px){
    #new_arrivals_row{
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin-bottom: 20px;
    }
    .new_arrivals_row_child{
        width: 80%;
        
    }
}

/* ---------------------End of New Arrivals ------------------ */

/* ---------------------Plants Banner ------------------ */
#plants_banner{
    width: 90%;
    margin: 40px auto;

}
#plants_banner a img{
    width: 100%;
}
/* ---------------------End of Plants Banner ------------------ */

/* ---------------------Special Deals And Flower Combos ------------------ */
#special_deals_and_flower_combos{
    display: flex;
    width: 90%;   
    margin: 10px auto;
    justify-content: space-between;
}
.sdafc_child{
    width: 49%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1), 0 0 8px var(--tert); /* Smooth shadow effect */
}
.sdafc_child_title img{
    width: 100%;
}
.sdafc_child_content{
    display: flex;
    justify-content: space-around;
}

.sdafc_child_content a{
    width: 30%;
    text-align: center;
    background-color: var(--tert);
    margin-bottom: 10px;
    padding: 3px;
}
.sdafc_child_content a img{
    width: 100%;
}
.sdafc_child_content a .product_name{
    font-size: large;
    margin-top: 5px;
}
.sdafc_child_content a .product_price{
    font-weight: bolder;
    margin-top: 5px
}
.sdafc_child_content a div button{
    margin: 10px auto;
    border: none;
    padding: 5px 10px;
    background-color: var(--sec);
    color: var(--tert);
    font-size: 1rem;
}
.sdafc_child_content a div button:hover{
    background-color: var(--tert);
    color: var(--sec);
    border: 1px solid var(--sec);
}
.sdafc_diff_btn{
    border: 1px solid var(--pri) !important;
    color: var(--pri) !important;
}
.sdafc_diff_btn:hover{
    background-color: var(--pri) !important;
    color: var(--sec) !important;
}
@media (max-width:820px){
    #special_deals_and_flower_combos{
        flex-direction: column;
        align-items: center;
    }
    .sdafc_child{
        width: 100%;
        margin: 20px;
    }
}
/* ---------------------End of Special Deals And Flower Combos ------------------ */



/* Onsite SHops */
   /* Onsite Shops */
/* Shop Card Layout */

.heading{
    width: 100%;
    margin: 50px auto 10px auto;
    /* background-color: red; */
}
.heading h2{
    text-align: center;
}


.shop-cards-container {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    margin: 20px 10px;
}

.shop-card {
    width: 30%;
    padding: 10px;
    background-color: var(--pri);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.shop-closed{
    border: 1px solid var(--highlight) ;
    color: var(--highlight) ;
}

.shop-card:hover {
    border: none;
    background-color: var(--sec);
    color: var(--pri);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.shop-closed:hover{
    border: none;
    background-color: var(--highlight);
    color: var(--pri);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.shop-map {
    margin-bottom: 10px;
}

.shop-info {
    text-align: center;
}

.shop-info h4 {
    margin: 10px 0;
    font-weight: bold;
}

.shop-stars {
    color: var(--tert);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.modal-content {
    background-color: var(--light);
    padding: 20px;
    max-width: 80%;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.shop-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.shop-images-slider {
    position: relative;
}

.shop-images-slider img {
    width: 100%;
    max-height: 50vh;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.close {
    width: 100%;
    height: 30px;
    margin-bottom: 70px;
    font-size: 72px;
    cursor: pointer;
    color: var(--highlight);
    z-index: 2;
    transition: all ease-in-out 0.5s;
    text-align: center;

}

.close:hover{
    font-weight: 600;
    color: var(--tert);
}

/* Navigation Buttons for Image Slider */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--tert2);
    color: var(--white);
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 24px;
    z-index: 1;
}

.nav-button.left {
    left: 10px;
}

.nav-button.right {
    right: 10px;
}

.nav-button:hover {
    background-color: var(--tert);
}

.shop-modal-info p {
    font-weight: bold;
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--black);
}


@media(max-width:640px){
    .shop-cards-container {
        flex-direction: column;
        align-items: center;
    }
    
    .shop-card {
        width: 90%;
        margin: 20px auto;
       
    }
}

/* Onsite Shops */


/* ---------------------Footer ------------------ */
#footer{
    margin-top: 20vh;
    height: 70vh;
    width: 100%;
    background-color: var(--sec);
    color: var(--pri);
    display: grid;
    grid-template-columns: "2fr fr 1fr";
    grid-template-areas: "logo_and_socials compay_links copyright";
}
#company_name_and_socials{
    grid-area: logo_and_socials;
}
#company_name_and_socials h2{
    font-size: 3rem;
    margin: 50px 0 20px 20px;
}
#company_name_and_socials p{
    font-size: 1.5rem;
    margin: 5px 0 10vh 20px;
}
#socials{
    display: flex;
    width: 100%;
    justify-content: flex-start;
    margin-left: 20px;
    gap: 15%;
}
#socials a i{
    color: var(--pri);
    font-size: 3rem;
}
#socials a i:hover{
    color: var(--tert);
}
#company_links{
    color: var(--pri);
    grid-area: compay_links;
    text-align: center;
}
#company_links h3{
    margin: 100px auto 30px auto;
    font-size: 1.5rem;
}
#company_links ul{
    list-style: none;
}
#company_links ul li{
    margin-top: 10px;
}
#company_links ul a{
    color: white ;
    font-size: 1.2rem;
}
#copyright{
    grid-area: copyright;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%; /* or the height of the parent container */
    text-align: center;
    font-size: 2rem;
}

@media (max-width: 820px) {
    
    #footer {
        height: 90vh;
        grid-template-columns: 1fr; /* Single column */
        grid-template-rows: auto; /* Adjusts height automatically */
        grid-template-areas: 
            "logo_and_socials"
            "compay_links"
            "copyright";
        grid-gap: 20px; /* Adds space between rows */
    }

    #company_name_and_socials h2{
        font-size: 2rem;
        margin: 20px 0 10px 20px;
    }

    #company_name_and_socials p{
        font-size: 1rem;
        margin: 5px 0 10px 20px;
    }

    #socials a i{
        font-size: 1.5rem;
    }
    
    #company_links h3{
        margin: 30px auto 20px auto;
        font-size: 1rem;
    }

    #company_links ul li{
        margin-top: 5px;
    }
    #company_links ul a{
        font-size: 1rem;
    }

}
/* ---------------------End of Footer ------------------ */


/* ---------------------Shop ------------------ */
#shop_cont{
    width: 100%;
    background: var(--faded_bg);

}

#shop {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    width: 90%;
    margin: auto;
}

/* Responsive product grid */
.product-card {
    position: relative;
    background: var(--pri);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    width: calc(50% - 20px); /* Default 4 products per row */
}

.product-card:hover {
    transform: scale(1.05);
    background: var(--light);
    border: 1px solid var(--dark);

    .description{
        color: var(--dark);
    }
    h3{
        color: var(--dark);
    }
    button{
        visibility: visible;
    }
}

/* Ribbon styling */
.ribbon {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
    color: black;
}

/* Image styling - maintain square ratio */
.product-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1; /* This forces the height to equal the width */
    object-fit: cover; /* Ensure image fills the area without distortion */
}

/* Product info styling */
.product-info {
    padding: 15px;
    text-align: center;
}

.product-info h3 {
    font-size: 18px;
    margin: 10px 0;
    font-weight: 400;
}

/* Price styling */
.price {
    /* color: var(--highlight); */
    font-size: 16px;
    font-weight: 700;
}

/* Description styling */
.description {
    font-size: 14px;
    color: #777;
    margin-top: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit description to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* Add ellipsis for overflow */
}

/* Media Queries */

/* Tablet mode - 3 products per row */
@media (max-width: 900px) {
    .product-card {
        width: calc(33.33% - 20px);
    }
}

/* Mobile mode - 2 products per row */
@media (max-width: 640px) {
    .product-card {
        width: calc(50% - 20px);
    }
}

/* Shop CSS - Existing Styles */
#shop {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    width: 90%;
    margin: auto;
}

/* New styles for product card */
.product-card {
    position: relative;
    background: var(--pri);
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    width: calc(25% - 20px); /* Default 4 products per row */
}

.product-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: cover;
}

.product-card button {
    background-color: var(--dark);
    visibility: hidden;
    transition: all 0.3s ease;
    color: var(--light);
    border: none;
    padding: 5px 8px;
    width: 50%;
    font-size: 16px;
    cursor: pointer;
    /* border-radius: 5px; */
    margin-top: 10px;
}

.product-card button:hover {
    background-color: var(--sec);
    /* border: 1px solid var(--pri); */
    color: var(--pri);
}

/* Media Queries */

/* Tablet mode - 3 products per row */
@media (max-width: 900px) {
    .product-card {
        width: calc(33.33% - 20px);
    }
    .product-card button{
        visibility: visible;
        width: 90%;
        font-size: 0.9rem;
        padding: 3px 6px;
    }
}

/* Mobile mode - 2 products per row */
@media (max-width: 640px) {
    .product-card {
        width: calc(50% - 20px);
    }
}


/* Toast Notifications */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    animation: toast-animation 3s;
}

@keyframes toast-animation {
    0% { opacity: 0; transform: translateX(-50%) translateY(10px); }
    50% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(10px); }
}


/* Cart Icon Styling */
.cart_icon {
    display: flex;
    align-items: center;
}

.cart_icon img {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.cart_count {
    font-size: 16px;
    font-weight: bold;
    color: #000;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    opacity: 0;
    animation: toastAnimation 0.5s forwards;
}

@keyframes toastAnimation {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}


/* ---------------------End of Shop ------------------ */



/* ---------------------Cart Page ------------------ */
#empty_cart{
    width: 100vw;
    height: 100vh;
    margin: 50px 0;
    display: none;
}
.empty_cart_img{
    width: 40%;
    margin: auto;
}
.empty_cart_img img{
    width: 100%;
}
.empty_cart_text{
    width: 100%;
    text-align: center;
}
.empty_cart_text h2{
    margin-bottom: 20px;
}
.empty_cart_text a{
    padding: 10px 20px;
    background: var(--dark);
    color: var(--pri);
    font-size: 1.2rem;
}
#my_cart{
    width: 90%;
    margin: auto;
    display: flex;
    margin-top: 40px;
    background: var(--faded_bg);
    /* display: none; */
}
#shopping_cart{
    width: 40%;
}
#shopping_cart h1{
    margin: 20px auto 30px 10px;
}
#products_in_cart{
    height: 100vh;
    overflow-y: scroll;
    padding-bottom: 50px;
}
#my_cart h2{
    margin: 20px auto 30px 10px;
}
#go_to_checkout{
    width: 55%;
    border-left: 1px solid var(--dark);
    padding-left: 10px;
    margin-left: 10px;
}
.product_in_cart{
    width: 90%;
    margin: auto;
    transition: all 0.3s ease;
    margin-top: 10px;
    padding: 5px;
    border-bottom: 1px dotted var(--sec);

}
.product_in_cart:hover{
    background: var(--pri);
    /* border: 1px solid var(--dark); */
}
.pic_row{
    display: flex;
    gap: 20px;
}
.pic_row_2{
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
}
.pic_row_2 div select{
    padding: 6px;
    font-size: 1.1rem;
    
}
.pic_remove_btn{
    padding: 5px 10px;
    background-color: var(--dark);
    color: var(--tert);
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
}
.pic_remove_btn:hover{
    background-color: var(--sec);
    color: var(--pri);
}
#pic_qty{
    padding: 4px 8px;
    font-size: 1.1rem;
    font-weight: bold;
}
.pic_img{
    width: 30%;
}
.pic_img img{
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}
.pic_options{
    padding-top: 5px;
    padding-bottom: 10px;
}
.pic_options ul li{
    list-style: none;
}
.pic_price{
    text-align: right;
    font-size: 1.2rem;
    font-weight: bold;
}
.pic_txt a{
    transition: all 0.4s ease;
}
.pic_txt a:hover{
    font-size: 1.1rem;
    color: var(--highlight);
}
#gtc_ttl{
    width: 100%;
    margin: auto;
    text-align: center;
    display: flex;
    font-size: 1.7rem;
    font-weight: 700;
    justify-content: center;
    gap: 10px;
}
.gtc_f_ipt{
    margin: 50px auto;
}
.gtc_row{
    display: flex;
    align-items: center;
}
#gtc_order_email, #gtc_order_address, #gtc_order_phonneo{
    border: none;
    background: inherit;
    border-bottom: 2px solid var(--light);
    color: var(--light);
    width: 60%;
    font-size: 1.4rem;
    margin-top: 10px;
}
#gtc_order_email:focus{outline: none;}
#gtc_order_address:focus{outline: none;}
#gtc_order_phonneo:focus{outline: none;}
#checkout_form {
    width: 90%;
    margin: 10px auto;
    background: var(--sec);
    color: var(--light);
    text-align: center;
    padding: 30px;
    font-size: 1.2rem;
}
.gtc_btn{
    padding: 10px 20px;
    border: none;
    font-size: 1.2rem;
    background-color: var(--light);
    color: var(--sec);
    cursor: pointer;
}
.gtc_btn:hover{
    background-color: var(--dark);
    color: var(--light);
}

/* FOr the CHecbox */

.gtc_f_ipt input[type=checkbox]{
	height: 0;
	width: 0;
	visibility: hidden;
}

.chck_bx_lbl {
	cursor: pointer;
	text-indent: -9999px;
	width: 60px;
	height: 30px;
	/* background: grey; */
	background: var(--light);
	display: block;
	border-radius: 30px;
	position: relative;
    margin-right: 10px;
}

.chck_bx_lbl:after {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: 25px;
	height: 25px;
	background: var(--sec);
	border-radius: 45px;
	transition: 0.3s;
}

input:checked + .chck_bx_lbl {
	background: var(--highlight);
    border: none;

}

input:checked + .chck_bx_lbl:after {
	left: calc(100% - 5px);
	transform: translateX(-100%);
}

.chck_bx_lbl:active:after {
	width: 70px;
}
/* End FOr the CHeck box */


@media(max-width:640px){
    #my_cart{
        flex-direction: column;
        padding-bottom: 30px;
    }
    #shopping_cart{
        width: 100%;
        padding-bottom: 10px;
        border-bottom: 1px solid var(--dark);
    }
    #empty_cart{
        display: none;
    }
    #products_in_cart{
        height: 30vh;
    }
    #go_to_checkout{
        width: 100%;
        border: none;
        margin: auto;
    }
    #gtc_order_email{
        border-bottom: 2px solid var(--dark);
        width: 90%;
        font-size: 1.2rem;
        margin-top: 10px;
    }
    .chck_bx_lbl{
        width: 70px;
        height: 15px;
	    border-radius: 15px;
    }
    .chck_bx_lbl:after{
        top: 1px;
        left: 1px;
        width: 13px;
        height: 13px;
    }
    .chck_bx_lbl:active:after {
        width: 30px;
    }
    input:checked + .chck_bx_lbl:after {
        left: calc(100% - 1px);
        top: 0;
        transform: translateX(-100%);
    }
}



/* ---------------------End of Cart Page ------------------ */

@media (max-width:820px) {
    #container{
        width: 100%;
        overflow-x: hidden !important;
    }
}

/* ******************************FOR PAY PAGE ************************************************ */


#pay {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#pay_now {
    color: #25a75c;
    margin-bottom: 20px;
}

.pay_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.mpesa_logo {
    width: 150px;
    height: auto;
}

.invoice_text {
    font-size: 1.2rem;
    color: #444;
    font-weight: bolder;
}

.mpesa_input {
    padding: 12px;
    width: 80%;
    max-width: 350px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}

.pay_btn {
    padding: 12px 25px;
    background-color: #25a75c;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.pay_btn:hover {
    background-color: #1e914e;
}

/* Responsive for tablets and small desktops */
@media (max-width: 900px) {
    #pay {
        margin: 30px 20px;
    }

    .mpesa_input {
        width: 90%;
    }
}

/* Responsive for mobile devices */
@media (max-width: 640px) {
    .mpesa_logo {
        width: 120px;
    }

    .invoice_text {
        font-size: 1rem;
    }

    .pay_btn {
        width: 90%;
    }
}

/* ******************************END OF PAY PAGE ********************************************* */







