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

body {
  background-color: #cff0fd;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  font-family: "Noto sans jp", "Lucida Sans Unicode", "Lucida Grande", Arial, Helvetica, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", sans-serif;
  width: 100vw; /* Evita que el ancho del contenido exceda la ventana */
  overflow-x: hidden; /* Bloquea el scroll horizontal */
}

main {
  min-height: 100vh;
  display: flex ;
  flex-direction: column;
  background-color: #fff;
}
header{
  width: 100%;
  padding: 20px 20px;
  background-color: #cff0fd ;
  display: flex;
  flex-direction: column;
  padding-bottom: 0;
}
.header-top{
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.header-left{
  display: flex;
  flex-direction: column;
  margin-left: 25px;
  text-align: center;
  justify-content: center;
  align-items: center;
}
.header-icons-container{
  margin-top: 15px;
  display: flex;
  list-style: none;
  margin-bottom: 20px;
  width: 240px;
  justify-content: center;
}
.header-login{
  margin-right: 20px;
  display: inline;
  line-height: 28px;
  padding-left: 34px;
  float: left;
  background: url(/assets/aWNvbl9sb2dpbg.gif) no-repeat left center;
}
.header-login a{
  text-decoration: none;
  color: #333;
}
.header-regist{
  margin-right: 20px;
    display: inline;
    line-height: 28px;
    padding-left: 34px;
    float: left;
    background: url(/assets/aWNvbl9uZXdfbG9n.gif) no-repeat left center;
  
}
.header-regist a{
  text-decoration: none;
  color: #333
}

.search-container {
  display: flex; /* Asegura que el input y el botón estén alineados en una fila */
  align-items: center;
  width: 250px;
  max-width: 250px;
  margin: 0 30px;
  margin-right:50px;
}
.search-button{
  width: 30%;
  height: 35px;
  border: 1px solid #fa8195;
  border-left: none;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  margin: 0;
  background-color: #fa8195;
}
.search-button i{
  color: #fff;
}
.search-button svg{
  font-size: 20px;
  margin: 0 auto;
  color: #333;
}
.search-input{
  height: 35px;
  width: 80%;
  border: 2px solid #fa8195;
  border-right: none;

  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  outline: none;
  text-align: start;
  font-size: 10px;
  padding-left: 20px;
}

.nav-container{
  width: 100%;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 20px;
  margin-left: 50px;
}
.navbar{
  width: 75%;
  height: 40px;
  border-radius: 10px !important;


}
.navbar ul{
  display: flex;
  list-style: none;
  height: 100%;
  border-radius: 20px !important;
}
.navbar ul li{
  width: 16.6666%;
  background-color: #01013d;
  justify-content: center;
  height: 100%;
}
.navbar ul li:hover{
  opacity: 80%;
}
.navbar ul li a{
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  width: 100%;
  height: 100%;
  display: flex;
  text-decoration: none;
  justify-content: center;
  align-items: center;
}
.navbar ul li a:hover{
  opacity: 50%;
}
.main{
  display: grid;
  grid-template-areas:
    "sidebar main-product-content";
    grid-template-rows: 1fr;
    grid-template-columns: 20% 80%;
    min-height: 100vh;
    background-color: #cff0fd;

}

.sidebar{
  grid-area: sidebar;
  background-color: #cff0fd;
  padding-left: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items:flex-start;
  height: auto;
  margin-top: 15px;
  padding-top: 15px;
  
}
.main-content-container{
  grid-area: main-product-content;
  background-color: #fff;
  width: 100%;
  padding: 20px;
}
.side_cat_bg {
  width: 220px;
  background-color:#fff ;
  margin-bottom: 15px;
}
.side_cat_title {
  height: 38px;
  background-color:#fa8195;
  border-bottom: 1px #FFF solid;
  color: #FFF;
  padding-left: 15px;
  width: 100%;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
.side_cat_text {
  height: 35px;
  border-bottom: 1px #FFF solid;
  color: #432A16;
  padding: 0px 12px;
  background-color: #fff;
}
.side_cat_text a{
  color: #333;
  text-decoration: none;
  font-weight: 600;
}
.side_cat_text a:visited {
  color: #432A16;
  text-decoration: none;
}
.side_cat_text a:hover{
  border-bottom: 1px solid #333;
}
.side_cat_bottom {
  height: 18px;
  background-color: #fa8195;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}
.info_bg {
  
  margin-bottom: 5px;
}
.info_top {
  height: 0px;
  background: url(/assets/info_top_bg.gif) no-repeat;
  background-position: top;
}
.info_title {
  height: 0px;
  color: #FFF;
}

.info_text {
  color: #666;
  font-size: 10px;
  background: #FFFFDF;
  border: #B4BEB4 1px solid;
  
  padding: 10px;
}

#menu_2 {
  text-align: center;

  background-color: #01013d;
  color: #fff;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#menu_2 a{
  color: #fff;
  text-decoration: none;
  
}
#menu_2 a:hover{
  border-bottom: 1px solid #fff;
}
#copy{
  text-align: center;
  color: #432A16;
  font-size: 12px;
  background-color: #d6d2d2;
}
.links-history{
  margin-top: 20px;
  display: inline;
  text-align: start;
  list-style: none;
  margin-bottom: 20px !important;
  margin-left: 20px;
}
.links-history span{
  padding-top: 9px;
  font-size: 12px;
}
.links-history li{
  margin: 8px;
  font-size: 12px;
  display: inline;
}
.links-history li a{
  text-decoration: none;
  color: #fff;
  font-size: 14px;
}
.links-history li a:hover{
  border-bottom: #fff;
}
.links-history-container{
  width: 100%;
  height: 28px;
  background-color: #01013d;
  color: #432A16;
  margin-bottom: 15px;
}

