.w3-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    /* padding: 10px 20px !important; */
    background-color: #fffff2 !important;
}

.w3-bar-item {
    font-family: 'Arial', sans-serif !important;
    font-size: 16px !important;
    color: #000000 !important;
    padding: 10px 20px !important;
    text-transform: uppercase !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
    display: flex;
    align-items: center;
}

.w3-bar-item.w3-right {
    margin-left: auto; /* Pushes the right-aligned items to the far right */
}

.w3-bar-item.w3-left {
    display: flex;
    align-items: center;
}

.w3-bar-item.w3-left a:first-child {
    margin-right: 10px; /* Adjust as needed for spacing between the icon and the logo */
}

/* Hover effects */
.w3-bar-item:hover {
    background-color: #55555500 !important;
    color: #ffcc00 !important;
    /* Text color on hover */
}

.w3-top {
    margin-top: 40px; /* Adjust this value based on the height of the discount strip */
}

.discount-strip {
    background-color: black;
    color: white;
    padding: 10px 0; /* Adjust padding for height */
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.discount-strip marquee {
    width: 100%;
}

.discount-item {
    margin: 0 50px; /* Adjust margin for more space between items */
    display: inline-block;
}

/* Adjust the rest of the page content to accommodate the fixed strip */
body {
    font-family: "Open Sans";
    padding-top: 50px; /* Adjust padding-top to match the height of your discount strip */
}

a{
    text-decoration: none;
}

.w3-sidebar .w3-bar-item {
    padding: 16px;
    font-size: 1.2em;
}

.about-section {
    padding: 64px;
    /* text-align: center; */
    background-color: #ffffff;
}

.about-section h2 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.about-section p {
    font-size: 1.2em;
    margin-bottom: 6px;
}

.w3-container img {
    transition: transform 0.2s ease-in-out;
}

.w3-container img:hover {
    transform: scale(1.05);
}

.w3-container p {
    /* text-align: center; */
    font-size: 1.1em;
    margin-top: 10px;
}

.w3-container p b {
    color: #ffcc00;
}

/* General styling for the filter panel */
.filter-container {
    position: relative; /* Allows positioning of the panel relative to this container */
    /* display: inline-block;  */
    margin-left: 0;
}

/* #filter-button {
} */

.filter-panel {
    display: none; /* Hide panel by default */
    position: absolute; /* Position relative to the container */
    top: 100%; /* Position below the button */
    left: 0; /* Align to the left of the button */
    width: 40vw; /* Set desired width for the panel */
    height: auto;
    padding: 10px; /* Add padding inside the panel */
    background: #fff; /* Background color for the panel */
    border: 1px solid #ccc; /* Border for the panel */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Shadow for a 3D effect */
    z-index: 5000; /* Ensure the panel is above other elements */
}

.filter-panel.active {
    display: block; /* Show panel when active */
}


.filter-panel.show {
    display: block; /* Show panel */
    transform: translateX(0); /* Slide in */
}



/* Styling for each dropdown section */
.filter-dropdown {
    display: inline-block;
    margin: 0 20px 20px;
    vertical-align: middle;
}

.filter-dropdown label {
    margin-right: 10px;
    font-size: 1.1em;
    color: #333;
    font-weight: bold;
}

.filter-dropdown .dropdown {
    display: inline-block;
}

.filter-dropdown .btn-secondary {
    background-color: #007bff;
    color: black;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
}

.filter-dropdown .btn-secondary:hover {
    background-color: #0056b3;
}

.filter-toggle-left {
    display: block;
    margin-left: 0; /* Aligns the button to the left */
    margin-bottom: 20px; /* Adds some space below the button */
    background-color: #f0f0f0; /* Light background color */
    border: none;
    padding: 10px 20px; /* Adds padding around the button */
    cursor: pointer;
    font-weight: bold;
}

/* Styling for the price filter section */
#price-filter-container {
    display: inline-block;
    margin: 0 20px 20px;
    vertical-align: middle;
}

#price-filter-container label {
    font-size: 1.1em;
    color: #333;
    font-weight: bold;
    margin-right: 10px;
}

