/*
Theme Name: mrbaloon
Theme URI: mrbaloon.com
Author: mrbaloon
Author URI: mrbaloon.com
Description: mrbaloon.com
Version: 1.0.0
Text Domain: mrbaloon
*/

body {
    font-family: 'Poppins', sans-serif;
    -webkit-font-smoothing: antialiased;
}
.glass-nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
#loader {
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.swiper-button-next,
.swiper-button-prev {
    color: #1d3557 !important;
    background: #fff;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #ff6b00;
    color: #fff !important;
    transform: scale(1.1);
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: 700;
}
.swiper-pagination-bullet-active {
    background: #ff6b00 !important;
}
.dropdown-group:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#mobile-drawer {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.drawer-overlay {
    transition: opacity 0.4s ease;
}
.faq-content {
    transition: max-height 0.35s ease-out, opacity 0.3s ease-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
}
.faq-content.active {
    max-height: 3000px !important;
    opacity: 1 !important;
    visibility: visible;
}
.mobile-dropdown-content {
    transition: max-height 0.3s ease-out, opacity 0.3s ease-out, margin 0.3s ease-out;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
}
.mobile-dropdown-content.active {
    max-height: 500px;
    opacity: 1;
    margin-top: 0.75rem;
}
#nav-overlay {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
#nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.blog-archive-pagination ul.page-numbers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.blog-archive-pagination ul.page-numbers li {
    margin: 0;
}
.blog-archive-pagination a.page-numbers,
.blog-archive-pagination span.page-numbers {
    display: inline-flex;
    min-width: 2.5rem;
    height: 2.5rem;
    align-items: center;
    justify-content: center;
    padding: 0 0.65rem;
    border-radius: 0.75rem;
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #4b5563;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.blog-archive-pagination a.page-numbers:hover {
    background: #f9fafb;
    color: var(--mrbaloon-secondary, #ff6b00);
    border-color: #e5e7eb;
}
.blog-archive-pagination span.page-numbers.current {
    background: var(--mrbaloon-secondary, #ff6b00);
    color: #fff;
    border-color: var(--mrbaloon-secondary, #ff6b00);
    box-shadow: 0 4px 14px -3px rgba(255, 107, 0, 0.35);
}
.blog-archive-pagination span.page-numbers.dots {
    border: none;
    background: transparent;
    min-width: auto;
    color: #9ca3af;
}
.blog-archive-pagination a.prev.page-numbers,
.blog-archive-pagination a.next.page-numbers {
    color: #4b5563;
}

.product-thumb-swiper .swiper-slide {
    opacity: 0.5;
    transition: opacity 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 1rem;
}
.product-thumb-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: #FF6B00;
}

.swiper-button-next,
.swiper-button-prev {
    color: #1D3557 !important;
    background: white;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50%;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: #FF6B00;
    color: white !important;
    transform: scale(1.1);
}
.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 20px !important;
    font-weight: bold;
}
.swiper-button-next-similar.swiper-button-disabled,
.swiper-button-prev-similar.swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}
.star-rating input {
    display: none;
}
.star-rating label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #d1d5db; 
    transition: color 0.2s ease-in-out;
    padding-right: 0.25rem;
}
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
    color: #FF6B00;
}