
/* CrossBins - WooCommerce Product Page */

body.single-product {
    background: #0b151e !important;
    color: #eaf3ff;
}

/* Product content area */
.single-product .site-main,
.single-product main,
.single-product .content-area,
.single-product .woocommerce {
    background: transparent !important;
    color: #eaf3ff;
}

/* Product title and descriptions */
.single-product .product_title,
.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-tabs,
.single-product .woocommerce-tabs p {
    color: #eaf3ff !important;
}

/* Product price */
.single-product .price,
.single-product .price .amount {
    color: #00aaff !important;
}

/* Product image container */
.single-product .woocommerce-product-gallery {
    background: #172735;
    border: 1px solid #294358;
    border-radius: 14px;
    padding: 16px;
}

/* Product information */
.single-product .summary {
    background: #142330;
    padding: 25px;
    border-radius: 14px;
    border: 1px solid #294358;
}

/* Variation selection */
.single-product select,
.single-product input.qty {
    background: #101e2a;
    color: white;
    border: 1px solid #36536a;
    border-radius: 6px;
    padding: 10px;
}

/* Add to cart button */
.single-product .single_add_to_cart_button {
    background: #009dff !important;
    color: white !important;
    border-radius: 8px;
    padding: 14px 24px;
}

/* Tabs */
.single-product .woocommerce-tabs ul.tabs li {
    background: #172735 !important;
    border-color: #294358 !important;
}

.single-product .woocommerce-tabs ul.tabs li a {
    color: #eaf3ff !important;
}

/* CrossBins Download Button */
.crossbins-downloads a,
.crossbins-downloads a:visited {
    display: inline-block !important;
    background-color: #087bd1 !important;
    color: #ffffff !important;
    padding: 12px 28px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-top: 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.crossbins-downloads a:hover {
    background-color: #005fa8 !important;
    color: #ffffff !important;
}



/* CROSSBINS DOWNLOADS - PAGE 47 */

/* Main page container */
body.page-id-47 main.wrap.content {
    background: #10243c !important;
    color: #ffffff !important;
    border: 1px solid #b7c9dc !important;
    border-radius: 10px !important;
    padding: 30px !important;
}

/* Main headings */
body.page-id-47 main.wrap.content > h1,
body.page-id-47 main.wrap.content > h2 {
    color: #ffffff !important;
}

/* Introduction */
body.page-id-47 main.wrap.content > p {
    color: #dce8f5 !important;
}

/* Software download cards */
body.page-id-47 main.wrap.content .cb-dl-item {
    background: #f8fafc !important;
    color: #172638 !important;
    border: 1px solid #b7c9dc !important;
    border-radius: 9px !important;
    padding: 18px !important;
}

/* Download link as button */
body.page-id-47 .cb-dl-item a {
    display: inline-block !important;
    background: #087bd1 !important;
    color: #ffffff !important;
    padding: 11px 26px !important;
    border-radius: 7px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-top: 10px;
}

body.page-id-47 .cb-dl-item a:hover {
    background: #005fa8 !important;
}

/* Installation guide remains light inside */
body.page-id-47 .crossbins-install-guide > div {
    background: #f8fafc !important;
    color: #172638 !important;
}


/* CrossBins Red Download Button */
body.page-id-47 .cb-dl-item a,
body.page-id-47 .cb-dl-item a:visited {
    display: inline-block !important;
    background: #c62828 !important;
    color: #ffffff !important;
    padding: 12px 30px !important;
    border: 1px solid #e05252 !important;
    border-radius: 7px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    margin-top: 10px;
    cursor: pointer;
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
    transition: background 0.2s ease;
}

body.page-id-47 .cb-dl-item a:hover,
body.page-id-47 .cb-dl-item a:focus {
    background: #e53935 !important;
    color: #ffffff !important;
}


/* CrossBins Coming Soon - Infographic Background */

body.home.blog {
    background-color: #06152c !important;
    background-image: url("https://crossbins.com/wp-content/uploads/2026/11/CrossBins-Bridge-Technology-Infographic.png") !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    background-attachment: fixed !important;
    min-height: 100vh !important;
}



/* Hide duplicate top-left site title on Coming Soon */
body.home.blog .wp-block-site-title,
body.home.blog .wp-block-site-title a {
    display: none !important;
}


/* CrossBins - Restore normal homepage background */
body.home:not(.woocommerce-coming-soon) {
    background-image: none !important;
    background-color: #06152c !important;
}


/* CROSSBINS PRIVACY POLICY STYLE */

body.privacy-policy main.wrap.content {
    background: #10243c !important;
    color: #f8fafc !important;
    border: 1px solid #b7c9dc !important;
    border-radius: 10px !important;
    padding: 30px !important;
}

/* Main page title */
body.privacy-policy main.wrap.content > h1 {
    color: #ffffff !important;
    font-size: 30px;
    margin-bottom: 24px;
}

/* Section headings */
body.privacy-policy main.wrap.content h2,
body.privacy-policy main.wrap.content h3 {
    background: #183653 !important;
    color: #ffffff !important;
    padding: 14px 18px !important;
    border: 1px solid #b7c9dc;
    border-radius: 9px;
    margin-top: 24px;
}

/* Readable legal text */
body.privacy-policy main.wrap.content p,
body.privacy-policy main.wrap.content li {
    color: #e5edf7 !important;
    line-height: 1.8 !important;
    font-size: 15px;
}

/* Links */
body.privacy-policy main.wrap.content a {
    color: #66d4ff !important;
}

/* Lists */
body.privacy-policy main.wrap.content ul {
    padding-left: 28px;
    margin-bottom: 20px;
}

/* Mobile */
@media (max-width: 768px) {
    body.privacy-policy main.wrap.content {
        padding: 18px !important;
    }
}


/* CrossBins Shop - Product Grid Fix */
.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(
        auto-fit, minmax(260px, 320px)
    ) !important;
    gap: 24px !important;
    justify-content: center !important;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    max-width: 320px !important;
    float: none !important;
    margin: 0 !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    background: #10243c !important;
    border: 1px solid #b7c9dc !important;
    border-radius: 9px !important;
}