#price-filter {
    margin-right: 10px;
    width: 200px;
    cursor: pointer;
}

#price-filter-container output {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
}

#price-range-max {
    font-size: 1.1em;
    color: #333;
    margin-left: 10px;
}

/* Styling for the filter buttons */
.filter-buttons {
    display: block;
    margin-top: 20px;
}

.filter-buttons button {
    padding: 12px 25px;
    margin: 10px;
    font-size: 1.1em;
    background-color: #d5d8dac7;
    color: black;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.filter-buttons button:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 10px;
}

.btn-secondary:hover {
    background-color: #0056b3;
}

.butfil {
    /* margin-left: 70vw; */
    margin-top: 10px;
    margin-left: 20px;
    background-color: #fae8b4;
    color: black;
}

.grid {
    padding: 10px;
}

a {
    padding: 0 1vh;
}

a {
    color: black;
}

a:hover {
    color: black;
    text-decoration: none;
}

/* General styling for the filter panel */
.filter-container {
    position: relative; /* Allows positioning of the panel relative to this container */
    margin-left: 0;
}

/* Styling for the filter panel */
.filter-panel {
    display: none; /* Hide panel by default */
    position: absolute; /* Position relative to the container */
    top: 100%; /* Position below the button */
    left: 0; /* Align to the left of the button */
    width: 40vw; /* Set desired width for the panel */
    max-width: 300px; /* Ensure the panel does not exceed this width */
    height: auto;
    padding: 10px; /* Add padding inside the panel */
    background: #fff; /* Background color for the panel */
    border: 1px solid #ccc; /* Border for the panel */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Shadow for a 3D effect */
    z-index: 5000; /* Ensure the panel is above other elements */
}

/* Show the filter panel */
.filter-panel.show {
    display: block; /* Show panel */
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .filter-panel {
        width: 80vw; /* Make panel wider on small screens */
        max-width: none; /* Remove max-width on smaller screens */
        position: fixed; /* Fix the panel to the viewport */
        top: 300px; /* Position at the top of the viewport */
        left: 40px; /* Align to the left of the viewport */
        height: 50vh; /* Full height on small screens */
        overflow-y: auto; /* Allow vertical scrolling */
        background-color: hsla(0, 100%, 91%, 0.7);
    }
}

/* Adjust filter button for small screens */
.filter-toggle-left {
    display: block;
    margin-left: 0; 
    margin-bottom: 20px; 
    background-color: #f0f0f0;
    border: none;
    padding: 10px 20px; 
    cursor: pointer;
    font-weight: bold;
}

/* Carousel Items */
.carousel-item {
    position: relative;
}

.carousel-item::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.5)); */
    /* Dark overlay with gradient to white */
}

.carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    /* margin-top: 70px;  */
}

/* Carousel Controls */
.carousel-control-next,
.carousel-control-prev {
    width: 5%;
}

.toggle_icon {
    cursor: pointer;
    color: #ffffff;
}

/* Styles for wrapping the search box start */
.main {
    flex: 1;
    margin: 0px 30px;
    display: inline-block;
    order: 2;
}



/* Styles for wrapping the search box end */

a:hover {
    color: #f26522;
    text-decoration: underline;
}

.header_section {
    width: 100%;
    display: flex;
}

.containt_main {
    display: flex;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Oswald";
    text-transform: uppercase;
    letter-spacing: 2px;
}

body {
    font-family: "Open Sans";
    color: #333;
    background-color: #5d0703;
}

.about-section {
    padding: 50px 20px;
    border: 1px solid #eaeaea;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    /* Centers the section horizontally */
    background-color: #5d070300;
    max-width: 90vw;
    text-align: center;
}


.about-section h5 {
    font-size: 2em;
    color: #a27101;
    margin-bottom: 20px;
}

.about-section p {
    font-size: 1.1em;
    line-height: 1.8;
}

.about-section .w3-panel {
    border-left: 5px solid #a27101;
    padding-left: 20px;
    margin-top: 20px;
    font-style: italic;
}

.about-section img {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
}

.about-section .explore-button {
    margin-top: 20px;
}

