/**
 * Artisan St. Custom Styles
 * Child theme customizations
 */

/* Sale Price Color - Red */
.woocommerce .price ins .amount,
.woocommerce .price .sale-price,
.woocommerce .price ins .woocommerce-Price-amount,
.woocommerce .price .sale-price .woocommerce-Price-amount {
    color: #ff0000 !important;
}

/* Product Info Below Image */
.artisan-st-product-info {
    margin-top: 15px;
    text-align: center;
}

.artisan-st-product-info .woocommerce-loop-product__title {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 500;
}

.artisan-st-product-info .price {
    display: block;
    margin-top: 5px;
}

/* Brand Highlight Sections */
.artisan-st-brand-highlight {
    margin: 40px 0;
    padding: 20px 0;
}

.brand-highlight-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

/* Brand Highlight Header (Image + Content) */
.brand-highlight-header {
    margin-bottom: 40px;
}

.brand-highlight-image-wrapper {
    margin-bottom: 30px;
}

.brand-highlight-image-wrapper.image-position-top {
    width: 100%;
    text-align: center;
}

.brand-highlight-image-wrapper.image-position-top img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.brand-highlight-header.image-left,
.brand-highlight-header.image-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.brand-highlight-header.image-left {
    flex-direction: row;
}

.brand-highlight-header.image-right {
    flex-direction: row-reverse;
}

.brand-highlight-header.image-left .brand-highlight-image-wrapper,
.brand-highlight-header.image-right .brand-highlight-image-wrapper {
    flex: 0 0 50%;
    margin-bottom: 0;
}

.brand-highlight-header.image-left .brand-highlight-image-wrapper img,
.brand-highlight-header.image-right .brand-highlight-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.brand-highlight-header.image-left .brand-highlight-content-wrapper,
.brand-highlight-header.image-right .brand-highlight-content-wrapper {
    flex: 1;
}

.brand-highlight-content-wrapper {
    width: 100%;
}

.brand-highlight-content {
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}

.brand-highlight-content p {
    margin-bottom: 15px;
}

.brand-highlight-content h1,
.brand-highlight-content h2,
.brand-highlight-content h3,
.brand-highlight-content h4,
.brand-highlight-content h5,
.brand-highlight-content h6 {
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.brand-highlight-content ul,
.brand-highlight-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.brand-highlight-content a {
    color: #0073aa;
    text-decoration: none;
}

.brand-highlight-content a:hover {
    text-decoration: underline;
}

.brand-highlight-no-products {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

/* Products Widget */
.artisan-st-products {
    margin: 40px 0;
    padding: 20px 0;
}

.artisan-st-products .products-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
}

.artisan-st-layout-scrollable .products-container {
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
}

.artisan-st-layout-vertical-scrollable .products-container {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 800px;
    gap: 20px;
    padding: 10px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.artisan-st-layout-vertical-scrollable .products-container .product,
.artisan-st-layout-vertical-scrollable .products-container li.product {
    flex: 0 0 auto;
    width: 100%;
    min-width: 100%;
    margin-bottom: 0;
}

.artisan-st-layout-grid .products-container {
    display: grid;
    grid-template-columns: repeat(var(--columns, 4), 1fr);
    overflow-x: visible;
    gap: 20px;
}

.artisan-st-layout-masonry .products-container {
    display: grid;
    grid-template-columns: repeat(var(--columns, 4), 1fr);
    grid-auto-rows: 10px;
    overflow-x: visible;
    gap: 20px;
}

.artisan-st-products.columns-1 .products-container {
    grid-template-columns: 1fr;
}

.artisan-st-products.columns-2 .products-container {
    grid-template-columns: repeat(2, 1fr);
}

.artisan-st-products.columns-3 .products-container {
    grid-template-columns: repeat(3, 1fr);
}

.artisan-st-products.columns-4 .products-container {
    grid-template-columns: repeat(4, 1fr);
}

.artisan-st-products.columns-5 .products-container {
    grid-template-columns: repeat(5, 1fr);
}

.artisan-st-products.columns-6 .products-container {
    grid-template-columns: repeat(6, 1fr);
}

.artisan-st-products .no-products {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-style: italic;
}

.brand-highlight-products {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
}

.artisan-st-layout-scrollable .brand-highlight-products {
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
}

.artisan-st-layout-vertical-scrollable .brand-highlight-products {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 800px;
    gap: 20px;
    padding: 10px 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.artisan-st-layout-vertical-scrollable .brand-highlight-products .product {
    flex: 0 0 auto;
    width: 100%;
    min-width: 100%;
}

.artisan-st-layout-grid .brand-highlight-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    overflow-x: visible;
}

.artisan-st-layout-masonry .brand-highlight-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    grid-auto-rows: 10px;
    overflow-x: visible;
}

/* Brands Grid */
.artisan-st-brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 0;
}

