:root {
  --pt-red: #c8102e;
  --pt-red-dark: #a10d25;
  --pt-ink: #232323;
  --pt-bg-soft: #f6f5f3;
  --pt-radius: 10px;
  --pt-shadow: 0 4px 18px rgba(20,20,20,.08);
  --pt-transition: all .2s ease;
}

/* Brand color overrides on top of Hummingbird's default blue theme */
.btn-primary, .add-to-cart, button[type="submit"].btn-primary {
  background-color: var(--pt-red) !important;
  border-color: var(--pt-red) !important;
}
.btn-primary:hover { background-color: var(--pt-red-dark) !important; border-color: var(--pt-red-dark) !important; }
a { color: var(--pt-red); }
a:hover { color: var(--pt-red-dark); }

/* ---- Hero banner ---- */
.pt-hero {
  position: relative;
  margin: 0 0 2rem;
  border-radius: var(--pt-radius);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  align-items: flex-end;
  background: #10202c url('/img/pt-hero.jpg') center/cover no-repeat;
}
.pt-hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.35) 55%, rgba(10,10,10,0) 100%);
}
.pt-hero-content {
  position: relative;
  color: #fff;
  padding: 2.5rem;
  max-width: 640px;
}
.pt-hero-content h1 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 .75rem;
  text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.pt-hero-content p {
  font-size: 1rem;
  margin: 0 0 1.25rem;
  color: rgba(255,255,255,.92);
}
.pt-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--pt-red);
  color: #fff;
  border: none;
  padding: .8rem 1.75rem;
  font-weight: 700;
  letter-spacing: .3px;
  text-transform: uppercase;
  font-size: .82rem;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(200,16,46,.4);
  transition: var(--pt-transition);
  text-decoration: none;
}
.pt-hero-cta:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 14px 30px rgba(200,16,46,.5); }
@media (max-width: 600px) {
  .pt-hero { min-height: 220px; }
  .pt-hero-content { padding: 1.25rem; }
  .pt-hero-content h1 { font-size: 1.3rem; }
}

/* ---- Quick contact floating widget ---- */
.pt-quick-contact {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.pt-quick-contact a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--pt-red);
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
  text-decoration: none;
  transition: var(--pt-transition);
}
.pt-quick-contact a:hover { transform: scale(1.08); background: var(--pt-red-dark); }
.pt-quick-contact svg { width: 26px; height: 26px; fill: #fff; }

/* ---- Header row: 3 groups (logo / perks / actions) spread across the full
   1400px row, same as the nav below it - not packed left with a dead gap. ---- */
.header-bottom__row {
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.pt-header-actions {
  gap: 16px !important;
}
.header-bottom__row #_desktop_ps_customersignin,
.header-bottom__row #_desktop_ps_shoppingcart {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  margin-left: 16px !important;
  display: flex !important;
  align-items: center !important;
}
/* order: search, then language switcher, then account, then cart, clustered right */
.header-bottom__row #_desktop_ps_searchbar { order: 1 !important; }
.header-bottom__row #_desktop_ps_languageselector { order: 2 !important; }
.header-bottom__row #_desktop_ps_customersignin { order: 3 !important; }
.header-bottom__row #_desktop_ps_shoppingcart { order: 4 !important; }

/* ---- Language switcher: sits between search and the account icon ---- */
.header-bottom__row #_desktop_ps_languageselector {
  flex: 0 0 auto !important;
  width: auto !important;
  margin-left: 16px !important;
  display: flex !important;
  align-items: center !important;
}
.header-bottom__row #_desktop_ps_languageselector .ps-languageselector select {
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 6px;
  padding: 6px 28px 6px 10px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--pt-ink, #232323);
  background-color: #fff;
  cursor: pointer;
}
.header-bottom__row #_desktop_ps_languageselector .ps-languageselector select:hover,
.header-bottom__row #_desktop_ps_languageselector .ps-languageselector select:focus {
  border-color: var(--pt-red);
}
@media (max-width: 767px) {
  .header-bottom__row { flex-wrap: wrap !important; }
}

