/*
Theme Name: Astra Child
Theme URI: arulmjoseph.com
Template: astra
Author: arulmjoseph
Author URI: arulmjoseph.com
Description: Custom child theme for Astra
Version: 1.0.0
Text Domain: astra-child
*/

/* Global Mobile Horizontal Scroll Guard */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

#page,
.site,
.site-content {
    overflow-x: clip;
    max-width: 100% !important;
}

/* Ensure Header Containers Allow Submenu Overflow */
#masthead,
.site-header,
.site-header .ast-container,
#masthead .ast-container,
.site-header-focus-item,
.ast-main-header-wrap,
.main-header-bar-wrap,
.main-header-bar,
.ast-primary-header-bar,
.site-primary-header-wrap,
.ast-builder-grid-row,
.ast-builder-menu-1,
.main-header-menu {
    overflow: visible !important;
}

/* Desktop Header Dropdown Submenu Mechanics */
.ast-desktop .main-header-menu .menu-item {
    position: relative !important;
}

.ast-desktop .main-header-menu .sub-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    width: max-content !important;
    min-width: 190px !important;
    max-width: 240px !important;
    background-color: #ffffff !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12) !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    border-top: none !important;
    padding: 6px 0 !important;
    margin: 0 !important;
    list-style: none !important;
    z-index: 99999 !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translateY(8px) !important;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease !important;
    pointer-events: none !important;
}

.ast-desktop .main-header-menu .menu-item:hover > .sub-menu,
.ast-desktop .main-header-menu .menu-item.focus > .sub-menu,
.ast-desktop .main-header-menu .menu-item-has-children:hover > .sub-menu {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.ast-desktop .main-header-menu .sub-menu .menu-item {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

.ast-desktop .main-header-menu .sub-menu .menu-link {
    display: block !important;
    padding: 7px 16px !important;
    color: #334155 !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: background 0.15s ease, color 0.15s ease !important;
}

.ast-desktop .main-header-menu .sub-menu .menu-link:hover {
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
}



/* Custom CSS Ported from Martfury Customizer Options */

.mf-banner-large.layout-3 { display: flex;}

@media(min-width:1200px){
    .container2{
        width:75%!important;
    }
}
@media(min-width:1200px){
.product-inner {
   /* background: #fff;
    margin-right: 10px;
    border: 1px solid #dbdbdb!important; */
        transition: 0.5s;
}
.product-inner:hover {
/*     background: #fff;
    margin-right: 10px;
    border: 1px solid #c12126!important; */
}
}

.mf-rating {
    display: none!important;
}
.border.sidesection {
    border: 1px solid #ccc;
    padding: 19px;
}
div#topbar {
    background: #e5e5e5;
    padding: 5px; 
}

.topbar .topbar-sidebar {
    padding: 0px;
}
.cat-header {
    display: none!important;
}
ul.flex-direction-nav {
    position: absolute;
    top: 40%;
    z-index: 99;
    width: 85%;
    right: 0;
    margin: 0;
    padding: 0px;
    list-style: none;
}
li.flex-nav-prev {
    float: left;
}
li.flex-nav-next {
    float: right;
}
a.flex-next {
    visibility: hidden;
}
a.flex-prev {
    visibility: hidden;
}
a.flex-next::after {
    visibility: visible;
     content: "\e93c";
    font-family: 'Linearicons' !important;
    margin-right: 10px;
    font-size: 20px;
    font-weight: bold;
}
a.flex-prev::before {
    visibility: visible;
   content: "\e93b";
    font-family: 'Linearicons' !important;
    margin-left: 10px;
    font-size: 20px;
    font-weight: bold;
}
ul.flex-direction-nav li a {
    color: #403f3f;
}
ul.flex-direction-nav li a:hover {
    text-decoration: none;
}
a.flex-prev::before,
a.flex-next::after {
    background: #ffffff85;
    padding: 10px 10px;
    border-radius: 100px;
   
}
h3.lfb_totalBottom {
    display: none;
}
#finalSlide h2.lfb_stepTitle.positioned {
    display: none;
}
.custom {
    background: #fbf9e1;
    padding: 8px 18px;
    margin-bottom: 33px;
}

body #lfb_form.lfb_bootstraped[data-form="5"] #lfb_mainPanel .lfb_genSlide div.lfb_selectable:not(.checked) .img{
    filter: none!important;
}
.float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 130px;
    right: 32px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display:flex;
    align-items:center;
    justify-content:center;
}

.my-float {
    margin-top: 16px;
}

.my-float svg {
    margin-top: 16px;
}
.process .martfury-icon-box{
    background: #fff;
    padding: 0 20px 20px;
    border-radius: 6px;
    min-height: 360px;
   
}

.process .mf-icon i{
    font-size:50px;
}
.process{
    padding: 40px 0;
}
.process h3{
    font-size: 18px;
}
.fabout p{
    font-size: 12px!important;
}
.site-footer .footer-links .widget_nav_menu .widget-title {
    font-size: 19px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
    padding-right: 15px;
    padding-left: 10px;
}
.footer-links  a {text-transform: uppercase; font-size: 13px}
@media(max-width: 600px){
    .border.sidesection {
    margin: 0 15px 20px;
    width: 94%;
    background: #fff;
    border-radius: 4px;
}
    .process .martfury-icon-box{
        margin-bottom: 10px;
    }
}
.vall a{
    background-color: transparent!important;
    color: red!important;
        padding:5px 0!important;
    font-size: 18px;
    font-weight: bold!important;
    text-decoration: underline;
    text-transform: uppercase;
}
.catbox img{max-height: 30px;
    min-height: 30px;
    width: auto;
}
.catbox .mf-image-box h3 {
    font-size:12px!important;
}
.catbox .mf-image-box{
    padding:10px;
}
@media(max-width: 768px){
    .catbox .mf-image-box{
    margin-bottom: 15px;
}
}
.my6col .col-xs-6 {
    width: 50%!important;
}
@media(max-width: 768px){
    .hidemob{
      display: none;
    }
}
.maxwidth{
    max-width: 1100px;
    margin: 0 auto
}
tr#lfb_summaryTotalTr {
    display: none;
}

@media(min-width:1200px){
    
    .single-product div#content .container {
    width: 85%;
}
}
h2.mobile-nav-header__title {
    display: none;
}