.product-section{
  width: 100%;
  padding: 20px;
}
.product-grid {
  margin: 20px auto;
  padding: 20px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));;
}
.product-item {
  text-align: start;
  background-color: #fff;


  margin: 10px;
}
.product-item a {
  text-decoration: none;
  color: #333;
  transition: all 0.3s;
}

.product-item a:hover{
  opacity: 0.5;
}
.product-item figure{
  width: 100%;
  padding: 10px;
  max-width: 280px;
  max-height: 280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}
.product-item figure img{
  width: 100%;
}
.product-card-name{
  font-size: 14px;
  margin: 10px;
  font-weight: 800;
}
.product-card-name2{
  font-size: 12px;
  margin: 10px;
  font-weight: 500;
}
.product-card-price{
  font-size: 12px;
  color: red;
  margin-left: 10px;
  margin: 10px;
}
.pagenavi {
  width: 100%;
  height: 28px;
  color: #432A16;
  font-size: 10px;
  background: url(/assets/bWFpbl90aXRsZQ.gif) repeat;
  margin-bottom: 15px;
}

.product1 {
  display: flex;
  background-color: #fbfbfb;
  padding: 20px;
  align-items:flex-start;
  justify-content:center;

  width: 95%;
  margin: 0 auto;
}
.product-image_container {
  width: 50%;
  padding: 10px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  

  overflow: hidden;
}
.product__image {
  max-width: 100%; /* Ajusta el ancho máximo de la imagen */
  max-height: 100%; /* Ajusta el alto máximo de la imagen */
  object-fit: contain;
  height: 250px;
}
.product-info {
  flex: 1;
  padding: 15px;
  display: flex;
  flex-direction: column; /* Para alinear elementos verticalmente */
  align-items: flex-start; /* Alinea elementos al principio del contenedor */
  margin-bottom: 60px;
  margin-top: 20px;
  width: 50%;
  margin-left: 15px;
}
.product-title {
  font-size: 1.2em;
  margin-bottom: 20px; /* Reducido para dispositivos móviles */
  font-weight: 600;
}
.product-price {
  font-size: 16px;
  margin-left: 10px; /* Agregamos margen izquierdo */
  margin-bottom: 20px; /* Reducido para dispositivos móviles */
  margin-top: 85px;
  font-weight: 600;
  color: red;
}
.product-code1{
  margin-left: 10px;
  font-size: 14px;
  color: #333;
  margin-top: 30px;
}
.product-code2{
  margin-left: 10px;
  margin-bottom: 20px;
  font-size: 12px;
}
.cart-link{
  text-decoration: none;
  color: #007bff;
}
.cart-link:hover{
  border-bottom: 1px solid #007bff;
}
.product__add-to-cart-button{
  margin: 20px;
  width: 280px;
  height: 45px;
  cursor: pointer;
  margin-top: 60px;
  color: #fff;
  font-weight: 600;
  background-color: #01013d;
  border: none;
  border-radius: 5px;
  margin-bottom: 10px;
}
.product-quantity {
  margin-top: 40px;
  margin-left: 10px;
  display: flex;
  align-items: center; /* Para centrar verticalmente los botones */
}

