/*
Theme Name: printcorporate
Theme URI: https://printcorporate.com
Author: printcorporate
Author URI: https://printcorporate.com
Description: Custom WordPress theme for Print Corporate — packaging and print solutions.
Version: 1.0.3
Requires at least: 6.0
Tested up to: 6.7
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: printcorporate
Tags: custom-logo, custom-menu, featured-images, translation-ready
*/

/* Main styles are enqueued from assets/css/style.css */

/* Kill any leftover absolute header outside the home hero */
body:not(.header-home) .site-header {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
}

/* Home header overlays banner when inside .hero-wrap */
body.header-home .hero-wrap > .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom: none;
  box-shadow: none;
}

/* Fallback if banner wrap missing */
body.header-home:not(:has(.hero-wrap)) .site-header {
  position: relative;
  background-color: #172f3b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.topbar {
  margin: 0 !important;
  padding: 0 !important;
}

.site-footer {
  margin: 0 !important;
}

body.header-home .navbar-pc__search,
body.header-home .navbar-pc__toggle {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.navbar-pc__brand img,
.navbar-pc__brand .custom-logo {
  width: auto;
  height: 36px;
}

@media (min-width: 768px) {
  .navbar-pc__brand img,
  .navbar-pc__brand .custom-logo {
    height: 42px;
  }
}

/* Honeypot — hidden from humans, visible to naive bots */
.pc-hp {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.pc-form-error {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  background: #fde8e8;
  border: 1px solid #f5c2c2;
  color: #8a1f1f;
  font-size: 0.92rem;
  font-weight: 600;
}

.js-pc-form.is-submitting {
  opacity: 0.72;
  pointer-events: none;
}