/* Additional port for quick_contact buttons */
.quick_contact {
    z-index: 1000;
    position: relative;
}
.quick_contact a { position: fixed; width: 60px; height: 60px; right: 18px; color: #fff; border-radius: 50px; text-align: center; font-size: 20px; box-shadow: 0 10px 20px rgba(0, 0, 0, .2); z-index: 100; transition: transform .5s ease; display: flex; align-items: center; justify-content: center; }
.qwhtsapp { bottom: 50px; background-color: #25d366 }
.qcall { bottom: 64px; background-color: #2196f3 }
.quick_contact_icon { margin-top: 10px }
.quick_contact a:hover { transform: scale(1.1) }
.quick_contact svg { width: 30px; height: 30px; }
.site-footer .footer-widgets:after{
    content: none;
}
.footer-inf {
    border-top: 1px solid #ccc;
     border-bottom: 1px solid #ccc;
    padding: 20px 0;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}
.single-post-header.layout-2.has-bg .featured-image:before {
    background-color: rgb(0 0 0 / 82%);
}
span.entry-author.entry-meta {
    display: none;
}

/* Prevent Tailwind columns class conflicts on WooCommerce body, grids, and elements */
body.columns-1, body.woocommerce-columns-1, .woocommerce ul.products.columns-1, .columns-1,
body.columns-2, body.woocommerce-columns-2, .woocommerce ul.products.columns-2, .columns-2,
body.columns-3, body.woocommerce-columns-3, .woocommerce ul.products.columns-3, .columns-3,
body.columns-4, body.woocommerce-columns-4, .woocommerce ul.products.columns-4, .columns-4,
body.columns-5, body.woocommerce-columns-5, .woocommerce ul.products.columns-5, .columns-5,
body.columns-6, body.woocommerce-columns-6, .woocommerce ul.products.columns-6, .columns-6 {
    columns: auto !important;
}

/* Variation swatches - Square and Larger overrides */
.wcboost-variation-swatches__item,
.wcboost-variation-swatches__item img,
.wcboost-variation-swatches--round .wcboost-variation-swatches__item,
.wcboost-variation-swatches--round .wcboost-variation-swatches__item img {
    border-radius: 4px !important;
}

.wcboost-variation-swatches {
    --wcboost-swatches-item-width: 44px !important;
    --wcboost-swatches-item-height: 44px !important;
}

/* Hide product tags from single product page meta */
.single-product .product_meta .tagged_as {
    display: none !important;
}

/* Remove double separator lines above single product metadata */
.single-product div.product form.cart {
    border-bottom: none !important;
}

/* WooCommerce Archive Shop Grid Overrides */
.woocommerce ul.products,
.woocommerce ul.products.columns-4 {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px !important;
}

.woocommerce ul.products.columns-3 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    content: none !important;
}

@media (max-width: 1024px) {
    .woocommerce ul.products,
    .woocommerce ul.products.columns-4,
    .woocommerce ul.products.columns-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .woocommerce ul.products,
    .woocommerce ul.products.columns-4,
    .woocommerce ul.products.columns-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px !important;
    }
}

.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

/* WooCommerce Single Product Gallery Thumbnails Overrides */
.woocommerce div.product div.images .flex-control-thumbs {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    padding: 12px 0 0 0 !important;
    margin: 0 !important;
    list-style: none !important;
}

.woocommerce div.product div.images .flex-control-thumbs li {
    width: 75px !important; /* Fixed width to prevent stretching */
    height: 75px !important; /* Fixed height to prevent stretching */
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    width: 75px !important;
    height: 75px !important;
    object-fit: cover !important; /* Crops cleanly to prevent stretching */
    border-radius: 8px !important; /* Rounded corners */
    border: 2px solid transparent !important;
    transition: all 0.25s ease !important;
    opacity: 0.75 !important;
    cursor: pointer !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
    opacity: 1 !important;
}

.woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
    border-color: #21232c !important; /* Dark graphite border for active thumb */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08) !important;
}

/* Single Product Page Custom Enquiry Buttons Style Overrides */
.wc-enquiry-buttons-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
}

.wc-enquiry-buttons-container .wc-enquiry-add-to-cart-btn,
.wc-enquiry-buttons-container .wc-enquiry-direct-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 10px !important;
    flex-direction: row !important;
    padding: 12px 24px !important;
    height: 48px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    border-radius: 8px !important;
    text-transform: none !important;
    box-shadow: none !important;
    transition: all 0.25s ease !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
}

/* 1. Add to Enquiry Cart Button */
.wc-enquiry-buttons-container .wc-enquiry-add-to-cart-btn {
    background-color: #21232c !important;
    color: #ffffff !important;
    border: 1px solid #21232c !important;
}

.wc-enquiry-buttons-container .wc-enquiry-add-to-cart-btn:hover {
    background-color: #c12228 !important;
    color: #ffffff !important;
    border-color: #c12228 !important;
}

/* 2. Enquire About This Product Button */
.wc-enquiry-buttons-container .wc-enquiry-direct-btn {
    background-color: #ffffff !important;
    color: #21232c !important;
    border: 1px solid #d1d5db !important; /* border-slate-300 */
}

.wc-enquiry-buttons-container .wc-enquiry-direct-btn:hover {
    background-color: #c12228 !important; /* #c12228 red hover background */
    color: #ffffff !important;           /* white text */
    border-color: #c12228 !important;
}

.wc-enquiry-buttons-container .wc-enquiry-direct-btn:hover svg,
.wc-enquiry-buttons-container .wc-enquiry-direct-btn:hover svg *,
.wc-enquiry-buttons-container .wc-enquiry-direct-btn:hover span,
.wc-enquiry-buttons-container .wc-enquiry-add-to-cart-btn:hover svg,
.wc-enquiry-buttons-container .wc-enquiry-add-to-cart-btn:hover svg *,
.wc-enquiry-buttons-container .wc-enquiry-add-to-cart-btn:hover span {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

/* Ensure SVG icons inside buttons have fixed dimensions and do not stack */
.wc-enquiry-buttons-container .wc-enquiry-add-to-cart-btn svg,
.wc-enquiry-buttons-container .wc-enquiry-direct-btn svg {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    display: inline-block !important;
    margin: 0 !important;
    flex-shrink: 0 !important;
}

/* WooCommerce Variation Swatches Button Style Overrides */
.wcboost-variation-swatches--button .wcboost-variation-swatches__item {
    background-color: #ffffff !important;
    color: #374151 !important; /* text-slate-700 */
    border: 1px solid #e5e7eb !important; /* border-slate-200 */
    border-radius: 8px !important;
    padding: 10px 18px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    min-height: auto !important;
    min-width: auto !important;
    height: auto !important;
    width: auto !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}

.wcboost-variation-swatches--button .wcboost-variation-swatches__item:hover {
    border-color: #9ca3af !important; /* border-slate-400 */
    background-color: #f9fafb !important;
}

.wcboost-variation-swatches--button .wcboost-variation-swatches__item.selected {
    border: 2px solid #000000 !important; /* thick black border */
    color: #000000 !important;
    font-weight: 700 !important;
    background-color: #ffffff !important;
}

/* Center WooCommerce & Astra Pagination */
.woocommerce-pagination,
.ast-pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 40px 0 !important;
    float: none !important;
    clear: both !important;
}

/* Fixed Pagination Row Layout - Prevents Collapse & Double Outlines */
.woocommerce-pagination,
.ast-pagination,
.woocommerce-pagination nav,
.ast-pagination nav {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    clear: both !important;
    margin: 30px 0 !important;
}

