/*!
Theme Name: Relos Healthcare Equipment
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: relos-healthcare-equipment
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Relos Healthcare Equipment is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
section.space-top.space-extra-bottom {
    padding-top: 25px;
}
.header-logo img {
    max-height: 70px !important; 
    width: auto !important;
    display: inline-block;
}

.col-auto {
    display: flex;
    align-items: center;
}
.logo-bg {
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    width: 120%; 
}
.header-logo {
    display: flex;
    align-items: center;
    padding: 10px 0;
}
.header-logo-area .row {
    display: flex;
    align-items: center;
    flex-wrap: nowrap; /* यह आइटम्स को नीचे गिरने से रोकेगा */
}
.site-logo img.custom-logo {
    width: 115px;
}
.footer-wrapper .about-logo img {
    width: 85px;
}
.mobile-logo img {
    width: 130px;
}
/* विशलिस्ट टेक्स्ट छुपाना */
.custom-wishlist-wrapper .yith-wcwl-add-to-wishlist span,
.custom-wishlist-wrapper .yith-wcwl-add-to-wishlist a span,
.custom-wishlist-wrapper .yith-wcwl-wishlistaddedbrowse .feedback,
.custom-wishlist-wrapper .yith-wcwl-wishlistexistsbrowse .feedback {
    display: none !important;
}

/* बटन को गोल और नीला बनाना (आपके डिज़ाइन जैसा) */
.custom-wishlist-wrapper .yith-wcwl-add-button a, 
.custom-wishlist-wrapper .yith-wcwl-wishlistaddedbrowse a, 
.custom-wishlist-wrapper .yith-wcwl-wishlistexistsbrowse a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: #001e3c !important; /* आपका डार्क ब्लू कलर */
    border-radius: 50% !important;
    color: #fff !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* आइकॉन का साइज़ */
.custom-wishlist-wrapper i {
    margin: 0 !important;
    font-size: 18px !important;
}

/* जब विशलिस्ट में जुड़ जाए तो आइकॉन का कलर बदलना (Optional) */
.custom-wishlist-wrapper .yith-wcwl-wishlistaddedbrowse a i,
.custom-wishlist-wrapper .yith-wcwl-wishlistexistsbrowse a i {
    color: #ff4d4d !important;
}
/* बटन लोडर स्टाइल */
.th-btn.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.th-btn.loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
}

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

/* सक्सेस नोटिफिकेशन (Side Toast) */
.ajax-cart-notice {
    position: fixed;
    top: 100px;
    right: -350px; /* शुरू में स्क्रीन के बाहर */
    background: #001e3c; /* आपका थीम डार्क ब्लू */
    color: #fff;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    transition: all 0.5s ease;
}

.ajax-cart-notice.show {
    right: 20px; /* स्क्रीन के अंदर */
}

.ajax-cart-notice i {
    margin-right: 10px;
    color: #28a745; /* हरा टिक मार्क */
    font-size: 20px;
}
.qty-input.qty {
    color: #000 !important; /* टेक्स्ट का रंग काला करने के लिए */
    background-color: #fff !important;
    text-align: center;
}
.relos-hero-custom {
    position: relative;
    background-color: #fdf6ec; /* Creamy White Background */
    min-height: 850px;
    overflow: hidden;
    padding-bottom: 10px;
}

/* 1. Large Blue Circular Frame */
.blue-circle-frame {
    position: absolute;
    top: 5%;
    right: -10%; /* Image ko right me dhakelne ke liye */
    width: 65vw;
    height: 85%;
    background: #002b5c; /* Dark Blue Border */
    border-radius: 500px 0 0 500px; /* Exact Curve */
    padding: 15px; /* Border ki motai */
    z-index: 2;
}

.hero-image-inner {
    width: 100%;
    height: 100%;
    border-radius: 500px 0 0 500px;
    overflow: hidden;
}

.hero-image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 2. Bottom Left Blue Section with Dots */
.bottom-left-blue {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35%;
    height: 200px;
    background: #002b5c;
    border-top-right-radius: 100%; /* Curved edge like original */
    z-index: 1;
}