.brand-card {
    position: relative;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.brand-banner {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.brand-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-logo {
    position: absolute;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #fff;
    background: #fff;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-card h3 {
    margin-top: 50px;
    padding: 20px;
    text-align: center;
    font-size: 20px;
    font-weight: 600;
}

.brand-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Brands Archive & Brand Pages */
.brands-archive-section {
    padding: 0 0 60px 0;
    margin-top: 0;
}

/* Reduce space between header and brands grid */
.page-header.shop-page-header .page-title {
    margin-bottom: 20px !important;
}

.brands-archive-section .page-header.shop-page-header ~ .section {
    margin-top: 0;
    padding-top: 0;
}

/* Ensure header text is visible - match brand taxonomy page styling */
.page-header.shop-page-header .page-title,
.page-header.shop-page-header h1.woocommerce-products-header__title,
.page-header.shop-page-header .woocommerce-products-header__title {
    color: #333 !important;
}

.page-header.shop-page-header {
    background: transparent;
    padding: 0;
    margin: 0;
    margin-bottom: 0;
}

.page-header.shop-page-header .page-title {
    display: inline-block;
    margin-bottom: 40px !important; /* Reduced from 100px to decrease space */
    text-align: center;
    margin-top: 25px;
}

/* Additional reduction for brands archive specifically */
.brands-archive-section .page-header.shop-page-header .page-title {
    margin-bottom: 20px !important;
}

body:not(.woocommerce-page) .page-header.shop-page-header .page-title,
body:not(.woocommerce-page) .page-header.shop-page-header h1 {
    color: #333 !important;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.brand-card {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.brand-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.brand-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.brand-image-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #f5f5f5;
}

.brand-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.brand-card:hover .brand-image {
    transform: scale(1.05);
}

.brand-info {
    padding: 20px;
    text-align: center;
}

.brand-name {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

/* Brand Banner Section */
.brand-banner-section {
    padding: 0;
    margin-bottom: 40px;
}

/* Brand Single Page - Sidebar Layout */
.brand-sidebar-filters {
    width: 23%;
    min-width: 23%;
    max-width: 23%;
    margin-right: 2%;
    float: left;
    overflow: visible !important;
    box-sizing: border-box !important;
}

.brand-main-content {
    width: 75%;
    float: left;
}

/* Sidebar Filter Sections */
.brand-sidebar-filters .filters--wrapper.filters--sidebar {
    margin-top: 0;
    width: 100%;
    overflow: visible !important;
    max-width: 100%;
    box-sizing: border-box !important;
}

/* Ensure sidebar items are fully visible */
.brand-sidebar-filters .pe--product--filters {
    width: 100%;
    overflow: visible !important;
    max-width: 100%;
}

/* Ensure content containers don't clip */
.brand-sidebar-filters .filter-section-content {
    overflow: visible !important;
    max-width: 100%;
}

.brand-sidebar-filters .brand-categories-list {
    overflow: visible !important;
    max-width: 100%;
}

.brand-sidebar-filters .terms-list {
    overflow: visible !important;
    max-width: 100%;
}

.brand-sidebar-filters .filters--item {
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.brand-sidebar-filters .filters--item:first-child {
    padding-top: 0;
}

.brand-sidebar-filters .filters--item:last-child {
    border-bottom: none;
}

.filter-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    padding: 5px 0;
}

.filter-section-header:hover {
    color: #000;
}

.filter-toggle-icon {
    font-size: 20px;
    font-weight: 300;
    color: #666;
    user-select: none;
}

.filter-section-content {
    margin-top: 10px;
    padding-left: 0;
}

/* Catalogue Section */
.catalogue-section .brand-name-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #333;
    padding: 8px 0;
    margin-top: 10px;
}

.brand-name-text {
    font-weight: 600;
}

.brand-toggle-icon {
    font-size: 18px;
    font-weight: 300;
    color: #666;
    user-select: none;
}

.brand-categories-list {
    padding-left: 15px;
    margin-top: 5px;
}

.brand-categories-list .category-link {
    display: block;
    padding: 5px 0;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.brand-categories-list .category-link:hover {
    color: #000;
}

/* Other Brands Section */
.other-brands-content .brand-link {
    display: block;
    padding: 5px 0;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.other-brands-content .brand-link:hover {
    color: #000;
}

/* Filter Terms List */
.brand-sidebar-filters .terms-list {
    padding-left: 0;
    margin-top: 5px;
}

.brand-sidebar-filters .term--list--item {
    display: block;
    padding: 5px 0;
    font-size: 14px;
    color: #666;
}

.brand-sidebar-filters .term--list--item input[type="checkbox"] {
    margin-right: 8px;
}

/* Main Content Header */
.brand-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.brand-products-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.brand-products-sort {
    display: flex;
    align-items: center;
}

.brand-products-sort select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
}

/* Brand Sidebar Layout - Main Container */
body.tax-brand .woo-products-archive .brand-sidebar-filters {
    position: relative;
}

/* Container for sidebar and main content */
body.tax-brand .woo-products-archive > .pe-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

body.tax-brand .woo-products-archive > .pe-wrapper > .pe-col-12 {
    display: flex !important;
    flex-direction: row;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    padding: 0 !important;
    box-sizing: border-box;
    max-width: 100%;
}

/* Sidebar positioning */
body.tax-brand .woo-products-archive .brand-sidebar-filters {
    width: 23% !important;
    min-width: 23% !important;
    max-width: 23% !important;
    margin-right: 2% !important;
    flex-shrink: 0;
    float: none !important;
    overflow: visible !important;
    box-sizing: border-box !important;
}

/* Sidebar wrapper and filters */
.brand-sidebar-filters .pe--product--filters {
    width: 100% !important;
    overflow: visible !important;
}

.brand-sidebar-filters .filters--wrapper.filters--sidebar {
    width: 100% !important;
    overflow: visible !important;
    max-width: 100% !important;
}

/* Main content area */
body.tax-brand .woo-products-archive .brand-main-content {
    width: 75% !important;
    flex: 1;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Products Grid */
.brand-main-content .saren--products-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    column-gap: 25px !important;
    row-gap: 25px !important;
    width: 100% !important;
    float: none !important;
}

/* Ensure archive-products-section doesn't override */
.archive-products-section.brand-main-content {
    width: 75% !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
}

/* Sidebar filters wrapper */
.brand-sidebar-filters .filters--wrapper.filters--sidebar {
    margin-top: 0 !important;
    float: none !important;
}

/* Prevent parent theme from affecting layout */
body.tax-brand .woo-products-archive .pe-wrapper {
    padding: 0 !important;
}

body.tax-brand .woo-products-archive .pe-col-12 {
    padding: 0 !important;
}

/* Ensure no wrapper interference */
.brand-main-content .pe-wrapper,
.brand-main-content .pe-col-12 {
    padding: 0 !important;
    width: 100% !important;
}

/* Breadcrumb Styling */
.brand-breadcrumb-wrapper {
    background-color: #4a4a4a;
    width: 100%;
    padding: 15px 0;
    margin-bottom: 30px;
    box-sizing: border-box;
    background-size: cover;
    background-position: center center;
    position: relative;
}

.brand-breadcrumb-wrapper.has-brand-banner {
    min-height: 220px;
    display: flex;
    align-items: flex-end;
    padding: 25px 0;
}

.brand-breadcrumb-wrapper.has-brand-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.18));
}

