body {
    font-family: 'Poppins', sans-serif;
    color: #1a1a1a;
}
.font-playfair {
    font-family: 'Playfair Display', serif;
}
.product-card .add-to-cart-btn {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.product-card:hover .add-to-cart-btn {
    opacity: 1;
    transform: translateY(0);
}
.product-card .product-image-container {
    position: relative;
    overflow: hidden;
}
 .product-card .product-image {
    transition: transform 0.5s ease;
}
.product-card:hover .product-image {
    transform: scale(1.05);
}
.nav-link {
    position: relative;
    transition: color 0.3s;
    letter-spacing: 0.05em;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1a1a1a;
    transition: width 0.3s ease-in-out;
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}
.badge {
    position: absolute;
    top: -5px;
    right: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #1a1a1a;
    color: white;
    font-size: 12px;
    font-weight: 500;
}
.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #1a1a1a;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

/* GSTIN input and validity indicator styles */
.gstin-input {
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.gstin-validity {
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 0.875rem;
    vertical-align: middle;
}
/* Hero Carousel Custom Styles */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: #ffffff !important;
    background-color: rgba(26, 26, 26, 0.3);
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    transition: background-color 0.3s ease;
}
.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background-color: rgba(26, 26, 26, 0.5);
}
.hero-swiper .swiper-button-next::after, 
.hero-swiper .swiper-button-prev::after {
    font-size: 1rem !important;
    font-weight: 900;
}
.hero-swiper .swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.7) !important;
}
.hero-swiper .swiper-pagination-bullet-active {
    background-color: #ffffff !important;
}
/* Reviews Carousel Custom Styles */
.reviews-swiper .swiper-pagination-bullet {
    background-color: #d1d5db !important;
}
.reviews-swiper .swiper-pagination-bullet-active {
    background-color: #4a2c2a !important;
}
/* Scrolling Text Bar Animation */
@keyframes scroll-left {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}
.scrolling-text-inner {
    display: flex;
    animation: scroll-left 30s linear infinite;
}

/* Custom Scrollbar for better visibility */
body::-webkit-scrollbar {
    width: 12px;
}
body::-webkit-scrollbar-track {
    background: #f1f1f1;
}
body::-webkit-scrollbar-thumb {
    background-color: #1a1a1a;
    border-radius: 999px;
    border: 3px solid #f1f1f1;
}
body::-webkit-scrollbar-thumb:hover {
    background-color: #111;
}

/* Toggle Switch Styles */
.toggle-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 28px;
}
.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}
.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 28px;
}
.toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .toggle-slider {
    background-color: #2563eb;
}
input:checked + .toggle-slider:before {
    transform: translateX(22px);
}
/* Star Rating Styles */
#testimonialRating > input:checked ~ label,
#testimonialRating:not(:checked) > label:hover,
#testimonialRating:not(:checked) > label:hover ~ label {
    color: #f59e0b; /* Tailwind yellow-400 */
}
.out-of-stock-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
}
@media print {
    body * {
        visibility: hidden;
    }
    #invoice-container, #invoice-container * {
        visibility: visible;
    }
    #invoice-container {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
    }
     #printInvoiceBtn, #modal-backdrop, #backToLocalSale {
        display: none;
    }
}
