/* Preloader Styling */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.logo-loader {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.spinner-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.spinner-dots .circle {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: #02447e;
    animation: loader-bounce 1.4s infinite ease-in-out both;
}

.spinner-dots .circle:nth-child(1) {
    animation-delay: -0.32s;
}

.spinner-dots .circle:nth-child(2) {
    animation-delay: -0.16s;
    background-color: #ee5a24; /* IT Saathi Orange */
}

.spinner-dots .circle:nth-child(3) {
    background-color: #3594bf;
}

@keyframes loader-bounce {
    0%, 80%, 100% { 
        transform: scale(0);
    } 40% { 
        transform: scale(1.0);
    }
}

.loader-text {
    font-family: 'League Spartan', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 5px;
    color: #02447e;
    animation: text-pulse 1.5s infinite;
}

@keyframes text-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

p {
    color: #777;
}

.basic-product .addtocart_btn {
    width: 100% !important;
    display: block !important;
}

.basic-product .addtocart_btn .add-button,
.basic-product .addtocart_btn a,
.basic-product .addtocart_btn a .add-button {
    width: 100% !important;
    margin-top: 10px !important;
    text-transform: capitalize !important;
    z-index: 1;
    display: flex !important;
}

.basic-product .product-title {
    font-size: 14px;
    font-weight: 400;
}

.basic-product .addtocart_btn .add-button {
    width: 100% !important;
    margin-top: 10px !important;
    text-transform: capitalize !important;
    z-index: 1;
    font-size: 14px;
    padding: 6px;
    display: flex !important;
    gap: 10px;
    justify-content: center;
}

.login-page h3 {
    margin-bottom: 20px;
    text-transform: capitalize;
    color: #02447e;
    font-weight: 700;
    margin-top: -5px;
}

.contact-left ul li {
    color: #999;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.blog-details p {
    font-weight: 400;
}

.faq-section .theme-accordion .accordion-item .accordion-body p {
    font-weight: 400;
}

.faq-section
    .theme-accordion
    .accordion-item
    .accordion-header
    .accordion-button {
    font-weight: 400;
}

.faq-section
    .theme-accordion
    .accordion-item
    .accordion-header
    .accordion-button:not(.collapsed) {
    font-weight: 400;
}

.slick-dots li button {
    border: 0px solid red;
    background: #0000005e;
    display: block;
    height: 15px;
    width: 15px;
    outline: none;
    line-height: 0px;
    font-size: 0px;
    color: #15151500;
    padding: 5px;
    cursor: pointer;
    border-radius: 100%;
}

.slick-dots li button::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "•";
    width: 15px;
    height: 14px;
    font-family: "slick";
    font-size: 15px;
    line-height: 15px;
    text-align: center;
    color: #0000;
    opacity: 0.25;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.slick-dots li.slick-active button::before {
    color: unset;
    opacity: unset;
    background: #02447e;
    border-radius: 100%;
}

/* ================================================
   MODERN FOOTER WITH BRAND COLORS
   Brand Colors: #3594bf (Light Blue), #02447e (Dark Blue)
   ================================================ */
ul.footer-links-list li {
    display: block;
}

/* Newsletter Strip */
.newsletter-strip {
    background: linear-gradient(135deg, #3594bf 0%, #02447e 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-strip::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.newsletter-content {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.newsletter-icon {
    font-size: 48px;
    color: #fff;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.newsletter-text {
    color: #fff;
}

.newsletter-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 5px;
    color: #fff;
}

.newsletter-subtitle {
    margin: 0;
    opacity: 0.9;
    font-size: 14px;
}

.newsletter-form-modern {
    position: relative;
    z-index: 1;
}

.input-group-modern {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin-left: auto;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    transition: all 0.3s;
}

.newsletter-input:focus {
    outline: none;
    border-color: #fff;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.newsletter-btn {
    padding: 15px 30px;
    background: #fff;
    color: #02447e;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.newsletter-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Main Footer Content */
.main-footer-content {
    background: #e7eef4;
    padding: 60px 0 40px;
    color: #b8b8d1;
}

/* Footer Brand Section */
.footer-brand-section {
    padding-right: 20px;
}

.footer-logo-img {
    margin-bottom: 20px;
    filter: brightness(1.2);
}

.footer-brand-desc {
    font-size: 14px;
    line-height: 1.8;
    color: #777;
    margin-bottom: 25px;
}

/* Trust Badges */
.trust-badges-row {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.trust-badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #777;
}

.trust-badge-item i {
    font-size: 20px;
    color: #3594bf;
}

/* Social Media Modern */
.social-media-modern {
    margin-top: 25px;
}

.social-title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin-bottom: 15px;
}

.social-icons-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s;
    font-size: 18px;
    color: #fff;
}

