/*
Theme Name: RPM Livestock Equipment
Theme URI: https://www.rpmrural.com/
Author: SalesGrow / Akshay Nigam
Author URI: https://aknigam.com/
Description: Pixel-exact WordPress theme for RPM Livestock Equipment, built from the RPM-Prototype-v2 design. Ships the prototype's own runtime so the front end renders identically. Includes a one-click setup that resets WordPress and installs the site, plus WooCommerce support for the Shop, Cart and Checkout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rpm-livestock
Tags: one-column, full-width-template, custom-menu, e-commerce
*/

/* The front end is rendered by the RPM app runtime, which injects its own
   stylesheet. Only page-shell resets belong here. */

html,
body {
  margin: 0;
  padding: 0;
}

body.rpm-app {
  background: #faf9f5;
}

/* WordPress pushes the page down by 32px for the admin bar; the RPM header is
   sticky and positions itself from the top of the viewport, so let the admin
   bar overlay rather than shift the layout. */
body.rpm-app.admin-bar {
  margin-top: 0 !important;
}

html.rpm-app-html {
  margin-top: 0 !important;
}

/* Hide the raw template until the runtime swaps it for the rendered app. */
x-dc {
  display: none !important;
}

.rpm-app-boot {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #faf9f5;
  z-index: 2147483000;
  transition: opacity 0.25s ease;
}

.rpm-app-boot[hidden] {
  display: none;
}

.rpm-app-boot svg {
  width: 96px;
  height: 96px;
}
