/* Fashion2 marketplace layout — theme tokens from admin customization */

.theme-fashion2 .f2-marketplace-top-nav {

    background-color: var(--theme-color-topbar-bg, #263587);

    border-bottom: 1px solid var(--surface1, rgba(255, 255, 255, 0.15));

}



.theme-fashion2 .f2-marketplace-top-nav .text-button-uppercase,

.theme-fashion2 .f2-marketplace-top-nav .choose-type .selected,

.theme-fashion2 .f2-marketplace-top-nav .right-content i,

.theme-fashion2 .f2-marketplace-top-nav .right-content a {

    color: #fff;

}



.theme-fashion2 .f2-marketplace-top-nav .left-content {

    gap: 1.25rem;

}



.theme-fashion2 .f2-marketplace-top-nav .top-nav-main {

    align-items: stretch;

}



.theme-fashion2 #header.style-marketplace .f2-header-menu {

    background-color: var(--theme-color-menu-header-bg, #263587);

}



.theme-fashion2 #header.style-marketplace .header-main {

    gap: 1rem;

}



.theme-fashion2 #header.style-marketplace .f2-header-search {
    width: 66.666667%;
    max-width: 66.666667%;
    flex: 0 1 66.666667%;
    min-width: 12rem;
    padding-left: 2rem;
    height: 44px;
}

.theme-fashion2 #header.style-marketplace .f2-header-search__inner {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 100%;
}

.theme-fashion2 #header.style-marketplace .f2-header-search__input {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    height: 100%;
    margin: 0;
    background-color: #fff;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.theme-fashion2 #header.style-marketplace .f2-header-search__btn.button-main {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0 1.75rem !important;
    border-radius: 0 !important;
    border-top-right-radius: 0.25rem !important;
    border-bottom-right-radius: 0.25rem !important;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    background-color: rgb(219 68 68) !important;
    color: #fff !important;
}

.theme-fashion2 #header.style-marketplace .f2-header-search__btn.button-main:hover {
    background-color: #c62828 !important;
    color: #fff !important;
}

.theme-fashion2 #header.style-marketplace .list-action .ph-bold {

    color: #fff;

}



.theme-fashion2 #header.style-marketplace .f2-top-nav-menu,

.theme-fashion2 #header.style-marketplace .menu-department-block {

    overflow: visible;

}



.theme-fashion2 #header.style-marketplace .sub-menu-department.style-marketplace {

    z-index: 200;

}



.theme-fashion2.page-home #header.style-marketplace {

    position: relative;

}



.theme-fashion2 .f2-header-logo {

    max-height: 40px;

    width: auto;

}



.theme-fashion2 .slider-block.style-marketplace .text-sub-display,

.theme-fashion2 .slider-block.style-marketplace .heading2 {

    color: #fff;

}