.brand-breadcrumb-wrapper.has-brand-banner .pe-wrapper {
    position: relative;
    z-index: 1;
}

.brand-breadcrumb-wrapper .pe-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.brand-breadcrumb {
    margin: 0;
    padding: 0;
    font-size: 14px;
    color: #ffffff;
    background: none;
}

.brand-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.brand-breadcrumb a:hover {
    color: #e0e0e0;
}

.brand-breadcrumb .breadcrumb-separator {
    margin: 0 8px;
    color: #b0b0b0;
}

.brand-breadcrumb span:last-child {
    color: #ffffff;
    font-weight: 500;
}

/* Ensure breadcrumb container has proper width */
.woo-products-archive .pe-wrapper {
    max-width: 1200px !important;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.brand-banner-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.brand-banner-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
}

.brand-description {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 30px;
    color: #fff;
}

.brand-description p {
    margin: 0;
    color: #fff;
}

/* Downloadable Files */
.artisan-st-downloadable-files {
    margin: 40px 0;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

.artisan-st-downloadable-files h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.artisan-st-downloadable-files ul {
    list-style: none;
    padding: 0;
}

.artisan-st-downloadable-files li {
    margin: 10px 0;
    padding: 10px;
    background: #fff;
    border-radius: 4px;
}

.artisan-st-downloadable-files a {
    color: #0073aa;
    text-decoration: none;
    font-weight: 500;
}

.artisan-st-downloadable-files a:hover {
    text-decoration: underline;
}

/* Navigation Updates */
.site-header .top-left-nav,
.site-header .top-center-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 1024px) {
    .site-header .main-navigation .menu-toggle .menu-toggle-icon {
        font-size: 22px;
        line-height: 1;
        display: inline-block;
    }

    .site-header .main-navigation .menu-item-has-children {
        position: relative;
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .site-header .main-navigation .menu-item-has-children > ul.sub-menu,
    .site-header .main-navigation .menu-item-has-children > ul.children {
        display: none;
        width: 100%;
    }

    .site-header .main-navigation .menu-item-has-children.submenu-open > ul.sub-menu,
    .site-header .main-navigation .menu-item-has-children.submenu-open > ul.children {
        display: block;
    }

    .site-header .main-navigation .artisan-submenu-toggle {
        margin-left: auto;
        min-width: 32px;
        min-height: 32px;
        border: 0;
        background: transparent;
        color: inherit;
        font-size: 24px;
        line-height: 1;
        cursor: pointer;
        padding: 0 4px;
    }

    .site-header .main-navigation .artisan-submenu-toggle .artisan-submenu-toggle-icon {
        display: inline-block;
        font-size: 15px;
        line-height: 1;
        transition: transform 0.2s ease;
    }

    .site-header .main-navigation .menu-item-has-children.submenu-open > .artisan-submenu-toggle .artisan-submenu-toggle-icon {
        transform: scale(0.95);
    }

    /* Force Saren submenu controls to use hamburger icon (remove plus/arrows). */
    .site-header .main-navigation .menu-item.saren-has-children > .st--wrap .sub--toggle,
    .site-header .main-navigation .menu-item.saren-has-children > .sub--toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 28px;
        height: 28px;
        font-size: 0 !important;
        line-height: 0 !important;
        cursor: pointer;
    }

    .site-header .main-navigation .menu-item.saren-has-children > .st--wrap .sub--toggle::before,
    .site-header .main-navigation .menu-item.saren-has-children > .sub--toggle::before {
        content: "\2630";
        font-size: 15px;
        line-height: 1;
    }

    .site-header .main-navigation .menu-item.saren-has-children > .st--wrap .sub--toggle svg,
    .site-header .main-navigation .menu-item.saren-has-children > .st--wrap .sub--toggle i,
    .site-header .main-navigation .menu-item.saren-has-children > .sub--toggle svg,
    .site-header .main-navigation .menu-item.saren-has-children > .sub--toggle i {
        display: none !important;
    }
}