.woocommerce-pagination ul.page-numbers,
.ast-pagination ul.page-numbers {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 auto !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    width: auto !important;
    max-width: 100% !important;
}

.woocommerce-pagination ul.page-numbers li,
.ast-pagination ul.page-numbers li {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    display: inline-block !important;
    width: auto !important;
    min-width: 40px !important;
    height: 40px !important;
    float: left !important;
    flex: 0 0 auto !important;
}

/* Pagination buttons styling - Single clean border & zero outer outline */
.woocommerce-pagination ul.page-numbers li a,
.woocommerce-pagination ul.page-numbers li span,
.ast-pagination ul.page-numbers li a,
.ast-pagination ul.page-numbers li span,
.woocommerce-pagination .page-numbers,
.ast-pagination .page-numbers {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
    border: 1px solid #e2e8f0 !important;
    outline: none !important;
    box-shadow: none !important;
    background-color: #ffffff !important;
    color: #334155 !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    transition: all 0.2s ease !important;
    text-decoration: none !important;
    flex: 0 0 auto !important;
}

/* Active page pagination button styling: BLACK BUTTON */
.woocommerce-pagination ul.page-numbers li span.current,
.woocommerce-pagination ul.page-numbers li a:hover,
.ast-pagination ul.page-numbers li span.current,
.ast-pagination ul.page-numbers li a:hover,
.woocommerce-pagination .page-numbers.current,
.ast-pagination .page-numbers.current {
    background-color: #21232c !important; /* dark graphite / black */
    color: #ffffff !important;
    border-color: #21232c !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Custom checkmark list style for single product description tab */
.woocommerce-Tabs-panel--description ul,
.woocommerce-Tabs-panel--description ol,
.product-description-content ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 20px 0 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important; /* Proper vertical spacing between items */
}

.woocommerce-Tabs-panel--description ul li,
.woocommerce-Tabs-panel--description ol li,
.product-description-content ul li {
    position: relative !important;
    padding-left: 32px !important; /* Horizontal gap between icon and text */
    line-height: 1.6 !important;
    color: #4b5563 !important; /* text-slate-600 */
    margin: 0 !important;
}

/* Black round background with white check mark bullet icon */
.woocommerce-Tabs-panel--description ul li::before,
.product-description-content ul li::before {
    content: "" !important;
    position: absolute !important;
    left: 0 !important;
    top: 3px !important; /* Vertical alignment with top of first text line */
    width: 20px !important;
    height: 20px !important;
    background-color: #21232c !important; /* Black round background */
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") !important;
    background-size: 11px 11px !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* Make Related Products and Upsells Headings Big and Bold */
.woocommerce section.related.products > h2,
.woocommerce section.up-sells > h2,
.woocommerce .related.products h2,
.woocommerce .related.products h2.woocommerce-loop-header__title {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #21232c !important;
    margin-bottom: 24px !important;
    text-transform: none !important;
    letter-spacing: -0.5px !important;
}

/* Swiper Slider Custom Overrides */
.hero-swiper .swiper-pagination-bullet-active {
    background: #059669 !important; /* emerald-600 */
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    color: #ffffff !important;
    background: rgba(15, 23, 42, 0.5) !important; /* Semi-transparent background */
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    transition: all 0.2s ease !important;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: rgba(15, 23, 42, 0.8) !important;
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 14px !important;
    font-weight: bold !important;
}

/* Contact Form 7 Premium Styling Overrides */
.wpcf7 form {
    margin: 0 !important;
}

/* Form Groups Layout & Labels */
.wpcf7-form p {
    margin-bottom: 20px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
}

.wpcf7-form label {
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #334155 !important; /* slate-700 */
    letter-spacing: -0.1px !important;
}

/* Input Fields & Textareas */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100% !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    color: #1e293b !important; /* slate-800 */
    background-color: #ffffff !important;
    border: 1px solid #cbd5e1 !important; /* slate-300 */
    border-radius: 10px !important; /* rounded-xl */
    outline: none !important;
    transition: all 0.25s ease-in-out !important;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important;
}

/* Hover State */
.wpcf7-form input[type="text"]:hover,
.wpcf7-form input[type="email"]:hover,
.wpcf7-form input[type="tel"]:hover,
.wpcf7-form select:hover,
.wpcf7-form textarea:hover {
    border-color: #94a3b8 !important; /* slate-400 */
}

/* Focus State */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: #059669 !important; /* emerald-600 */
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12) !important; /* emerald glow */
    background-color: #ffffff !important;
}

/* Textarea height */
.wpcf7-form textarea {
    height: 120px !important;
    resize: vertical !important;
}

/* Select element customization */
.wpcf7-form select {
    cursor: pointer !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2.5' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px !important;
    padding-right: 40px !important;
}