.social-icon-btn.facebook {
    background: #3b5998;
}

.social-icon-btn.twitter {
    background: #1da1f2;
}

.social-icon-btn.instagram {
    background: linear-gradient(
        45deg,
        #f09433 0%,
        #e6683c 25%,
        #dc2743 50%,
        #cc2366 75%,
        #bc1888 100%
    );
}

.social-icon-btn.linkedin {
    background: #0077b5;
}

.social-icon-btn.youtube {
    background: #ff0000;
}

.social-icon-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Footer Links Column */
.footer-links-column {
    margin-bottom: 30px;
}

.footer-column-title {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, #3594bf, #02447e);
    border-radius: 2px;
}

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

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: #777;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-links-list a i {
    font-size: 16px;
    transition: transform 0.3s;
    color: #3594bf;
}

.footer-links-list a:hover {
    color: #000;
    padding-left: 5px;
}

.footer-links-list a:hover i {
    transform: translateX(3px);
    color: #3594bf;
}

/* Contact Column Modern */
.footer-contact-column {
    margin-bottom: 30px;
}

.contact-info-modern {
    margin-bottom: 30px;
}

.contact-item-modern {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

/* .contact-icon-box {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #3594bf, #02447e);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
} */

.contact-icon-box i {
    font-size: 20px;
    color: #3594bf;
}

.contact-text-box h6 {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin: 0 0 5px;
}

.contact-text-box p {
    margin: 0;
    font-size: 13px;
    color: #777;
    line-height: 1.6;
}

.contact-text-box a {
    color: #777;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-text-box a:hover {
    color: #3594bf;
}

/* App Download */
.app-download-section {
    margin-top: 25px;
}

.app-title {
    font-size: 14px;
    font-weight: 600;
    color: #000;
    margin-bottom: 12px;
}

.app-buttons-flex {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.app-btn-modern {
    display: block;
    transition: transform 0.3s;
}

.app-btn-modern img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.app-btn-modern:hover {
    transform: translateY(-3px);
}

/* Popular Categories Section */
.footer-categories-section {
    margin-top: 0px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.categories-main-title {
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 25px;
    text-align: left;
}

/* .categories-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
} */

.category-tag-modern {
    background: unset;
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
    /* border-radius: 0; */
    padding: 0 10px 10px 0;
    display: inline-block;
    color: #777;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}

.category-tag-modern i {
    font-size: 20px;
    color: #3594bf;
}

/* .category-tag-modern:hover {
    background: rgba(53, 148, 191, 0.1);
    border-color: #3594bf;
    color: #fff;
    transform: translateY(-2px);
} */

/* Popular Searches */
.footer-searches-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.searches-main-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-align: center;
}

.searches-tags-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.search-tag-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 8px 18px;
    color: #b8b8d1;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s;
}

.search-tag-pill:hover {
    background: #3594bf;
    border-color: #3594bf;
    color: #fff;
    transform: translateY(-2px);
}

/* Footer Bottom Bar */
.footer-bottom-bar {
    background: #0f0f1e;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.copyright-text {
    color: #b8b8d1;
    font-size: 14px;
    margin: 0;
}

.copyright-text strong {
    color: #3594bf;
}

.payment-methods-row {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: flex-end;
}

.payment-text {
    color: #b8b8d1;
    font-size: 14px;
}

.payment-img {
    max-height: 30px;
    width: auto;
}

.pixelstrap .full-mega-menu a,
.pixelstrap .clothing-menu a {
    padding: 5px 0;
    position: relative;
    margin: 0 !important;
}

.pixelstrap .link-section ul li a {
    padding-left: 0;
    margin: 12px 0 0 0;
    font-size: 15px;
    position: relative;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    z-index: 0;
    cursor: pointer;
    letter-spacing: unset;
    font-weight: 300;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 991px) {
    .newsletter-content {
        flex-direction: column;
        text-align: center;
        margin-bottom: 20px;
    }

    .input-group-modern {
        margin-left: 0;
    }

    .categories-grid-modern {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

@media (max-width: 767px) {
    .newsletter-strip {
        padding: 30px 0;
    }

    .newsletter-title {
        font-size: 20px;
    }

    .input-group-modern {
        flex-direction: column;
    }

    .newsletter-btn {
        justify-content: center;
    }

    .main-footer-content {
        padding: 40px 0 30px;
    }

    .categories-grid-modern {
        grid-template-columns: 1fr;
    }

    .payment-methods-row {
        justify-content: center;
        flex-direction: column;
        gap: 10px;
    }

    .basic-product .addtocart_btn .add-button {
        width: 100% !important;
        margin-top: 10px !important;
        text-transform: capitalize !important;
        z-index: 1;
        font-size: 10px;
        padding: 6px;
        display: flex !important;
        gap: 10px;
    }
}

/* product page css  */
.payment-box {
    background: #fff !important;
    border-radius: 0 !important;
    border: none !important;
    border-top: 1px solid gainsboro !important;
    border-bottom: 1px solid gainsboro !important;
    box-shadow: none !important;
}

.product-page-details .specification-info {
    display: block;
    background-color: #3594bf1c !important;
    font-size: 14px;
    border: 1px solid #c6c6c678;
    padding: 20px 30px;
    border-radius: 10px;
    max-height: 200px;
    overflow: auto;
}

.product-page-details .product-rating {
    font-size: 12px;
    margin-top: 0px;
}

/* product page css  */
/* checkout page  */
.checkout-section-2
    .left-sidebar-checkout
    .checkout-detail-box
    > ul
    > li
    .checkout-box {
    border-bottom: 4px solid #02447e;
}

.form-check {
    display: flex;
    gap: 10px;
}

.checkout-section-2
    .left-sidebar-checkout
    .checkout-detail-box
    > ul
    > li
    .checkout-box
    .checkout-detail
    .delivery-address-box {
    background-color: #3594bf4a !important;
}

.checkout-section-2 .checkout-right-box .checkout-details {
    border-bottom: 4px solid #02447e !important;
}

.cart-box {
    border-bottom: 4px solid #02447e !important;
}

.close-icon .close_button {
    background-color: #02447e !important;
}

.cart-label-col .cart-lable-nav {
    background-color: var(--theme-color);
    padding: 5px 7px !important;
    font-size: 12px !important;
    height: 100% !important;
}

.btn.btn-sm.btn-danger.btn-rounded.cancel-order-btn {
    margin-bottom: 10px;
    padding: 0;
    background: unset;
    border: none;
    color: red;
    text-decoration: underline;
}

.duplicate__order__btn {
    background: unset;
    border: none;
    text-decoration: underline;
    color: #02447e !important;
}

.duplicate__order__btn:hover {
    background: unset;
    text-decoration: underline;
}

.active > .page-link,
.page-link.active {
    z-index: 3;
    color: var(--bs-pagination-active-color);
    background-color: #02447e;
    border-color: #02447e;
}


/* Global Product Card Consistency */
.basic-product {
    background: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.basic-product .img-wrapper {
    height: 380px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #ffffff !important;
    padding: 15px !important;
    position: relative !important;
}

.basic-product .img-wrapper img {
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transition: all 0.5s ease;
    margin: 0 auto;
}

.basic-product:hover .img-wrapper img {
    transform: scale(1.05);
}

.product-detail {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px !important;
}

/* Product Title Truncation */
.product-title.truncate-enabled {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: normal !important;
    min-height: 40px !important; /* Force height for alignment */
    line-height: 1.3 !important;
    font-size: 14px !important;
    margin-bottom: 5px !important;
}

/* Mobile adjustments for Product Images */
@media (max-width: 767px) {
    .basic-product .img-wrapper {
        height: 250px !important; /* Slightly smaller for mobile grid */
        padding: 10px !important;
    }
}

@media (max-width: 480px) {
    .basic-product .img-wrapper {
        height: 200px !important;
    }
}
