/* Text input */
.form_group {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    margin: 15px 0;
    position: relative;
}

.form_group div {
    width: 100%;
    border-radius: 40px;
    position: relative;
}

.form_group input, .form_group select {
    width: 100%;
    padding: 15px 30px;
    margin: 0;
    border-radius: 40px;
    margin-top: 10px;
    border: 1px solid var(--primary);
}

.form_group input::placeholder, .form_group select::placeholder {
    color: #ACACAC;
    font-size: 15px;
    line-height: 22.5px;
    font-weight: 300;
}


.form_group textarea {
    width: 100%;
    min-height: 200px;
    max-height: 300px;
    padding: 15px 30px;
    margin: 0;
    border-radius: 40px;
    margin-top: 10px;
    border: 1px solid var(--primary);
}

.form_group textarea::placeholder {
    color: #ACACAC;
    font-size: 15px;
    line-height: 22.5px;
    font-weight: 300;
}

#message-counter{
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 12px;
    color: #ACACAC;
    text-align:right; 
}
.form_group .country-picker-wrapper{
    position: relative;
}

.form_group .country-picker-wrapper select{
    position: absolute;
    top: 10px;
    left: 0;
    width: 100px;
    height: calc(100% - 10px);
    border-top-left-radius: 40px;
    border-bottom-left-radius: 40px;
    background-color: transparent;
    padding-left:10px;
    background-color: var(--primary);
    color: white;
}

.form_group .country-picker-wrapper input{
    padding-left: 120px;
}
/* Action button */

.action-button {
    position: relative;
    width: 400px !important;
    height: 80px;
    border-radius: 80px;
    border: 2px solid #2F327D;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.action-button span {
    font-weight: 400;
    font-size: 22px;
    line-height: 160%;
    color: #2F327D;
    text-align: start;
    margin-left: 30px;
}

.action-button img {
    position: absolute;
    right: -1px;
    width: 80px;
    height: 80px;
    cursor: pointer;
}

/* TITLE */
.title {
    color: #2F327D;
    width: 50%;
}

.title,
.sub-title {
    text-align: center;
    width: 50%;
}

