/*
Theme Name: eStore Child (DuroPC Bridge)
Theme URI: https://github.com/measinst/duropc-legacy
Description: Child theme for the duropc.com bridge. Reconstructed from the live
             site's estore-child/style.css (1,594 bytes, captured 2026-08-03),
             plus a WPBakery layout shim (vc-shim.css) that stands in for the
             licensed page builder.
Author: Ledo
Template: estore
Version: 1.0.0
License: GPL-2.0-or-later
Text Domain: estore-child
*/

/* ===========================================================================
 * Captured from the live site. These four rules are the entire visual
 * customisation duropc.com applies on top of the stock eStore theme.
 * ======================================================================== */

#main-menu-top-bar {
    background-color: #e2012d;   /* DuroPC red */
}

#top-footer {
    background-color: #3d3d3d;
}

#page {
    background-color: #f6f6f6;
}

#content {
    background-color: #f6f6f6;
}

/* ---------------------------------------------------------------------------
 * The live site's price rule, reproduced with its two typos corrected.
 *
 * Original, verbatim:
 *
 *     .single-product.woocommerce-page .product .summary .price {
 *       float: left;
 *       font-style: 16px;     <- invalid: font-style takes normal/italic/oblique
 *       color: #e3002; }      <- invalid: 5-digit hex
 *
 * Both invalid declarations are dropped by every browser, so on the live site
 * only `float: left` and `font-weight: 700` ever applied. Reproducing them
 * verbatim would change nothing visually, so the intent is restored instead —
 * 16px was plainly meant as font-size, and #e3002 as the DuroPC red already
 * used above. Flagged here because the same typos will be in whatever the real
 * codebase turns out to contain.
 * ------------------------------------------------------------------------ */

.single-product.woocommerce-page .product .summary .price {
    float: left;
    font-weight: 700;
    font-size: 16px;
    color: #e2012d;
}

/* The original ends with `@import url("../estore/style.css")`. That is
 * deliberately NOT reproduced: functions.php enqueues the parent stylesheet
 * properly, so an @import would fetch the same 106KB file a second time — and
 * a trailing @import is invalid CSS anyway, since @import must precede all
 * other rules. */

/* ===========================================================================
 * Bridge-only additions. Both are removed at cutover.
 * ======================================================================== */

/* Makes it obvious at a glance that this is not the live site. */
body.duropc-bridge::before {
    content: "BRIDGE — rebuilt from public content, checkout disabled";
    display: block;
    padding: 6px 12px;
    background: #7a1f1f;
    color: #fff;
    font: 600 12px/1.4 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0.02em;
    text-align: center;
}

/* Catalogue mode: prices stay, purchase affordances go. Belt-and-braces
   alongside the woocommerce_is_purchasable filter in mu-plugins. */
.woocommerce .add_to_cart_button,
.woocommerce button[name="add-to-cart"],
.woocommerce .single_add_to_cart_button {
    display: none !important;
}
