/*
Theme Name: Apsara Market
Theme URI: https://apsara-market.com
Author: Apsara Market
Author URI: https://apsara-market.com
Description: Thème WooCommerce sobre et orienté catalogue, avec accents Apsara (or & teal) et header à logo centré.
Version: 3.3.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: apsara-market
Tags: e-commerce, woocommerce, custom-logo, one-column, two-columns, block-styles
*/

/* ====== Design tokens (logo-based) ====== */
:root {
  /* ====== Design tokens (logo-based) ====== */
  --apsara-teal: #17777A;
  --apsara-teal-dark: #0F5F62;
  --apsara-gold: #B29431;
  --apsara-gold-light: #D8C36A;
  --apsara-gold-dark: #6A4A12;
  --apsara-sand: #E1E2E0;
  --apsara-ivory: #F7F6F2;

  --apsara-text: #111111;
  --apsara-muted: #6B7280;
  --apsara-border: rgba(17,17,17,.10);
  --apsara-bg: #ffffff;
  --apsara-surface: #ffffff;

  --apsara-radius: 14px;
  --apsara-radius-sm: 10px;
  --apsara-shadow: 0 10px 30px rgba(0,0,0,.06);
  --apsara-shadow-sm: 0 6px 18px rgba(0,0,0,.06);

  --apsara-container: 1240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--apsara-text);
  background: var(--apsara-bg);
  line-height: 1.5;
}

/* A subtle “Asia” feel without breaking readability */
h1, h2, h3, .site-title-fallback, .woocommerce div.product .product_title {
  font-family: "Noto Serif Khmer", "Noto Serif", Georgia, serif;
  letter-spacing: .01em;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--apsara-teal-dark); }
img { max-width: 100%; height: auto; }

.container {
  width: min(100% - 32px, var(--apsara-container));
  margin-inline: auto;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: #000; color:#fff; padding: 10px 14px; z-index: 9999;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ====== Header ====== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--apsara-border);
  background: var(--apsara-sand);
}

/* Top promo + socials */
.topbar{
  color: var(--apsara-ivory);
  background: var(--apsara-teal);
  /* tiny ornamental pattern (very low opacity) */
background-repeat: repeat;
  background-size: 180px 44px;
}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  padding: 10px 0;
  flex-wrap: wrap;
}
.announcement{
  display:flex;
  align-items:center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .01em;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.14);
  border: 1px solid rgba(216,195,106,.25);
}
.announcement-text{ color: var(--apsara-ivory); }
.announcement-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--apsara-gold-light);
  box-shadow: 0 0 0 4px rgba(216,195,106,.18);
}
.social{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
}
.social-label{
  font-weight: 700;
  opacity: .92;
}
.social-links, .mobile-social{
  display:flex;
  flex-wrap: wrap;
  gap: 8px;
}
.social-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 0;
  border-radius: 999px;
  color: var(--apsara-ivory);
  background: transparent;
  border: 0;
  font-weight: 800;
  font-size: 13px;
}
.social-pill:hover{ color: #fff; }
.social-badge{
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.14);
  border: 1px solid rgba(216,195,106,.40);
  /* default: white icons (better contrast); hover becomes gold */
  color: var(--apsara-ivory);
  font-size: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,.12);
}
.social-pill:hover .social-badge{
  background: rgba(0,0,0,.22);
  border-color: rgba(216,195,106,.70);
  color: var(--apsara-gold-light);
}

/* Lock topbar readability (overrides old custom CSS if present) */
.topbar .announcement-text{ color: var(--apsara-ivory) !important; }
.topbar.is-icons .social-badge,
.topbar.is-icons .social-badge svg{ color: var(--apsara-ivory) !important; }
.topbar.is-icons .social-pill:hover .social-badge,
.topbar.is-icons .social-pill:hover .social-badge svg{ color: var(--apsara-gold-light) !important; }

