
/* Emperor Arms palette overrides — red→navy, navy→gold/bronze. Zero red. */
:root {
  --ea-navy: #0A3161;
  --ea-navy-dark: #072447;
  --ea-gold: #B8963E;
  --ea-gold-bg: #8C6D2C;
  --ea-gold-dark: #6F561F;
  --ea-cream: #f4f1ea;
  --ea-charcoal: #231F20;
  --ea-white: #fff;
}

/* Hide Astra chrome; we inject the Akdaş-like header/footer */
.ast-header-break-point .main-header-bar,
#masthead, .site-header, header.site-header, .ast-mobile-header-wrap,
#colophon, footer.site-footer, .ast-footer-recaptcha, .ast-above-header, .ast-below-header,
.ast-builder-menu, .ast-primary-header-bar, .ast-desktop-header, .ast-mobile-header-wrap {
  display: none !important;
}
body.ast-header-break-point, body {
  padding-top: 0 !important;
}
.site-content, #content, .ast-container {
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: none !important;
}

/* 44px mobile hamburger */
@media screen and (max-width: 600px) {
  .header .hsag .menu_toggle {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
  }
}

/* Gold accents that were navy underlines / thin bars: use brighter brass */
.header:after {
  background-color: #B8963E !important;
}

/* Ensure former-navy large surfaces are deep bronze with white text */
.ea-home-hero, .ea-home-hero__banner, .ea-promo__card, .ea-contact-card, .footer, .hsag,
.ea-home-hero__content {
  background-color: #8C6D2C;
  color: #fff;
}
.ea-contact-card a, .footer a, .ea-promo__card, .ea-promo__card a, .ea-promo__card h2, .ea-promo__card p {
  color: #fff;
}
.ea-promo__card button, .ea-promo__form button, .hmenu > li > a, .header .hara button {
  /* primary buttons were red → navy */
}
.ea-promo__form button, button[type="submit"].ea-primary, .ea-form-card input[type="submit"],
.wpcf7-submit {
  background-color: #0A3161 !important;
  color: #fff !important;
  border-color: #0A3161 !important;
}
.wpcf7-submit:hover, .ea-promo__form button:hover {
  background-color: #072447 !important;
}

/* Header bar was red → navy */
.header {
  background-color: #0A3161 !important;
}

/* Right angled block was navy → bronze */
.header .hsag {
  background-color: #8C6D2C !important;
}

/* Staging: hide Astra's default post loop under the injected hero */
body.home #primary, body.blog #primary, body.home .site-main, body.blog .site-main {
  display: none !important;
}

/* Force swapped palette on chrome that theme CSS missed */
.header {
  background-color: #0A3161 !important;
}
.header .hmenu > li > a,
.header .hara :is(input, button),
.header .hara input::placeholder {
  color: #fff !important;
}
.header .hsag:before {
  background-color: #8C6D2C !important;
}
.header .hsosyaller a,
.header .hsosyaller0 a,
.header .hsosyaller a i,
.hsosyaller0 a i {
  color: #0A3161 !important;
  background: #fff !important;
  background-image: none !important;
}
/* Footer: large surfaces gold/bronze; copyright bar was red → navy */
.footer {
  background-color: #8C6D2C !important;
  color: #fff !important;
}
.footer a, .footer p, .footer .ortala a {
  color: #fff !important;
}
.footer .kopirayt {
  background: #0A3161 !important;
  color: #fff !important;
}
.header .hmenu > li .submenu li a:after {
  background: #B8963E !important;
}

/* Collapse leftover Astra homepage shell so the footer sits under the category tiles */
body.home #page .site-content,
body.blog #page .site-content,
body.home #content,
body.blog #content,
body.home #primary,
body.blog #primary,
body.home .site-main,
body.blog .site-main,
body.home .ast-container,
body.blog .ast-container {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 0 !important;
}
body.home, body.blog, body.home #page, body.blog #page {
  min-height: 0 !important;
}
.footer {
  margin-top: 0 !important;
}
.ea-home-hero {
  margin-bottom: 0 !important;
}

