/*
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
*/

/* 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 .wc-enquiry-add-to-cart-btn,
.wc-enquiry-buttons-container .wc-enquiry-direct-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    flex-direction: row !important;
    padding: 12px 24px !important;
    height: auto !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;
}

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

.wc-enquiry-buttons-container .wc-enquiry-add-to-cart-btn:hover {
    background-color: #111216 !important;
    color: #ffffff !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: #f9fafb !important; /* bg-slate-50 */
    color: #111216 !important;
    border-color: #9ca3af !important; /* hover border */
}

/* 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;
}

.woocommerce-pagination ul.page-numbers,
.ast-pagination ul.page-numbers {
    display: inline-flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.woocommerce-pagination ul.page-numbers li,
.ast-pagination ul.page-numbers li {
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    display: inline-block !important;
}

/* Pagination buttons styling */
.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 {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 6px !important; /* soft rounded square */
    border: 1px solid #d1d5db !important; /* border-slate-300 */
    background-color: #ffffff !important;
    color: #4b5563 !important; /* slate-600 */
    font-weight: 600 !important;
    font-size: 14px !important;
    line-height: 1 !important;
    transition: all 0.25s ease !important;
    text-decoration: none !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 {
    background-color: #21232c !important; /* dark graphite / black */
    color: #ffffff !important;
    border-color: #21232c !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;
}

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

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

.wc-enquiry-buttons-container .wc-enquiry-direct-btn:hover {
    background-color: #f8fafc !important;
    color: #475569 !important;
    border-color: #94a3b8 !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;
}

/* Left Aligned Submit Buttons */
#wc-enquiry-cart-submission-form button[type="submit"],
#wc-enquiry-modal-quick-form button[type="submit"] {
    width: auto !important;
    min-width: 140px !important;
    background-color: #21232c !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    padding: 14px 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 Styling Overrides */
.archive.tax-product_cat .ast-archive-entry-banner {
    padding: 50px 0 !important; /* Premium vertical padding spacing */
    background-color: #f8fafc !important; /* Neutral light slate background */
    border-bottom: 1px solid #f1f5f9 !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;
}

/* 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 links render icons/svg inline next to text (prevents stacking) */
.ast-header-break-point .main-header-menu .menu-link {
    display: inline-flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
}

.ast-header-break-point .main-header-menu .menu-link .ast-icon,
.ast-header-break-point .main-header-menu .menu-link svg {
    display: inline-block !important;
    vertical-align: middle !important;
    width: 14px !important;
    height: 14px !important;
    margin: 0 !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;
}