/* Brand row */
.brandbar{
  background: var(--apsara-sand);
}
.brandbar-inner{
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  gap: 18px;
  padding: 22px 0 14px;
}
.brand-left, .brand-right{
  display:flex;
  align-items:center;
  gap: 12px;
}
.brand-left{ justify-content:flex-start; }
.brand-right{ justify-content:flex-end; }
.brand-center{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap: 6px;
}
.site-title-fallback{
  font-weight: 900;
  letter-spacing:.02em;
  font-size: 22px;
}
.site-logo img{
  max-height: 140px;
  width:auto;
  display:block;
}
.site-slogan{
  font-weight: 800;
  color: rgba(17,17,17,.82);
  font-size: 14px;
}

/* Nav row */
.navrow{
  background: var(--apsara-sand);
  border-top: 1px solid rgba(17,17,17,.06);
  border-bottom: 1px solid rgba(17,17,17,.08);
}
.navrow-inner{
  padding: 10px 0 14px;
}
.primary-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
  font-weight: 800;
}
.primary-nav a{
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}
.primary-nav a:hover{
  background: rgba(23,119,122,.10);
  border-color: rgba(23,119,122,.18);
}
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a{
  background: rgba(178,148,49,.15);
  border-color: rgba(178,148,49,.30);
}

/* Search */
.header-search{
  max-width: 520px;
  width: 100%;
}
.header-search form{
  display:flex;
  gap: 8px;
  align-items:center;
  border: 1px solid rgba(17,17,17,.12);
  border-radius: 999px;
  padding: 10px 12px;
  background: rgba(255,255,255,.85);
}
.header-search input[type="search"]{
  border:none;
  outline:none;
  width:100%;
  font-size: 14px;
  background: transparent;
}
.header-search button{
  border:none;
  background: transparent;
  cursor:pointer;
  padding: 6px 10px;
  border-radius: 999px;
}
.header-search button:hover{
  background: rgba(178,148,49,.18);
}

/* Icon buttons */
.icon-link{
  position: relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(17,17,17,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.85);
}
.icon-link:hover{ border-color: rgba(17,17,17,.25); }
.icon-link svg{ width: 22px; height: 22px; }

.cart-count{
  position:absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--apsara-teal);
  color: #fff;
  font-size: 12px;
  display:flex;
  align-items:center;
  justify-content:center;
  border: 2px solid var(--apsara-sand);
}

/* Trust bar */
.trustbar{
  background: var(--apsara-sand);
}
.trustbar-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 14px;
  padding: 14px 0 18px;
  flex-wrap: wrap;
}
.trust-item{
  display:flex;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.70);
  border: 1px solid rgba(17,17,17,.10);
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
  font-weight: 800;
  font-size: 13px;
}
.trust-icon{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.06);
  color: var(--apsara-teal-dark);
  border: 2px solid rgba(216,195,106,.55);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.trust-icon svg{ width: 18px; height: 18px; }

.trust-icon svg{
  stroke: currentColor;
}

/* Mobile nav */
.nav-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(17,17,17,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.85);
  cursor:pointer;
}
.nav-toggle svg{ width: 22px; height: 22px; }

.mobile-nav{
  display:none;
  border-top: 1px solid rgba(17,17,17,.10);
  padding: 16px 0 18px;
  background: var(--apsara-sand);
}
.mobile-nav .primary-nav{
  flex-direction: column;
  align-items:flex-start;
  justify-content:flex-start;
  gap: 8px;
}
.mobile-nav .primary-nav a{ width: 100%; }
.mobile-nav .header-search{ margin-top: 10px; }
.mobile-social{ margin-top: 14px; }

.header-search--mobile{ display:none; }
.header-search--desktop{ display:block; }

@media (max-width: 979px){
  .brandbar-inner{
    grid-template-columns: auto 1fr auto;
    padding: 16px 0 10px;
  }
  .site-logo img{ max-height: 96px; }
  .site-slogan{ font-size: 13px; }
  .primary-nav{ display:none; }
  .header-search--desktop{ display:none; }
  .header-search--mobile{
    display:block;
    margin-top: 10px;
  }
}

