@import "/public/node_modules/bootstrap-icons/font/bootstrap-icons.css";
@import "/public/node_modules/bootstrap/dist/css/bootstrap.min.css";
@import "/public/node_modules/sweetalert2/dist/sweetalert2.min.css";
@import "/public/node_modules/@fontsource/roboto-condensed/700.css";
@import "/public/node_modules/@fontsource/roboto-condensed/400.css";
@import "/public/node_modules/@fontsource/roboto-condensed/300.css";

@import "/public/components/whatsapp-chat-button/WhatsAppChatButton.css";
@import "/public/components/free-shipping-maps/FreeShippingMaps.css";
@import "/public/components/product-grid/ProductGrid.css";
@import "/public/components/contact-form/ContactForm.css";
@import "/public/components/site-header/SiteHeader.css";
@import "/public/components/site-footer/SiteFooter.css";
@import "/public/components/auth-popup/authPopup.css";

:root {
    --center-width: 1320px;
}

html,
body {
    font-family: "Roboto Condensed", serif;
}

body {
    overflow-x: hidden;
}

body>main {
    min-height: calc(100vh - 120px - 341px);
}

/*********************/

#banner {
    width: 100%;
    background: #31708f url("/public/images/banner.webp") no-repeat no-repeat bottom center fixed;
    background-size: cover;
    min-height: calc(100dvh - 120px);
    display: flex;
    align-items: center;
}

#banner>.center {
    width: 100%;
    max-width: var(--center-width);
    margin: auto;
    display: block;
    padding: 2rem;
}

.banner-announcement {
    display: flex;
    justify-content: flex-start;
    padding: 2rem 1rem;
    max-width: 100%;
}

.announcement-box {
    background-color: #ffffff;
    border: 2px solid #ff7a00;
    border-radius: 16px;
    padding: 2rem;
    max-width: 420px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    font-family: 'Segoe UI', sans-serif;
}

.announcement-box .title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #222;
    text-align: left;
}

.announcement-box .rocket-line {
    margin: 1rem 0;
    text-align: left;
    position: relative;
    min-height: 20px;
}

.announcement-box .rocket-line img {
    position: absolute;
    width: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-25%, -67%) rotate(13deg);
}

.announcement-box .subtitle {
    font-size: 1rem;
    line-height: 1.4;
    color: #444;
    text-align: left;
}

.announcement-box .subtitle em {
    color: #007bff;
    font-style: italic;
}

@media (max-width: 768px) {
    .announcement-box {
        padding: 1.5rem;
    }

    .announcement-box .rocket-line img {
        transform: translate(-45%, -67%) rotate(13deg);

    }

    .announcement-box .title {
        font-size: 1.3rem;
    }

    .announcement-box .subtitle {
        font-size: 0.95rem;
    }
}

/*********************/

#home-product-preview>.ProductGrid {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}

/*********************/

#home-product-preview>.ProductGrid {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1rem;
}


/*********************/

#featured-products {
    background-color: #fd7d14;
}

#featured-products>.center {
    width: 100%;
    max-width: var(--center-width);
    margin: auto;
    display: block;
    padding: 2rem;
}

/*********************/

#about-us>.center {
    width: 100%;
    max-width: var(--center-width);
    margin: auto;
    display: block;
    padding: 8rem 2rem 10rem;
}

#about-us .about-us-image {
    border-radius: 0.5rem;
    overflow: hidden;
}

#about-us .about-us-image img {
    width: 100%;
}

.btn-warning {
    background-color: #fd7d14 !important;
    color: white !important;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-warning:hover,
.btn-warning:focus {
    background-color: #e76600 !important;
    color: white !important;
}

.btn-warning:disabled,
.btn-warning[disabled] {
    background-color: #bec6d0 !important;
    cursor: not-allowed;
    opacity: 0.7;
}

/*********************/

#services {
    background-color: #282b34;
}

#services>.center {
    width: 100%;
    max-width: var(--center-width);
    margin: auto;
    display: block;
    padding: 8rem 2rem 10rem;
}

#services .service-box {
    padding: 1.5rem;
    background-color: white;
    border-radius: .3rem;
    height: 100%;
}

#services .service-box:nth-child(2) {
    transform: scale(2);
}

#services .service-box .service-image img {
    width: 100%;
}

#services .service-box p {
    text-align: justify;
}

#services .service-box .service-title {
    min-height: 60px;
}

#services .service-box .service-text {}

/*********************/

#shipping {
    position: relative;
}

#shipping>.center {
    width: 100%;
    max-width: var(--center-width);
    margin: auto;
    display: block;
    padding: 8rem 2rem 10rem;
}

/*********************/

#contact {
    position: relative;
    background-color: rgba(30, 31, 38, 0.95);
    color: white;
}

#contact:after {
    content: '';
    width: 100%;
    height: 100%;
    background: url("/public/images/contact.jpg") no-repeat no-repeat center center fixed;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

#contact .center {
    padding: 8rem 2rem 10rem;
    max-width: var(--center-width);
    margin: auto;
}

#contact .contact-information {
    padding: 2rem 2.5rem;
    height: 100%;
    display: flex;
    flex-flow: column;
}

#contact .contact-icon {
    width: 60px;
    height: 60px;
    margin: auto;
    background-color: #2c3542;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

#contact .social {
    flex: 1 1 auto;
}

#contact .social-link {
    --background-color: #2c3542;
    width: 50px;
    height: 50px;
    background-color: var(--background-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.3rem;
    color: white;
    transition: background-color .3s ease-in-out;
}

#contact .social-link:hover {
    --background-color: #fd7d14;
}

/********************/

#map {
    --height: 450px;
    overflow: hidden;
    max-height: var(--height);
}

#map iframe {
    width: 100%;
    height: var(--height);
}

/*********************/

.mobile-text {
  display: none;
}

/* Muestra texto para mobile y oculta el de desktop en pantallas pequeñas */
@media (max-width: 998px) {
  .desktop-text {
    display: none;
  }
  .mobile-text {
    display: inline;
  }
}