/**
* Theme Name: Astra Child for Vertduree
* Description: This is a child theme of Astra.
* Author: AcmeeDesign Softwares and Solutions
* Template: astra
* Version: 1.0.1
*/

/**
* You can add your custom styles here
*/

.text-sm {
    font-size: 12px;
}

.wc-block-product-categories-list li {
    margin-left: 0;
    padding-left: 0;
}

#tahefobu-header.tahefobu-ready{
    position: relative;
    z-index: 999;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column-standard > a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
    padding-left: 0;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu ul.mega-sub-menu ul.mega-sub-menu {
    margin-left: 0;
    padding-left: 0;
}

.h-small {
    font-size: 1.2em;
    font-weight: 600;
}

.ast-desktop .ast-primary-header-bar.main-header-bar {
    padding: 0;
}

.ast-mobile-header-wrap .ast-below-header-bar, .ast-below-header-bar .site-below-header-wrap {
    min-height: 45px;
}

.site-above-header-wrap .ast-builder-html-element {
    font-size: 0.8em;
}

.header-widget-area p {
    margin-bottom: 17px;
}

.aws-container .aws-search-field {
    padding: 7px 0 7px 15px;
    border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
}

.aws-container .aws-search-field:focus {
    border-style:solid !important;
    border-color: #d5d5d5;
    outline: none;
}

.ast-builder-grid-row.ast-grid-center-col-layout {
    grid-template-columns: 1fr auto 0.4fr;
}

.aws-container .aws-show-clear .aws-search-field {
    border-radius: 50px !important;
}

.aws-container .aws-search-form .aws-form-btn {
    border-radius: 50% !important;
    margin: 0 0 0 -42px;
    z-index: 9;
}

.header-widget-area[data-section="sidebar-widgets-header-widget-2"] {
    min-width: 470px;
}

.ast-below-header-bar.ast-below-header {
    padding-top: 0;
    margin-bottom: -10px;
}

.b2b-variation-wrapper, .woocommerce-MyAccount-content,
.woocommerce-MyAccount-navigation{
    background:#fff;
    padding:20px;
    border-radius:8px;
    box-shadow:0 5px 25px rgba(0,0,0,.05);
}

.b2b-variation-table{
    width:100%;
    border-collapse:collapse;
    font-size:14px;
}

.b2b-variation-table th,
.b2b-variation-table td{
    border-bottom:1px solid #e5e5e5;
    padding:12px;
    text-align:center;
}

.b2b-variation-table th{
    background:#fafafa;
    font-weight:600;
}

.b2b-variation-table td img {
    width: 100px;
    height: auto;
}

.qty-wrap{
    display:flex;
    justify-content:center;
    gap:5px;
}

.qty-wrap input{
    width:50px;
    text-align:center;
    border:1px solid #ccc;
}

.qty-wrap button{
    width:32px;
    height:32px;
    background:#222;
    color:#fff;
    border:0;
    cursor:pointer;
}

.b2b-variation-wrapper button.b2b-add-to-cart{
    margin-top:6px;
    width:100%;
    background:#000;
    color:#fff;
    border:0;
    padding:12px;
    cursor:pointer;
}

.b2b-add-to-cart{
    position:relative;
    overflow:hidden;
}

.cart-loader{
    position:absolute;
    top:50%;
    left:50%;
    width:18px;
    height:18px;
    background:#fff;
    border-radius:50%;
    transform:translate(-50%,-50%) scale(.7);
    opacity:0;
}

.b2b-add-to-cart.loading .cart-icon{
    opacity:0;
}

.b2b-add-to-cart.loading .cart-loader{
    opacity:1;
    animation:pulse 0.7s ease-in-out infinite;
}

.b2b-variation-wrapper button, .b2b-variation-wrapper input[type=number] {
    padding: 0;
}

@keyframes pulse{
    0%{ transform:translate(-50%,-50%) scale(.7); }
    50%{ transform:translate(-50%,-50%) scale(1.2); }
    100%{ transform:translate(-50%,-50%) scale(.7); }
}

.cart-success{
    position:absolute;
    margin-top: -10px;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%) scale(.7);
    color:#fff;
    font-size:34px;
    opacity:0;
    transition:all .3s ease;
}

.b2b-add-to-cart.success .cart-success{
    opacity:1;
    transform:translate(-50%,-50%) scale(1.2);
}

.b2b-add-to-cart.success .cart-icon,
.b2b-add-to-cart.success .cart-loader{
    opacity:0;
}

tr.flash{
    animation:flashBg .6s ease;
}

@keyframes flashBg{
    0%{ background:#e9ffe9; }
    100%{ background:transparent; }
}

#b2b-toast{
    position:fixed;
    bottom:30px;
    left:50%;
    transform:translateX(-50%) translateY(20px);
    background:#111;
    color:#fff;
    padding:10px 18px;
    border-radius:30px;
    font-size:13px;
    box-shadow:0 6px 20px rgba(0,0,0,.25);
    opacity:0;
    pointer-events:none;
    transition:all .3s ease;
    z-index:9999;
}