@media (min-width: 980px){
  .nav-toggle{ display:none; }
  .mobile-nav{ display:none !important; }
}
/* ====== Buttons / accents ====== */
button, .button, .wp-element-button, .woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--apsara-gold);
  color: #1a1a1a;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .06s ease, filter .2s ease, background .2s ease;
}
button:hover, .button:hover, .wp-element-button:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
  background: color-mix(in srgb, var(--apsara-gold) 82%, #fff);
}
button:active, .button:active {
  transform: translateY(1px);
}

/* Secondary button */
.button.secondary, .woocommerce a.button.secondary {
  background: #fff;
  border-color: var(--apsara-border);
}
.button.secondary:hover, .woocommerce a.button.secondary:hover {
  border-color: rgba(0,0,0,.18);
  background: rgba(68,142,139,.06);
}

/* ====== Layout ====== */
.site-main { padding: 26px 0 50px; }

.card {
  background: var(--apsara-surface);
  border: 1px solid var(--apsara-border);
  border-radius: var(--apsara-radius);
  box-shadow: var(--apsara-shadow-sm);
}

/* ====== WooCommerce catalog ====== */
.woocommerce .woocommerce-breadcrumb {
  font-size: 13px;
  color: var(--apsara-muted);
  margin: 0 0 14px;
}

.shop-layout {
  display:grid;
  grid-template-columns: 280px 1fr;
  gap: 22px;
  align-items:start;
}

.shop-sidebar {
  position: sticky;
  top: 92px;
  padding: 14px;
}
.shop-sidebar .widget {
  margin-bottom: 16px;
}
.shop-sidebar .widget-title {
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: .02em;
  text-transform: uppercase;
}

@media (max-width: 979px) {
  .shop-layout {
    grid-template-columns: 1fr;
  }
  .shop-sidebar {
    position: static;
  }
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}
@media (min-width: 680px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (min-width: 1080px) {
  .woocommerce ul.products { grid-template-columns: repeat(4, minmax(0,1fr)); }
}
.woocommerce ul.products li.product {
  list-style:none;
  border: 1px solid var(--apsara-border);
  border-radius: var(--apsara-radius);
  overflow:hidden;
  background:#fff;
  box-shadow: var(--apsara-shadow-sm);
}
.woocommerce ul.products li.product a {
  display:block;
}
.woocommerce ul.products li.product img {
  width:100%;
  aspect-ratio: 1 / 1.15;
  object-fit: cover;
  background: var(--apsara-ivory);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 14px;
  padding: 10px 12px 0;
  margin:0;
  font-weight: 700;
}
.woocommerce ul.products li.product .price {
  padding: 6px 12px 12px;
  font-weight: 800;
}
.woocommerce ul.products li.product .button {
  margin: 0 12px 12px;
  width: calc(100% - 24px);
  text-align:center;
}

.product-badges {
  position:absolute;
  top: 10px;
  left: 10px;
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
  z-index: 2;
}
.badge {
  display:inline-flex;
  align-items:center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.08);
}
.badge.teal {
  background: rgba(68,142,139,.12);
  border-color: rgba(68,142,139,.20);
}
.badge.gold {
  background: rgba(188,171,106,.18);
  border-color: rgba(188,171,106,.28);
}

.product-thumb-wrap {
  position: relative;
}

/* Wishlist buttons */
.wishlist-btn{
  position:absolute;
  top: 10px;
  right: 10px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(216,195,106,.45);
  background: rgba(247,246,242,.85);
  color: var(--apsara-teal-dark);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 10px 20px rgba(0,0,0,.08);
  cursor:pointer;
}
.wishlist-btn svg{ width: 20px; height: 20px; }
.wishlist-btn.is-active{
  background: rgba(216,195,106,.22);
  border-color: rgba(216,195,106,.85);
  color: var(--apsara-gold);
}
.wishlist-btn:hover{ transform: translateY(-1px); }
.wishlist-single{ display:inline-flex; align-items:center; gap: 10px; margin-top: 10px; }
.wishlist-single-label{ font-weight: 800; opacity:.85; }