/* Submit Button */
.wpcf7-form input[type="submit"] {
    width: 100% !important;
    background-color: #059669 !important; /* emerald-600 */
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    padding: 14px 28px !important;
    border: none !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 6px -1px rgba(5, 150, 105, 0.15), 0 2px 4px -1px rgba(0, 0, 0, 0.06) !important;
    margin-top: 10px !important;
    text-transform: none !important;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #047857 !important; /* emerald-700 */
    box-shadow: 0 10px 15px -3px rgba(5, 150, 105, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    transform: translateY(-1px) !important;
}

.wpcf7-form input[type="submit"]:active {
    transform: translateY(0px) !important;
}

/* validation error tips */
.wpcf7-not-valid-tip {
    color: #dc2626 !important; /* red-600 */
    font-size: 12px !important;
    font-weight: 600 !important;
    margin-top: 5px !important;
    display: block !important;
}

/* Submit state and responses output box */
.wpcf7-response-output {
    margin: 20px 0 0 0 !important;
    padding: 14px 18px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
}

/* Success Message */
.wpcf7 form.sent .wpcf7-response-output {
    background-color: #f0fdf4 !important; /* green-50 */
    border: 1px solid #bbf7d0 !important; /* green-200 */
    color: #15803d !important; /* green-700 */
}

/* Error/Validation Message */
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output {
    background-color: #fef2f2 !important; /* red-50 */
    border: 1px solid #fecaca !important; /* red-200 */
    color: #b91c1c !important; /* red-700 */
}

/* Loader Animation alignment */
.wpcf7-spinner {
    margin: 15px auto 0 auto !important;
    display: block !important;
}

/* Black & White Brand Styling Overrides */

/* 1. Global Buttons Override */
button,
html input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
.button.alt,
.wp-block-button__link {
    background-color: #21232c !important; /* solid graphite/black */
    color: #ffffff !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    border: 1px solid #21232c !important;
}

button:hover,
html input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover,
.button.alt:hover,
.wp-block-button__link:hover {
    background-color: #475569 !important; /* dark gray */
    color: #ffffff !important;
    border-color: #475569 !important;
}

/* 2. Overrides for any elements built with Tailwind Emerald colors */
.bg-emerald-600,
.bg-emerald-700,
.hover\:bg-emerald-700:hover,
.hover\:bg-emerald-800:hover {
    background-color: #21232c !important; /* black */
    color: #ffffff !important;
}

.bg-emerald-600:hover,
.bg-emerald-700:hover,
.hover\:bg-emerald-700:hover {
    background-color: #475569 !important; /* dark gray */
}

/* 3. WooCommerce Single Product Enquiry Buttons */
.wc-enquiry-buttons-container .wc-enquiry-add-to-cart-btn {
    background-color: #21232c !important;
    color: #ffffff !important;
    border: 1px solid #21232c !important;
    width: 100% !important;
}

.wc-enquiry-buttons-container .wc-enquiry-add-to-cart-btn:hover {
    background-color: #c12228 !important;
    color: #ffffff !important;
    border-color: #c12228 !important;
}

.wc-enquiry-buttons-container .wc-enquiry-direct-btn {
    background-color: #ffffff !important;
    color: #21232c !important;
    border: 1px solid #cbd5e1 !important;
    width: 100% !important;
}

.wc-enquiry-buttons-container .wc-enquiry-direct-btn:hover {
    background-color: #c12228 !important;
    color: #ffffff !important;
    border-color: #c12228 !important;
}

/* 4. Contact Form 7 Submit Button */
.wpcf7-form input[type="submit"] {
    background-color: #21232c !important;
    color: #ffffff !important;
    border: 1px solid #21232c !important;
}

.wpcf7-form input[type="submit"]:hover {
    background-color: #475569 !important;
    border-color: #475569 !important;
}

/* 5. Custom Requirements Card Info Links */
.wc-enquiry-custom-box a {
    color: #21232c !important;
    font-weight: 700 !important;
}

.wc-enquiry-custom-box a:hover {
    color: #475569 !important;
}

/* 6. Text Links and Badges */
a.text-emerald-600,
a.text-emerald-700 {
    color: #21232c !important;
}
a.text-emerald-600:hover,
a.text-emerald-700:hover {
    color: #475569 !important;
}

.bg-emerald-50 {
    background-color: #f8fafc !important; /* light slate */
}
.text-emerald-600,
.text-emerald-700 {
    color: #475569 !important; /* dark slate/gray */
}

/* Outlined Floating Labels for Enquiry Forms */
.wc-enquiry-floating-group {
    position: relative !important;
    margin-top: 22px !important;
    margin-bottom: 14px !important;
}

.wc-enquiry-floating-group label {
    position: absolute !important;
    top: -9px !important;
    left: 12px !important;
    background-color: #ffffff !important;
    padding: 0 4px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #475569 !important; /* slate-600 */
    text-transform: none !important;
    letter-spacing: -0.1px !important;
    z-index: 10 !important;
    pointer-events: none !important;
    line-height: 1 !important;
}

.wc-enquiry-floating-group input[type="text"],
.wc-enquiry-floating-group input[type="email"],
.wc-enquiry-floating-group input[type="tel"],
.wc-enquiry-floating-group textarea,
.wc-enquiry-floating-group select {
    width: 100% !important;
    height: auto !important;
    padding: 14px 12px !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    z-index: 1 !important;
    border: solid 1px #ddd !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    color: #1e293b !important;
    background-color: #ffffff !important;
    outline: none !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
}

/* Focus Glows */
.wc-enquiry-floating-group input[type="text"]:focus,
.wc-enquiry-floating-group input[type="email"]:focus,
.wc-enquiry-floating-group input[type="tel"]:focus,
.wc-enquiry-floating-group textarea:focus,
.wc-enquiry-floating-group select:focus {
    border-color: #21232c !important; /* graphite/black */
    box-shadow: 0 0 0 3px rgba(33, 35, 44, 0.08) !important;
}

/* Hover Border */
.wc-enquiry-floating-group input[type="text"]:hover,
.wc-enquiry-floating-group input[type="email"]:hover,
.wc-enquiry-floating-group input[type="tel"]:hover,
.wc-enquiry-floating-group textarea:hover,
.wc-enquiry-floating-group select:hover {
    border-color: #94a3b8 !important;
}

.wc-enquiry-floating-group textarea {
    height: 110px !important;
    resize: vertical !important;
}

/* Full Width Submit Buttons */
#wc-enquiry-cart-submission-form div.pt-2,
#wc-enquiry-modal-quick-form div.pt-2 {
    width: 100% !important;
}

#wc-enquiry-cart-submission-form button[type="submit"],
#wc-enquiry-modal-quick-form button[type="submit"] {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #21232c !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    padding: 15px 28px !important;
    border-radius: 6px !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    margin-top: 6px !important;
}

#wc-enquiry-cart-submission-form button[type="submit"]:hover,
#wc-enquiry-modal-quick-form button[type="submit"]:hover {
    background-color: #475569 !important;
}

/* Force global high-specificity overrides against Astra theme's fixed 40px height */
html body input[type="text"],
html body input[type="email"],
html body input[type="url"],
html body input[type="password"],
html body input[type="search"],
html body input[type="tel"],
html body input[type="date"],
html body select {
    height: auto !important;
}

/* Product Category Page Entry Banner & Mobile/Tablet Layout Overrides */
.archive.tax-product_cat .ast-archive-entry-banner,
.archive .ast-archive-entry-banner,
.tax-product_cat .ast-archive-entry-banner,
.ast-archive-entry-banner {
    padding-top: 100px !important; /* Clears 80px fixed header + 20px inner banner padding */
    padding-bottom: 30px !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    background-color: #f8fafc !important; /* Neutral light slate background */
    border-bottom: 1px solid #e2e8f0 !important;
}

.archive.tax-product_cat .ast-archive-entry-banner h1 {
    font-size: 32px !important;
    font-weight: 700 !important;
    color: #21232c !important; /* Graphite brand title */
    margin: 0 !important;
    letter-spacing: -0.5px !important;
    line-height: 1.2 !important;
}