.title span {
    color: #00CBB8;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

/* Carousel */

.carousel-container {
    /* max-width: 1200px; */
    margin: 0 auto;
    padding: 10px;
}

/* Carousel Container */
.carousel-main {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* Carousel */
.carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    border-radius: 8px;
    /* background-color: red; */
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); */
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

/* Cards */
.carousel-card {
    flex: 0 0 calc(33.333% - 20px);
    min-width: calc(33.333% - 20px);
    margin: 0 10px;
    border-radius: 8px;
    overflow: hidden;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.carousel-card-image {
    height: 180px;
    overflow: hidden;
}

.carousel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-card:hover .carousel-card-image img {
    transform: scale(1.05);
}

.carousel-card-content {
    padding: 1.5rem;
}

.carousel-card-content h3 {
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.carousel-card-content p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Navigation Buttons */
.carousel-button {
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    /* position: absolute; */
    z-index: 10;
    transition: all 0.3s ease;
}

.carousel-button:hover {
    opacity: 0.8 !important;
    transform: scale(1.1);
}

.carousel-button:focus {
    outline: none;
}

.carousel-button img {
    width: 20px;
    height: 20px;
}

.prev-button {
    left: -20px;
}

.next-button {
    right: -20px;
}

/* Indicators */
.e-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.indicator.active {
    background-color: #49BBBD;
}

/* Headings */
.heading {
    width: 90%;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.heading .title {
    font-weight: 700;
    font-size: 38px;
    line-height: 37.6px;
    color: #49BBBD;
    margin: 0;
    text-align: left;
    font-family: 'AOK Buenos Aires', sans-serif;
}

.heading a {
    font-weight: 700;
    font-size: 20px;
    line-height: 27.28px;
    text-decoration: underline;
    text-decoration-style: solid;

    color: black;
    margin: 0;
}

/* Navbar hover card */

.nav-hover-card{
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 300px;
    max-height: 400px;
    background-color: white;
    border-radius: 20px;
    z-index: 10;
    padding: 10px;
    box-shadow: 0px 0px 4px 0px #00000040;
    backdrop-filter: blur(20px);
    transition: all 0.3s ease-in-out;
}

.nav-hover-card .items{
    width: 100%;
    height: 80%;
    overflow: auto;
}
.nav-hover-card .item{
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 5px;
    border-bottom: 1px solid #E4E4E4;
    padding: 10px 0;

}

.nav-hover-card .item img{
    width: 100px;
    height: 100%;
}

.nav-hover-card .item h3{
    font-family: Nunito Sans;
    font-weight: 700;
    font-size: 12px;
    color:black;
}

.nav-hover-card .item p{
    font-family: Nunito Sans;
    font-weight: 400;
    font-size: 10px;
    line-height: 12px;
    margin:0;
}
.nav-hover-card  p.price span{
    font-family: Nunito Sans;
    font-weight: 400;
    font-size: 10px;
}

/* Nav links */
.pages  {
    white-space: nowrap;
}
.pages .pages-content {
    display: grid;
    gap: 5px;
    opacity: 0;
    z-index: -1;
    transform: translateY(-20px);
    pointer-events: none;
    width: auto;
}

.pages .mobile-pages-content {
    display: none;
}

.cart .nav-hover-card p.price span:nth-child(1){
    font-family: Nunito Sans;
    font-weight: 700;
    font-size: 12px;
    color: #49BBBD;
    margin-right: 10px;
}
.cart .nav-hover-card p.price span:nth-child(2){
    text-decoration: line-through;
}

.nav-hover-card aside.cart-footer{
    width: 100%;
    padding-top: 10px;
    display: grid;
    gap:10px;
}

.nav-hover-card aside.cart-footer p.price span{
    font-family: Nunito Sans;
    font-weight: 400;
    font-size: 12px;
}

.cart .nav-hover-card aside.cart-footer p.price span:nth-child(1){
    font-family: Nunito Sans;
    font-weight: 700;
    font-size: 14px;
    color: #49BBBD;
    margin-right: 5px;
}
.nav-hover-card aside button{
    width: 100% !important;
    border-radius: 5px !important;
}

/* Cart */
.cart {
    position: relative;
}

.cart .icon {
    height: 100%;
    width: 100%;
    cursor: pointer;
}

.cart span.number {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--secondary);
    height: 25px;
    width: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
    font-size: 12px;
    font-weight: 500;
}

.cart .cart-content{
    opacity: 0;
    z-index: -1;
    transform: translateY(-20px);
    pointer-events: none;
}

/* Wishes */
.wishes{
    position: relative
}

.wishes .wishes-content {
    opacity: 0;
    z-index: -1;
    transform: translateY(-20px);
    pointer-events: none;
}
.wishes .wishes-content .items {
    height: 90%;
}
.wishes .wishes-content .items .item{
    display: grid;
}
.wishes .wishes-content .items .item div{
    display: flex;
    justify-content: start;
    align-items: center;
    gap: 5px;
}
.wishes .wishes-content .items .item button{
    width: 100% !important;
    border-radius: 5px !important;
    border: 1px solid var(--primary);
    color: var(--primary);
    background-color: white;
}

.wishes .wishes-content .cart-footer{
    padding: 0 !important;
}
/* User profile */
.user-profile{
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background: #00000033;
    position: relative
}

.user-profile img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
}


.user-profile-content {
    display: grid;
    gap: 10px;
    opacity: 0;
    z-index: -1;
    transform: translateY(-20px);
    pointer-events: none;
    overflow: auto;
}

.user-profile-content .user-profile.header {
    display: flex;
    gap:10px;
    align-items: center;
}

.user-profile-content .user-profile.header div h3 {
    font-family: AOK Buenos Aires;
    font-weight: 600;
    font-size: 18px;
    color: black;
    margin:0;
}
.user-profile-content .user-profile.header div p {
    font-family: AOK Buenos Aires;
    font-weight: 600;
    font-size: 12px;
    color: #9B9A9A;
}
.user-profile-content .divider-h {
    background-color:#E4E4E4
}
.user-profile-content p {
    font-family: Nunito Sans;
    font-weight: 400;
    font-size: 16px;
    color: black;
}

/* Notification */
.notification {
    position: relative;
}

.notification .icon {
    height: 100%;
    width: 100%;
}

.notification span.indicator {
    position: absolute;
    top: 2.5px;
    right: 2.5px;
    background-color: var(--primary);
    border-radius: 50%;
    height: 10px;
    width: 10px;
    animation: ping-animation 1.5s infinite;
}

.notification .notification-content{
    opacity: 0;
    z-index: -1;
    transform: translateY(-20px);
    pointer-events: none;
    padding: 10px 20px;

}

.notification .notification-content h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.notification .notification-content h3 span:nth-child(1) {
    font-family: Nunito Sans;
    font-weight: 700;
    font-size: 16px;
    color: black;
}
.notification .notification-content h3 span:nth-child(2) {
    font-family: Nunito Sans;
    font-weight: 700;
    font-size: 12px;
    color: var(--primary);
}


.notification .notification-content aside {
    padding: 20px 40px;
}

.notification .notification-content aside p.empty {
    font-family: Nunito Sans;
    font-weight: 400;
    font-size: 12px;
    color: #00000099;
    text-align: center;
}

/* Cart items */

    .cart-items {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 20px 0;
}

    .cart-items .item {
    display: flex;
    gap: 10px;
    width: 100%;
    padding: 20px 0;
    border-bottom: 1px solid #AAAAAA;
}

    .cart-items .item .thumb {
    width: 170px;
    background: url('../images/thumbs/product.webp') no-repeat center/cover;
}

    .cart-items .item .thumb div {
    background: #00000033;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

    .cart-items .item .info {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 20px;
    width: 100%;
    padding-bottom: 20px;
    flex-wrap: wrap;
}

    .cart-items .item .info .main-data {
    display: grid;
    gap: 5px;
}

    .cart-items .item .info .main-data h2 {
    font-family: Nunito Sans;
    font-weight: 700;
    font-size: 20px;
    margin: 0;
}

    .cart-items .item .info .main-data p {
    font-family: Nunito Sans;
    font-weight: 400;
    font-size: 13px;
    color: #696984;
}

    .cart-items .item .info .main-data div {
    display: flex;
    gap: 10px;
    align-items: center;
}

    .cart-items .item .info .main-data div span {
    font-family: Nunito Sans;
    font-weight: 700;
    font-size: 22px;
    color: #FDB022;
}

    .cart-items .item .info .main-data code {
    font-family: Nunito Sans;
    font-weight: 700;
    font-size: 16px;
    color: white;
    background: #2F327D;
    padding: 5px 10px;
    place-self: start;
}

    .cart-items .item .info .prices {
    width: auto;
}

    .cart-items .item .info .prices p:nth-child(1) {
    font-family: Nunito Sans;
    font-weight: 700;
    font-size: 20px;
    color: #49BBBD;
}

    .cart-items .item .info .prices p:nth-child(2) {
    font-family: Nunito Sans;
    font-weight: 400;
    font-size: 18px;
    text-decoration: line-through;
    color: #B3B3B3;
}

/* Modal */
.modal{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 20;
}

.modal-content{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 800px;
    max-height: 80%;
    overflow: auto;
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0px 0px 15px 5px #0000001A;
}

.modal-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-heading h2 {
    font-family: Nunito Sans;
    font-weight: 700;
    font-size: 22px;
    color: #2F327D;
    margin: 0;
}

.modal-heading img {
    cursor: pointer;
}

.modal-heading img:hover {
    transform: scale(1.1);
}
@keyframes ping-animation {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .carousel-card {
        flex: 0 0 calc(50% - 20px);
        min-width: calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .carousel-card {
        flex: 0 0 calc(100% - 20px);
        min-width: calc(100% - 20px);
    }

    .carousel-button {
        width: 36px;
        height: 36px;
    }

    .prev-button {
        left: -18px;
    }

    .next-button {
        right: -18px;
    }
}