.wishlist-grid .products{ margin-top: 10px; }
.wishlist-empty{ padding: 16px; border-radius: var(--apsara-radius); border: 1px solid var(--apsara-border); background: var(--apsara-surface); }
/* Single product */
.woocommerce div.product div.images, .woocommerce div.product div.summary {
  margin-top: 0;
}
.woocommerce div.product .product_title {
  font-size: 28px;
  line-height: 1.2;
}
.woocommerce div.product p.price {
  font-size: 20px;
  font-weight: 900;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-weight: 800;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text {
  border-radius: var(--apsara-radius-sm);
}

/* Notices */
.woocommerce-message, .woocommerce-info {
  border-top-color: var(--apsara-teal);
}
.woocommerce-message::before, .woocommerce-info::before {
  color: var(--apsara-teal);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--apsara-border);
  padding: 28px 0;
  color: var(--apsara-muted);
  font-size: 14px;
}
.footer-grid {
  display:grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 840px) {
  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr;
  }
}
.footer-title {
  color: var(--apsara-text);
  font-weight: 900;
  margin: 0 0 10px;
}

/* ====== Footer v3.3 (same spirit as the header: teal + gold + ivory) ====== */
.site-footer{
  border-top: none;
  /* Force footer colors even if some old custom CSS exists */
  background: var(--apsara-teal) !important;
  color: var(--apsara-ivory) !important;
  padding: 0;
}
.footer-ornament{
  height: 10px;
  background: linear-gradient(90deg, rgba(216,195,106,.12), rgba(216,195,106,.55), rgba(216,195,106,.12));
background-repeat: repeat;
  background-size: 220px 10px;
}
.footer-inner{ padding: 54px 0 34px; }
.site-footer a{ color: var(--apsara-ivory); opacity: .92; }
.site-footer a:hover{ opacity: 1; color: #fff; }

.site-footer .footer-grid{
  gap: 26px;
}
@media (min-width: 840px){
  .site-footer .footer-grid{ grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-logo .custom-logo-link{
  display:inline-flex;
  align-items:center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(225,226,224,.92);
  border: 1px solid rgba(216,195,106,.38);
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}
.footer-logo img{ max-height: 62px; width:auto; display:block; }

.site-footer .footer-title{
  color: var(--apsara-ivory);
  letter-spacing:.02em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 12px;
}
.footer-tagline{ margin: 14px 0 18px; color: rgba(247,246,242,.92); }

.footer-trust{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}
.footer-trust-item{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.14);
  border: 1px solid rgba(216,195,106,.28);
  font-weight: 800;
  font-size: 12px;
}
.footer-trust-item svg{ width: 18px; height: 18px; color: var(--apsara-gold-soft); display:block; flex:0 0 auto; }

.footer-nav ul,
.footer-links{ list-style:none; padding:0; margin:0; display:grid; gap: 10px; }

.footer-social{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.footer-social-link{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(0,0,0,.14);
  border: 1px solid rgba(216,195,106,.35);
  color: var(--apsara-gold-soft);
}
.footer-social-link svg{ width: 20px; height: 20px; display:block; }

/* Safety net: prevent giant SVGs in the footer if another style overrides sizes */
.site-footer svg{ max-width: 24px; max-height: 24px; }
.footer-social-link:hover{ background: rgba(216,195,106,.18); border-color: rgba(216,195,106,.75); color:#fff; }

.footer-bottom{
  display:flex;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(247,246,242,.18);
  color: rgba(247,246,242,.82);
  font-size: 13px;
}
.footer-bottom-note{ opacity: .85; }


/* === Header v3.1 tweaks (icon-only topbar + bigger logo) === */
:root{
  --apsara-teal:#17777A;
  --apsara-gold:#B29431;
  --apsara-gold-soft:#D8C36A;
  --apsara-ivory:#F7F6F2;
  --apsara-sand:#E1E2E0;
}

.topbar{
  background: var(--apsara-teal);
  color: var(--apsara-ivory);
  /* Subtle ornament pattern (inline SVG) */
background-repeat: repeat;
  background-size: 220px 24px;
}
.topbar .topbar-inner{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:10px 0; }
.topbar .announcement{
  display:flex;
  align-items:center;
  gap:10px;
  flex: 1 1 35%;
  min-width: 260px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(247,246,242,.16);
  border: 1px solid rgba(216,195,106,.38);
}
.topbar .announcement-dot{ background: var(--apsara-gold-soft); box-shadow: 0 0 0 3px rgba(216,192,122,.25); }
.topbar .announcement-text{ color: var(--apsara-ivory); }
.topbar .announcement-text{
  text-shadow: 0 1px 0 rgba(0,0,0,.18);
}
.topbar a{ color: var(--apsara-ivory); }
.topbar a:hover{ color:#fff; }

.topbar .social{ display:flex; align-items:center; gap:10px; flex: 1 1 auto; justify-content:center; }
.topbar .social-links{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; justify-content:center; }
.topbar .social-pill{ display:inline-flex; align-items:center; gap:8px; padding:6px 10px; border-radius:999px; background: rgba(0,0,0,.12); border:1px solid rgba(255,255,255,.18); text-decoration:none; }
.topbar .social-badge{ width:24px; height:24px; border-radius:999px; display:inline-flex; align-items:center; justify-content:center; font-weight:900; background: rgba(247,246,242,.14); color: var(--apsara-ivory); border:1px solid rgba(216,195,106,.65); box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.topbar .social-badge svg{ width:16px; height:16px; }
.topbar .social-name{ opacity:.92; font-weight:600; }
.topbar.is-icons .social-label, .topbar.is-icons .social-name{ display:none; }

/* In icon-only mode, make socials look like “seals” (less text, more icon) */
.topbar.is-icons .social-pill{ padding:0; background: transparent; border: none; }
.topbar.is-icons .social-badge{ width:34px; height:34px; border-width:2px; background: rgba(0,0,0,.12); color: var(--apsara-ivory); }
.topbar.is-icons .social-badge svg{ width:18px; height:18px; }

/* Hover: icons become gold for a “premium” accent */
.topbar .social-pill:hover .social-badge,
.topbar .social-pill:hover .social-badge svg{ color: var(--apsara-gold-soft) !important; }

.topbar .top-icons{ display:flex; align-items:center; gap:10px; justify-content:flex-end; flex: 0 0 auto; }
.icon-link--top{ width:38px; height:38px; border-radius:999px; display:flex; align-items:center; justify-content:center; background: rgba(0,0,0,.14); border:1px solid rgba(216,195,106,.35); color: var(--apsara-ivory); position:relative; }
.icon-link--top svg{ width:20px; height:20px; }
.icon-link--top:hover{ background: rgba(216,192,122,.18); border-color: rgba(216,192,122,.65); color:#fff; }

.cart-count, .wishlist-count{
  position:absolute;
  top:-6px;
  right:-6px;
  background: var(--apsara-gold-light);
  color: var(--apsara-teal-dark);
  border-radius: 999px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 11px;
  font-weight: 900;
  border: 2px solid rgba(15,95,98,.55);
}

.site-header{ background: var(--apsara-sand); }
.brandbar{ padding: 18px 0 10px; }
.brand-center .custom-logo{ max-height: 140px; width:auto; }
.site-slogan{ margin-top:6px; font-size:14px; opacity:.85; }

.searchrow{ background: var(--apsara-sand); padding: 10px 0 14px; border-bottom:1px solid rgba(0,0,0,.06); }
.searchrow-inner{ display:flex; justify-content:center; }
.header-search--wide{ max-width: 820px !important; width: min(820px, 100%); margin: 0 auto; flex: 0 1 820px; }
.header-search--wide form{ width:100%; }
.header-search--wide form{ max-width: 820px; margin: 0 auto; }

@media (max-width: 840px){
  .topbar .announcement{ display:none; }
  .brand-center .custom-logo{ max-height: 120px; }
}

/* --- Overrides: remove decorative wave patterns (requested) --- */
.topbar{background-image:none !important;}
.footer-ornament{background-image:none !important;}
