/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
    --header-height: 3.5rem;

    /*========== Colors ==========*/
    --first-color: hsl(31, 100%, 70%);
    --button-color: hsl(0, 0%, 17%);
    --button-color-alt: hsl(0, 0%, 21%);
    --title-color: hsl(0, 0%, 15%);
    --text-color: hsl(0, 0%, 35%);
    --text-color-light: hsl(0, 0%, 55%);
    --body-color: hsl(0, 0%, 99%);
    --container-color: #fff;
    --border-color: hsl(0, 0%, 94%);

    /*========== Font and typography ==========*/
    --body-font: "Roboto", sans-serif;
    --biggest-font-size: 2rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: 0.938rem;
    --small-font-size: 0.813rem;
    --smaller-font-size: 0.75rem;

    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-bold: 700;

    /*========== Margenes Bottom ==========*/
    --mb-0-5: 0.5rem;
    --mb-0-75: 0.75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
    --mb-3: 3rem;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
}

@media screen and (min-width: 968px) {
    :root {
        --biggest-font-size: 2.5rem;
        --h1-font-size: 2.25rem;
        --h2-font-size: 1.5rem;
        --h3-font-size: 1.25rem;
        --normal-font-size: 1rem;
        --small-font-size: 0.875rem;
        --smaller-font-size: 0.813rem;
    }
}

/*=============== BASE ===============*/
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body,
button,
input {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
}

body {
    margin: 0;
    background-color: var(--body-color);
    color: var(--text-color);
    /*For animation dark mode*/
    transition: 0.4s;
}

h1,
h2,
h3,
h4 {
    color: var(--title-color);
    font-weight: var(--font-medium);
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
}

/*=============== THEME ===============*/
/*========== Variables Dark theme ==========*/
body.dark-theme {
    --first-color: hsl(31, 76%, 74%);
    --button-color: hsl(0, 0%, 24%);
    --button-color-alt: hsl(0, 0%, 28%);
    --title-color: hsl(0, 0%, 95%);
    --text-color: hsl(0, 0%, 75%);
    --body-color: hsl(0, 0%, 12%);
    --container-color: hsl(0, 0%, 16%);
    --border-color: hsl(0, 0%, 20%);
}

/*========== Button Dark/Light ==========*/
.change-theme {
    color: var(--title-color);
    font-size: 1.25rem;
    cursor: pointer;
}

/*==========
    Color changes in some parts of
    the website, in dark theme
==========*/
.dark-theme .change-theme,
.dark-theme .nav__toggle,
.dark-theme .nav__shop,
.dark-theme .button--gray {
    color: hsl(0, 0%, 15%);
}

.dark-theme .scroll-header {
    box-shadow: 0 1px 4px hsla(0, 0%, 4%, 0.3);
}

.scroll-header .change-theme,
.scroll-header .nav__toggle,
.scroll-header .nav__shop {
    color: var(--title-color);
}

.dark-theme::-webkit-scrollbar {
    background: hsl(0, 0%, 30%);
}
/*========== BENEFITS SECTION DARK MODE ==========*/
.benefits {
    background-color: var(--background-color);
}


.dark-theme .benefit {
    background-color: #252525;
    color: white;
}

.dark-theme .benefit h3,
.dark-theme .benefit p {
    color: white;
}