.w3-black {
    background-color: #333 !important;
}

.w3-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    /* padding: 10px 20px !important; */
    background-color: #fffff2 !important;
}

.w3-bar-item {
    font-family: 'Arial', sans-serif !important;
    font-size: 16px !important;
    color: #000000 !important;
    padding: 10px 20px !important;
    text-transform: uppercase !important;
    transition: background-color 0.3s ease, color 0.3s ease !important;
    display: flex;
    align-items: center;
}

.w3-bar-item.w3-right {
    margin-left: auto;
    /* Pushes the right-aligned items to the far right */
}

.w3-bar-item.w3-left {
    display: flex;
    align-items: center;
}

.w3-bar-item.w3-left a:first-child {
    margin-right: 10px; /* Adjust as needed for spacing between the icon and the logo */
}

.w3-button i {
    font-size: 24px;
}

/* Hover effects */
.w3-bar-item:hover {
    background-color: #55555500 !important;
    color: #ffcc00 !important;
    /* Text color on hover */
}

/* Adjust the logo image */
.logo-image {
    height: 40px !important;
    transition: filter 0.3s !important;
}

/* Adjust for icons in the navigation bar */
.w3-bar-item i {
    font-size: 24px !important;
}

/* Ensure top bar stays on top */
.w3-top {
    z-index: 9998 !important;
}

.w3-top {
    z-index: 9998;
}

.w3-bar-left,
.w3-bar-right {
    display: flex;
    align-items: center;
}

.w3-bar-center {
    flex: 1;
    text-align: center;
}

.logo-image {
    height: 40px;
    transition: filter 0.3s;
}

.w3-bar-item i {
    font-size: 24px;
}

a {
    padding: 0 1vh;
}

a {
    color: black;
}

a:hover {
    color: black;
    text-decoration: none;
}

.w3-top {
    margin-top: 40px;
    /* Adjust this value based on the height of the discount strip */
}

.discount-strip {
    background-color: black;
    color: white;
    padding: 10px 0;
    /* Adjust padding for height */
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
}

.discount-strip marquee {
    width: 100%;
}

.discount-item {
    margin: 0 50px;
    /* Adjust margin for more space between items */
    display: inline-block;
}

/* Adjust the rest of the page content to accommodate the fixed strip */
body {
    padding-top: 50px;
    /* Adjust padding-top to match the height of your discount strip */
}

@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap');

/*-- VARIABLES CSS--*/
/*Colores*/
:root {
    --first-color: #ffffff;
    --second-color: #DCFAFB;
    --third-color: #FFE8DF;
    --accent-color: #FF5151;
    --dark-color: #161616;
}

/*Tipografia responsive*/
:root {
    --body-font: 'Open Sans';
    --h1-font-size: 1.5rem;
    --h3-font-size: 1.3rem;
    --normal-font-size: 0.938rem;
    --smaller-font-size: 0.75rem;
}

@media screen and (min-width: 768px) {
    :root {
        --h1-font-size: 2rem;
        --normal-font-size: 1rem;
        --smaller-font-size: 0.813rem;
    }
}

/*-- BASE --*/
*,
::after,
::before {
    box-sizing: border-box;
}

body {
    margin: 2rem 0 0 0;
    background-color: #fff;
    color: var(--dark-color);
    font-family: var(--body-font);
}

h1 {
    font-size: var(--h1-font-size);
}

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

a {
    text-decoration: none;
}

/*-- LAYAOUT --*/
.main {
    padding: 2rem 0;
}

.bd-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    max-width: 1200px;
    margin-left: 2.5rem;
    margin-right: 2.5rem;
    align-items: center;
    gap: 2rem;
}

/*-- PAGES --*/
.title-shop {
    position: relative;
    margin: 0 2.5rem;
}

.title-shop::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 72px;
    height: 2px;
    background-color: var(--dark-color);
    margin-left: .25rem;
}

/*-- COMPONENT --*/
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    overflow: hidden;
}

article:nth-child(1) {
    background-color: var(--first-color);
}

article:nth-child(2) {
    background-color: var(--second-color);
}

article:nth-child(3) {
    background-color: var(--third-color);
}

