.custom-header {
    background-color: var(--color-accent);
    border-bottom: 2px solid var(--color-primary);
}

.nav-link {
    color: white;
}

.nav-link:hover {
    color: var(--color-secondary);
}

.logo-img {
    border: 3px solid var(--color-accent);
    box-shadow: 0 0 12px rgba(30, 90, 138, 0.3);
}

.session-links a {
    color: var(--color-primary) !important;
}

.session-links a:hover {
    color: var(--color-accent);
}

.logo-img {
    width: 140px;
    height: 130px;
    border-radius: 30%;
    object-fit: cover;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    background-color: #646880;


}

.nav-left,
.nav-right {
    list-style: none;
    padding-left: 0;
    display: flex;
    gap: 20px;
}

.nav-left .nav-item,
.nav-right .nav-item {
    position: relative;
}

.nav-link {
    text-transform: uppercase;
    font-weight: 500;
    color: white;
}

.nav-link:hover {
    color: #007bff;
}

.session-links a {
    text-decoration: none;
    color: #555;
    margin-right: 10px;
}

.session-links a:hover {
    color: #000;
}


.cart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  position: relative;
}

.cart-link {
  position: relative;
  display: inline-block;
  color: #fff;
  text-decoration: none;
}

.cart-icon-svg {
  font-size: 26px;
  color: white;
  transition: transform 0.2s ease;
}

.cart-icon-svg:hover {
  transform: scale(1.1);
}

.cart-badge {
  position: absolute;
  top: -16px;
  right: -10px;
  background-color: #dc3545;
  color: white;
  font-size: 12px;
  padding: 4px 7px;
  border-radius: 50%;
  font-weight: bold;
  line-height: 1;
}


/* Estilos generales */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Header */
header {
    background: linear-gradient(to right, #0b3b8c, #0077cc);
    color: white;
    padding: 15px 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 80px;
}

/* Enlaces del navbar */
.navbar-nav .nav-link {
    position: relative;
    color: white !important;
    font-weight: 500;
    margin-right: 15px;
    padding-bottom: 5px;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    background-color: white;
    left: 50%;
    bottom: 0;
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
    color: #e2ecff;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* Iconos header */
.d-flex a i {
    font-size: 22px;
    color: rgb(183, 196, 219);
    transition: color 0.3s ease-in-out, transform 0.3s;
}

.d-flex a:hover i {
    color: #a4c5f9;
    transform: scale(1.1);
}

.d-flex a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: auto;
    text-decoration: none;
}

/* Botones */
.btn-primary {
    background-color: #0b3b8c;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: #1565c0;
}

.delete-btn {
    background-color: #0ba78e;
    color: white;
}

/* Banner principal */
.banner {
    background: url('fondo-verduras-pescados.jpg') no-repeat center center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

/* Sección de productos */
.productos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 40px;
    background-color: #f4f9ff;
}

.producto-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #c3d9f1;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.04);
    text-align: center;
    transition: 0.3s;
}

.producto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 6px 12px rgba(0, 91, 187, 0.1);
}

.producto-card img {
    width: 100%;
    border-radius: 10px;
    border: 2px solid #c3d9f1;
}

.producto-card h3 {
    color: #0b3b8c;
    font-size: 1.1rem;
    margin-top: 15px;
}