@media (max-width: 1199px) {
    /* Disable desktop mega submenu wrappers/overlay on responsive menu view. */
    .saren-sub-menu-wrap,
    .sub--wrap--overlay {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    /* Ensure responsive menu items are actually rendered when toggled open. */
    .site-header .main-navigation.toggled ul,
    .site-header .main-navigation.toggled .menu,
    .site-header .main-navigation.toggled .main-menu,
    .site-header .main-navigation.toggled .menu--horizontal {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* Prevent white-on-white links when mobile panel background is light. */
    .site-header .main-navigation.toggled a,
    .site-header .main-navigation.toggled .menu-item > a {
        color: #ffffff !important;
    }
}

.saren-sub-menu-wrap.submenu-open-click {
    z-index: 99999 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

.saren-sub-menu-wrap.submenu-open-click.reveal--style--expand {
    height: auto !important;
}

/* Hero Section */
.artisan-st-hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
    max-width: 800px;
    padding: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    color: #fff;
}

.hero-button {
    display: inline-block;
    padding: 15px 40px;
    background: #000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.hero-button:hover {
    background: #333;
    color: #fff;
}

/* Defining Fashion Section */
.artisan-st-defining-fashion {
    padding: 60px 0;
}

.defining-fashion-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.artisan-st-layout-image-left .defining-fashion-wrapper {
    flex-direction: row;
}

.artisan-st-layout-image-right .defining-fashion-wrapper {
    flex-direction: row-reverse;
}

.artisan-st-layout-image-top .defining-fashion-wrapper {
    flex-direction: column;
    text-align: center;
}

.defining-fashion-image {
    flex: 1;
}

.defining-fashion-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.defining-fashion-content {
    flex: 1;
}

.defining-fashion-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
}

.defining-fashion-text {
    font-size: 16px;
    line-height: 1.6;
}

/* Other Brands Section */
.artisan-st-other-brands {
    width: 100%;
    padding: 60px 0;
    background: #f5f5f0; /* Light beige/cream background */
}

.artisan-st-other-brands .other-brands-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.other-brands-title {
    text-align: left;
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
}

.other-brands-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 20px 15px;
}

.brands-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.brands-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.brands-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.brands-grid-5 {
    grid-template-columns: repeat(5, 1fr);
}

.brands-grid-6 {
    grid-template-columns: repeat(6, 1fr);
}

.other-brand-item {
    /* Simple text item - no card styling */
}

.other-brand-link {
    display: block;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    transition: color 0.2s ease;
}

.other-brand-link:hover {
    color: #000;
}

.other-brands-button-wrapper {
    text-align: left;
    margin-top: 40px;
}

.other-brands-view-all-button {
    display: inline-block;
    padding: 15px 40px;
    background: #000;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 16px;
    transition: background 0.3s ease;
}

.other-brands-view-all-button:hover {
    background: #333;
    color: #ffffff !important;
}

/* Create Account Section */
.artisan-st-create-account-section {
    padding: 60px 20px;
    text-align: center;
}

.create-account-content {
    max-width: 600px;
    margin: 0 auto;
}

.create-account-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
}

.create-account-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
}

