/*
Theme Name: Twenty Twenty-Four
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Four is designed to be flexible, versatile and applicable to any website. Its collection of templates and patterns tailor to different needs, such as presenting a business, blogging and writing or showcasing work. A multitude of possibilities open up with just a few adjustments to color and typography. Twenty Twenty-Four comes with style variations and full page designs to help speed up the site building process, is fully compatible with the site editor, and takes advantage of new design tools introduced in WordPress 6.4.
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.0
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfour
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/
.category-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
	max-width: 100%;
}
.category-slide {
    text-align: center;
    padding: 10px;
}
.category-name {
    color: #fff; /* Set your desired text color */
    font-size: 32px; /* Adjust font size as needed */
    font-family: 'POPPINS';
	height: 100px;
	border-radius: 12px;
	background-color: #222845;
	line-height: 3;
	font-weight: normal;
}
.category-slide img {
    width: 80%;
    height: 100px;
    border-radius: 10px;
}
.category-slide p {
    margin-top: 5px;
    font-size: 16px;
    font-weight: bold;
}

/* Slick Arrows - Fix misalignment */
.slick-prev,
.slick-next {
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    position: absolute;
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Ensures perfect vertical centering */
    z-index: 10;
    cursor: pointer;
}

/* Left Arrow Position */
.slick-prev {
    left: 10px; /* Adjust if necessary */
}

/* Right Arrow Position */
.slick-next {
    right: 10px; /* Adjust if necessary */
}

/* Optional: Hover effect */
.slick-prev:hover,
.slick-next:hover {
    color: #0073aa; /* Customize hover color */
}


/* Custom Add to Cart Form */
.custom-add-to-cart {
    margin-top: 20px;
}

/* Color Picker Styles */
.color-picker {
    display: flex;
    gap: 10px;
    align-items: center;
}

.color-option {
    position: relative;
    width: 45px; /* Bigger size */
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: inline-block;
    border: 2px solid transparent;
    transition: all 0.3s ease-in-out;
}

/* Hide default radio buttons */
.color-option input {
    position: absolute;
    opacity: 0;
}

/* Show border when selected */
.color-option input:checked + label {
    border: 2px solid black;
}

/* Size Picker */
.size-picker select {
    padding: 5px;
    font-size: 16px;
    margin-top: 5px;
}

/* Quantity Selector */
.quantity-picker input {
    width: 60px;
    padding: 5px;
    font-size: 16px;
}

/* Add to Cart Button */
.single_add_to_cart_button {
    background-color: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 18px;
    margin-top: 10px;
}

.single_add_to_cart_button:hover {
    background-color: #005f8a;
}

/* Checkmark inside the circle */
.color-option input:checked + .checkmark::after {
    content: "✔";
    color: white;
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Style for the categories menu container */
.categories-menu {
    position: relative;
    display: inline-block;
}

/* Style for the menu item */
.categories-menu .menu-item {
    background-color: #222845;
    color: white;
    cursor: pointer;
}

/* Style for the submenu */
.categories-menu .submenu {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 250px;
    z-index: 1;
    list-style-type: none;
    padding: 0;
    margin: 0;
	transition: .5s;
}

/* Style for submenu items */
.categories-menu .submenu li {
    padding: 8px 12px;
}

/* Change color on hover */
.categories-menu .submenu li:hover {
    background-color: #ddd;
}

/* Show the submenu when hovering over the menu item */
.categories-menu:hover .submenu {
    display: block;
}