.dark-theme .benefit__icon {
    color: hsl(31, 76%, 74%);
}
/* Dark Theme for New Arrivals Section */
.dark-theme .new__card {
    background-color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.dark-theme .new__card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.dark-theme .new__tag {
    background-color: #f39c12;
    color: #fff;
}

.dark-theme .new__title {
    color: #fff;
}

.dark-theme .new__price {
    color: #ddd;
}

.dark-theme .new__button {
    background-color: #f39c12;
    color: #fff;
}

.dark-theme .new__button:hover {
    background-color: #d87e1b;
}

.dark-theme .product__img {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.dark-theme .product__no-image {
    background-color: #444;
    color: #bbb;
}

/* Dark Theme for Swiper */
.dark-theme .swiper-wrapper {
    gap: 20px;
}

.dark-theme .swiper-slide {
    /* background-color: #333; */
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.dark-theme .swiper-slide:hover {
    /* transform: scale(1.05); */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Dark Theme Text Color */
.dark-theme .new__title,
.dark-theme .new__price,
.dark-theme .new__tag,
.dark-theme .product__title a {
    color: #fff;
}

/* Dark Theme for Button Text */
.dark-theme .new__button {
    background-color: var(--first-color);
    color: #fff;
}

.dark-theme .new__button:hover {
    background-color: #d87e1b;
}

/* Dark Theme for No Image Message */
.dark-theme .product__no-image {
    background-color: #444;
    color: #bbb;
}

/* Dark Theme for Products Section */
.dark-theme .products__card {
    background-color: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.dark-theme .products__card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.dark-theme .products__title a {
    color: #fff;
}

.dark-theme .product__price {
    color: #ddd;
}

.dark-theme .product__button {
    background-color: var(--first-color);
    color: #fff;
}

.dark-theme .product__button:hover {
    background-color: var(--first-color);
}

.dark-theme .product__image-wrapper {
    text-align: center;
}

.dark-theme .product__img {
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.dark-theme .product__img:hover {
    transform: scale(1.1);
}

.dark-theme .product__no-image {
    background-color: #444;
    color: #bbb;
}

/* Dark Theme for Pagination (if used) */
.dark-theme .pagination-container {
    color: #fff;
}

.dark-theme .pagination-container a {
    color: #fff;
    transition: color 0.3s ease;
}

.dark-theme .pagination-container a:hover {
    color: #f39c12;
}

/* Dark Theme for Section Title */
.dark-theme .section__title {
    color: #fff;
}

/* Dark Theme for Card Hover Effect */
.dark-theme .products__card:hover {
    background-color: #444;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/*================= DARK MODE TESTIMONIALS =================*/

/* Dark Theme Styles for Testimonial Section */
.dark-theme .testimonial {
    /* background-color: #252525; */
    color: white;
    transition: background 0.3s ease, color 0.3s ease;
}

.dark-theme .testimonial__card {
    background-color: hsl(0, 0%, 12%);
    border-radius: 20px;
    color: white;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Testimonial Quote Icon */
.dark-theme .testimonial__quote {
    color: hsl(31, 76%, 74%);
}

/* Testimonial Description */
.dark-theme .testimonial__description {
    color: white;
}

/* Testimonial Date */
.dark-theme .testimonial__date {
    color: #bbb;
}

/* Testimonial Profile Section */
.dark-theme .testimonial__perfil-name {
    color: white;
}

.dark-theme .testimonial__perfil-detail {
    color: #bbb;
}

/* Testimonial Image */
.dark-theme .testimonial__perfil-img {
    border: 2px solid white;
}

/* Dark Mode for Testimonial Image Wrapper */
.dark-theme .testimonial__images {
    background-color: transparent;
}

/* Dark Mode for Testimonial Square Element */
.dark-theme .testimonial__square {
    background-color: hsl(31, 76%, 74%);
}


/*=============== REUSABLE CSS CLASSES ===============*/
.container {
    max-width: 1024px;
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
}

  /* Container: Grid Layout */
  .testimonial__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two equal columns */
    align-items: center;
    gap: 2rem;
    width: 100%;
}

/* Testimonial Content: Aligns text to the left */
.testimonial__content {
    text-align: left;
}

/* Testimonial Card Styling */
.testimonial__card {
    background-color: white;

    padding: 2rem;

    max-width: 600px;

}

.testimonial__quote {
    font-size: 2rem;
    color: hsl(31, 100%, 70%);
    margin-bottom: 1rem;
    text-align: left;
    /* Aligns quote icon left */
    border-radius: 50%;
}

.testimonial__description {
    font-size: 1.125rem;
    color: #333;
    margin-bottom: 1.5rem;
}

.testimonial__date {
    font-size: 0.875rem;
    color: #888;
    margin-bottom: 1.5rem;
}

.testimonial__perfil {
    display: flex;
    align-items: center;
}

.testimonial__perfil-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
}

.testimonial__perfil-name {
    font-weight: bold;
    color: #333;
}

.testimonial__perfil-detail {
    font-size: 0.875rem;
    color: #777;
}

/* Image Section */
.testimonial__images {
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonial__img {
    width: 100%;
    max-width: 400px;
    /* Adjust size as needed */
    object-fit: cover;
    border-radius: 8px;
}

/* ========== Responsive Design ========== */

/* Tablets (max-width: 768px) */
@media (max-width: 768px) {
    .testimonial__container {
        grid-template-columns: 1fr;
        /* Stack elements */
        text-align: center;
    }

    .testimonial__content {
        max-width: 100%;
    }

    .testimonial__images {
        justify-content: center;
    }

    .testimonial__img {
        width: 100%;

    }
}

@media (max-width: 480px) {
    .testimonial__container {
        grid-template-columns: 1fr;
        /* Single column layout */
        gap: 1rem;
        text-align: left;
        /* Ensures text remains left-aligned */
    }

    .testimonial__card {
        padding: 1.5rem;
        /* Reduce padding for small screens */
    }

    .testimonial__quote {
        font-size: 1.5rem;
        /* Smaller quote icon */
    }

    .testimonial__description {
        font-size: 1rem;
        /* Adjust font size for readability */
    }

    .testimonial__date {
        font-size: 0.75rem;
    }

    .testimonial__perfil {
        flex-direction: row;
        align-items: center;
    }

    .testimonial__perfil-img {
        width: 40px;
        height: 40px;
    }

    .testimonial__img {
        max-width: 80%;
        /* margin-bottom: 20px; */
        /* Slightly smaller image */
    }
    .mar{
        margin-top: 20px;
    }
}


.grid {
    display: grid;
}

.main {
    overflow: hidden;
}

.section {
    padding: 6.5rem 0 1rem;
}

.section__title {
    position: relative;
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-3);
    text-transform: uppercase;
    letter-spacing: 2.2px;
    text-align: center;
}

.section__title::before {
    content: "";
    position: absolute;
    top: -1rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 67px;
    height: 1px;
    background-color: var(--first-color);
}

/*=============== HEADER & NAV ===============*/
.header {
    width: 100%;
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    /*For animation dark mode*/
    transition: 0.4s;
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo,
.nav__toggle,
.nav__shop,
.nav__close {
    color: var(--title-color);
}

.nav__logo {
    text-transform: uppercase;
    font-weight: var(--font-bold);
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    column-gap: 0.25rem;
}

.nav__logo-icon {
    font-size: 1.25rem;
}

.nav__btns {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}

.nav__toggle,
.nav__shop {
    font-size: 1.25rem;
    cursor: pointer;
}

@media screen and (max-width: 767px) {
    .nav__menu {
        position: fixed;
        background-color: var(--body-color);
        top: 0;
        right: -100%;
        width: 100%;
        height: 100%;
        padding: 6rem 2rem 3.5rem;
        transition: 0.3s;
    }
}

.nav__list {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 2rem;
}

.nav__link {
    color: var(--title-color);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    font-size: var(--h2-font-size);
    transition: 0.3s;
}

.nav__link:hover {
    color: var(--first-color);
}

.nav__close {
    padding-top: 30px;
    font-size: 2rem;
    position: absolute;
    top: 0.9rem;
    right: 1.25rem;
    cursor: pointer;
}

/* Show menu */
.show-menu {
    right: 0;
}

/* Change background header */
.scroll-header {
    background-color: var(--body-color);
    box-shadow: 0 1px 4px hsla(0, 4%, 15%, 0.1);
}

/* Active link */
.active-link {
    color: var(--first-color);
}

/*=============== HOME ===============*/
.home__container {
    position: relative;
    row-gap: 2.5rem;
}

.home__img {
    width: 240px;
}

.home__img-bg {
    background-color: var(--first-color);
    width: 258px;
    height: 430px;
    padding-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    justify-self: flex-end;
    transform: translateX(1.5rem);
}

.home__img-bg-2 {
    background-color: var(--first-color);
    width: 500px;
    height: 450px;
    padding-bottom: 4rem;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    justify-self: flex-end;
    /* transform: translateX(1.5rem); */
}

.home__social {
    position: absolute;
    top: 35%;
    left: -5rem;
    transform: rotate(-90deg);
    display: flex;
    column-gap: 1rem;
}

.home__social-link {
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
    transition: 0.3s;
}

.home__social-link:hover {
    color: var(--title-color);
}

.home__title {
    font-size: var(--biggest-font-size);
    font-weight: var(--font-bold);
    margin-bottom: var(--mb-1);
}

.home__description {
    margin-bottom: var(--mb-1-5);
}

.home__price {
    display: inline-block;
    font-size: var(--h2-font-size);
    font-weight: var(--font-medium);
    color: var(--first-color);
    margin-bottom: var(--mb-3);
}

.home__btns {
    display: flex;
    align-items: center;
}

.home__button {
    box-shadow: 0 12px 24px hsla(0, 0%, 10%, 0.2);
}

/* Fixed Parent Container */
/* Default Styles */
.carousel-container {
    position: relative;
    width: 500px;
    height: 500px;
    margin: auto;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    /* border: 2px solid #ddd; */
    border-radius: 10px;
}

.carousel-item {
    display: none;
    width: 100%;
    height: 100%;
    text-align: center;
}

.carousel-item.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.carousel-nav button {
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.carousel-nav button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .carousel-container {
        width: 90%;
        height: 400px;
    }

    .carousel-nav button {
        font-size: 18px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        margin-top: 30px;
        width: 95%;
        height: 300px;
    }

    .carousel-nav button {
        font-size: 16px;
        padding: 6px 10px;
    }
}

@media (max-width: 360px) {
    .carousel-container {
        width: 100%;
        height: 250px;
    }

    .carousel-nav button {
        font-size: 14px;
        padding: 5px 8px;
    }
}

/* Section */
.featured__section {
    text-align: center;
    padding: 50px 20px;
    /* background-color: #111; */
}

.featured__title {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 30px;
}

/* Container */
.featured__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 0 20px;
    justify-content: center;
}

/* Category Card */
.featured__card {
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    text-decoration: none;
}

.featured__card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Image Wrapper */
.featured__image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    height: 180px;
}

.featured__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border-radius: 10px;
}

.featured__card:hover .featured__img {
    transform: scale(1.1);
}

/* Category Name */
.featured__data {
    margin-top: 15px;
    text-align: center;
}

.featured__category-name {
    font-size: 1.2rem;
    font-weight: bold;
    color: #1a1a1a;
    transition: color 0.3s ease;
}

.featured__card:hover .featured__category-name {
    color: var(--first-color);
}

/* No Categories Message */
.featured__empty {
    font-size: 16px;
    color: #bbb;
    padding: 20px;
}
.benefits {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    max-width: 1050px;
    width: 100%;
    padding: 25px;
    gap: 20px;
    margin: 50px auto;
}

/* Individual Benefit Box */
.benefit {
    /* background-color: #1a1a1a; */
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    flex: 1;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

/* Hover Effect */
.benefit:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 14px rgba(0, 0, 0, 0.2);
}

/* Icons */
.benefit__icon {
    width: 90px;
    height: 90px;
    margin-bottom: 10px;
    color: hsl(31, 76%, 74%);
}

/* Text */
.benefit h3 {
    font-size: 18px;
    color: black;
    margin-bottom: 5px;
}

.benefit p {
    font-size: 14px;
    color: gray;
}

/*=============== BUTTONS ===============*/
.button {
    display: inline-block;
    background-color: var(--button-color);
    color: #fff;
    padding: 1.25rem 2rem;
    font-weight: var(--font-medium);
    transition: 0.3s;
}

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

.button--gray {
    background-color: hsl(0, 0%, 75%);
    color: var(--title-color);
}

.button--gray:hover {
    background-color: hsl(0, 0%, 63%);
}

.button--small {
    padding: 1rem 1.5rem;
}

/*=============== FEATURED ===============*/
.featured__container {
    row-gap: 2.5rem;
}

.featured__card {
    position: relative;
    text-align: center;
    background-color: var(--container-color);
    padding-top: 2rem;
    border: 1px solid var(--border-color);
    overflow-y: hidden;
    transition: 0.3s;
}

.featured__tag {
    background-color: var(--first-color);
    padding: 0.5rem 1rem;
    color: #fff;
    text-transform: uppercase;
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
    position: absolute;
    transform: rotate(-90deg);
    left: -1rem;
    top: 3rem;
}

.featured__img {
    height: 214px;
    margin-bottom: var(--mb-1);
}

.featured__title,
.featured__price {
    font-size: var(--h3-font-size);
    font-weight: var(--font-bold);
}

.featured__title {
    text-transform: uppercase;
    margin-bottom: var(--mb-0-75);
}

.featured__price {
    display: block;
    color: var(--first-color);
    transition: 0.3s;
}

.featured__button {
    font-size: var(--small-font-size);
    transform: translateY(1rem);
    opacity: 0;
}

.featured__card:hover {
    box-shadow: 0 12px 32px hsla(0, 0%, 20%, 0.1);
    /* padding: 2rem 0 3rem 0; */
}

.featured__card:hover .featured__button {
    transform: translateY(0);
    opacity: 1;
}

.featured__card:hover .featured__price {
    margin-bottom: var(--mb-1-5);
}

/*=============== STORY ===============*/
.story__container {
    row-gap: 7.5rem;
}

.story__title {
    font-size: var(--h1-font-size);
    margin-bottom: var(--mb-1);
}

.story__description {
    margin-bottom: var(--mb-2-5);
}

.story__images {
    position: relative;
}

.story__img,
.story__square {
    width: 250px;
}

.story__square {
    height: 250px;
    background-color: var(--first-color);
}

.story__img {
    position: absolute;
    left: 3rem;
    top: -3rem;
}

/*=============== PRODUCTS ===============*/
.products__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.products__card {
    position: relative;
    background-color: var(--container-color);
    padding: 1.25rem 0;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: 0.3s;
}

.products__img {
    height: 125px;
    margin-bottom: var(--mb-1);
}

.products__title,
.products__price {
    font-size: var(--small-font-size);
    font-weight: var(--font-medium);
}

.products__title {
    text-transform: uppercase;
    margin-bottom: var(--mb-0-5);
}

.products__price {
    color: var(--first-color);
}

.products__button {
    background-color: var(--button-color);
    padding: 0.4rem;
    color: #fff;
    font-size: 1rem;
    position: absolute;
    right: 0;
    bottom: 0;
    transition: 0.3s;
}

.products__button:hover {
    background-color: var(--button-color-alt);
}

.products__card:hover {
    box-shadow: 0 8px 32px hsla(0, 0%, 10%, 0.1);
}

/*=============== TESTIMONIAL ===============*/
.testimonial__container {
    row-gap: 4rem;
}

.testimonial__quote {
    display: inline-flex;
    background-color: var(--container-color);
    padding: 0.5rem 0.75rem;
    font-size: 1.5rem;
    color: var(--first-color);
    box-shadow: 0 4px 12px hsla(0, 0%, 20%, 0.1);
    margin-bottom: var(--mb-2);
}

.testimonial__description {
    margin-bottom: var(--mb-1);
}

.testimonial__date {
    font-size: var(--normal-font-size);
    margin-bottom: var(--mb-2);
}

.testimonial__perfil {
    display: flex;
    align-items: center;
    column-gap: 1rem;
    margin-bottom: 7rem;
}

.testimonial__perfil-img {
    width: 60px;
    height: 60px;
    border-radius: 3rem;
}

.testimonial__perfil-data {
    display: flex;
    flex-direction: column;
    row-gap: 0.5rem;
}

.testimonial__perfil-name {
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
    color: var(--title-color);
}


.testimonial__perfil-detail {
    font-size: var(--small-font-size);
}

.testimonial__images {
    position: relative;
}

.testimonial__img,
.testimonial__square {
    width: 250px;
}

.testimonial__square {
    height: 250px;
    background-color: var(--first-color);
    margin-left: auto;
}

.testimonial__img {
    position: absolute;
    right: 2rem;
    top: 3rem;
}

.testimonial-swiper {
    margin-left: initial;
    margin-right: initial;
}

.swiper-button-prev:after,
.swiper-button-next:after {
    content: "";
}

/* Swiper class */
.swiper-button-next,
.swiper-button-prev {
    top: initial;
    bottom: 5%;
    width: initial;
    height: initial;
    background-color: var(--container-color);
    box-shadow: 0 4px 12px hsla(0, 0%, 20%, 0.1);
    padding: 0.25rem;
    font-size: 1.5rem;
    color: var(--first-color);
}

.swiper-button-next {
    right: initial;
    left: 4rem;
}


/*=============== NEW ===============*/

.new__container {
    display: flex;
    justify-content: center;
    padding: 20px;
}
.swiper {
    width: 100% !important;
    /* height: 100%; */
    overflow: hidden;
}

.swiper-wrapper {
    display: flex;
}

.swiper-slide {
    flex: 0 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.testimonial__card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.new-swiper {
    width: 100%;
}

.swiper-wrapper {
    display: flex;
    gap: 20px;
    overflow: hidden;
}

.new__card {
    /* background-color: #1a1a1a; */
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    width: 250px; /* Adjust card width for the swiper */
    flex-shrink: 0;
}

.new__card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.new__tag {
    display: inline-block;
    background-color: #f39c12;
    padding: 5px 10px;
    /* color: #fff; */
    color: #1a1a1a;
    font-size: 14px;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* Product Image */
.product__image-wrapper {
    display: block;
    text-align: center;
}

.product__img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.product__img:hover {
    transform: scale(1.1);
}

/* No Image Available */
.product__no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    background-color: #333;
    color: #1a1a1a;
    border-radius: 10px;
    font-size: 14px;
}

/* New Product Data */
.new__data {
    text-align: center;
    margin-top: 15px;
}

.new__title {
    font-size: 18px;
    font-weight: bold;
    /* color: #fff; */
    color: #1a1a1a;
    margin-bottom: 5px;
}

.new__price {
    display: block;
    font-size: 16px;
    /* color: #ddd; */
    color: #1a1a1a;
    margin-top: 5px;
}

/* Add to Cart Button */
.new__button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: hsl(31, 76%, 74%);
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
    margin-top: 10px;
    color: #1a1a1a;
}

.new__button:hover {
    background-color: hsl(31, 76%, 74%);
}

.new__button i {
    margin-right: 8px;
}

/* Responsive Styling for Swiper */
@media (max-width: 768px) {
    .new__card {
        width: 200px;
    }

    .swiper-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .new__card {
        width: 100%;
        max-width: 300px;
        margin-bottom: 20px;
    }
}

/*=============== NEWSLETTER ===============*/
.newsletter__bg {
    background-color: var(--first-color);
    padding: 3rem 1.5rem;
    text-align: center;
    row-gap: 2.5rem;
}

.newsletter__title {
    font-size: var(--h1-font-size);
    color: hsl(0, 0%, 15%);
    margin-bottom: var(--mb-1-5);
}

.newsletter__description {
    color: hsl(0, 0%, 35%);
}

.newsletter__subscribe {
    display: flex;
    flex-direction: column;
    row-gap: 0.75rem;
}

.newsletter__input {
    border: none;
    outline: none;
    background-color: hsl(0, 0%, 94%);
    padding: 1.25rem 1rem;
    color: hsl(0, 0%, 15%);
}

/* Custom container for the category filter */
.category-filter-container {
    display: flex;
    justify-content: flex-end; /* Aligns the filter to the right */
    margin-bottom: 1rem;
}

/* Styling the label */
.category-filter-label {
    font-size: 1rem;
    margin-top: 10px;
    margin-right: 10px;
    color: #333;
    font-weight: 500;
}

/* Custom styling for the select element */
.category-filter-select {
    padding: 10px 14px;
    font-size: 1rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none; /* Remove default styles for Webkit browsers */
    -moz-appearance: none; /* Remove default styles for Firefox */
    appearance: none; /* Remove default styles */
}

/* Custom arrow icon for select */
.category-filter-select::after {
    content: "▼";
    font-size: 1.2em;
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Styling for the select dropdown on focus */
.category-filter-select:focus {
    outline: none;
    border-color: #007bff;
    background-color: #e9f4ff;
}

/* Hover effect for the select dropdown */
.category-filter-select:hover {
    border-color: #007bff;
    background-color: #f1f8ff;
}

/* Styling for the first "Select a Category" option */
.category-option-default {
    color: #888;
    font-style: italic;
}

/* Basic styling for the other options */
.category-option {
    padding: 10px 14px;
    font-size: 1rem;
    background-color: #fff;
    color: #333;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
}

/* Hover effect for options */
.category-option:hover {
    background-color: #f1f8ff;
    color: #007bff;
}

/*=============== FOOTER ===============*/
.footer__container {
    row-gap: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 3rem;
}

.footer__title {
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-1-5);
}

.footer__list,
.footer__links {
    display: flex;
    flex-direction: column;
    row-gap: 0.75rem;
}

.footer__link {
    color: var(--text-color);
}

.footer__link:hover {
    color: var(--title-color);
}

.footer__social {
    display: flex;
    column-gap: 1rem;
}

.footer__social-link {
    font-size: 1.25rem;
    color: var(--text-color);
}

.footer__social-link:hover {
    color: var(--title-color);
}

.footer__copy {
    display: block;
    margin: 3.5rem 0 1rem 0;
    text-align: center;
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
}

/*=============== SCROLL UP ===============*/
.scrollup {
    position: fixed;
    right: 1rem;
    bottom: -30%;
    background-color: var(--container-color);
    box-shadow: 0 4px 12px hsla(0, 0%, 20%, 0.1);
    display: inline-flex;
    padding: 0.25rem;
    z-index: var(--z-tooltip);
    opacity: 0.8;
    transition: 0.4s;
}

.scrollup:hover {
    opacity: 1;
}

.scrollup__icon {
    font-size: 1.5rem;
    color: var(--first-color);
}

/* Show Scroll Up*/
.show-scroll {
    bottom: 3rem;
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
    width: 0.6rem;
    background: hsl(0, 0%, 74%);
}

::-webkit-scrollbar-thumb {
    background: hsl(0, 0%, 17%);
}

/*=============== CART ===============*/
.cart {
    position: fixed;
    background-color: var(--body-color);
    z-index: var(--z-fixed);
    width: 100%;
    height: 100%;
    top: 0;
    right: -100%;
    padding: 3.5rem 2rem;
    transition: 0.4s;
}

.cart__title-center {
    font-size: var(--h2-font-size);
    text-align: center;
    margin-bottom: var(--mb-3);
}

.cart__close {
    font-size: 2rem;
    color: var(--title-color);
    position: absolute;
    top: 1.25rem;
    right: 0.9rem;
    cursor: pointer;
}

.cart__container {
    display: grid;
    row-gap: 1.5rem;
}

.cart__card {
    display: flex;
    align-items: center;
    column-gap: 1rem;
}

.cart__box {
    background-color: var(--container-color);
    padding: 0.75rem 1.25rem;
    border: 1px solid var(--border-color);
}

.cart__img {
    width: 50px;
}

.cart__title {
    font-size: var(--normal-font-size);
    margin-bottom: 0.5rem;
}

.cart__price {
    display: block;
    font-size: var(--small-font-size);
    color: var(--first-color);
    margin-bottom: var(--mb-1-5);
}

.cart__amount,
.cart__amount-content {
    display: flex;
    align-items: center;
}

.cart__amount {
    column-gap: 3rem;
}

.cart__amount-content {
    column-gap: 1rem;
}

.cart__amount-box {
    display: inline-flex;
    padding: 0.25rem;
    background-color: var(--container-color);
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.cart__amount-trash {
    font-size: 1.15rem;
    color: var(--first-color);
    cursor: pointer;
}

.cart__prices {
    margin-top: 6rem;
    display: flex;
    justify-content: space-between;
}

.cart__prices-item,
.cart__prices-total {
    color: var(--title-color);
}

.cart__prices-item {
    font-size: var(--small-font-size);
}

.cart__prices-total {
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
}

/* Show cart */
.show-cart {
    right: 0;
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 320px) {
    .container {
        margin-left: var(--mb-1);
        margin-right: var(--mb-1);
    }
    .home__img-bg {
        width: 220px;
    }
    .home__title {
        font-size: var(--h1-font-size);
    }
    .home__button {
        font-size: var(--smaller-font-size);
    }

    .story__square,
    .story__img,
    .testimonial__square,
    .testimonial__img {
        width: 180px;
    }

    .story__square,
    .testimonial__square {
        height: 180px;
    }

    .products__container {
        grid-template-columns: repeat(1, 180px);
        justify-content: center;
    }
}

/* For medium devices */
@media screen and (min-width: 576px) {
    .home__img-bg {
        width: 340px;
    }

    .featured__container {
        grid-template-columns: repeat(2, 1fr);
        justify-content: center;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .footer__container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 767px) {
    .section {
        padding: 8rem 0 1rem;
    }

    .cart {
        width: 420px;
        box-shadow: -2px 0 4px hsla(0, 0%, 15%, 0.1);
    }

    .nav {
        height: calc(var(--header-height) + 1.5rem);
        justify-content: initial;
        column-gap: 3rem;
    }
    .nav__toggle,
    .nav__close {
        display: none;
    }
    .nav__list {
        flex-direction: row;
        column-gap: 2.5rem;
    }
    .nav__link {
        text-transform: initial;
        font-size: var(--normal-font-size);
    }
    .nav__btns {
        margin-left: auto;
    }

    .home__container {
        padding-top: 6rem;
        grid-template-columns: 1fr max-content;
        align-items: center;
    }
    .home__img-bg {
        order: 1;
        transform: translate(1.5rem, -6rem);
    }
    .home__data {
        padding: 0 0 3rem 6rem;
    }
    .home__social {
        top: 47%;
        column-gap: 2rem;
    }

    .featured__title,
    .featured__price,
    .new__title,
    .new__price {
        font-size: var(--normal-font-size);
    }

    .story__container,
    .testimonial__container,
    .newsletter__bg {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .story__section-title {
        text-align: initial;
    }
    .story__section-title::before {
        margin: initial;
    }
    .story__images {
        order: -1;
    }

    .products__container {
        grid-template-columns: repeat(3, 200px);
        justify-content: center;
        gap: 2.5rem;
    }
    .products__card {
        padding: 2rem 0;
    }
    .products__img {
        height: 155px;
    }

    .newsletter__bg {
        text-align: initial;
        column-gap: 2rem;
        padding: 4.5rem;
    }
    .newsletter__subscribe {
        flex-direction: row;
    }
    .newsletter__input {
        width: 100%;
    }

    .footer__container {
        grid-template-columns: repeat(4, max-content);
        justify-content: space-between;
    }
    .footer__title {
        font-size: var(--h3-font-size);
    }
}

@media screen and (min-width: 992px) {
    .section__title {
        font-size: var(--h2-font-size);
    }

    .home__container {
        column-gap: 2rem;
    }
    .home__img-bg {
        width: 480px;
        height: 680px;
    }
    .home__img {
        width: 420px;
    }
    .home__social {
        left: -6rem;
    }
    .home__data {
        padding: 0 0 8rem 6rem;
    }

    .featured__container {
        grid-template-columns: repeat(3, 312px);
        padding-top: 2rem;
    }

    .story__container,
    .testimonial__container {
        column-gap: 8rem;
    }

    .story__square,
    .story__img,
    .testimonial__square,
    .testimonial__img {
        width: 450px;
    }

    .story__square,
    .testimonial__square {
        height: 450px;
    }

    .products__container,
    .new__container {
        padding-top: 2rem;
    }

    .testimonial__container {
        padding-bottom: 4rem;
    }
}

/* For large devices */
@media screen and (min-width: 1024px) {
    .container {
        margin-left: auto;
        margin-right: auto;
    }

    .story__container,
    .testimonial__container {
        column-gap: 13rem;
    }

    .story__container {
        padding-top: 3rem;
    }
    .story__img {
        left: 5rem;
        top: -5rem;
    }

    .testimonial__img {
        right: 5rem;
        top: 5rem;
    }

    .scrollup {
        right: 3rem;
    }
}

/* login css */

/* Center the form in the viewport */
.login_form {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 140px;
    background-color: var(--body-color); /* Light background */
}

/* Card container */
.card {
    width: 100%;
    max-width: 400px;
    background: var(--container-color);
    border-radius: 8px;
    box-shadow: 0 2px 1px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border: 1px solid var(--border-color);
}

/* Form group styling */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
}

/* Label styling */
.form-label {
    font-size: var(--normal-font-size);
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

/* Input fields */
.form-input {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: var(--normal-font-size);
    color: var(--text-color);
    background-color: var(--body-color);
}

.form-input:focus {
    outline: none;
    border-color: var(--first-color);
    box-shadow: 0 0 4px var(--first-color);
}

/* Error messages */
.form-error {
    color: hsl(0, 70%, 50%);
    font-size: var(--small-font-size);
    margin-top: 0.25rem;
}

/* Checkbox */
.checkbox-input {
    accent-color: var(--first-color);
}

/* Actions container */
.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Buttons and links */
.card button {
    width: auto;
    padding: 0.5rem 1rem;
    background-color: var(--button-color);
    color: var(--body-color);
    border: none;
    border-radius: 4px;
    font-size: var(--normal-font-size);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.card button:hover {
    background-color: var(--button-color-alt);
}

a {
    text-decoration: none;
    font-size: var(--small-font-size);
}
.cart-count {
    position: absolute;
    top: 0px;
    right: -8px;
    background-color: #ff4d4f; /* Vibrant red for attention */
    color: white; /* Contrast text color */
    font-size: 12px; /* Adjust size for readability */
    font-weight: bold;
    border-radius: 50%; /* Circular badge */
    padding: 4px 6px; /* Adjust padding for shape and size */
    min-width: 20px; /* Ensures consistent size for single-digit counts */
    height: 20px; /* Perfect circle for consistency */
    display: flex; /* Center the text */
    justify-content: center;
    align-items: center;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    transform: translate(50%, -50%); /* Slight adjustment to position */
}
#whatsapp-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.whatsapp-icon img {
    width: 60px; /* Size of the WhatsApp icon */
    height: 60px;
    border-radius: 50%; /* Optional: makes the icon circular */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Optional: adds a shadow to the icon */
    cursor: pointer;
}

.whatsapp-icon img:hover {
    opacity: 0.8; /* Optional: adds a hover effect */
}
