/*
Theme Name:     chapeau-noir
Theme URI:      
Description:    Botiga-pro child theme.
Author:         Knockers
Author URI:     
Template:       botiga
Version:        0.1.0
*/

.single-collection .collection_menu {
  margin-right: -20px;
  
}
.single-collection .collection_menu .menu  {
  display: flex;
  margin-bottom: 40px;
  overflow-x: auto;
  padding-left: 0;
}

.single-collection .collection_menu .menu li a{
  border:1px solid #333;
  color:#333;
  padding:10px 15px;
  border-radius: 25px;
  display: inline-block;
}
.single-collection .collection_menu .menu li a:hover{
  background-color: #333;
  color:#fff;
}
.single-collection .collection_menu .menu li a.active{
  background-color: #333;
  color:#fff;
}
.single-collection .collection_menu .menu li {
  list-style: none;
  margin-right: 15px;
  flex: none;
}

.single-collection .content-wrapper{
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-top:0;
    margin-bottom: 0;
}
.single-collection .row{
   display: block;
}
.single-collection .site-main{
    width: 100%;
    padding:50px 80px;

}
@media (max-width:768px){
  .single-collection .site-main{
    padding:40px 20px;
  }
}
.single-collection .content-wrapper .row{
   margin-left: 0;
   margin-right: 0;
}



.single-collection .grid:after {
    content: '';
    display: block;
    clear: both;
  }
.single-collection .grid {
  margin-left: -5px;
  margin-right: -5px;
  }

  
  .single-collection .grid-sizer,
  .single-collection .grid-item {
    width: 25%;
  }
  @media (max-width:768px){
    .single-collection .grid-sizer,
    .single-collection .grid-item {
      width: 50%;
    }
  }
  
  .single-collection .grid-item {
    float: left;
   
    padding:5px;
   
  }
  
  .single-collection .grid-item img {
    display: block;
    max-width: 100%;
    width:100%;
  }

  .single-post .tags-links a{
    border: 1px solid #F1F1F1;
    border-radius: 25px;
    display: inline-block;
  }
  .single-post .cat-links a{
   background-color: #000;
    border-radius: 5px;
    display: inline-block;
    padding:5px 10px;
    color:#fff;
    margin-right: 5px;
    margin-bottom: 5px;
  }

  .single-post .tags-links a:first-of-type{
    margin-left: 0;
  }
  .single-post .nav-subtitle{
    display: none;
  }
  .single-post .nav-previous a{
    display: flex;
    align-items: center;
    justify-content: start;
  }
  .single-post .nav-next a{
    display: flex;
    align-items: center;
    justify-content: end;
  }
  
  @media (max-width:768px){
    .single-post .nav-links {
      flex-wrap: wrap;
    }
    .single-post .nav-links > div{
      flex: 1 0 100%;
      margin-bottom: 15px;
    }
  }

  .single-post .nav-links a:hover{
    opacity: 0.8;
  }
  .single-post .nav-previous a:before{
    content:"";
    background: url('/wp-content/themes/ks_chapeau-noir/assets/images/arrow-down_left.png');
    display: inline-block;
    background-repeat: no-repeat;
    width: 46px;
    height: 46px;
    margin-right: 10px;
    min-width: 46px;
  }
  .single-post .nav-next a:after{
    content:"";
    background: url('/wp-content/themes/ks_chapeau-noir/assets/images/arrow-down_right.png');
    display: inline-block;
    background-repeat: no-repeat;
    width: 46px;
    height: 46px;
    margin-left: 10px;
    min-width: 46px;
  }

  .category .content-wrapper{
    margin-top:20px;
  }

  .custom-dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 每行三個卡片 */
    gap: 20px;
    margin-top: 20px;
}
@media (max-width:768px){
  .custom-dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 每行三個卡片 */
    gap: 20px;
    margin-top: 20px;
}
}

.dashboard-widget {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    color: #333;
    transition: background-color 0.3s;
}

.dashboard-widget:hover {
    background-color: #e8e8e8;
}

.dashboard-widget i {
    font-size: 24px;
    margin-bottom: 10px;
}

.dashboard-widget svg{
    width: 50px;
    margin-bottom: 10px;
}
.custom-dashboard-widgets a{
    text-decoration: none;
}

.woocommerce-account .woocommerce-form-register input[type=tel]{
  width: 100%;
  display: block;
}