/* Fix header-to-body spacing, admin bar overlap, and side padding on tablet & mobile */
@media (max-width: 921px) {
    .ast-header-break-point .main-header-bar {
        border-bottom: 1px solid #e2e8f0 !important;
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    .ast-container,
    .ast-archive-entry-banner,
    .woocommerce-page #content .ast-container,
    .archive .site-content .ast-container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .archive.tax-product_cat .ast-archive-entry-banner,
    .archive .ast-archive-entry-banner,
    .tax-product_cat .ast-archive-entry-banner,
    .ast-archive-entry-banner {
        padding-top: 90px !important;
        padding-bottom: 24px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .archive.tax-product_cat .ast-archive-entry-banner h1 {
        font-size: 26px !important;
    }
}

/* Reset Astra Mobile Menu and Dropdown Toggles from inheriting global button styles */
.ast-header-break-point button.menu-toggle,
.ast-header-break-point button.ast-menu-toggle,
.ast-header-break-point button.menu-toggle-close,
.ast-header-break-point button.ast-mobile-popup-close,
.ast-header-break-point .ast-menu-toggle,
.ast-header-break-point .menu-toggle-close,
.ast-header-break-point .ast-mobile-popup-close,
.ast-header-break-point .ast-mobile-popup-close * {
    background: transparent !important;
    border: none !important;
    color: #475569 !important; /* slate-600 */
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    outline: none !important;
}

/* Remove active focus dotted outlines on mobile menu toggle buttons */
.ast-header-break-point .ast-menu-toggle:focus,
.ast-header-break-point .menu-toggle:focus,
.ast-header-break-point .menu-toggle-close:focus,
.ast-header-break-point .ast-mobile-popup-close:focus,
.ast-header-break-point .ast-menu-toggle:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* Submenu dropdown toggle icon styling */
.ast-header-break-point .ast-menu-toggle,
.ast-header-break-point .ast-menu-toggle .ast-icon {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #475569 !important;
}

/* Ensure mobile menu item container holds dropdown toggle cleanly on the right */
.ast-header-break-point .main-header-menu .menu-item {
    position: relative !important;
}

.ast-header-break-point .main-header-menu .menu-item-has-children > .ast-menu-toggle {
    position: absolute !important;
    right: 12px !important;
    top: 14px !important;
    margin: 0 !important;
    padding: 4px 8px !important;
    z-index: 10 !important;
}

/* Remove stray left arrows/bullets on mobile submenu items */
.ast-header-break-point .main-header-menu .sub-menu .menu-item::before,
.ast-header-break-point .main-header-menu .sub-menu .menu-link::before,
.ast-header-break-point .main-header-menu .sub-menu .menu-link .ast-icon,
.ast-header-break-point .main-header-menu .sub-menu .menu-link svg {
    display: none !important;
}

/* Mobile Submenu Child Item Spacing & Indentation Overrides */
.ast-header-break-point .main-header-menu .sub-menu,
.ast-mobile-popup-content .sub-menu {
    padding: 4px 0 6px 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

.ast-header-break-point .main-header-menu .sub-menu .menu-item,
.ast-mobile-popup-content .sub-menu .menu-item {
    margin: 0 !important;
    padding: 0 !important;
}

.ast-header-break-point .main-header-menu .sub-menu .menu-link,
.ast-header-break-point .main-header-menu .sub-menu a,
.ast-mobile-popup-content .sub-menu .menu-link,
.ast-mobile-popup-content .sub-menu a {
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 8px 18px 8px 28px !important; /* Balanced vertical spacing and clean indentation */
    line-height: 1.4 !important;
    color: #475569 !important;
    display: block !important;
    transition: color 0.15s ease, background-color 0.15s ease !important;
}

/* Mobile Menu & Submenu Items Hover Style: Clean Slate Gray */
.ast-header-break-point .main-header-menu .menu-item > .menu-link:hover,
.ast-header-break-point .main-header-menu .menu-item > a:hover,
.ast-mobile-popup-content .main-header-menu .menu-item > a:hover,
.ast-header-break-point .main-header-menu .sub-menu .menu-link:hover,
.ast-header-break-point .main-header-menu .sub-menu a:hover,
.ast-mobile-popup-content .sub-menu .menu-link:hover,
.ast-mobile-popup-content .sub-menu a:hover,
.ast-header-break-point .main-header-menu .menu-item.current-menu-item > a,
.ast-mobile-popup-content .menu-item.current-menu-item > a {
    color: #0f172a !important; /* Dark Slate Gray */
    background-color: #f1f5f9 !important; /* Clean Light Slate Gray background */
    font-weight: 600 !important;
}

/* Remove default focus ring outline/border from Astra header cart links */
.ast-site-header-cart,
.ast-site-header-cart-link,
.ast-site-header-cart-link *,
.ast-site-header-cart-icon,
.ast-site-header-cart-wrap,
.ast-site-header-cart-wrap * {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
}
/* Fix line-clamp overflow & ellipsis (...) on product titles */
.line-clamp-1 {
    display: -webkit-box !important;
    -webkit-line-clamp: 1 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.woocommerce ul.products li.product h3, .woocommerce ul.products li.product .woocommerce-loop-product__title, .line-clamp-2 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-height: 3.2em !important;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .woocommerce ul.products li.product h3,
    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 13px !important;
        line-height: 1.3 !important;
        max-height: 3.2em !important;
    }
    
    .woocommerce ul.products li.product .wc-enquiry-add-to-cart-btn,
    .wc-enquiry-add-to-cart-btn {
        width: 100% !important;
        justify-content: center !important;
        padding: 7px 10px !important;
        font-size: 11.5px !important;
        border-radius: 8px !important;
    }

    .wc-enquiry-btn-text {
        display: inline-block !important;
        line-height: 1 !important;
        text-align: center !important;
    }
}

/* Product Card Add to Quote button styling */
.woocommerce ul.products li.product .wc-enquiry-add-to-cart-btn {
    padding: 8px 12px !important;
    font-size: 12px !important;
    border-radius: 8px !important;
}

/* Responsive Product Category Bottom Description Box */
.product-category-description-bottom-container {
    width: 100% !important;
    max-width: 100% !important;
}

/* Force ALL text, headings, spans, paragraphs, and inline styled elements to be dark/black */
.product-category-description-bottom,
.product-category-description-bottom *,
.product-category-description-bottom [style*="color"],
.product-category-description-bottom p,
.product-category-description-bottom span,
.product-category-description-bottom div,
.product-category-description-bottom li,
.product-category-description-bottom ul,
.product-category-description-bottom ol,
.product-category-description-bottom strong,
.product-category-description-bottom b,
.product-category-description-bottom em {
    color: #1e293b !important;
}

.product-category-description-bottom h1,
.product-category-description-bottom h2,
.product-category-description-bottom h3,
.product-category-description-bottom h4,
.product-category-description-bottom h5,
.product-category-description-bottom h6 {
    color: #0f172a !important;
    font-weight: 700 !important;
}

.product-category-description-bottom a {
    color: #0f172a !important;
    text-decoration: underline !important;
}

.product-category-description-bottom table {
    width: 100% !important;
    display: block !important;
    overflow-x: auto !important;
    white-space: normal !important;
    word-break: break-word !important;
}

.product-category-description-bottom table td,
.product-category-description-bottom table th {
    word-break: break-word !important;
    color: #1e293b !important;
}

@media (max-width: 640px) {
    .product-category-description-bottom-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-top: 20px !important;
        margin-bottom: 20px !important;
    }
    
    .product-category-description-bottom {
        padding: 16px !important;
        border-radius: 12px !important;
    }

    .product-category-description-bottom h2 {
        font-size: 20px !important;
        margin-top: 0 !important;
        margin-bottom: 12px !important;
        color: #0f172a !important;
    }

    .product-category-description-bottom p {
        font-size: 13px !important;
        line-height: 1.6 !important;
        margin-bottom: 12px !important;
        color: #1e293b !important;
    }
/* Reduce homepage mobile left/right side spacing to minimum */
@media (max-width: 640px) {
    .home #primary section,
    .home .site-content section {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
}

/* Force all product grid images to fill 100% width & height of the card header edge-to-edge */
.woocommerce ul.products li.product .aspect-square,
.woocommerce ul.products li.product .aspect-square a,
.aspect-square,
.aspect-square a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.woocommerce ul.products li.product .aspect-square img,
.woocommerce ul.products li.product img,
.aspect-square img {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center !important;
}

/* Clean, light border for category page and product grid cards */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product,
.woocommerce ul.products li.product.bg-white,
.archive.tax-product_cat ul.products li.product {
    border: 1px solid #e2e8f0 !important;
    border-color: #e2e8f0 !important;
    border-style: solid !important;
    border-width: 1px !important;
    border-radius: 1rem !important;
}

/* Hide Guaranteed Safe Checkout section on Single Product Pages */
.single-product .ast-single-product-payments,
.single-product .ast-safe-checkout,
.single-product .safe-checkout,
.single-product .guaranteed-safe-checkout,
.single-product .single-product-payment-trust-badge,
.single-product .ast-product-single-payment,
.single-product [class*="safe-checkout"],
.single-product [class*="safe_checkout"],
.single-product [class*="payment-icons"],
.single-product [class*="payment_icons"],
.single-product fieldset.safe-checkout,
.single-product .checkout-badges,
.single-product form.cart + fieldset,
.single-product .elementor-widget-woocommerce-product-data-tabs + div fieldset {
    display: none !important;
}

/* Fix quantity input text visibility in enquiry cart table & hide spinners */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

input[type=number] {
    -moz-appearance: textfield !important;
}

.wc-enquiry-qty-input,
.quantity input.qty,
.woocommerce .quantity input.qty,
input[type="number"].wc-enquiry-qty-input,
input.wc-enquiry-qty-input {
    color: #0f172a !important; /* Deep dark slate text */
    background-color: #ffffff !important;
    background: #ffffff !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-align: center !important;
    opacity: 1 !important;
    -webkit-text-fill-color: #0f172a !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 36px !important;
    line-height: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Floating Enquiry Cart Badge Green Color & Heartbeat/Pulse Animation */
.wc-enquiry-floating-cart-widget a,
.wc-enquiry-floating-cart-widget.active a {
    background-color: #16a34a !important; /* Vibrant green background */
    color: #ffffff !important;
    animation: wc_enquiry_heartbeat 2.2s infinite ease-in-out, wc_enquiry_pulse_glow 2s infinite !important;
    transform-origin: center center !important;
    box-shadow: 0 10px 25px -5px rgba(22, 163, 74, 0.5) !important;
}

.wc-enquiry-cart-count {
    background-color: #15803d !important; /* Darker green badge counter */
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    animation: wc_enquiry_badge_bounce 2.2s infinite ease-in-out !important;
}

@keyframes wc_enquiry_heartbeat {
    0%, 100% { transform: scale(1); }
    14% { transform: scale(1.15); }
    28% { transform: scale(1); }
    42% { transform: scale(1.15); }
    70% { transform: scale(1); }
}

@keyframes wc_enquiry_pulse_glow {
    0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
    70% { box-shadow: 0 0 0 16px rgba(22, 163, 74, 0); }
    100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

@keyframes wc_enquiry_badge_bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* Mobile Responsive Enquiry Cart Table Styling */
@media (max-width: 640px) {
    .wc-enquiry-cart-table {
        min-width: 520px !important;
    }

    .wc-enquiry-cart-table th,
    .wc-enquiry-cart-table td {
        padding: 12px 10px !important;
    }

    .wc-enquiry-cart-table td:first-child {
        padding-left: 12px !important;
        min-width: 200px !important;
    }

    .wc-enquiry-cart-table td:last-child,
    .wc-enquiry-cart-table th:last-child {
        padding-right: 12px !important;
    }
}

/* ==========================================================================
   SLEEK MODERN BACK TO TOP BUTTON STYLING OVERRIDE
   ========================================================================== */
html body #ast-scroll-top,
html body .ast-scroll-top-icon,
html body #scroll-to-top,
html body #back-to-top {
    position: fixed !important;
    bottom: 28px !important;
    right: 28px !important;
    background-color: #21232c !important; /* Theme dark graphite brand color */
    color: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.2) !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important; /* Perfectly round circle */
    padding: 0 !important;
    margin: 0 !important;
    line-height: 0 !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.28), 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 99990 !important;
    outline: none !important;
    cursor: pointer !important;
    overflow: hidden !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

/* Proper display handling so Astra JS scroll toggle works */
html body #ast-scroll-top[style*="display: none"],
html body .ast-scroll-top-icon[style*="display: none"] {
    display: none !important;
}

html body #ast-scroll-top[style*="display: block"],
html body #ast-scroll-top:not([style*="display: none"]),
html body .ast-scroll-top-icon[style*="display: block"],
html body .ast-scroll-top-icon:not([style*="display: none"]) {
    display: inline-flex !important;
}

/* Hover State: Dark Accent with Elevation */
html body #ast-scroll-top:hover,
html body .ast-scroll-top-icon:hover,
html body #scroll-to-top:hover,
html body #back-to-top:hover {
    background-color: #0f172a !important; /* Deep dark navy on hover */
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: translateY(-3px) scale(1.06) !important;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.4) !important;
}

/* Active / Click State */
html body #ast-scroll-top:active,
html body .ast-scroll-top-icon:active,
html body #scroll-to-top:active,
html body #back-to-top:active {
    transform: translateY(-1px) scale(0.96) !important;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.3) !important;
}