/* ---- Logo, 2x (theme.css caps via max-height:3rem/max-width:8rem, must override both) ---- */
.header-bottom__logo img.logo {
  height: 96px !important;
  max-height: 96px !important;
  width: auto !important;
  max-width: 18rem !important;
}

/* ---- Main nav: centered ---- */
.ps-mainmenu__tree {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---- Header perks: shipping + card payment (between logo and search) ---- */
/* No auto-margin push anywhere - an auto margin dumps ALL leftover slack
   into one dead gap next to itself, which looks broken on wide screens.
   Instead: logo + perks stay at their natural size, search GROWS to fill
   whatever space is left (nice UX bonus - wider search box), then
   account/cart sit at natural size after it. */
.header-bottom__logo {
  margin-right: 0 !important;
}
.pt-header-perks {
  gap: 12px !important;
  margin-right: 20px !important;
  flex-shrink: 1;
  min-width: 0;
}
.header-bottom__row #_desktop_ps_searchbar {
  flex: 0 1 auto !important;
  max-width: 330px !important;
  min-width: 0 !important;
}
.header-bottom__row #_desktop_ps_searchbar .ps-searchbar {
  width: 100% !important;
}
.pt-header-perk {
  display: flex;
  font-size: .68rem !important;
  line-height: 1.2;
  color: var(--pt-ink, #232323);
  max-width: 180px !important;
}

/* ---- Shrink search widget so the whole row fits inside col-10 ----
   theme.css sets min-width:19rem on the INNER .ps-searchbar div (child of
   #_desktop_ps_searchbar), not the wrapper itself - must target it with
   enough specificity (ID + class) to actually win. ---- */
#_desktop_ps_searchbar.order-2,
#_desktop_ps_searchbar {
  min-width: 0 !important;
}
#_desktop_ps_searchbar .ps-searchbar {
  min-width: 0 !important;
  max-width: 330px !important;
}

/* ---- Header container: col-8 up to a hard cap of 1400px, always centered ---- */
.header-bottom__container.col-8 {
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.pt-header-perk i.material-icons {
  font-size: 50px;
  color: var(--pt-red);
}
.pt-header-perk__logos {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 3px;
}
.pt-header-perk__logos img {
  height: 18px;
  width: auto;
}

/* ---- Account/Cart in header: icon-only, keep cart counter badge ---- */
.header-bottom__row #_desktop_ps_customersignin .header-block__title,
.header-bottom__row #_desktop_ps_shoppingcart .header-block__title {
  display: none !important;
}

/* ---- Neutralize Bootstrap row gutter so logo edge = container edge = quickcontact edge ---- */
.header-bottom__row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.header-bottom__logo {
  padding-left: 0 !important;
}

/* ---- Border markers on the outer header-bottom wrapper only ---- */
.header-bottom {
  border-left: 2px solid var(--pt-red);
  border-right: 2px solid var(--pt-red);
}

/* ---- Header perk rows: col-3 icon / col-9 text sub-grid ---- */
.pt-header-perk .col-3 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.pt-header-perk .col-3 i.material-icons {
  font-size: 50px;
  color: var(--pt-red);
}
.pt-header-perk .col-9 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---- Nav wrapper: FULL WIDTH row (col-12), red bar edge-to-edge, sticky.
   The module's own .ps-mainmenu div stays capped/centered at 1400px inside it,
   so the background spans the full viewport but the links stay aligned with
   the 1400px header/quickcontact content above. ---- */
.header-nav-full-width {
  width: 100% !important;
  background: var(--pt-red) !important;
  position: sticky !important;
  top: 182px; /* matches #header's own sticky height, so nav docks right below it */
  z-index: 900;
}
.ps-mainmenu.ps-mainmenu--desktop {
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  width: 100% !important;
  float: none !important;
  background: transparent !important;
}

/* ---- Quick-contact row: match the 1400px cap used by header/nav ---- */
.bbquickcontact-row.col-10 {
  max-width: 1400px !important;
}

/* ---- Nav: force it to actually fill its 1400px container, not shrink-to-content-left ---- */
.ps-mainmenu.ps-mainmenu--desktop nav.ps-mainmenu__desktop {
  width: 100% !important;
  background: transparent !important;
}
.ps-mainmenu__tree {
  width: 100% !important;
}