.woocommerce ul.products li.product img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .price {
    color: #ffffff !important;
}

.woocommerce ul.products li.product .button {
    background: #087bd1 !important;
    color: #ffffff !important;
    border-radius: 7px !important;
    padding: 12px 18px !important;
    white-space: normal !important;
    text-align: center !important;
}


/* CrossBins Shop - Match Downloads Theme */

/* Main Shop container */
body.woocommerce-shop main.wrap.content,
body.post-type-archive-product main.wrap.content {
    background: #10243c !important;
    color: #ffffff !important;
    border: 1px solid #b7c9dc !important;
    border-radius: 10px !important;
    padding: 30px !important;
}

/* Shop heading */
body.woocommerce-shop main.wrap.content h1,
body.woocommerce-shop .woocommerce-result-count {
    color: #ffffff !important;
}

/* Preserve the existing product card */
body.woocommerce-shop ul.products li.product {
    background: #10243c !important;
    border: 1px solid #b7c9dc !important;
    border-radius: 9px !important;
}

/* Mobile responsiveness */
@media (max-width: 600px) {
    body.woocommerce-shop main.wrap.content {
        padding: 15px !important;
    }
}


/* CROSSBINS - SINGLE PRODUCT PAGE */

body.single-product main.wrap.content {
    background: #10243c !important;
    color: #ffffff !important;
    border: 1px solid #b7c9dc !important;
    border-radius: 10px !important;
    padding: 30px !important;
}

/* Product title, price and description */
body.single-product .product_title,
body.single-product .summary,
body.single-product .summary p,
body.single-product .price,
body.single-product .woocommerce-tabs {
    color: #ffffff !important;
}

/* Product image gallery */
body.single-product .woocommerce-product-gallery {
    background: #10243c !important;
    border: 1px solid #b7c9dc !important;
    border-radius: 9px !important;
    padding: 12px !important;
}

/* Product options and labels */
body.single-product .variations label,
body.single-product .woocommerce-tabs h2 {
    color: #ffffff !important;
}

/* Purchase button */
body.single-product .single_add_to_cart_button {
    background: #087bd1 !important;
    color: #ffffff !important;
    border-radius: 7px !important;
    padding: 13px 25px !important;
    font-weight: 700 !important;
}

/* Mobile */
@media (max-width: 600px) {
    body.single-product main.wrap.content {
        padding: 15px !important;
    }
}


/* CROSSBINS - FIX PRODUCT TABS */

/* Description / Additional Info / Reviews area */
body.single-product .woocommerce-tabs,
body.single-product .woocommerce-tabs .panel,
body.single-product .woocommerce-Tabs-panel {
    background: #10243c !important;
    color: #ffffff !important;
    border-color: #b7c9dc !important;
}

/* All text inside the panels */
body.single-product .woocommerce-Tabs-panel,
body.single-product .woocommerce-Tabs-panel p,
body.single-product .woocommerce-Tabs-panel h2,
body.single-product .woocommerce-Tabs-panel h3,
body.single-product .woocommerce-Tabs-panel li,
body.single-product .woocommerce-Tabs-panel td,
body.single-product .woocommerce-Tabs-panel th {
    color: #ffffff !important;
}

/* Tab navigation */
body.single-product .woocommerce-tabs ul.tabs {
    background: #10243c !important;
    border-bottom: 1px solid #b7c9dc !important;
}

body.single-product .woocommerce-tabs ul.tabs li,
body.single-product .woocommerce-tabs ul.tabs li.active {
    background: #183653 !important;
    border-color: #b7c9dc !important;
}

body.single-product .woocommerce-tabs ul.tabs li a {
    color: #ffffff !important;
}

/* Remove white pseudo-element backgrounds */
body.single-product .woocommerce-tabs ul.tabs::before,
body.single-product .woocommerce-tabs ul.tabs li::before,
body.single-product .woocommerce-tabs ul.tabs li::after {
    box-shadow: none !important;
}