/* Official white crest in the navy header (desktop + mobile) */
.header .hlogo {
  margin-right: 1.25em !important;
  min-width: 0 !important;
  max-width: none !important;
  height: inherit !important;
  justify-content: flex-start !important;
}
.header .hlogo img {
  height: 68px !important;
  width: auto !important;
  max-height: 68px !important;
  max-width: min(220px, 52vw) !important;
  object-fit: contain !important;
  object-position: left center !important;
  display: block !important;
}
@media screen and (max-width: 600px) {
  .header .hlogo img {
    height: 56px !important;
    max-height: 56px !important;
    max-width: min(160px, calc(100vw - 72px)) !important;
  }
}

/* Inner pages: collapse Astra min-height so the custom footer follows the content */
#page, #content, #primary, .site-content, .site-main, .ast-container,
body, html {
  min-height: 0 !important;
}
.site-footer, #colophon, .ast-footer-wrap, .site-below-footer-wrap {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

/* Header logo: fit inside the bar with padding, never crop the crest */
.header .hlogo {
  overflow: visible !important;
  box-sizing: border-box !important;
  height: 100% !important;
  padding: 8px 12px 8px 16px !important;
  align-items: center !important;
  justify-content: flex-start !important;
  min-width: 0 !important;
}
.header .hlogo img {
  box-sizing: border-box !important;
  height: auto !important;
  width: auto !important;
  max-height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  object-position: left center !important;
  display: block !important;
}
@media screen and (max-width: 600px) {
  .header .hlogo {
    padding: 6px 8px 6px 10px !important;
  }
}

/* Inline SVG icons — no icon font */
.ea-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  fill: currentColor;
  flex: none;
  overflow: visible;
  pointer-events: none;
}
.hmenu .ea-icon,
.mmenu .ea-icon-chevron-down {
  width: 0.95em;
  height: 0.95em;
  margin-left: 0.2em;
  color: currentColor;
}
.header .hsosyaller0 a svg,
.header .hsag .hsosyaller a svg {
  height: 2.0833em;
  width: 2.0833em;
  font-size: 16px;
  padding: 0.4em;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  background: #fff !important;
  color: #0A3161 !important;
  fill: #0A3161 !important;
  border-radius: 50%;
  border: 1px solid #fff;
}
.header .hara button svg,
.mara button svg {
  width: 1.15em;
  height: 1.15em;
  color: #fff;
  fill: #fff;
  display: block;
}
.ea-wa-fab .ea-icon,
.ea-wa-fab svg {
  width: 28px !important;
  height: 28px !important;
  color: #fff !important;
  fill: #fff !important;
  display: block;
}
@media screen and (max-width: 600px) {
  .ea-wa-fab .ea-icon,
  .ea-wa-fab svg {
    width: 26px !important;
    height: 26px !important;
  }
}

/* WooCommerce catalog pages: navy/gold, no add-to-cart / checkout chrome, zero red */
body.woocommerce .button, body.woocommerce-page .button,
body.woocommerce a.button, body.woocommerce button.button,
body.woocommerce input.button, body.woocommerce #respond input#submit,
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background-color: #0A3161 !important;
  background-image: none !important;
  color: #fff !important;
  border-color: #0A3161 !important;
}
body.woocommerce a, body.woocommerce-page a,
.woocommerce .woocommerce-breadcrumb a,
.woocommerce .star-rating,
.woocommerce .woocommerce-tabs ul.tabs li.active a {
  color: #0A3161;
}
.woocommerce span.onsale,
.woocommerce .badge,
.woocommerce .onsale {
  background: #0A3161 !important;
  color: #fff !important;
}
.woocommerce-info, .woocommerce-message {
  border-top-color: #8C6D2C !important;
}
body.woocommerce .site-header, body.woocommerce-page .site-header {
  /* Astra header stays hidden; EA chrome already navy/gold */
}
.woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce a.add_to_cart_button,
.woocommerce .single_add_to_cart_button,
.woocommerce .ajax_add_to_cart,
.woocommerce-cart .checkout-button,
.woocommerce .wc-proceed-to-checkout,
.woocommerce a.checkout-button,
.ast-site-header-cart, .ast-header-woo-cart,
.ast-cart-menu-wrap, .woocommerce-mini-cart,
a[href*="/cart/"], a[href*="/checkout/"] {
  display: none !important;
}