.footer-japan {
    background: linear-gradient(to right, #0b3b8c, #0077cc);

    color: #fff;
}

.footer-logo img {
    max-height: 100px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.footer-menu {
    list-style: none;
    padding: 0;
}

.footer-menu li {
    margin-bottom: 8px;
    font-size: 15px;
}

.footer-menu a {
    color: #ddd;
    text-decoration: none;
    display: block;
    padding-left: 15px;
    position: relative;
    transition: color 0.3s;
}

.footer-menu a::before {
    content: "▶";
    position: absolute;
    left: 0;
    font-size: 11px;
}

.footer-menu a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-heading {
    font-weight: bold;
    font-size: 16px;
    display: block;
    margin-bottom: 10px;
    border-left: 4px solid #fff;
    padding-left: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 15px;
}

.carousel-img {
    margin-top: 20px;
    max-height: 500px;
    /* Altura máxima opcional */
    width: 100%;
    object-fit: contain;
    /* Ajusta sin recortar */
    background-color: #f8f9fa;
    /* Fondo claro detrás por si hay margen */
}

.slick-slide {
    width: 1080px;
    height: 500px;
}

body {
    background-color: rgb(255, 255, 255) !important;
}

.ec-layoutRole__footer {
    margin-top: 100px;
}

.banner-half {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 340px !important;
    background-color: #f5f5f5;
    text-align: center;
}

.ec-layoutRole {
    width: 100% !important;
    background-color: white !important;

}

.img-banner {
    width: 100% !important;
}

.ver-mas-item {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-box {
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    background-color: #fff;
    transition: box-shadow 0.3s;
    text-decoration: none;
    color: inherit;
}

.category-box:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.category-box img {
    max-width: 100px;
    max-height: 100px;
    object-fit: contain;
    margin-right: 15px;
}

.category-box span {
    font-size: 1.2rem;
    font-weight: 500;
}

.recommend {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;

}

.recommend h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
    margin-top: 30px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columnas iguales */
    gap: 20px;
    /* Espaciado entre las imágenes */
    justify-content: center;
    margin-bottom: 20px;
}

.grid-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.text-container {
    margin-top: 20px;
}

.text-container h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.text-container p {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
}


#_rcmdjp_display_1 {
    display: flex;
    /* Flexbox para organizar las tarjetas en fila */
    justify-content: center;
    /* Centra las tarjetas horizontalmente */
    gap: 20px;
    /* Espaciado entre las tarjetas */
    flex-wrap: wrap;
    /* Permite que las tarjetas salten a otra fila en pantallas pequeñas */
}

.fr2-listItem {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 220px;
    /* Ancho fijo de cada tarjeta */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fr2-listItem:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.fr2-listItem__imageContainer img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #ddd;
}

.fr2-listItem__productName {
    font-size: 16px;
    font-weight: bold;
    margin: 10px;
    color: #333;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.fr2-listItem__productPrice {
    font-size: 14px;
    margin: 10px;
    color: #666;
}

.fr2-price__value {
    font-size: 18px;
    color: #000;
    font-weight: bold;
}

.fr2-price__addon {
    font-size: 14px;
    color: #666;
}

.slider {
    margin-top: 40px;
    height: 300px !important;
}

.slider img {
    width: 50%;
    height: 500px;
    display: block;
    margin: 0 auto;
}

.slick-dots li button:before {
    color: #f60;
    /* Cambia el color de los puntos de navegación */
}

.slick-prev:before,
.slick-next:before {
    color: #000;
    /* Cambia el color de las flechas */
}


.section-container {
    margin-top: 20px;
    padding: 20px;
}

.section-container h2 {
    margin-bottom: 15px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.grid-item {
    text-align: center;
    cursor: pointer;
}

.grid-item img {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.2s;
}

.grid-item img:hover {
    transform: scale(1.05);
}

.product-name {
    margin-top: 10px;
    font-size: 14px;
}

.main_left {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 60, 120, 0.08);
}

.main_left h4 {
    font-size: 22px;
    color: #114b8c;
    border-left: 5px solid #114b8c;
    padding-left: 15px;
    margin-bottom: 25px;
}

.answer_box {
    border: 1px solid #cce0f5;
    border-radius: 10px;
    padding: 25px;
    background-color: #f8fcff;
    margin-bottom: 30px;
}

.answer_title {
    font-size: 20px;
    color: #0d3c70;
    font-weight: bold;
    margin-bottom: 15px;
}

.answer_text {
    background: #ffffff;
    padding: 18px 22px;
    border-left: 4px solid #88bfff;
    border-radius: 6px;
    color: #333;
    font-size: 15px;
}

.answer_info {
    margin-top: 20px;
    font-size: 14px;
    background-color: #e9f3fc;
    padding: 12px 18px;
    border-radius: 6px;
    color: #555;
}

.answer_info a {
    color: #0d70d2;
    text-decoration: none;
}

.answer_info a:hover {
    text-decoration: underline;
}

.tac {
    text-align: center;
    margin-top: 30px;
    padding: 15px 20px;
    background: #f0f8ff;
    border: 2px solid #bbd5f0;
    border-radius: 8px;
}

.tac h4 {
    margin-bottom: 10px;
    color: #114b8c;
}

.vote_before a.btn {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    background-color: #1a64c2;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.2s;
}

.vote_before a.btn:hover {
    background-color: #114b8c;
}

.vote_after {
    margin-top: 15px;
    font-size: 15px;
    color: #114b8c;
}

.tar {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    text-align: right;
}

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

.tar li a {
    color: #1a64c2;
    text-decoration: none;
}

.tar li a:hover {
    text-decoration: underline;
}

.container-login {
    max-width: 400px;
    margin: 80px auto;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.container-login h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.container-login p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    border-color: rgb(18, 152, 58);
    outline: none;
    box-shadow: 0 0 5px rgb(18, 152, 58);
    ;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.button-container button {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
}

.button-container .login-btn {
    background-color: #20c997;
    color: white;
}

.button-container .login-btn:hover {
    background-color: rgb(17, 180, 66);
}

.button-container .register-btn {
    background-color: #6c757d;
    color: white;
}

.button-container .register-btn:hover {
    background-color: #545b62;
}

.slider img {
    width: 50%;
    height: 290px !important;
    display: block;
    margin: 0 auto;
}

.slick-dots li button:before {
    color: #f60;
    /* Cambia el color de los puntos de navegación */
}

.slick-prev:before,
.slick-next:before {
    color: #000;
    /* Cambia el color de las flechas */
}

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

.grid-item {
    text-align: center;
}

.grid-item img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    /* Opcional, para bordes redondeados */
}

.grid-item h3 {
    font-size: 16px;
    color: black;
    margin: 10px 0 5px;
}

.grid-item p {
    font-size: 14px;
    color: #666;
    font-weight: bold;
}

.recommend {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    width: 840px;
    margin: 0 auto;
    /* Centra horizontalmente */
}

.recommend h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    color: black;
    margin-top: 30px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columnas iguales */
    gap: 20px;
    /* Espaciado entre las imágenes */
    justify-content: center;
    margin-bottom: 20px;
}