/* ---- Nav: white text on the red bar ---- */
.ps-mainmenu__tree-link,
.ps-mainmenu__tree-link:hover,
.ps-mainmenu__tree-dropdown-toggle {
  color: #fff !important;
}
.ps-mainmenu__tree-item.current > .ps-mainmenu__tree-item-wrapper > .ps-mainmenu__tree-link {
  color: #fff !important;
  text-decoration: underline;
}

/* ---- Hero slide: same col-10/1400px treatment as everything else, taller ---- */
.pt-hero {
  min-height: 500px !important;
  max-width: 1400px !important;
}

/* ====================================================================
   Footer: borrowed from live pescuitin.ro - red dominant bg image,
   white text, columns (newsletter/social, magazin/legal links,
   address/phone/email/hours widgets, ANPC/SOL, copyright).
   ==================================================================== */
.footer.footer__main {
  position: relative;
  background: var(--pt-red) url('/themes/hummingbird/assets/img/footer/ftr-bg.jpg') center top no-repeat;
  background-size: cover;
  color: #fff;
  padding-top: 2.5rem;
}
.footer.footer__main::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(200, 16, 46, .82);
  pointer-events: none;
}
.footer.footer__main .container {
  position: relative;
  z-index: 1;
}

/* Text/links inherit white across every hooked module in the footer */
.footer.footer__main,
.footer.footer__main a,
.footer.footer__main p,
.footer.footer__main span,
.footer.footer__main li,
.footer.footer__main label,
.footer.footer__main h3,
.footer.footer__main h4 {
  color: #fff;
}
.footer.footer__main a:hover {
  color: #ffe3e3;
}
.footer.footer__main .input-wrapper input,
.footer.footer__main input[type="email"] {
  color: var(--pt-ink);
}
.footer.footer__main hr,
.footer.footer__main .divider {
  border-color: rgba(255,255,255,.25);
}

.footer__main-top,
.footer__main-bottom {
  border-bottom: 1px solid rgba(255,255,255,.2);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

/* ---- Address/phone/email/hours widget row ---- */
.pt-footer-info__top {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.pt-footer-widget__title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.pt-footer-widget__title img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
}
.pt-footer-widget p {
  margin: 0 0 .25rem;
  font-size: .88rem;
  color: rgba(255,255,255,.9);
}

/* ---- ANPC / SOL row: both badges centered together, side by side ---- */
.pt-footer-info__odr {
  padding: 1rem 0;
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.pt-footer-info__odr .col-md-6 {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  display: flex;
  justify-content: center;
}
.pt-footer-info__odr img {
  max-height: 45px;
  width: auto;
  background: #fff;
  border-radius: 4px;
  padding: 4px 8px;
}

/* ---- Copyright bar ---- */
.copyright {
  text-align: center;
  padding: 1rem 0;
  font-size: .8rem;
  color: rgba(255,255,255,.85);
}
.copyright a { color: rgba(255,255,255,.85); }
.copyright #copy { margin-top: .35rem; }

/* ---- Newsletter: separate full-width row ABOVE the red footer, own
   light background so it stays legible (not caught by the footer's
   white-text override), thick enough that everything fits comfortably. ---- */
.footer.footer__before {
  width: 100%;
  background: var(--pt-bg-soft, #f6f5f3);
  color: var(--pt-ink, #232323);
  display: flex;
  flex-direction: column;
}
.footer.footer__before,
.footer.footer__before a,
.footer.footer__before p,
.footer.footer__before span,
.footer.footer__before label,
.footer.footer__before h2,
.footer.footer__before strong {
  color: var(--pt-ink, #232323);
}
/* Each hooked block (ps_customtext, ps_emailsubscription, ...) gets its
   OWN full-width row, stacked - never side by side. */
.footer.footer__before > * {
  width: 100%;
}
.footer.footer__before .ps-customtext {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.footer.footer__before .ps-emailsubscription {
  width: 100%;
  background: transparent !important;
  min-height: 150px;
  display: flex;
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.footer.footer__before .ps-emailsubscription .row {
  width: 100%;
}
.footer.footer__before .ps-emailsubscription .h3 {
  font-size: 1.05rem;
  font-weight: 700;
}