.create-account-button {
    display: inline-block;
    padding: 15px 40px;
    background: #000;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.create-account-button:hover {
    background: #333;
    color: #ffffff !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .brand-highlight-title {
        font-size: 24px;
    }
    
    .brand-highlight-header.image-left,
    .brand-highlight-header.image-right {
        flex-direction: column !important;
    }
    
    .brand-highlight-header.image-left .brand-highlight-image-wrapper,
    .brand-highlight-header.image-right .brand-highlight-image-wrapper {
        flex: 1 1 100%;
        width: 100%;
    }
    
    .brand-highlight-content {
        font-size: 14px;
    }
    
    .artisan-st-brands-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .artisan-st-layout-grid .brand-highlight-products,
    .artisan-st-layout-masonry .brand-highlight-products {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .artisan-st-layout-vertical-scrollable .brand-highlight-products,
    .artisan-st-layout-vertical-scrollable .products-container {
        max-height: 600px;
    }
    
    .artisan-st-products.columns-4 .products-container,
    .artisan-st-products.columns-5 .products-container,
    .artisan-st-products.columns-6 .products-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .defining-fashion-wrapper {
        flex-direction: column !important;
    }
    
    .defining-fashion-title {
        font-size: 28px;
    }
    
    .other-brands-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .other-brands-title {
        text-align: center;
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .create-account-title {
        font-size: 28px;
    }
}

/* Dokan Vendor/Customer Registration Radio Buttons Fix */
.woocommerce .form-row.user-role,
.woocommerce .vendor-customer-registration,
.woocommerce p.form-row.user-role {
    margin: 20px 0;
    padding: 15px 0;
    clear: both;
}

.woocommerce .vendor-customer-registration label.radio,
.woocommerce p.form-row.user-role label.radio {
    display: block !important;
    margin: 0 !important;
    padding: 5px 0 !important;
    position: relative;
    padding-left: 30px !important;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}

.woocommerce .vendor-customer-registration label.radio input[type="radio"],
.woocommerce p.form-row.user-role label.radio input[type="radio"],
.woocommerce .vendor-customer-registration .dokan-role-customer,
.woocommerce .vendor-customer-registration .dokan-role-seller,
.woocommerce p.form-row.user-role .dokan-role-customer,
.woocommerce p.form-row.user-role .dokan-role-seller {
    position: absolute !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin: 0 !important;
    width: 18px !important;
    height: 18px !important;
    cursor: pointer;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.woocommerce .vendor-customer-registration label.radio br {
    display: none !important;
}

/* Hide duplicate Woo first/last fields when vendor role is selected */
body.has-vendor-selected .woocommerce-form-register.register #reg_firstname,
body.has-vendor-selected .woocommerce-form-register.register #reg_lastname,
body.has-vendor-selected .woocommerce-form-register.register label[for="reg_firstname"],
body.has-vendor-selected .woocommerce-form-register.register label[for="reg_lastname"] {
    display: none !important;
}

body.has-vendor-selected .woocommerce-form-register.register p.form-row.form-row-first,
body.has-vendor-selected .woocommerce-form-register.register p.form-row.form-row-last,
body.has-vendor-selected .woocommerce-form-register.register .woocommerce-form-row--first,
body.has-vendor-selected .woocommerce-form-register.register .woocommerce-form-row--last {
    display: none !important;
}

/* Fix placeholder visibility for all input fields */
.woocommerce input[type="text"]::placeholder,
.woocommerce input[type="email"]::placeholder,
.woocommerce input[type="password"]::placeholder,
.woocommerce input[type="tel"]::placeholder,
.woocommerce input[type="url"]::placeholder,
.woocommerce input[type="number"]::placeholder,
.woocommerce input[type="search"]::placeholder,
.woocommerce textarea::placeholder {
    color: #999 !important;
    opacity: 1 !important;
}

.woocommerce input[type="text"]::-webkit-input-placeholder,
.woocommerce input[type="email"]::-webkit-input-placeholder,
.woocommerce input[type="password"]::-webkit-input-placeholder,
.woocommerce input[type="tel"]::-webkit-input-placeholder,
.woocommerce input[type="url"]::-webkit-input-placeholder,
.woocommerce input[type="number"]::-webkit-input-placeholder,
.woocommerce input[type="search"]::-webkit-input-placeholder,
.woocommerce textarea::-webkit-input-placeholder {
    color: #999 !important;
    opacity: 1 !important;
}

.woocommerce input[type="text"]::-moz-placeholder,
.woocommerce input[type="email"]::-moz-placeholder,
.woocommerce input[type="password"]::-moz-placeholder,
.woocommerce input[type="tel"]::-moz-placeholder,
.woocommerce input[type="url"]::-moz-placeholder,
.woocommerce input[type="number"]::-moz-placeholder,
.woocommerce input[type="search"]::-moz-placeholder,
.woocommerce textarea::-moz-placeholder {
    color: #999 !important;
    opacity: 1 !important;
}

.woocommerce input[type="text"]:-ms-input-placeholder,
.woocommerce input[type="email"]:-ms-input-placeholder,
.woocommerce input[type="password"]:-ms-input-placeholder,
.woocommerce input[type="tel"]:-ms-input-placeholder,
.woocommerce input[type="url"]:-ms-input-placeholder,
.woocommerce input[type="number"]:-ms-input-placeholder,
.woocommerce input[type="search"]:-ms-input-placeholder,
.woocommerce textarea:-ms-input-placeholder {
    color: #999 !important;
    opacity: 1 !important;
}

/* Fix form containers to prevent input cutting */
.woocommerce-form-login,
.woocommerce-form-register,
.saren--login-sec form,
.dokan-vendor-register,
.woocommerce .form-row,
.woocommerce p.form-row {
    overflow: visible !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.woocommerce .form-row.form-row-wide,
.woocommerce .form-row.form-row-first,
.woocommerce .form-row.form-row-last,
.woocommerce p.form-row.form-row-wide {
    width: 100% !important;
    padding: 3px 0 !important;
    margin: 0 0 6px 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* Fix Login and Registration Form Input Fields */
.woocommerce-form-login input[type="text"],
.woocommerce-form-login input[type="email"],
.woocommerce-form-login input[type="password"],
.woocommerce-form-register input[type="text"],
.woocommerce-form-register input[type="email"],
.woocommerce-form-register input[type="password"],
.woocommerce-form-register input[type="tel"],
.woocommerce-form-register input[type="url"],
.saren--login-sec form input[type="text"],
.saren--login-sec form input[type="email"],
.saren--login-sec form input[type="password"],
.woocommerce .input-text,
.woocommerce input.input-text,
.dokan-vendor-register .input-text,
.dokan-vendor-register .form-control,
.dokan-vendor-register input[type="text"],
.dokan-vendor-register input[type="email"],
.dokan-vendor-register input[type="password"],
.dokan-vendor-register input[type="tel"],
.show_if_seller .input-text,
.show_if_seller .form-control,
.show_if_seller input[type="text"],
.show_if_seller input[type="email"],
.show_if_seller input[type="password"],
.show_if_seller input[type="tel"] {
    background: #ffffff !important;
    border: 1px solid #000000 !important;
    border-radius: 3px !important;
    padding: 0.75em 1em !important;
    color: #333 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    height: auto !important;
    min-height: 40px !important;
    margin: 0 !important;
    overflow: visible !important;
}

.woocommerce-form-login input[type="text"]:focus,
.woocommerce-form-login input[type="email"]:focus,
.woocommerce-form-login input[type="password"]:focus,
.woocommerce-form-register input[type="text"]:focus,
.woocommerce-form-register input[type="email"]:focus,
.woocommerce-form-register input[type="password"]:focus,
.woocommerce-form-register input[type="tel"]:focus,
.woocommerce-form-register input[type="url"]:focus,
.saren--login-sec form input[type="text"]:focus,
.saren--login-sec form input[type="email"]:focus,
.saren--login-sec form input[type="password"]:focus,
.woocommerce .input-text:focus,
.woocommerce input.input-text:focus,
.dokan-vendor-register .input-text:focus,
.dokan-vendor-register .form-control:focus,
.dokan-vendor-register input[type="text"]:focus,
.dokan-vendor-register input[type="email"]:focus,
.dokan-vendor-register input[type="password"]:focus,
.dokan-vendor-register input[type="tel"]:focus,
.show_if_seller .input-text:focus,
.show_if_seller .form-control:focus,
.show_if_seller input[type="text"]:focus,
.show_if_seller input[type="email"]:focus,
.show_if_seller input[type="password"]:focus,
.show_if_seller input[type="tel"]:focus {
    border-color: #000000 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Ensure placeholders are visible on login/register forms */
.woocommerce-form-login input[type="text"]::placeholder,
.woocommerce-form-login input[type="email"]::placeholder,
.woocommerce-form-login input[type="password"]::placeholder,
.woocommerce-form-register input[type="text"]::placeholder,
.woocommerce-form-register input[type="email"]::placeholder,
.woocommerce-form-register input[type="password"]::placeholder,
.woocommerce-form-register input[type="tel"]::placeholder,
.woocommerce-form-register input[type="url"]::placeholder,
.saren--login-sec form input[type="text"]::placeholder,
.saren--login-sec form input[type="email"]::placeholder,
.saren--login-sec form input[type="password"]::placeholder,
.woocommerce .input-text::placeholder,
.woocommerce input.input-text::placeholder {
    color: #999 !important;
    opacity: 1 !important;
}

.woocommerce-form-login input[type="text"]::-webkit-input-placeholder,
.woocommerce-form-login input[type="email"]::-webkit-input-placeholder,
.woocommerce-form-login input[type="password"]::-webkit-input-placeholder,
.woocommerce-form-register input[type="text"]::-webkit-input-placeholder,
.woocommerce-form-register input[type="email"]::-webkit-input-placeholder,
.woocommerce-form-register input[type="password"]::-webkit-input-placeholder,
.woocommerce-form-register input[type="tel"]::-webkit-input-placeholder,
.woocommerce-form-register input[type="url"]::-webkit-input-placeholder,
.saren--login-sec form input[type="text"]::-webkit-input-placeholder,
.saren--login-sec form input[type="email"]::-webkit-input-placeholder,
.saren--login-sec form input[type="password"]::-webkit-input-placeholder,
.woocommerce .input-text::-webkit-input-placeholder,
.woocommerce input.input-text::-webkit-input-placeholder {
    color: #999 !important;
    opacity: 1 !important;
}

.woocommerce-form-login input[type="text"]::-moz-placeholder,
.woocommerce-form-login input[type="email"]::-moz-placeholder,
.woocommerce-form-login input[type="password"]::-moz-placeholder,
.woocommerce-form-register input[type="text"]::-moz-placeholder,
.woocommerce-form-register input[type="email"]::-moz-placeholder,
.woocommerce-form-register input[type="password"]::-moz-placeholder,
.woocommerce-form-register input[type="tel"]::-moz-placeholder,
.woocommerce-form-register input[type="url"]::-moz-placeholder,
.saren--login-sec form input[type="text"]::-moz-placeholder,
.saren--login-sec form input[type="email"]::-moz-placeholder,
.saren--login-sec form input[type="password"]::-moz-placeholder,
.woocommerce .input-text::-moz-placeholder,
.woocommerce input.input-text::-moz-placeholder {
    color: #999 !important;
    opacity: 1 !important;
}

.woocommerce-form-login input[type="text"]:-ms-input-placeholder,
.woocommerce-form-login input[type="email"]:-ms-input-placeholder,
.woocommerce-form-login input[type="password"]:-ms-input-placeholder,
.woocommerce-form-register input[type="text"]:-ms-input-placeholder,
.woocommerce-form-register input[type="email"]:-ms-input-placeholder,
.woocommerce-form-register input[type="password"]:-ms-input-placeholder,
.woocommerce-form-register input[type="tel"]:-ms-input-placeholder,
.woocommerce-form-register input[type="url"]:-ms-input-placeholder,
.saren--login-sec form input[type="text"]:-ms-input-placeholder,
.saren--login-sec form input[type="email"]:-ms-input-placeholder,
.saren--login-sec form input[type="password"]:-ms-input-placeholder,
.woocommerce .input-text:-ms-input-placeholder,
.woocommerce input.input-text:-ms-input-placeholder {
    color: #999 !important;
    opacity: 1 !important;
}

/* Fix form labels */
.woocommerce-form-login label,
.woocommerce-form-register label,
.saren--login-sec form label {
    display: block !important;
    margin-bottom: 0.5em !important;
    font-size: 12px !important;
    color: #999 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-weight: normal !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
}

.woocommerce-form-login .form-row label.woocommerce-form__label.woocommerce-form__label-for-checkbox.inline,
.woocommerce-form-register .form-row label.woocommerce-form__label.woocommerce-form__label-for-checkbox.inline {
    display: inline-block !important;
    margin-left: 0.5em !important;
    margin-bottom: 0 !important;
    text-transform: uppercase !important;
}

/* Fix input wrapper padding for parent theme custom input styling */
.saren--login-sec form input[type="email"],
.saren--login-sec form input[type="password"],
.saren--login-sec form input[type="text"] {
    padding: 0.75em 1em !important;
    min-height: 40px !important;
    background: #ffffff !important;
    border: 1px solid #000000 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Ensure parent containers don't cut inputs */
.saren--login-sec,
.saren--login-sec form,
.woocommerce .u-column1,
.woocommerce .col-1,
.woocommerce .u-columns,
.register--col,
.login--col {
    overflow: visible !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.saren--login-sec form .form-row,
.saren--login-sec form p.form-row {
    margin: 0 0 15px 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Ensure placeholders work for Dokan vendor registration inputs */
.dokan-vendor-register .input-text::placeholder,
.dokan-vendor-register .form-control::placeholder,
.dokan-vendor-register input[type="text"]::placeholder,
.dokan-vendor-register input[type="email"]::placeholder,
.dokan-vendor-register input[type="password"]::placeholder,
.dokan-vendor-register input[type="tel"]::placeholder,
.show_if_seller .input-text::placeholder,
.show_if_seller .form-control::placeholder,
.show_if_seller input[type="text"]::placeholder,
.show_if_seller input[type="email"]::placeholder,
.show_if_seller input[type="password"]::placeholder,
.show_if_seller input[type="tel"]::placeholder {
    color: #999 !important;
    opacity: 1 !important;
}

.dokan-vendor-register .input-text::-webkit-input-placeholder,
.dokan-vendor-register .form-control::-webkit-input-placeholder,
.dokan-vendor-register input[type="text"]::-webkit-input-placeholder,
.dokan-vendor-register input[type="email"]::-webkit-input-placeholder,
.dokan-vendor-register input[type="password"]::-webkit-input-placeholder,
.dokan-vendor-register input[type="tel"]::-webkit-input-placeholder,
.show_if_seller .input-text::-webkit-input-placeholder,
.show_if_seller .form-control::-webkit-input-placeholder,
.show_if_seller input[type="text"]::-webkit-input-placeholder,
.show_if_seller input[type="email"]::-webkit-input-placeholder,
.show_if_seller input[type="password"]::-webkit-input-placeholder,
.show_if_seller input[type="tel"]::-webkit-input-placeholder {
    color: #999 !important;
    opacity: 1 !important;
}

.dokan-vendor-register .input-text::-moz-placeholder,
.dokan-vendor-register .form-control::-moz-placeholder,
.dokan-vendor-register input[type="text"]::-moz-placeholder,
.dokan-vendor-register input[type="email"]::-moz-placeholder,
.dokan-vendor-register input[type="password"]::-moz-placeholder,
.dokan-vendor-register input[type="tel"]::-moz-placeholder,
.show_if_seller .input-text::-moz-placeholder,
.show_if_seller .form-control::-moz-placeholder,
.show_if_seller input[type="text"]::-moz-placeholder,
.show_if_seller input[type="email"]::-moz-placeholder,
.show_if_seller input[type="password"]::-moz-placeholder,
.show_if_seller input[type="tel"]::-moz-placeholder {
    color: #999 !important;
    opacity: 1 !important;
}

/* Password & Confirm Password field styling */
.password-mismatch-error {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #e2401c !important;
}

#reg_password2 {
    transition: border-color 0.2s ease;
}

/* Confirm password field on WooCommerce My Account form */
.woocommerce-form-register #reg_password2,
.woocommerce-form-register p.form-row #reg_password2 {
    margin-bottom: 15px !important;
}

/* Confirm password field on Dokan standalone vendor registration form */
.dokan-vendor-register .form-row #reg_password2 {
    margin-bottom: 15px !important;
}

@media (max-width: 480px) {
    .artisan-st-brands-grid {
        grid-template-columns: 1fr;
    }
    
    .artisan-st-layout-grid .brand-highlight-products,
    .artisan-st-layout-masonry .brand-highlight-products {
        grid-template-columns: 1fr;
    }
    
    .other-brands-grid {
        grid-template-columns: 1fr !important;
    }
    
    .hero-title {
        font-size: 24px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
}

/* ============================================================
   Responsive Header/Footer Reliability Fixes
   ============================================================ */
@media (max-width: 1024px) {
    /* Use a toggle menu up to tablet width to avoid overflowed header links. */
    .site-header .main-navigation .menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        color: #000000 !important;
    }

    .site-header .main-navigation > ul,
    .site-header .main-navigation .main-menu {
        display: none !important;
        width: 100%;
    }

    .site-header .main-navigation.toggled > ul,
    .site-header .main-navigation.toggled .main-menu {
        display: block !important;
    }

    .site-header .main-navigation.toggled .sub-menu,
    .site-header .main-navigation.toggled .children {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        position: static !important;
        transform: none !important;
    }

    .site-header .main-navigation.toggled li {
        width: 100%;
    }
}

/* Ensure footer never gets hidden by parent theme page state classes. */
body.hide--footer .site-footer,
body:has(.saren--checkout--form) .site-footer {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Keep footer menus readable on small screens. */
@media (max-width: 768px) {
    .site-footer .menu,
    .site-footer ul.menu,
    .site-footer .elementor-nav-menu {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px;
    }
}

/* Hide default placeholder text from Women's Collection brand highlight */
.elementor-widget-text .elementor-widget-container:contains("Women's Collection - Add your content"),
.elementor-text-editor:contains("Women's Collection - Add your content"),
.elementor-element:contains("Women's Collection - Add your content") {
    display: none !important;
}

/* Use attribute selector to hide elements containing the text */
.elementor-widget-container[data-text*="Women's Collection - Add your content"],
.elementor-text-editor[data-text*="Women's Collection - Add your content"] {
    display: none !important;
}

/* JavaScript-based hiding for text content - will be handled by JS */
.brand-highlight-content-wrapper .elementor-widget-text,
.brand-highlight-content-wrapper .elementor-text-editor {
    position: relative;
}

/* Keep mobile full-screen menu background black. */
@media (max-width: 1199px) {
    .header--switched .elementor-1314 .elementor-element.elementor-element-f0ebf5b,
    .header--switched .elementor-1314 .elementor-element.elementor-element-f0ebf5b .e-con,
    body.layout--switched .elementor-1314 .elementor-element.elementor-element-f0ebf5b,
    body.layout--switched .reverse__f0ebf5b {
        --mainBackground: #000000 !important;
    }
}

/* ============================================================
   WooCommerce controls and reset password button fixes
   ============================================================ */

/* Remove quick shop and wishlist controls globally. */
.quick-add-to-cart-popup,
button.quick-add-to-cart-btn,
.saren--product-quick-action:has(button.quick-add-to-cart-btn),
.saren--product-quick-action:has(.yith-wcwl-add-to-wishlist),
.saren--product-quick-action:has(.yith-wcwl-add-button),
.ss--act:has(.yith-wcwl-add-to-wishlist),
.ss--act:has(.yith-wcwl-add-button),
.yith-wcwl-add-to-wishlist,
.yith-wcwl-add-button {
    display: none !important;
}

/* Keep product add-to-cart as icon button in quick actions. */
.saren--single--atc button.single_add_to_cart_button,
.saren--single--atc a.button.product_type_simple,
.saren--single--atc a.button.product_type_variable,
.saren--single--atc a.button.product_type_external {
    font-size: 0 !important;
    width: 2.5rem !important;
    height: 2.5rem !important;
    min-width: 2.5rem !important;
    min-height: 2.5rem !important;
    padding: 0 !important;
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.saren--single--atc button.single_add_to_cart_button::before,
.saren--single--atc a.button.product_type_simple::before,
.saren--single--atc a.button.product_type_variable::before,
.saren--single--atc a.button.product_type_external::before {
    content: "+";
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
}

/* Reset password button text/readability fix. */
.woocommerce-account form.lost_reset_password button.woocommerce-Button,
.woocommerce-account form.lost_reset_password button.woocommerce-button,
.woocommerce-account form.lost_reset_password .button {
    background: #000000 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    text-transform: none !important;
    min-height: 42px;
    border: 1px solid #000000 !important;
}

/* Also cover the custom shortcode reset form submit input. */
.woocommerce-account form.lost_reset_password input[type="submit"],
.saren--login-sec form input[type="submit"],
form[action=""] input[type="submit"][value="Reset Password"] {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #000000 !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    min-height: 42px !important;
    padding: 0.75em 1.25em !important;
    font-weight: 500 !important;
    text-transform: none !important;
    opacity: 1 !important;
}

.woocommerce-account form.lost_reset_password input[type="submit"]:hover,
.saren--login-sec form input[type="submit"]:hover,
form[action=""] input[type="submit"][value="Reset Password"]:hover {
    background: #111111 !important;
    color: #ffffff !important;
}

/* Disable wishlist generated tooltip label (it overflows card action box). */
.saren--product--element .pe-wishlist-btn.pe--styled--object::after,
.saren--product-quick-action:has(.pe-wishlist-btn)::after {
    content: none !important;
    display: none !important;
}

/* Header wishlist popup title and item text readability. */
.pe--yith--popup,
.pe--yith--popup #yith-wcwl-form,
.pe--yith--popup .yith-wcwl-form {
    color: #111111 !important;
}

.pe--yith--popup .wishlist-title h2,
.pe--yith--popup .wishlist-title-container,
.pe--yith--popup .wishlist-title {
    color: #111111 !important;
    opacity: 1 !important;
}

.pe--yith--popup #yith-wcwl-form table.shop_table.wishlist_table tr td,
.pe--yith--popup #yith-wcwl-form table.shop_table.wishlist_table tr td a,
.pe--yith--popup #yith-wcwl-form .product-name a,
.pe--yith--popup #yith-wcwl-form .product-price,
.pe--yith--popup #yith-wcwl-form .amount {
    color: #111111 !important;
    opacity: 1 !important;
    text-shadow: none !important;
    -webkit-text-fill-color: #111111 !important;
    mix-blend-mode: normal !important;
}

/* Keep product title/price readable and fully visible inside header wishlist popup. */
.pe--yith--popup #yith-wcwl-form .product-name,
.pe--yith--popup #yith-wcwl-form .product-name a,
.pe--yith--popup #yith-wcwl-form .woocommerce-Price-amount,
.pe--yith--popup #yith-wcwl-form .product-price {
    display: block;
    white-space: normal !important;
    word-break: break-word;
    overflow: visible;
}

/* Disable tooltip label in popup cards to prevent clipping like screenshot. */
.pe--yith--popup .saren--product--element .pe-wishlist-btn.pe--styled--object::after,
.pe--yith--popup .saren--product-quick-action:has(.pe-wishlist-btn)::after {
    content: none !important;
    display: none !important;
}

/* Remove dark hover artifact/spot on wishlist icon in header popup. */
.pe--yith--popup .actions--hovers--yes .saren--product-quick-action:hover,
.pe--yith--popup .actions--hovers--yes .saren--product-quick-action:has(.pe-wishlist-btn),
.pe--yith--popup .actions--hovers--yes .saren--product-quick-action:has(.pe-wishlist-btn:hover) {
    background: transparent !important;
    color: #111111 !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.pe--yith--popup .actions--hovers--yes .saren--product-quick-action:hover svg,
.pe--yith--popup .actions--hovers--yes .saren--product-quick-action:has(.pe-wishlist-btn) svg {
    fill: #111111 !important;
    color: #111111 !important;
}

/*17-04-2026*/
.dokan-label, .dokan-right{ letter-spacing:0px; }

/*27-04-2026*/
.mobile-menu-custom #site-navigation .menu-toggle{ display:none !important; }
.mobile-menu-custom #site-navigation.main-navigation > ul, 
.mobile-menu-custom #site-navigation.main-navigation .main-menu{ display:block !important; }