/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.cs-categories-home .elementor-cta, .cs-categories-home .elementor-cta__content {
    height: 100% !important;
}

.cs-categories-home .elementor-widget-call-to-action .elementor-cta::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: block;
	border: 1px solid rgba(255, 255, 255, 1);
	width: calc(100% - 32px);
	height: calc(100% - 32px);
	z-index: 1;
	transition: all .3s ease-in-out;
}

.cs-categories-home .elementor-widget-call-to-action:hover .elementor-cta::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: block;
	border: 1px solid rgba(255, 255, 255, 0);
	width: 100%;
	height: 100%;
	z-index: 1;
}

/* Additional info box */

.cs-additional-information {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-top: 2rem;
}

.cs-additional-information.collapsed {
    max-height: 2.2rem;
}

.cs-additional-information .cs-heading {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    cursor: pointer;
}

.cs-additional-information .cs-heading span {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cs-additional-information .cs-heading span::after {
    content: '-';
    margin-left: 0.5rem;
}

.cs-additional-information.collapsed .cs-heading span::after {
    content: '+';
}

.cs-additional-information .cs-item {
    border-bottom: 1px solid rgba(33, 33, 33, 0.2);
    display: flex;
    padding: 0.4rem 0;
    column-gap: 0.75rem;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.cs-additional-information.collapsed .cs-item {
    opacity: 0;
    visibility: hidden;
    height: 0;
    padding: 0;
    border: 0;
}

.cs-additional-information .cs-item label {
    font-weight: 500;
    min-width: 120px;
}

.cs-additional-information .cs-item span {
    font-weight: 700;
    text-transform: capitalize;
    color: #5a431a; /* your accent */
}

/* Optional: basic swatch styling on single product */

.cs-single-product-main .variable-items-wrapper {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    padding-left: 0;
    margin: 0 0 1rem 0;
}

.cs-single-product-main .variable-item,
.cs-single-product-main .variable-items-wrapper li {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
}

.cs-single-product-main .variable-item.selected .variable-item-contents,
.cs-single-product-main .variable-items-wrapper li.active {
    box-shadow: 0 0 0 2px #5a431a;
    opacity: 1;
    transform: scale(1.05);
}

/* Layout: vertical list */
.cs-shop-filters .elementor-widget-taxonomy-filter .e-filter {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

/* Base button reset */
.cs-shop-filters .elementor-widget-taxonomy-filter .e-filter-item {
    position: relative;
    display: flex;
    align-items: center;
    padding: 4px 0 4px 28px;      /* space for checkbox */
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    font: inherit;
    text-align: left;
    color: #222;
    cursor: pointer;
}

/* Fake checkbox box */
.cs-shop-filters .elementor-widget-taxonomy-filter .e-filter-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    border: 1px solid #999;
    border-radius: 2px;
    background: #fff;
    box-sizing: border-box;
}

/* Checked state – Elementor sets aria-pressed="true" */
.cs-shop-filters .elementor-widget-taxonomy-filter .e-filter-item[aria-pressed="true"]::before {
    border-color: var(--accent, #5a431a);
    background: var(--accent, #5a431a);
}

/* Checkmark */
.cs-shop-filters .elementor-widget-taxonomy-filter .e-filter-item[aria-pressed="true"]::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 50%;
    width: 8px;
    height: 4px;
    transform: translateY(-60%) rotate(-45deg);
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

/* Hover effect */
.cs-shop-filters .elementor-widget-taxonomy-filter .e-filter-item:hover::before {
    border-color: var(--accent, #5a431a);
}

.elementor-widget-woocommerce-product-add-to-cart table tbody>tr:nth-child(odd)>td, .elementor-widget-woocommerce-product-add-to-cart table tbody>tr:nth-child(odd)>th {
	background-color: transparent !important;
}

.elementor-widget-woocommerce-product-add-to-cart .label {
	padding-left: 0 !important;
}