.list-tab-category .item-category.active{
    --tw-bg-opacity: 1;
    background-color: rgb(203 49 99 / var(--tw-bg-opacity));
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #333;
    font-size: 20px;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.form-group {
    margin-bottom: 20px;
}

.shareholders-3-section .form-group{
    margin-bottom: 0;
}

.shareholders-3-section .form-group select{
    padding-right: 1.875rem;
    cursor: pointer;
}

/* Year filter styling */

/* Loading indicator */
.main-tabslet.loading {
    position: relative;
    min-height: 100px;
}

.main-tabslet .loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.main-tabslet .loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

.no-documents-message {
    padding: 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 1px #0073aa;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-controls input {
    width: 80px;
    text-align: center;
}

.qty-plus,
.qty-minus {
    background: #f5f5f5;
    border: 1px solid #ddd;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
}

.qty-plus:hover,
.qty-minus:hover {
    background: #e5e5e5;
}

.form-group.error {
    border-left: 3px solid #e74c3c;
    padding-left: 10px;
}

.form-group.error input,
.form-group.error textarea {
    border-color: #e74c3c;
}
/* 
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: #0073aa;
    color: white;
}

.btn-primary:hover {
    background: #005a87;
}

.btn-secondary {
    background: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #e5e5e5;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
} */

.page-product-list .navigation li .current {
    border-color: rgb(203 49 99);
    background-color: rgb(239 33 45);
}

.item-input-info.error {
    border-left: 3px solid #e74c3c;
    padding-left: 10px;
}

.item-input-info.error input,
.item-input-info.error textarea {
    border-color: #e74c3c;
}

.hidden {
    display: none !important;
}

.woocommerce-checkout .woocommerce-error{
    display: none !important
}

.coupon-messages .woocommerce-error{
    display: block !important
}

.woocommerce-input-wrapper .iti {
    width: 100%;
}

.section-contact .contact .contact-us .contact-form .box-inp .wpcf7-form-control-wrap .intl-tel-input input{
    padding-left: 84px;
}

.phone-input-container .input-text{
    height: clamp(45px, 2.5rem, 2.5rem);
}

.phone-input-container .country-select{
    padding: 0 5px;
    position: relative;
}

.country-select-container{
    position: relative;
}

.section-page-login .wrap-form .woocommerce-notices-wrapper{
    display: none !important;
}

.woocommerce-account .woocommerce-notices-wrapper{
    display: none !important;
}

.woocommerce-account .woocommerce-form-row .woocommerce-error {
    background: transparent;
    display: block;
    margin-bottom: 5px;
    padding: 0;
}

.custom_registration_form .error-message{
    color: var(--color-invalid);
}

/* Hide all tooltips, warnings and validation messages */
.custom_registration_form input{
    overflow: hidden
}

.menu-cart-btn{
    position: relative;
}

.menu-cart-btn .cart-count{
    position: absolute;
    height: 15px;
    width: 15px;
    background: #fff;
    color: rgb(239 33 45 / var(--tw-bg-opacity));
    font-size: 10px;
    border-radius: 99px;
    top: 3px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Live Search Styles */
.header-search-form {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: none;
}

.header-search-form .container {
    position: relative;
    padding-top: 15%;
    max-width: 800px;
    margin: 0 auto;
}

.wrap-form-search-product {
    position: relative;
}

.live-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #fff;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
}

.live-search-loading {
    padding: 20px;
    text-align: center;
}

.live-search-loading .spinner {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(239, 33, 45, 0.2);
    border-radius: 50%;
    border-top-color: rgb(239, 33, 45);
    animation: spin 1s ease-in-out infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.live-search-items {
    padding: 10px 0;
    background: #f1f1f1
}

.search-result-item {
    border-bottom: 1px solid #f0f0f0;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-title {
    margin: 0 0 5px;
    font-size: 14px;
    color: #333;
}

.search-result-price {
    font-size: 13px;
    color: rgb(239, 33, 45);
}

.search-recommendations {
    background: #f1f1f1;
    padding: 10px 15px;
    border-top: 1px solid #e0e0e0;
}

.recommendations-title {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    margin: 0 0 8px;
}

.recommendations-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recommendation-item {
    margin-bottom: 5px;
}

.recommendation-item:last-child {
    margin-bottom: 0;
}

.recommendation-link {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 4px;
    color: #333;
    text-decoration: none;
    transition: background-color 0.2s;
}

.recommendation-link:hover {
    background-color: #e0e0e0;
}

.recommendation-icon {
    margin-right: 8px;
    color: rgb(239, 33, 45);
    font-size: 12px;
    width: 16px;
    text-align: center;
}

.recommendation-text {
    font-size: 13px;
}

/* Different styles for recommendation types */
.recommendation-link[data-type="product"] .recommendation-icon {
    color: #4CAF50;
}

.recommendation-link[data-type="category"] .recommendation-icon {
    color: #2196F3;
}

.recommendation-link[data-type="tag"] .recommendation-icon {
    color: #FF9800;
}

.live-search-footer {
    padding: 10px;
    text-align: center;
    border-top: 1px solid #f0f0f0;
    background: #f1f1f1
}

.view-all-results {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgb(239, 33, 45);
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s;
}

.view-all-results:hover {
    background-color: rgb(203, 29, 39);
}

.no-results,
.search-error {
    padding: 20px;
    text-align: center;
    color: #666;
}

.facetwp-pager{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: .625rem;
    margin-top: 1.875rem;
}

.facetwp-pager .facetwp-page{
    --tw-text-opacity: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: .20833rem;
    background-color: rgba(0, 166, 80, .04);
    width: 2.08333rem;
    height: 2.08333rem;
    color: rgb(0 166 80 / var(--tw-text-opacity, 1));
    font-weight: 400;
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

.facetwp-pager .facetwp-page.active{
    --tw-bg-opacity: 1;
    --tw-text-opacity: 1;
    background-color: rgb(245 130 31 / var(--tw-bg-opacity, 1));
    color: rgb(255 255 255 / var(--tw-text-opacity, 1));
}




@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* Banner Video Styles */
.mobile-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none; /* Hidden by default, shown via JS on mobile */
    justify-content: center;
    align-items: center;
    z-index: 5;
    background-color: rgba(0, 0, 0, 0.3);
}

.video-play-btn {
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .5);
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.video-play-btn:hover {
    background: rgba(43, 85, 227, 1);
    transform: scale(1.1);
}

.video-progress {
    position: relative;
    height: 1px;
    cursor: pointer;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.3);
}

.progress-bar {
    height: 1px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
}

.progress-dot {
    width: 8px;
    height: 8px;
    background-color: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    transition: left 0.25s cubic-bezier(0.1, 0.7, 0.1, 1);
    pointer-events: none;
    will-change: left;
}

.video-container{
    height: 100%;
}

/* Hide desktop controls on mobile */
@media (max-width: 767px) {
    .desktop-only {
        display: none !important;
    }
}

/* Hide mobile overlay on desktop */
@media (min-width: 768px) {
    .mobile-video-overlay {
        display: none !important;
    }
}