.grid-container-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 4 columnas iguales */
    gap: 20px;
    /* Espaciado entre las imágenes */
    justify-content: center;
    margin-bottom: 20px;
}

.grid-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-item img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.text-container {
    margin-top: 20px;
}

.text-container h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.text-container p {
    font-size: 16px;
    line-height: 1.5;
    color: #666;
}


#_rcmdjp_display_1 {
    display: flex;
    /* Flexbox para organizar las tarjetas en fila */
    justify-content: center;
    /* Centra las tarjetas horizontalmente */
    gap: 20px;
    /* Espaciado entre las tarjetas */
    flex-wrap: wrap;
    /* Permite que las tarjetas salten a otra fila en pantallas pequeñas */
}

.fr2-listItem {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 220px;
    /* Ancho fijo de cada tarjeta */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fr2-listItem:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}

.fr2-listItem__imageContainer img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #ddd;
}

.fr2-listItem__productName {
    font-size: 16px;
    font-weight: bold;
    margin: 10px;
    color: #333;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.fr2-listItem__productPrice {
    font-size: 14px;
    margin: 10px;
    color: #666;
}

.fr2-price__value {
    font-size: 18px;
    color: #000;
    font-weight: bold;
}

.fr2-price__addon {
    font-size: 14px;
    color: #666;
}

.slider img {
    width: 50%;
    height: 500px;
    display: block;
    margin: 0 auto;
}

.slick-dots li button:before {
    color: #f60;
    /* Cambia el color de los puntos de navegación */
}


body.register-page {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: #f8f8f8;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main.register-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    background: linear-gradient(to bottom, #e9f1f9, #f8f8f8);
}

.register-form-container {
    width: 100%;
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.register-form-container h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #195b9f;
    text-align: center;
}

.register-form-container label {
    font-weight: bold;
    margin-top: 15px;
    display: block;
    color: #333;
}

.register-form-container input {
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.register-form-container button {
    width: 100%;
    padding: 14px;
    background-color: #195b9f;
    color: white;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    margin-top: 25px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.register-form-container button:hover {
    background-color: #144b86;
}