.dot-pattern {
    width: 100%;
    height: 100%;
    background-image: radial-gradient(#ffffff22 1.5px, transparent 1.5px);
    background-size: 15px 15px; /* Dotted effect */
}

/* 3. Orange Decorative Circles (Behind) */
.orange-circles-decor {
    position: absolute;
    top: 0;
    right: 25%;
    width: 400px;
    height: 400px;
    border: 1px solid #ef7d0044;
    border-radius: 50%;
    box-shadow: 0 0 0 50px #ef7d0011, 0 0 0 100px #ef7d0008;
    z-index: 0;
}

/* 4. Content Styling */
.hero-text-content {
    padding-top: 30px;
    position: relative;
    z-index: 5;
}

.hero-logo-top img { width: 110px; margin-bottom: 20px; }

.tagline {
    font-weight: 600;
    letter-spacing: 2px;
    color: #002b5c;
    margin-bottom: 20px;
    font-size: 14px;
}

.main-title {
    font-size: 52px;
    font-weight: 800;
    color: #002b5c;
    line-height: 1.1;
    font-family: 'Playfair Display', serif;
}

.orange-text { color: #ef7d00; }

.sub-description {
    font-size: 18px;
    color: #444;
    margin: 30px 0;
}

/* Buttons */
.btn-orange {
    background: #ef7d00;
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
    margin-right: 15px;
}

.btn-outline {
    border: 2px solid #002b5c;
    color: #002b5c;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
}

/* 5. Orange Badge Top Right */
.top-right-badge {
    position: absolute;
    top: 0;
    right: 80px;
    z-index: 10;
}

.badge-inner {
    background: #ef7d00;
    padding: 4px 10px 2px;
    color: white;
    text-align: center;
    border-radius: 0 0 15px 15px;
    width: 140px;
}
.badge-inner img {
    width: 30px;
}
 .hero-icon-img {
    width: 58px;
    height: 58px;
    background: rgba(225, 194, 152, 0.25);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto;
}

.hero-icon-img img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}
.top-right-badge p {
    font-size: 12px;
}

/* 6. Feature Cards Grid */
.cards-container {
    margin-top: -60px; /* Pull cards over the hero bottom */
    position: relative;
    z-index: 20;
}

.feature-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.f-item {
    background: white;
    padding: 25px 15px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.f-item h5 { font-size: 16px; margin: 15px 0 5px; color: #002b5c; }
.f-item p { font-size: 11px; color: #777; margin: 0; }

.signature-text {
    text-align: right;
    font-family: 'Dancing Script', cursive;
    font-size: 24px;
    color: #002b5b;
    margin-top: 60px;
}
.sidemenu-content a.remove.remove_from_cart_button i.fa.fa-times {
    font-size: 15px;
}
.mini_cart_item img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail {
    width: 40px;
    height: auto;
    box-shadow: none;
}
.mini_cart_item span.quantity {
    margin: 0px 0px 15px 25px;
}
a.checkout-button.button.alt.wc-forward {
    background: -webkit-linear-gradient(top, var(--theme-color) 37.5%, #ddfff1 100%);
    background: linear-gradient(180deg, var(--theme-color) 37.5%, #FFDAB9 100%);
}
.order-summary-sidebar {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    position: sticky;
    top: 100px;
}
.qty-badge {
    position: absolute;
    background: #001e3c;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 50%;
    margin-left: -15px;
}
.payment-options-wrapper {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
}
a.th-btn.btn-sm.style2.theme-color{
    background: -webkit-linear-gradient(top, var(--theme-color) 37.5%, #ddfff1 100%);
    background: linear-gradient(180deg, var(--theme-color) 37.5%, #FFDAB9 100%);
}

/* Order Meta Bar (Top list) */
.woocommerce-order-overview {
    border-radius: 8px;
    border: 1px solid #eee;
    background: #f9f9f9;
}

.woocommerce-order-overview li {
    border-right: 1px solid #ddd;
    padding-right: 30px;
    margin-right: 30px;
}

.woocommerce-order-overview li:last-child {
    border-right: none;
    margin-right: 0;
}

/* Order Details Table Styling */
.woocommerce-table--order-details {
    width: 100%;
    margin-bottom: 40px;
    border-collapse: collapse;
}

.woocommerce-table--order-details th, 
.woocommerce-table--order-details td {
    padding: 15px;
    border: 1px solid #eee;
    text-align: left;
}

.woocommerce-table--order-details thead th {
    background-color: #001e3c; /* आपका थीम कलर */
    color: #fff;
}

/* Address Box */
.woocommerce-column--billing-address, 
.woocommerce-column--shipping-address {
    background: #fff;
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-top: 20px;
}
a.button.gmwqp_inq.wp-block-button__link.wp-element-button {
    background: -webkit-linear-gradient(top, var(--theme-color) 37.5%, #ddfff1 100%);
    background: linear-gradient(180deg, var(--theme-color) 37.5%, #ffe3b9 100%);
    border-radius: 30px;
}
/* ====================================================
   WOOCOMMERCE MY ACCOUNT - MODERN & FIXED LAYOUT
==================================================== */

/* 1. Main Page Container Width & Centering */
/*.woocommerce-account .site-main,*/
/*.woocommerce-account .entry-content,*/
/*.woocommerce-account .woocommerce {*/
/*    max-width: 1240px !important;*/
/*    margin: 40px auto !important;*/
/*    padding: 0 15px !important;*/
/*}*/

/* 2. Side-by-Side Flex Layout (Left Sidebar + Right Content) */
.woocommerce-account .woocommerce {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 30px !important;
    clear: both !important;
}

/* 3. Left Navigation Menu (Fixed Width 270px) */
.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 270px !important;
    min-width: 270px !important;
    max-width: 270px !important;
    float: none !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 15px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #f1f3f5 !important;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-MyAccount-navigation ul li {
    margin-bottom: 6px !important;
    border: none !important;
    padding: 0 !important;
}

.woocommerce-MyAccount-navigation ul li a {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 12px 18px !important;
    color: #495057 !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    transition: all 0.25s ease-in-out !important;
}

/* Icons via FontAwesome */
.woocommerce-MyAccount-navigation ul li a::before {
    font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", "FontAwesome" !important;
    font-weight: 900 !important;
    font-size: 16px !important;
    width: 20px !important;
    text-align: center !important;
    opacity: 0.75 !important;
}

.woocommerce-MyAccount-navigation-link--dashboard a::before { content: "\f3fd" !important; }
.woocommerce-MyAccount-navigation-link--orders a::before { content: "\f290" !important; }
.woocommerce-MyAccount-navigation-link--downloads a::before { content: "\f019" !important; }
.woocommerce-MyAccount-navigation-link--edit-address a::before { content: "\f2bb" !important; }
.woocommerce-MyAccount-navigation-link--edit-account a::before { content: "\f007" !important; }
.woocommerce-MyAccount-navigation-link--customer-logout a::before { content: "\f2f5" !important; }

/* Menu Hover */
.woocommerce-MyAccount-navigation ul li a:hover {
    background: #fff4ed !important;
    color: #ff5722 !important;
    transform: translateX(4px);
}

/* Menu Active State */
.woocommerce-MyAccount-navigation ul li.is-active a {
    background: linear-gradient(135deg, #ff6b35, #ff5216) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.35) !important;
}

.woocommerce-MyAccount-navigation ul li.is-active a::before {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* 4. Right Content Area (Full Remaining Width) */
.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1 1 auto !important;
    width: calc(100% - 300px) !important;
    float: none !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 35px 40px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #f1f3f5 !important;
}

/* Content Text & Typography */
.woocommerce-MyAccount-content p {
    font-size: 15px !important;
    color: #6c757d !important;
    line-height: 1.7 !important;
}

.woocommerce-MyAccount-content p strong {
    color: #212529 !important;
}

.woocommerce-MyAccount-content a {
    color: #ff5722 !important;
    font-weight: 600 !important;
    text-decoration: none !important;
}

.woocommerce-MyAccount-content a:hover {
    text-decoration: underline !important;
}

/* 5. Quick Shortcut Cards (Exact 3 Columns Side-by-Side) */
.custom-dash-cards {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    margin-top: 30px !important;
}

.dash-card {
    background: #fdfdfd !important;
    border: 1px solid #ebebeb !important;
    padding: 25px 20px !important;
    border-radius: 14px !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.dash-card:hover {
    background: #ffffff !important;
    border-color: #ff5722 !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(255, 87, 34, 0.12) !important;
}

.dash-card .card-icon {
    width: 55px !important;
    height: 55px !important;
    line-height: 55px !important;
    background: #fff0eb !important;
    color: #ff5722 !important;
    font-size: 22px !important;
    border-radius: 50% !important;
    margin-bottom: 15px !important;
}

.dash-card h4 {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #212529 !important;
    margin: 0 0 6px 0 !important;
}

.dash-card p {
    font-size: 13px !important;
    color: #868e96 !important;
    margin: 0 !important;
}
/* ==========================================================
   FIX ADDRESS PAGE (OVERRIDE BOOTSTRAP .col-1 & .col-2 CONFLICT)
========================================================== */

/* 1. Reset WooCommerce Outer Container */
.woocommerce-account .woocommerce-MyAccount-content .col2-set,
.woocommerce-account .woocommerce-Addresses {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 25px !important;
    width: 100% !important;
    margin: 20px 0 !important;
    float: none !important;
    clear: both !important;
}

/* 2. Kill Bootstrap .col-1 & .col-2 width (Force 50% Equal Width) */
.woocommerce-account .col2-set .col-1,
.woocommerce-account .col2-set .col-2,
.woocommerce-account .woocommerce-Address,
.woocommerce-account .u-column1,
.woocommerce-account .u-column2 {
    float: none !important;
    flex: 1 1 50% !important;
    width: 50% !important;
    max-width: 50% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 24px !important;
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
    position: static !important;
}

/* 3. Card Title Header (Side-by-side: Title Left, Button Right) */
.woocommerce-Address header.title,
.woocommerce-Address .woocommerce-Address-title {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding-bottom: 15px !important;
    margin-bottom: 15px !important;
    border-bottom: 1px solid #f1f3f5 !important;
    float: none !important;
    width: 100% !important;
}

/* 4. Fix Huge Headings (Normal clean size) */
.woocommerce-Address h3 {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}
header.woocommerce-Address-title.title h2 {
    font-size: 17px;
    margin: 0;
}

/* 5. Clean "Add / Edit" Button */
.woocommerce-Address a.edit {
    display: inline-block !important;
    background: #fff0eb !important;
    color: #ff5722 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 5px 5px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
    float: none !important;
    transition: all 0.25s ease !important;
}

.woocommerce-Address a.edit:hover {
    background: #ff5722 !important;
    color: #ffffff !important;
}

/* 6. Address Text Area */
.woocommerce-Address address {
    font-size: 14px !important;
    color: #64748b !important;
    line-height: 1.6 !important;
    font-style: normal !important;
    margin: 0 !important;
}

/* "Request Quote" Link Styling */
.request-quote-link {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #ff5722 !important; /* Theme Primary Orange */
    background: #fff0eb !important;
    padding: 4px 12px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    margin-top: 6px !important;
    transition: all 0.3s ease-in-out !important;
}

.request-quote-link i {
    font-size: 12px !important;
    transition: transform 0.2s ease !important;
}

/* Hover Effect */
.request-quote-link:hover {
    background: #ff5722 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
}

.request-quote-link:hover i {
    transform: translateX(3px);
}

/* 7. Mobile View (Stack into 1 column) */
@media (max-width: 768px) {
    .woocommerce-account .woocommerce-MyAccount-content .col2-set,
    .woocommerce-account .woocommerce-Addresses {
        flex-direction: column !important;
    }
    .woocommerce-account .col2-set .col-1,
    .woocommerce-account .col2-set .col-2,
    .woocommerce-account .woocommerce-Address {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* 6. Responsive Design (Mobile / Tablet) */
@media (max-width: 991px) {
    .woocommerce-account .woocommerce {
        flex-direction: column !important;
    }
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        width: 100% !important;
        min-width: 100% !important;
    }
    .custom-dash-cards {
        grid-template-columns: 1fr !important;
    }
}