/**
 * SEO & Custom Styles
 * @package Betheme Child
 */

/* Main navigation */
#menu-peamenuu-2 .menu-item-red.current-menu-item SPAN.menu-label {
    color: #FFFFFF;
}

/* Icons */
.header__phone .column_attr a {
    padding-left: 28px;
}

.header__phone .column_attr a::before {
    content: '\e827';
    font-family: "mfn-icons";
    font-style: normal;
    font-weight: 400;
    color: #335484;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 1px;
    margin-right: 8px;
    font-size: 26px;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.header__login .column_attr p {
    padding-left: 28px;
    position: relative;
}

.header__login .column_attr p::before {
    content: '\f007';
    font-family: "Font Awesome 5 Free";
    font-weight: 400;
    color: #335484;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 1px;
    font-size: 21px;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* Category pages */
.default-woo-list H1.page-title {
    width: 100%;
    padding: 0 1%;
    margin-top: 12px;
    margin-bottom: 0;
}


/* Wishlist related styles */
.products_wrapper UL.products  LI.product .image_frame {
    overflow: visible;
}

.products_wrapper UL.products  LI.product .image_frame SVG .path {
    stroke: rgb(51 83 131);
}

.products_wrapper UL.products  LI.product .image_frame .mfn-wish-button.loved:not(.link) SVG .path {
    fill: rgb(51 83 131);
}

.products_wrapper UL.products  LI.product .tp-image-wrapper {
    display: flex;
    align-items: center;
    background-color: #FFFFFF;
    min-height: 224px;
}

.woocommerce ul.products li.product a img {
    object-fit: contain;
}

/* Whishlist page */
.section.wishlist.woocommerce .wishlist-title {
    margin-bottom: 42px;
    width: 100%;
}
.section.wishlist.woocommerce .wishlist-row {
    width: 100%;
    align-items: flex-start;
}

.section.wishlist.woocommerce .wishlist-row .mcb-column-inner H3 {
    font-size: 17px;
    color: #444444;
}

.section.wishlist.woocommerce .wishlist-row .image_frame .mfn-wish-button.mfn-abs-top {
    right: 13px;
}

.section.wishlist.woocommerce .wishlist-row .image_frame .mfn-wish-button.mfn-abs-top SVG .path {
    stroke: rgb(51 83 131);
    fill: rgb(51 83 131);
}

.section.wishlist.woocommerce .wishlist-row .image_wrapper  .image_links {
    margin-top: 42px;
}

.section.wishlist.woocommerce .wishlist-row .wishlist-options .mcb-column-inner {
    margin-top: 32px;
}

/* Product preview on wishlist page */
.mfn-popup-content .mfn-popup-content-col .slick-track .mfn-qs-one-first {
    background-color: #FFFFFF;
}

.mfn-popup-content .mfn-popup-content-col .slick-track IMG {
    max-height: 560px;
    min-height: 560px;
    object-fit: contain;
}

.mfn-popup-content .mfn-popup-content-col H3.heading {
    font-size: 17px;
    color: #444444;
}

@media screen and (max-width: 768px) {
    .mfn-popup-content .mfn-popup-content-col .slick-track IMG {
        max-height: 480px;
        min-height: 480px;
    }
}

@media screen and (max-width: 480px) {
    .mfn-popup-content .mfn-popup-content-col .slick-track IMG {
        max-height: 420px;
        min-height: 420px;
    }
}

/* Product pages */
section.related.products H3 {
    font-size: 24px;
    line-height: 25px;
    font-weight: 400;
    letter-spacing: 0px;
}

/* FAQ items */
.asitek-category-faq {
    width: 100%;
    margin-bottom: 64px;
    background-color: rgba(247,247,247,1);
    border-radius: 20px;
    padding: 40px;
}

.asitek-category-faq .faq {
    margin: 1%;
}

.asitek-category-faq .faq .mfn-acc .question {
    border-left: unset;
    border-radius: 12px;
    margin-bottom: 12px;
}

.asitek-category-faq .faq .mfn-acc .question:after {
    display: none;
}

.asitek-category-faq .faq .mfn-acc .question.active {
    border-left: unset;
}

.asitek-category-faq .faq .mfn-acc .question .title {
    background-color: #FFFFFF;

}
.asitek-category-faq .faq .mfn-acc .answer {
    background-color: #FFFFFF;
    padding-top: 12px;
}

.asitek-category-faq .faq .mfn-acc .question .title .num {
    background-color: #FFFFFF;
    width: 32px;
    height: 32px;
    top: 18px;
    padding-top: 2px;
    border-radius: 32px;
    text-align: center;
    transition: all .3s ease;
}

.asitek-category-faq .faq .mfn-acc .question.active .title .num {
    background-color: #2991d6;
    color: #FFFFFF;
    transition: all .3s ease;
}

@media screen and (max-width: 480px) {
    .asitek-category-faq {
        padding: 40px 20px;
    }

    .asitek-category-faq .faq .mfn-acc .question .title .num  {
        left: 14px;
        width: 24px;
        height: 24px;
    }

    .asitek-category-faq .faq .question .title, 
    .asitek-category-faq .faq .question .answer {
        padding-left: 48px;
    }
}

/* Footer changes */
footer .mcb-column-inner ASIDE span {
    display: block;
    color: #000000;
    font-weight: 700;
    font-size: 17px;
    line-height: 25px;
    margin-bottom: 15px;
}

/* Product images */
LI.product .mfn-li-product-row span.soldout {
    z-index: 1;
    margin-top: 26px;
}
.woocommerce ul.products li.product.outofstock .product-loop-thumb .soldout h4 {
    background-color: #FFFFFF;
    font-size: 12px;
    text-transform: uppercase;
}

/* ---------------------------------------------------------------------------
 * Brand Listing Styles - Alphabetical Flex Layout
 * --------------------------------------------------------------------------- */
.asitek-brand-listing-alphabetical {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 40px 0;
}

.asitek-brand-letter-section {
    flex: 1 0 25%;
    max-width: 25%;
    padding: 30px;
    border-right: 1px solid #d2d2d2;
}

.asitek-brand-letter-section:last-child {
    border-right: none;
}

.asitek-brand-letter-header {
    margin: 0;
    padding-bottom: 10px;
    font-size: 22px;
    line-height: 30px;
    font-weight: 400;
    letter-spacing: 0px;
}

.asitek-brand-grid {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
}

.asitek-brand-row {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 20px 10px;
}

.asitek-brand-row.row-even {
    background-color: rgba(0, 0, 0, .03);
}

.asitek-brand-row.row-odd {
    background-color: transparent;
}

.asitek-brand-item {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 12px 0;
}

.asitek-brand-link {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
    transition: color 0.3s ease;
    display: block;
}

.asitek-brand-link:hover {
    color: #007cc3;
    text-decoration: none;
}

@media screen and (max-width: 1240px) {
    .asitek-brand-letter-section {
        flex: 1 0 33.333%;
        max-width: 33.333%;
        border-right: 1px solid #d2d2d2;
        border-bottom: none;
    }

    .asitek-brand-letter-section:nth-child(3n) {
        border-right: none;
    }

    .asitek-brand-item {
        flex: 0 0 33.333%;
        max-width: 33.333%;
    }
}

@media screen and (max-width: 960px) {
    .asitek-brand-letter-section {
        flex: 1 0 50%;
        max-width: 50%;
        border-right: 1px solid #d2d2d2;
        border-bottom: none;
    }

    .asitek-brand-letter-section:nth-child(3n) {
        border-right: none;
    }

    .asitek-brand-letter-section:nth-child(2n) {
        border-right: none;
    }

    .asitek-brand-item {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .asitek-brand-letter-header {
        font-size: 28px;
    }
}

@media screen and (max-width: 768px) {
    .asitek-brand-listing-alphabetical {
        margin: 30px 0;
    }

    .asitek-brand-letter-section {
        flex: 1 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
        border-right: none;
        border-bottom: 1px solid #EBEBEB;
        padding-bottom: 30px;
    }

    .asitek-brand-letter-section:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .asitek-brand-letter-header {
        font-size: 26px;
        margin-bottom: 15px;
    }

    .asitek-brand-item {
        padding: 10px 0;
    }

    .asitek-brand-link {
        font-size: 15px;
    }
}

@media screen and (max-width: 568px) {
    .asitek-brand-letter-section {
        flex: 1 0 100%;
        max-width: 100%;
        margin-bottom: 25px;
        border-right: none;
        border-bottom: 1px solid #EBEBEB;
        padding-bottom: 25px;
    }

    .asitek-brand-letter-section:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .asitek-brand-item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .asitek-brand-listing-alphabetical {
        margin: 20px 0;
    }

    .asitek-brand-letter-header {
        font-size: 24px;
    }

    .asitek-brand-link {
        font-size: 14px;
    }
}

/* ---------------------------------------------------------------------------
 * Brand Archive Page (Single Brand View)
 * Desktop: Title/Description LEFT, Logo RIGHT
 * Mobile: Title, Logo, Description (stacked)
 * --------------------------------------------------------------------------- */
.asitek-brand-archive-header {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 40px;
    padding: 10px 1%;
}

.asitek-brand-archive-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    order: 1;
}

.asitek-brand-archive-title {
    margin: 0;
    font-size: 24px;
    line-height: 25px;
    font-weight: 400;
    color: #444444;
}

.asitek-brand-archive-description {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

.asitek-brand-archive-description p:last-child {
    margin-bottom: 0;
}

.asitek-brand-archive-image-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9f9f9;
    border-radius: 8px;
    order: 2;
}

.asitek-brand-archive-image {
    width: 100%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
}

@media screen and (max-width: 768px) {
    .asitek-brand-archive-header {
        flex-direction: column;
        gap: 25px;
        padding: 25px;
        margin-bottom: 30px;
    }

    .asitek-brand-archive-content {
        display: contents;
    }

    .asitek-brand-archive-title {
        font-size: 26px;
        order: 1;
    }

    .asitek-brand-archive-image-wrapper {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        min-height: 180px;
        padding: 20px;
        order: 2;
    }

    .asitek-brand-archive-description {
        font-size: 15px;
        order: 3;
    }
}

@media screen and (max-width: 480px) {
    .asitek-brand-archive-header {
        padding: 20px;
        margin-bottom: 20px;
    }

    .asitek-brand-archive-image-wrapper {
        min-height: 150px;
        padding: 15px;
    }

    .asitek-brand-archive-title {
        font-size: 22px;
    }

    .asitek-brand-archive-description {
        font-size: 14px;
    }
}