#b2b-toast.show{
    opacity:1;
    transform:translateX(-50%) translateY(0);
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    width:20%
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 78%;
    font-size: 0.87em;
}

@media only screen and (max-width: 768px) {
    .woocommerce-account .woocommerce-MyAccount-navigation,
    .woocommerce-account .woocommerce-MyAccount-content {
        margin-top: 20px;
        width:100%;
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        overflow-y: hidden;
    }
}

.b2b-view-order-btn{
    display:inline-block;
    padding:6px 12px;
    background:#5f8763;
    color:#fff;
    font-size:13px;
    border-radius:4px;
    text-decoration:none;
    transition:background .2s ease;
}

.b2b-view-order-btn:hover{
    background:#507153;
    color:#fff;
}


.ast-primary-header-bar {
    border-bottom-width: 1px
}

.status-badge{
    padding:4px 10px;
    border-radius:20px;
    font-size:12px;
    color:#fff;
    font-weight:600;
}

.status-badge.processing{ background:#f39c12; }
.status-badge.completed{ background:#2ecc71; }

.b2b-pagination{
    margin-top:15px;
    text-align:center;
}

.b2b-pagination a{
    display:inline-block;
    padding:6px 12px;
    margin:0 3px;
    border:1px solid #ddd;
    color:#333;
    border-radius:4px;
    text-decoration:none;
}

.b2b-pagination a.active,
.b2b-pagination a:hover{
    background:#111;
    color:#fff;
}

.acm-tech-table-wrap{
    margin-top:30px;
}

.acm-tech-title{
    text-align:center;
    color:#6fbf2e;
    font-weight:700;
    margin-bottom:10px;
}

.acm-tech-table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
}

.acm-tech-table td{
    border:1px solid #d9e1ea;
    padding:12px 14px;
    font-size:14px;
}

.acm-tech-label{
    width:30%;
    font-weight:600;
    background:#f9fbfd;
}

/* ===============================
   MOBILE RESPONSIVE TABLE
   =============================== */

@media (max-width: 768px) {
    .b2b-variation-wrapper {
        position: relative;
        max-width: 100%;
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        overflow-y: hidden;
    }
    .b2b-variation-wrapper::after,
    .woocommerce-account .woocommerce-MyAccount-content::after {
        content: "››";
        position: sticky;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        margin-top: 12px;
        width: 30px;
        height: 30px;
        color: rgba(86, 85, 85, 0.75);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 22px;
        font-weight: bold;
        pointer-events: none;
        z-index: 10;
    }
}

@keyframes hintPulse {
    0% { transform: translateX(0); }
    50% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

.b2b-variation-wrapper::after, 
.woocommerce-account .woocommerce-MyAccount-content::after {
    animation: hintPulse 1.2s ease-in-out infinite;
}

.acm-wishlist-icon{
    display:inline-block;
    width:18px;
    height:18px;
    background-image:url('assets/images/heart-icon-outline.svg');
    background-repeat:no-repeat;
    background-size:18px 18px;
    background-position:center;
    cursor:pointer;
}

.acm-tab-nav{
    margin-left: 0;
    display:flex;
    gap:8px;
    margin-bottom:15px;
    border-bottom:2px solid #f2e2d6;
    position: relative;
    z-index: 9;
}

.acm-tab-nav li{
    list-style:none;
    padding:22px 20px;
    background:#f2e2d6;
    border-radius: 40px 40px 0 0;
    cursor:pointer;
    text-align:center;
    font-weight: 600;
    min-width:185px;
    box-shadow:0 8px 25px rgba(0,0,0,0.05);
    transition:background .25s ease, color .25s ease;
}

.acm-tab-nav li:hover{
    background:#eed6c3;
    box-shadow:0 12px 25px rgba(0,0,0,0.08);
}

@media only screen and (max-width: 468px) {
    .acm-tab-nav li {
        font-size: 0.9em;
        padding:9px 10px;
        border-radius: 15px 15px 0 0;
        min-width:10px;
    }
}

/* Active */
.acm-tab-nav li.active{
    background:#e5cbb7;
    box-shadow:0 14px 35px rgba(0,0,0,0.12);
}

/* Tab container */
.acm-variation-tabs{
    position:relative;
}

/* Hide inactive tabs without removing layout */
.acm-tab-content{
    opacity:0;
    transform:translateY(8px);
    transition:opacity .25s ease, transform .25s ease;
    position:absolute;
    width:100%;
    visibility:hidden;
}

.acm-tab-content.active{
    opacity:1;
    transform:translateY(0);
    position:relative;
    visibility:visible;
}

/* Nav smooth */
.acm-tab-nav li{
    transition:background .25s ease, color .25s ease;
}

.acm-mini-cart a {
    color: #4ab411;
}

.acm-mini-cart a .acm-cart-count {
    width: 18px;
    height: 18px;
    display: flex;
    background-color: #4ab411;
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    border-radius: 50px;
    -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
}

.ast-grid-common-col .cfvsw-shop-variations,
.shopengine-swatches .variations,
.shopengine-swatches .single_variation_wrap {
    display: none !important;
}