/*
Theme Name: Catsandberries
Theme URI: http://catsandberries.com
Author: Frank Mortier
Author URI: http://FrankMortier.io
Description: This is an ecommerce site about cats and berries
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: catsandberries
Domain Path: /languages
Tags: 
*/

.wc-block-product-filter-checkbox-list__text {
    font-size: medium;
}

/*
Hide image filename/title in gallery carousel
*/
.jp-carousel-titleanddesc-title {
  display: none;
}

button.xoo-wl-action-btn {
    background-color: #dd9933;
    color: #fff;
    padding: 10px;
    font-size: medium;
}

.wc-block-product-categories-list {
  display: contents; 
  list-style-type: none;
}

.wc-block-product-categories-list-item {
  background-color: #F0C58191;
  margin-top: 5px;
  margin-bottom: 5px;
  padding: 5px;
  border-radius: 25px;

}

.wc-block-product-categories-list-item__name{
margin-left: 10px;
}

.wc-block-product-categories-list-item a {
text-decoration: none;
}

.wc-block-product-categories-list-item a:hover {
text-decoration: none;
  color: #00d084;
}

.wc-block-product-categories-list-item a:active {
text-decoration: none;
  color: red;
}

.wc-block-product-categories-list-item-count {
 color: black;
  margin-right: 10px;
}
/* Container for the sorting dropdown */
.woocommerce-ordering, 
.wc-block-product-sort {
    margin: 20px 0;
    display: flex;
    justify-content: flex-end; /* Keeps it to the right */
}

/* Styling the select box */
.woocommerce-ordering select,
.wc-block-product-sort select {
    -webkit-appearance: none;
    appearance: none;
    border: 1.5px solid #e2e8f0; /* Soft gray border */
    border-radius: 8px;
    padding: 8px 35px 8px 15px;
    font-size: 14px;
    font-weight: 500;
    color: #1a202c;
    background-color: #f8fafc;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%234a5568'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

/* Hover and Focus interaction */
.woocommerce-ordering select:hover,
.wc-block-product-sort select:hover {
    border-color: #cbd5e0;
    background-color: #ffffff;
}

.woocommerce-ordering select:focus,
.wc-block-product-sort select:focus {
    outline: none;
    border-color: #00d084; /* Modern Purple - Change to your brand color */
    box-shadow: 0 0 0 3px rgba(0, 208, 132);
}
/* --- Language Selector Fixes --- */

/* 1. The Lightbox (WooCommerce PhotoSwipe) */
/* We use a massive number to ensure it wins every battle */
.pswp, 
.pswp--open, 
.pswp__bg, 
.pswp__scroll-wrap {
    z-index: 999999999 !important;
}

/* 2. The WordPress Admin Bar */
/* WordPress uses 99999, so we reinforce it */
#wpadminbar {
    z-index: 9999999 !important;
}

/* 3. The Cat Container */
/* By setting position: relative and a low z-index, we "ground" it */
#cat-lang-header {
    position: relative !important;
    z-index: 10 !important; 
    display: flex !important;
    gap: 2px !important;
    justify-content: flex-end !important;
}

/* 3. The Links */
#cat-lang-header a {
    position: relative !important;
    display: inline-block !important;
    width: 55px !important;
    height: 70px !important;
    text-decoration: none !important;
}

/* Ensure the link can move */
#cat-lang-header a {
    display: inline-block !important;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; /* A bouncy hop */
    position: relative !important;
}

/* The Jump effect on hover */
#cat-lang-header a:hover {
    transform: translateY(-8px) !important; /* Adjust this number for a higher or lower jump */
}

/* Optional: Make the ball less transparent on hover so it "pops" */
#cat-lang-header a:hover span {
    background-color: rgba(var(--berry-rgb, 0,0,0), 0.9) !important;
    border-color: #fff !important;
}

/* 4. The Ball with Letters (Right-shifted) */
#cat-lang-header span {
    position: absolute !important;
    bottom: 5px !important;
    right: -5px !important; /* Shifted right in front of the paws */
    z-index: 10 !important; /* Higher than the cat SVG */
    
    width: 26px !important;
    height: 26px !important;
    border-radius: 50% !important;
    border: 1.5px solid #ffffff !important;
    
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    color: #FFFBF2 !important;
    font-family: Arial, sans-serif !important;
    font-size: 10px !important;
    font-weight: 900 !important;
}

/* 5. Colors & 50% Transparency */
.cat-en svg { fill: #F0C581 !important; }
.cat-en span { background-color: rgba(255, 77, 109, 0.5) !important; }

.cat-de svg { fill: #F0C581 !important; }
.cat-de span { background-color: rgba(67, 97, 238, 0.5) !important; }

.cat-fr svg { fill: #F0C581 !important; }
.cat-fr span { background-color: rgba(68, 147, 99, 0.5) !important; }

.cat-nl svg { fill: #F0C581 !important; }
.cat-nl span { background-color: rgba(251, 133, 0, 0.5) !important; }

/* Adjust logo size for mobile devices */
@media (max-width: 768px) {
    .custom-logo, 
    .site-logo img, 
    .navbar-brand img {
        max-width: 200px !important; /* Adjust this number as needed */
        height: auto !important;
    
    
    }
    .main-navigation ul li a, 
    .menu-item a,
    .wp-block-navigation-item__content {
        font-size: 20px !important; /* Adjust size as needed */
        padding-top: 10px !important; 
        padding-bottom: 1px !important;
        display: block;
    }

    /* Make mobile open and close icons larger */
.wp-block-navigation__responsive-container-open svg, 
.wp-block-navigation__responsive-container-close svg {
    width: 40px !important;  /* Adjust size as needed */
    height: 40px !important;
}

/* Add extra tap space around the icons */
.wp-block-navigation__responsive-container-open, 
.wp-block-navigation__responsive-container-close {
    font-size: 30px !important; /* Adjust size as needed */
    padding: 10px !important;
}
}