/* Ensure screen-reader text doesn't interfere with flex centering */
html body #ast-scroll-top .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Inner Icon Container & Centering */
html body #ast-scroll-top .ast-icon,
html body #ast-scroll-top .ast-icon.icon-arrow,
html body .ast-scroll-top-icon .ast-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

/* Arrow Icon Alignment, Color, and Center Position */
html body #ast-scroll-top .ast-icon svg,
html body #ast-scroll-top .ast-icon-down,
html body #ast-scroll-top svg,
html body .ast-scroll-top-icon svg,
html body .ast-scroll-top-icon::before {
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    position: static !important;
    vertical-align: normal !important;
    transform: rotate(180deg) !important; /* Clears legacy Y-offset translation for dead-middle alignment */
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
}

/* Responsive adjustment on mobile: Enhanced visibility & crisp outline */
@media (max-width: 640px) {
    html body #ast-scroll-top,
    html body .ast-scroll-top-icon {
        bottom: 20px !important;
        right: 18px !important;
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        background-color: #21232c !important;
        border: 2px solid #ffffff !important; /* Crisp white outline for clear mobile visibility */
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.15) !important;
    }
}

/* Header Custom CTA Button - "Get a Quote" Theme Styling */
a.ast-custom-button-link,
.ast-custom-button-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}