.theme-fashion2 .collection-block .item {

    background-color: var(--theme-color-surface, #fff);

}



.theme-fashion2 .collection-block .has-line-before::before {
    background-color: var(--theme-color-line, #e5e7eb);
}

/* Inner pages — marketplace header stack (no overlay offset) */
body.theme-fashion2.f2-marketplace-layout .breadcrumb-product .main,
body.theme-fashion2.f2-marketplace-layout .breadcrumb-product .f2-breadcrumb-product__main {
    padding-top: 14px !important;
}

@media (max-width: 767.98px) {
    body.theme-fashion2.f2-marketplace-layout .breadcrumb-product .main,
    body.theme-fashion2.f2-marketplace-layout .breadcrumb-product .f2-breadcrumb-product__main {
        padding-top: 12px !important;
    }
}

body.theme-fashion2.f2-marketplace-layout .breadcrumb-block.style-shared .breadcrumb-main .container,
body.theme-fashion2.f2-marketplace-layout .breadcrumb-block.style-img .breadcrumb-main .container {
    padding-top: 28px !important;
}

@media (min-width: 1024px) {
    body.theme-fashion2.f2-marketplace-layout .breadcrumb-block.style-shared .breadcrumb-main .container,
    body.theme-fashion2.f2-marketplace-layout .breadcrumb-block.style-img .breadcrumb-main .container {
        padding-top: 32px !important;
    }
}

body.theme-fashion2.f2-marketplace-layout .f2-breadcrumb-product .container {
    max-width: 100%;
}

body.theme-fashion2.f2-marketplace-layout .f2-marketplace-footer .footer-bottom .left {
    gap: 2rem;
}

body.theme-fashion2.f2-marketplace-layout .f2-footer-locale select.f2-footer-locale-select {
    border: 0;
    outline: none;
    cursor: pointer;
    padding-right: 0.25rem;
}

body.theme-fashion2.f2-marketplace-layout .f2-footer-contact a {
    color: inherit;
    text-decoration: none;
}

body.theme-fashion2.f2-marketplace-layout .f2-footer-contact a:hover {
    text-decoration: underline;
}

body.theme-fashion2.f2-marketplace-layout .f2-pdp-marketplace .f1-you-may-like-block.style-marketplace .list-product {
    display: grid;
}

/* PDP — `html/product-default.html` buy box (qty + add cart row, buy now below) */
body.theme-fashion2.page-product .f2-pdp-anvogue .f2-pdp-list-action {
    padding-top: 0;
}

body.theme-fashion2.page-product .f2-pdp-anvogue .f2-pdp-cta-block .choose-quantity {
    align-items: stretch;
}

body.theme-fashion2.page-product .f2-pdp-anvogue .f2-pdp-cta-block .quantity-block {
    min-height: 48px;
}

body.theme-fashion2.page-product .f2-pdp-anvogue .choose-quantity .add-cart-btn.button-main,
body.theme-fashion2.page-product .f2-pdp-anvogue .choose-quantity .js-product-add-btn {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    min-height: 48px;
    margin: 0;
    display: inline-block;
    padding: 16px 32px !important;
    border-radius: 12px !important;
    background-color: #fff !important;
    color: #000 !important;
    border: 1px solid #000 !important;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}

body.theme-fashion2.page-product .f2-pdp-anvogue .choose-quantity .js-product-add-btn:hover {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
}

body.theme-fashion2.page-product .f2-pdp-anvogue .button-block .js-buy-now,
body.theme-fashion2.page-product .f2-pdp-anvogue .button-block .f2-btn-buy-now {
    display: block;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 16px 40px !important;
    border-radius: 12px !important;
    background-color: #000 !important;
    color: #fff !important;
    border: none !important;
    text-transform: uppercase;
}

body.theme-fashion2.page-product .f2-pdp-anvogue .button-block .js-buy-now:hover {
    background-color: var(--theme-color-button-hover, #263587) !important;
}

@media (max-width: 991.98px) {
    body.theme-fashion2.page-product .f2-pdp-anvogue .choose-quantity {
        gap: 0.75rem;
    }

    body.theme-fashion2.page-product .f2-pdp-anvogue .choose-quantity .js-product-add-btn {
        flex: 1 1 auto;
        padding-left: 12px !important;
        padding-right: 12px !important;
        font-size: 12px;
    }
}

/* PDP gallery — `html/product-default.html` (main rounded-2xl 16px, thumbs overlay top-left 12px) */
body.theme-fashion2.page-product .f2-pdp-anvogue .f2-pdp-gallery {
    position: relative;
}

body.theme-fashion2.page-product .f2-pdp-anvogue .list-img .mySwiper2.rounded-2xl {
    border-radius: 1rem;
    overflow: hidden;
}

body.theme-fashion2.page-product .f2-pdp-anvogue .list-img .mySwiper2 .bg-img,
body.theme-fashion2.page-product .f2-pdp-anvogue .list-img .mySwiper2 .popup-link {
    display: block;
    aspect-ratio: 3 / 4;
    max-height: none;
}

body.theme-fashion2.page-product .f2-pdp-anvogue .list-img .mySwiper2 img.f2-pdp-gallery__main-img,
body.theme-fashion2.page-product .f2-pdp-anvogue .list-img .mySwiper2 .popup-link img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center center;
}

body.theme-fashion2.page-product .f2-pdp-anvogue .featured-product.underwear .list-img .mySwiper.f2-pdp-thumbs-swiper {
    position: unset;
    cursor: pointer;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0;
    overflow: visible;
}

body.theme-fashion2.page-product .f2-pdp-anvogue .featured-product.underwear .list-img .mySwiper.f2-pdp-thumbs-swiper .swiper-wrapper {
    position: absolute;
    top: 20px;
    left: 20px;
    flex-direction: column;
    gap: 12px;
    width: fit-content;
    z-index: 2;
    margin: 0;
}

body.theme-fashion2.page-product .f2-pdp-anvogue .featured-product.underwear .list-img .mySwiper.f2-pdp-thumbs-swiper .swiper-slide {
    width: 100px !important;
    height: auto !important;
    margin: 0 !important;
    border: 1px solid #a0a0a0;
    border-radius: 12px;
    overflow: hidden;
    opacity: 0.5;
    transition: opacity 0.2s ease, border-color 0.2s ease;
}

body.theme-fashion2.page-product .f2-pdp-anvogue .featured-product.underwear .list-img .mySwiper.f2-pdp-thumbs-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--black, #1f1f1f);
}

body.theme-fashion2.page-product .f2-pdp-anvogue .f2-pdp-thumb {
    aspect-ratio: 3 / 4;
    border: none;
    border-radius: 0;
    overflow: hidden;
    background: transparent;
}

body.theme-fashion2.page-product .f2-pdp-anvogue .f2-pdp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
}

@media (max-width: 1023.98px) {
    body.theme-fashion2.page-product .f2-pdp-anvogue .featured-product.underwear .list-img .mySwiper.f2-pdp-thumbs-swiper .swiper-slide {
        width: 60px !important;
    }
}

@media (min-width: 992px) {
    body.theme-fashion2.page-product .f2-pdp-anvogue .f2-pdp-gallery-overlay.f2-pdp-gallery-overlay {
        display: none !important;
    }
}