/* Product information tables */
body.single-product .woocommerce-product-attributes,
body.single-product .woocommerce-product-attributes tr,
body.single-product .woocommerce-product-attributes td,
body.single-product .woocommerce-product-attributes th {
    background: #183653 !important;
    color: #ffffff !important;
}


/* CROSSBINS - PRODUCT DESCRIPTION TYPOGRAPHY */

body.single-product .woocommerce-Tabs-panel {
    box-sizing: border-box !important;
    max-width: 100% !important;
    padding: 22px !important;
    overflow-wrap: anywhere !important;
}

body.single-product .woocommerce-Tabs-panel p,
body.single-product .woocommerce-Tabs-panel li {
    color: #e5edf7 !important;
    font-weight: 400 !important;
    text-shadow: none !important;
    -webkit-text-stroke: 0 !important;
    line-height: 1.7 !important;
    white-space: normal !important;
}

body.single-product .woocommerce-Tabs-panel h1,
body.single-product .woocommerce-Tabs-panel h2,
body.single-product .woocommerce-Tabs-panel h3,
body.single-product .woocommerce-Tabs-panel h4 {
    color: #ffffff !important;
    font-weight: 700 !important;
    text-shadow: none !important;
    overflow-wrap: anywhere !important;
}

body.single-product .woocommerce-Tabs-panel strong,
body.single-product .woocommerce-Tabs-panel b {
    font-weight: 700 !important;
    text-shadow: none !important;
}


/* CROSSBINS - PRODUCT PAGE TWO-COLUMN FIX */

/* Preserve original page boundaries */
body.single-product main.wrap.content {
    max-width: 1200px !important;
    width: auto !important;
    margin: 25px auto !important;
    background: #10243c !important;
    color: #ffffff !important;
    box-sizing: border-box !important;
}

/* Product image left, information right */
@media (min-width: 769px) {
    body.single-product div.product {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 24px;
        align-items: start;
    }

    body.single-product div.product
    .woocommerce-product-gallery {
        grid-column: 1;
        width: 100% !important;
        float: none !important;
        min-width: 0;
    }

    body.single-product div.product
    .summary {
        grid-column: 2;
        width: 100% !important;
        float: none !important;
        min-width: 0;
    }

    body.single-product div.product
    .woocommerce-tabs,
    body.single-product div.product
    .related,
    body.single-product div.product
    .upsells {
        grid-column: 1 / -1;
        width: 100%;
    }
}

/* Keep gallery images proportional */
body.single-product .woocommerce-product-gallery img {
    max-width: 100% !important;
    height: auto !important;
}

/* Mobile: stack content naturally */
@media (max-width: 768px) {
    body.single-product div.product {
        display: block !important;
    }
}


/* CROSSBINS - PRODUCT PAGE FINAL POLISH */

/* Remove white outer background */
body.single-product main.wrap.content {
    background: #10243c !important;
    border-color: #b7c9dc !important;
    color: #ffffff !important;
}

/* Keep both columns at matching heights */
@media (min-width: 769px) {
    body.single-product div.product {
        align-items: stretch !important;
        column-gap: 24px !important;
        row-gap: 24px !important;
    }

    /* Product image panel */
    body.single-product div.product
    .woocommerce-product-gallery {
        align-self: stretch !important;
        height: 100% !important;
        background: #243b53 !important;
        border: 1px solid #b7c9dc !important;
        border-radius: 10px !important;
        box-sizing: border-box !important;
    }

    /* Product information panel */
    body.single-product div.product
    .summary {
        align-self: stretch !important;
        height: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Replace remaining white gaps */
body.single-product .woocommerce,
body.single-product div.product,
body.single-product .woocommerce-tabs {
    background-color: transparent !important;
}

/* Maintain image proportions */
body.single-product
.woocommerce-product-gallery img {
    max-width: 100% !important;
    height: auto !important;
}

/* Mobile: natural heights */
@media (max-width: 768px) {
    body.single-product div.product
    .woocommerce-product-gallery,
    body.single-product div.product .summary {
        height: auto !important;
    }
}


/* CrossBins - Fix WooCommerce variation dropdown */
.woocommerce div.product form.cart .variations select {
    background-color: #10243c;
    color: #ffffff;
}

/* Dropdown options: dark text on white */
.woocommerce div.product form.cart .variations select option {
    background-color: #ffffff !important;
    color: #172638 !important;
}


/* CrossBins - Product image gallery fixes */

/* Main product image container */
.single-product .woocommerce-product-gallery {
    overflow: hidden !important;
    background: #10243c !important;
}

/* Display gallery images without cropping */
.single-product .woocommerce-product-gallery__image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Prevent WooCommerce hover zoom from
   covering the product image */
.single-product .woocommerce-product-gallery .zoomImg {
    display: none !important;
}

/* Keep the gallery background consistent */
.single-product .woocommerce-product-gallery__wrapper,
.single-product .woocommerce-product-gallery__image {
    background: #10243c !important;
}