a.ast-custom-button-link .ast-custom-button,
.ast-custom-button-link .ast-custom-button,
.ast-custom-button-link div.ast-custom-button,
.ast-header-button-1 .ast-custom-button,
.main-header-bar .ast-header-button-1 .ast-custom-button,
.header-cta-btn,
.menu-item-5480 > a,
.menu-item-e-quotation > a {
    background-color: #21232c !important; /* Theme #21232c dark graphite color */
    color: #ffffff !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    padding: 10px 22px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.2s ease-in-out !important;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15) !important;
    border: 1.5px solid #21232c !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
}

a.ast-custom-button-link:hover .ast-custom-button,
.ast-custom-button-link:hover .ast-custom-button,
.ast-custom-button-link:hover div.ast-custom-button,
.ast-header-button-1 .ast-custom-button:hover,
.main-header-bar .ast-header-button-1 .ast-custom-button:hover,
.header-cta-btn:hover,
.menu-item-5480 > a:hover,
.menu-item-e-quotation > a:hover {
    background-color: #0f172a !important;
    color: #ffffff !important;
    border-color: #0f172a !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25) !important;
}

a.ast-custom-button-link:active .ast-custom-button,
.ast-custom-button-link:active .ast-custom-button {
    transform: translateY(0) !important;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2) !important;
}

/* ==========================================================================
   PILL-OVERLAP QUANTITY SELECTOR STYLING
   ========================================================================== */
.quantity-label,
.quantity .screen-reader-text,
.wc-enquiry-cart-table th.product-quantity {
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #475569 !important;
}

.wc-enquiry-quantity-selector,
.woocommerce .quantity,
.quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 4px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Minus & Plus Dark Capsule Pills */
.wc-enquiry-quantity-selector button.wc-enquiry-qty-minus,
.wc-enquiry-quantity-selector button.wc-enquiry-qty-plus,
.woocommerce .quantity .minus,
.woocommerce .quantity .plus,
.quantity .minus,
.quantity .plus,
.ast-qs-button.ast-qs-minus,
.ast-qs-button.ast-qs-plus,
button.wc-enquiry-qty-minus,
button.wc-enquiry-qty-plus {
    width: 20px !important;
    height: 32px !important;
    min-width: 20px !important;
    max-width: 20px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    background-color: #21232c !important; /* Dark graphite theme color */
    color: #ffffff !important;
    border: none !important;
    border-radius: 9999px !important; /* Fully rounded capsule pill */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    z-index: 5 !important;
    transition: transform 0.15s ease, background-color 0.15s ease !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.18) !important;
    -webkit-appearance: none !important;
    outline: none !important;
}

.wc-enquiry-quantity-selector button.wc-enquiry-qty-minus:hover,
.wc-enquiry-quantity-selector button.wc-enquiry-qty-plus:hover,
.woocommerce .quantity .minus:hover,
.woocommerce .quantity .plus:hover,
.quantity .minus:hover,
.quantity .plus:hover,
.ast-qs-button.ast-qs-minus:hover,
.ast-qs-button.ast-qs-plus:hover,
button.wc-enquiry-qty-minus:hover,
button.wc-enquiry-qty-plus:hover {
    background-color: #0f172a !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
}

/* Negative margin overlap over central input box borders */
.wc-enquiry-quantity-selector button.wc-enquiry-qty-minus,
.woocommerce .quantity .minus,
.quantity .minus,
.ast-qs-button.ast-qs-minus,
button.wc-enquiry-qty-minus {
    margin-right: -10px !important;
}

.wc-enquiry-quantity-selector button.wc-enquiry-qty-plus,
.woocommerce .quantity .plus,
.quantity .plus,
.ast-qs-button.ast-qs-plus,
button.wc-enquiry-qty-plus {
    margin-left: -10px !important;
}

/* Central Rounded Rectangle Input Box */
.wc-enquiry-quantity-selector input.wc-enquiry-qty-input,
.woocommerce .quantity input.qty,
.quantity input.qty,
input[type="number"].wc-enquiry-qty-input,
input.qty {
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
    height: 38px !important;
    line-height: 38px !important;
    background-color: #ffffff !important;
    background: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    text-align: center !important;
    padding: 0 12px !important;
    margin: 0 !important;
    z-index: 1 !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.03) !important;
    -webkit-appearance: none !important;
    -moz-appearance: textfield !important;
}

.wc-enquiry-quantity-selector input.wc-enquiry-qty-input:focus,
.woocommerce .quantity input.qty:focus,
.quantity input.qty:focus {
    border-color: #94a3b8 !important;
    outline: none !important;
}

/* ==========================================================================
   HOMEPAGE TESTIMONIALS & REVIEWS SECTION FULL WIDTH ALIGNMENT
   ========================================================================== */
.google-reviews-widget-container,
.google-reviews-widget-container .ti-widget,
.google-reviews-widget-container .ti-widget.ti-goog,
.google-reviews-widget-container .ti-widget-container {
    width: 100% !important;
    max-width: 100% !important;
}

/* ==========================================================================
   FLOATING WHATSAPP BUTTON STYLING (LEFT SIDE)
   ========================================================================== */
.office4u-whatsapp-floating-btn {
    position: fixed !important;
    bottom: 28px !important;
    left: 28px !important;
    right: auto !important;
    width: 48px !important;
    height: 48px !important;
    background-color: #25D366 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.45) !important;
    z-index: 9998 !important;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, background-color 0.2s ease !important;
    text-decoration: none !important;
    outline: none !important;
}

.office4u-whatsapp-floating-btn .wa-icon {
    width: 26px !important;
    height: 26px !important;
    fill: #ffffff !important;
    color: #ffffff !important;
}

.office4u-whatsapp-floating-btn:hover {
    background-color: #20ba5a !important;
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.6) !important;
}

.office4u-whatsapp-floating-btn .wa-tooltip {
    position: absolute !important;
    left: 60px !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) translateX(-10px) !important;
    background: #0f172a !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.office4u-whatsapp-floating-btn .wa-tooltip::after {
    content: '' !important;
    position: absolute !important;
    left: -5px !important;
    right: auto !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    border-width: 5px 5px 5px 0 !important;
    border-style: solid !important;
    border-color: transparent #0f172a transparent transparent !important;
}

.office4u-whatsapp-floating-btn:hover .wa-tooltip {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(-50%) translateX(0) !important;
}

@media (max-width: 640px) {
    .office4u-whatsapp-floating-btn {
        bottom: 20px !important;
        left: 18px !important;
        right: auto !important;
        width: 44px !important;
        height: 44px !important;
    }
    .office4u-whatsapp-floating-btn .wa-icon {
        width: 24px !important;
        height: 24px !important;
    }
}

/* ==========================================================================
   FIXED SIDE SLIDE PANEL & VERTICAL QUICK CONTACT BUTTON
   ========================================================================== */