.product-quantity label {
  display: block;
  font-size: 20px;
  margin-right: 15px;
  font-weight: 500;
}

.product-quantity input {
  width: 40px;
  height: 40px;
  font-size: 16px;
 
  text-align: center;
  border: 0.5px solid #333;
  border-right: none;
  border-left: none;
}

.quantity-btn i{
  color: #333;
}

.quantity-btn {
  background: #fff;
  padding: 5px 10px;
  font-size: 20px;
  cursor: pointer;
  border: 0.5px solid #333;
  width: 40px;
  height: 40px;
  border-right: none;
}
.quantity-btn2 {
  background: #fff;
  padding: 5px 10px;
  font-size: 20px;
  cursor: pointer;
  border: 0.5px solid #333;
  width: 40px;
  height: 40px;
  border-left: none;
}
.product__thumbnails {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  margin-top: 10px;
  width: 90%;
}
.product__thumbnail {
  width: 20%; /* Aumentamos el tamaño de las miniaturas */
  height: auto; /* Aumentamos el tamaño de las miniaturas */
  cursor: pointer;
  margin-right: 5px;
  transition: all 0.3s;
}
.product-description-section {
  width: 80%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: start;
  margin: 0 auto;
  margin-top: 40px;
  margin: 0 auto;
}
.product-description-section .expl {
  font-size: 12px;
  color: #333;
}
.info_text_m a{
  color: #333;
  text-decoration: none;
}
.info_text_m a:hover{
  color: #01013d;
  border-bottom: 1px solid #01013d;
}
.c-alert {
  color: #607d8b;
  background: #eff2f4;
  padding: 20px;
  margin: 30px 0;
  line-height: 1.6;
  text-align: left;
}
.main_title_2 {
  width: 100%;
  height: 40px;
  background: url(https://img16.shop-pro.jp/PA01095/598/etc/main_title_2.gif)  no-repeat;
  color: #FFF;
  margin-bottom: 15px;
}

.login-container{
  width: 60%;
  margin: 0 auto;
}
.login-container .login-container1{
  display: flex;
  flex-direction: column;
}
.login-container1 form{
  display: flex;
  flex-direction: column;
}
.login-container1 h1{
  font-size: 20px;
  margin-bottom: 20px;
}
.username-container{
  margin-bottom: 20px;

}
.username-container label{
  font-size: 14px;
  margin-right: 15px;
  background-color: pink;
  padding: 10px;
}
.username-container input{
  width: 50%;
  height: 25px;
}
.password-container{
  margin-bottom: 20px;
}
.password-container label{
  font-size: 14px;
  margin-right: 15px;
  background-color: pink;
  padding: 10px;
  padding-right: 80px;
}
.password-container input{
  width: 50%;
  height: 25px;
}
.login-submit{
  width: 200px;
  height: 40px;
  margin: 0 auto;
  margin-top: 30px;
  border-radius: 10px;
  font-size: 16px;
}
.inner_popup_nav_area{
  background-color: rgb(220, 236, 243) !important;

}
.logo-container{
  margin-left: 50px;
}
.logo-container h1 img{
  width: 150px;
  height: 191px;
}
.pagination{
  display: flex;
  justify-content: center;
  align-items: center;
  margin:15px auto;
}
.pagination a{
  text-decoration: none;
  color: #333;
  margin-right: 10px;
 width: 25px;
 height: 25px;
  border: 0.5px solid grey;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pagination a:hover{
  opacity: 50%;
}
.pagination .active{
  border: 3px solid blue;
}