/* SEASTx B2B Marketplace Styles */

/* Request Deal buttons - Shop/Archive */
.seastx-request-deal {
    background-color: #FFC651 !important;
    color: #0B3244 !important;
    border: none !important;
    border-radius: 4px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 12px 24px !important;
    font-size: 14px !important;
    transition: background-color 0.3s ease, transform 0.2s ease !important;
    text-decoration: none !important;
    display: inline-block !important;
}
.seastx-request-deal:hover {
    background-color: #e6b247 !important;
    color: #0B3244 !important;
    transform: translateY(-1px) !important;
}

/* Single product Request Deal */
.seastx-request-deal-wrap {
    margin: 20px 0;
    text-align: left;
}
.seastx-request-deal-single {
    padding: 16px 36px !important;
    font-size: 16px !important;
}
.seastx-deal-note {
    color: #666;
    font-size: 13px;
    margin-top: 8px;
    font-style: italic;
}

/* Product cards on shop page */
.woocommerce ul.products li.product {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 16px;
    transition: box-shadow 0.3s ease;
}
.woocommerce ul.products li.product:hover {
    box-shadow: 0 4px 16px rgba(11, 50, 68, 0.15);
}

/* Product title styling */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #0B3244;
    font-weight: 600;
    font-size: 16px;
}

/* Hide empty price placeholders */
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    display: none !important;
}

/* Category badges */
.woocommerce ul.products li.product .posted_in {
    font-size: 12px;
    color: #0B3244;
    background: rgba(11, 50, 68, 0.08);
    display: inline-block;
    padding: 2px 10px;
    border-radius: 12px;
    margin-bottom: 8px;
}

/* Marketplace page title */
.woocommerce-products-header__title {
    color: #0B3244 !important;
    font-weight: 700 !important;
}

/* Hide cart/mini-cart elements */
.woocommerce-mini-cart,
.widget_shopping_cart,
.cart-contents,
a.cart-customlocation,
.woocommerce .woocommerce-cart-form,
.wc-block-mini-cart {
    display: none !important;
}

/* Prevent horizontal scrollbar from 100vw hero */
body.woocommerce-shop {
    overflow-x: hidden;
}

/* Marketplace hero banner */
.seastx-marketplace-hero {
    background: url("/wp-content/uploads/2024/04/contact-banner.jpg") center center / cover no-repeat;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    padding: 60px 40px 40px;
    margin: 0 calc(-50vw + 50%);
    width: 100vw;
    position: relative;
}
.seastx-marketplace-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(11, 50, 68, 0.4);
}
.seastx-marketplace-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 1140px;
    margin: 0 auto;
    width: 100%;
}
.seastx-marketplace-hero h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 700;
    margin: 0;
}

/* Hide duplicate WooCommerce page title (hero has the h1) */
.woocommerce-shop .woocommerce-products-header__title {
    display: none;
}

/* Hide breadcrumb on shop page */
.woocommerce-shop .woocommerce-breadcrumb {
    display: none;
}