/* Fixed Vertical Button on Right Edge */
.office4u-side-trigger {
    position: fixed !important;
    right: 0 !important;
    top: 50% !important;
    z-index: 99998 !important;
    background: #c12228 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.5px !important;
    padding: 14px 12px !important;
    border-radius: 12px 0 0 12px !important;
    box-shadow: -4px 4px 16px rgba(193, 34, 40, 0.25) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    writing-mode: vertical-rl !important;
    text-orientation: mixed !important;
    transform: translateY(-50%) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    user-select: none !important;
    border: none !important;
    outline: none !important;
}

.office4u-side-trigger:hover {
    background: #a31b20 !important;
    padding-right: 16px !important;
    box-shadow: -6px 6px 22px rgba(193, 34, 40, 0.4) !important;
}

/* Off-Canvas Backdrop Overlay */
.office4u-drawer-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 999998 !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.office4u-drawer-backdrop.is-open {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Slide Panel Drawer */
.office4u-side-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 400px !important;
    max-width: 90vw !important;
    height: 100vh !important;
    background: #ffffff !important;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2) !important;
    z-index: 999999 !important;
    transform: translateX(100%) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

.office4u-side-drawer.is-open {
    transform: translateX(0) !important;
}

/* Inner Layout & Typography */
.office4u-drawer-header {
    padding: 24px 24px 16px 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.office4u-drawer-title {
    font-size: 22px !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin: 0 !important;
    letter-spacing: -0.5px !important;
}

.office4u-drawer-close {
    background: #f1f5f9 !important;
    border: none !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #0f172a !important;
    cursor: pointer !important;
    transition: background 0.2s ease, transform 0.2s ease !important;
}

.office4u-drawer-close:hover {
    background: #e2e8f0 !important;
    transform: rotate(90deg) !important;
}

.office4u-drawer-body {
    padding: 24px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    flex: 1 !important;
}

/* Contact Info Item Row */
.office4u-contact-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 14px !important;
}

.office4u-contact-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    flex-shrink: 0 !important;
}

.office4u-icon-phone { background: #e0f2fe !important; color: #0284c7 !important; }
.office4u-icon-email { background: #f1f5f9 !important; color: #334155 !important; }
.office4u-icon-wa { background: #dcfce7 !important; color: #16a34a !important; }
.office4u-icon-loc { background: #fee2e2 !important; color: #dc2626 !important; }

.office4u-contact-details {
    display: flex !important;
    flex-direction: column !important;
}

.office4u-contact-label {
    font-size: 11px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #64748b !important;
}

.office4u-contact-value {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-top: 2px !important;
    line-height: 1.4 !important;
}

.office4u-contact-value a {
    color: #0f172a !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.office4u-contact-value a:hover {
    color: #10b981 !important;
}

/* Map Card Embed */
.office4u-map-card {
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    height: 150px !important;
    width: 100% !important;
}

.office4u-map-card iframe {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
}

/* Pill Action Buttons */
.office4u-drawer-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    margin-top: 8px !important;
}

.office4u-pill-btn {
    width: 100% !important;
    padding: 14px 20px !important;
    border-radius: 9999px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
    transition: all 0.2s ease !important;
}

.office4u-btn-wa {
    background: #10b981 !important;
    color: #ffffff !important;
}
.office4u-btn-wa:hover {
    background: #059669 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(16, 185, 129, 0.3) !important;
}

.office4u-btn-call {
    background: #2563eb !important;
    color: #ffffff !important;
}
.office4u-btn-call:hover {
    background: #1d4ed8 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.3) !important;
}

.office4u-btn-email {
    background: #334155 !important;
    color: #ffffff !important;
}
.office4u-btn-email:hover {
    background: #0f172a !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.3) !important;
}

/* ==========================================================================
   STICKY MAIN HEADER ON SCROLL WITH SHRINK ANIMATION
   ========================================================================== */

/* Fixed Header Base Styling */
#masthead,
.site-header,
#ast-desktop-header,
.ast-main-header-wrap,
.main-header-bar-wrap {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease !important;
}

/* 1. Default Content Top Clearance for All Standard Pages */
#content,
.site-content {
    margin-top: 80px !important;
    padding-top: 0 !important;
}

/* 2. Archive Pages Banner (.ast-archive-entry-banner) Top Padding */
.ast-archive-entry-banner {
    padding-top: 80px !important;
    margin-top: 0 !important;
    position: relative !important;
    z-index: 1 !important;
}

/* 3. When .ast-archive-entry-banner is Present, Cancel Extra Top Margin on #content */
.ast-archive-entry-banner ~ #content,
.ast-archive-entry-banner ~ .site-content,
.site-content:has(.ast-archive-entry-banner),
body:has(.ast-archive-entry-banner) #content,
body:has(.ast-archive-entry-banner) .site-content {
    margin-top: 0 !important;
}

.admin-bar #masthead,
.admin-bar .site-header,
.admin-bar #ast-desktop-header {
    top: 32px !important;
}

@media screen and (max-width: 782px) {
    .admin-bar #masthead,
    .admin-bar .site-header,
    .admin-bar #ast-desktop-header {
        top: 46px !important;
    }
    #content,
    .site-content {
        margin-top: 75px !important;
    }
    .ast-archive-entry-banner {
        padding-top: 75px !important;
    }
}

@media screen and (max-width: 782px) {
    .admin-bar #masthead,
    .admin-bar .site-header,
    .admin-bar #ast-desktop-header {
        top: 46px !important;
    }
    #content,
    .site-content {
        margin-top: 75px !important;
    }
    .ast-archive-entry-banner,
    .ast-page-header-wrap,
    .woocommerce-products-header {
        padding-top: 75px !important;
    }
}

/* Header Inner Bar Default Height */
#masthead .main-header-bar,
#masthead .ast-primary-header-bar,
#masthead .ast-main-header-wrap,
#masthead .site-primary-header-wrap,
#masthead .ast-builder-grid-row {
    min-height: 80px !important;
    height: 80px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    transition: min-height 0.3s ease, height 0.3s ease !important;
}

/* Logo Default Sizing */
#masthead .site-branding img,
#masthead .custom-logo,
#masthead .site-logo-img img,
#masthead .astra-logo-svg {
    max-height: 48px !important;
    height: 48px !important;
    width: auto !important;
    display: inline-block !important;
    transition: max-height 0.3s ease, height 0.3s ease !important;
}

/* SHRUNK STATE ON SCROLL */
#masthead.is-shrunk,
.site-header.is-shrunk {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
}

#masthead.is-shrunk .main-header-bar,
#masthead.is-shrunk .ast-primary-header-bar,
#masthead.is-shrunk .ast-main-header-wrap,
#masthead.is-shrunk .site-primary-header-wrap,
#masthead.is-shrunk .ast-builder-grid-row {
    min-height: 54px !important;
    height: 54px !important;
}

#masthead.is-shrunk .site-branding img,
#masthead.is-shrunk .custom-logo,
#masthead.is-shrunk .site-logo-img img,
#masthead.is-shrunk .astra-logo-svg {
    max-height: 34px !important;
    height: 34px !important;
}