article:nth-child(4) {
    background-color: var(--second-color);
}

.card__img {
    width: 300px;
    height: auto;
    padding: 3rem 0;
    transition: .5s;
}

.card__name {
    position: absolute;
    left: -25%;
    top: 0;
    width: 3.5rem;
    height: 100%;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
    background-color: var(--dark-color);
    color: #fff;
    font-weight: bold;
    transition: .5s;
}

.card__icon {
    font-size: 1.5rem;
    color: var(--dark-color);
}

.card__icon:hover {
    color: var(--accent-color);
}

.card__precis {
    width: 100%;
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    justify-content: center; /* Center content vertically */
    align-items: center; /* Center content horizontally */
    transition: .5s;
}

.card__preci {
    display: block;
    text-align: center;
}

.card__preci--before {
    font-size: var(--smaller-font-size);
    color: var(--accent-color);
    margin-bottom: .25rem;
}

.card__preci--now {
    font-size: var(--h3-font-size);
    font-weight: bold;
    text-align: center;
    white-space: normal; /* Allow text to wrap */
    word-break: break-word; /* Break long words onto the next line */
    display: block;
    width: 100%; /* Ensures the text takes up full width of its container */
    margin: 0 auto; /* Center the text horizontally */
    overflow-wrap: break-word; /* Ensure long words are wrapped */
}


/*Move left*/
.card:hover {
    box-shadow: 0 .5rem 1rem #D1D9E6;
}

.card:hover .card__name {
    left: 0;
}

.card:hover .card__img {
    /* transform: rotate(30deg); */
    margin-left: 3.5rem;
}

.card:hover .card__precis {
    margin-left: 3.5rem;
    padding: 0 1.5rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
a {
    font-family: 'Rubik', sans-serif;
}

.finixh6 {
    color: #e73c3e;
    font-weight: 400;
    font-size: 17px;
    text-align: center;
}

.finixh2 {
    font-weight: 400;
    font-size: 35px;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.finix-text p {
    color: #606060;
    font-size: 15px;
    line-height: 1.8rem;
}

.why-choose-us {
    margin-top: 90px;
}

.why-choose-us .finix-text h2 {
    font-weight: 500;
}

.why-choose-us .ct-btn {
    display: inline-block;
    width: 85px;
    height: 85px;
    line-height: 85px;
    text-align: center;
    border-radius: 50%;
    font-size: 60px;
    background: #fff;
    position: absolute;
    top: 77%;
    right: 43%;
}

.about-text {
    display: block;
    line-height: 1.6;
}

#more {
    display: none;
}

#read-more-btn {
    margin-top: 10px;
}

.why-choose-us .ct-btn::before {
    content: "";
    height: 85px;
    width: 85px;
    position: absolute;
    top: 0;
    left: 0;
    background: #e73a3e;
    border-radius: 50%;
    animation: choose 1.6s ease-out infinite;
}

@keyframes choose {

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

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

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

.why-choose-us .ct-btn a {
    color: #e73c3e;
}

.why-choose-us .feature-box {
    background: #fff;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;

    transition: .4s;
}

.why-choose-us .feature-box:hover {
    transform: translateY(-10px);
}

.why-choose-us .feature-box:hover .fbc-btn {
    background: #e73c3e;
    color: #fff;
}

.why-choose-us .feature-box::before {
    content: "";
    position: absolute;
    top: -115px;
    left: 0;
    right: 0;
    margin: auto;
    width: 90%;
    height: 70%;
    /* background: #fdebeb; */
    border-radius: 50%;
}

.why-choose-us .fbc-btn {
    display: inline-block;
    height: 90px;
    width: 90px;
    line-height: 90px;
    background: #fff;
    border-radius: 50%;
    text-align: center;
    color: #e73a3e;
    position: relative;
    transition: .4s;
}

.active-feature {
    margin-top: -30px;
}

.why-choose-us .finix-text {
    position: relative;
}

.w3-section a i {
    color: white; /* Makes the favicons white */
}

.w3-section a i:hover {
    color: #ccc; /* Optional: Changes color on hover, you can pick any color */
}

