/* v5.8 — reference header/footer as ONE shared shell, including homepage.
 * Changes presentation only: existing Theme Builder settings, menus, links,
 * logos, payment badges, markup and responsive mobile navigation are retained.
 */
body.pd52-global-shell .pd-site-header {
  border-radius:0!important;box-shadow:0 2px 11px rgba(44,24,12,.055)!important;
}
body.pd52-global-shell .pd-site-header .pd-tb-announcement{
  background:linear-gradient(105deg,#382113,#28170e 48%,#402514)!important;
  color:#fff6e6!important;
  height:40px!important;min-height:40px!important;
  font:600 12px/1.25 Arial,sans-serif!important;
}
body.pd52-global-shell .pd-site-header .pd-tb-announcement :is(a,span){color:inherit!important;}
body.pd52-global-shell .pd-site-header .pd-header-top {
  height:82px!important;min-height:82px!important;
  grid-template-columns:minmax(0,288px) minmax(0,520px) minmax(0,1fr)!important;
  column-gap:24px!important;padding:0 56px!important;
}
body.pd52-global-shell .pd-site-header .pd-header-bottom {
  height:44px!important;min-height:44px!important;padding:0 56px!important;
  border-radius:0!important;border-top:0!important;
}
body.pd52-global-shell .pd-site-header .pd-main-nav{gap:20px!important;}
body.pd52-global-shell .pd-site-header .pd-main-nav a{
  font-size:12px!important;
}
body.pd52-global-shell .pd-site-header .pd-main-nav .current-menu-item > a,
body.pd52-global-shell .pd-site-header .pd-main-nav .current_page_item > a,
body.pd52-global-shell .pd-site-header .pd-main-nav a[aria-current="page"]{
  color:#ae602e!important;box-shadow:0 2px 0 #ae602e!important;
}
body.pd52-global-shell .pd-site-header .pd-offer{
  min-width:170px!important;height:39px!important;background:linear-gradient(108deg,#995025,#c07a38)!important;
}
body.pd52-global-shell .pd-site-header .pd-logo .pd-brand-word{
  font-size:33px!important;letter-spacing:-1.6px!important;
}
/* All approved product references have the same white, compact footer. The
 * homepage receives exactly the same shell; no divergent category footer. */
body.pd52-global-shell .pd-site-footer {
  background:#fffdfa!important;color:#241d18!important;
  border-top:1px solid #eee3da!important;
}
body.pd52-global-shell .pd-site-footer .pd-footer-content {
  grid-template-columns:22% 16% 18% 24% 20%!important;
  min-height:128px!important;height:auto!important;
  padding:15px 56px 12px!important;align-items:start!important;
}
body.pd52-global-shell .pd-site-footer .pd-footer-brand{
  padding-right:14px!important;
}
body.pd52-global-shell .pd-site-footer .pd-footer-logo{margin:0 0 6px!important;gap:4px!important;}
body.pd52-global-shell .pd-site-footer .pd-footer-logo .pd-brand-word {
  color:#1e1814!important;font-size:27px!important;
}
body.pd52-global-shell .pd-site-footer .pd-footer-logo .pd-brand-word span{color:#ad5c2b!important;}
body.pd52-global-shell .pd-site-footer .pd-footer-logo small{color:#5b5550!important;font-size:7px!important;}
body.pd52-global-shell .pd-site-footer .pd-footer-brand p{color:#5d5550!important;margin:0 0 5px!important;font-size:11px!important;}
body.pd52-global-shell .pd-site-footer .pd-socials{gap:9px!important;}
body.pd52-global-shell .pd-site-footer .pd-socials :is(a,span){
  background:transparent!important;border:0!important;color:#17130f!important;
  width:24px!important;height:24px!important;border-radius:0!important;
}
body.pd52-global-shell .pd-site-footer .pd-socials svg{width:17px!important;height:17px!important;}
body.pd52-global-shell .pd-site-footer .pd-footer-col{
  border-left:1px solid #e5ded6!important;
  padding:0 12px 0 24px!important;
}
body.pd52-global-shell .pd-site-footer .pd-footer-col h3{
  color:#191410!important;font-size:12px!important;line-height:1.2!important;
  margin:0 0 4px!important;
}
body.pd52-global-shell .pd-site-footer .pd-footer-links a,
body.pd52-global-shell .pd-site-footer .pd-footer-links span,
body.pd52-global-shell .pd-site-footer .pd-footer-col > a,
body.pd52-global-shell .pd-site-footer .pd-footer-col > span{
  color:#3c342e!important;font-size:11.5px!important;line-height:1.32!important;
  margin:0 0 2px!important;
}
body.pd52-global-shell .pd-site-footer .pd-footer-contact .pd-svg,
body.pd52-global-shell .pd-site-footer .pd-payments>span .pd-svg{width:16px!important;height:16px!important;color:#aa622d!important;}
body.pd52-global-shell .pd-site-footer .pd-footer-contact :is(a,span){
  gap:6px!important;margin-bottom:2px!important;line-height:1.18!important;
}
body.pd52-global-shell .pd-site-footer .pd-payment-logos{
  gap:4px!important;margin:3px 0 4px!important;
}
body.pd52-global-shell .pd-site-footer .pd-payment-logos span{
  height:24px!important;min-width:34px!important;border-radius:3px!important;
  font-size:10px!important;
}
body.pd52-global-shell .pd-site-footer .pd-payments>span{
  color:#2d251f!important;display:flex!important;font-size:11px!important;
  margin:2px 0!important;gap:4px!important;
}
body.pd52-global-shell .pd-site-footer .pd-subfooter{
  min-height:53px!important;height:auto!important;
  padding:8px 56px!important;border-top:1px solid #e7dfd7!important;
  display:flex!important;justify-content:space-between!important;
  color:#6b635c!important;font-size:10.5px!important;
}
body.pd52-global-shell .pd-site-footer .pd-subfooter :is(a,span,button){color:#6b635c!important;}
body.pd52-global-shell .pd-site-footer .pd-subfooter .pd-footer-legal a+a{border-left-color:#ded0c3!important;}
body.pd52-global-shell .pd-site-footer .pd-subfooter .pd-tb-credit{
  color:#8a7e73!important;font-size:10px!important;
}
/* Do not force desktop grid/one-line nav on tablet or touch-sized viewports. */
@media(max-width:1100px){
 body.pd52-global-shell .pd-site-header .pd-tb-announcement{height:auto!important;min-height:28px!important;}
 body.pd52-global-shell .pd-site-header .pd-header-top{
  grid-template-columns:minmax(0,1fr) minmax(0,1.25fr) minmax(0,1.3fr)!important;
  column-gap:13px!important;padding:0 22px!important;min-height:68px!important;height:68px!important;
 }
 body.pd52-global-shell .pd-site-header .pd-header-bottom{
  padding:0 22px!important;min-height:52px!important;height:auto!important;
 }
 body.pd52-global-shell .pd-site-header .pd-main-nav{gap:10px!important;}
 body.pd52-global-shell .pd-site-footer .pd-footer-content{padding-inline:22px!important;}
 body.pd52-global-shell .pd-site-footer .pd-subfooter{padding-inline:22px!important;}
}
@media(max-width:790px){
 /* Preserve existing mobile hamburger, search and footer column stacking. */
 body.pd52-global-shell .pd-site-header .pd-header-top{
  height:auto!important;min-height:0!important;padding:15px 18px!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important;
 }
 body.pd52-global-shell .pd-site-header .pd-header-bottom{height:auto!important;min-height:0!important;padding:0 18px!important;}
 body.pd52-global-shell .pd-site-footer .pd-footer-content{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  padding:26px 18px!important;min-height:0!important;gap:19px 8px!important;
 }
 body.pd52-global-shell .pd-site-footer .pd-footer-brand{grid-column:1/-1!important;}
 body.pd52-global-shell .pd-site-footer .pd-footer-col{padding:0 9px!important;}
 body.pd52-global-shell .pd-site-footer .pd-subfooter{
  min-height:0!important;padding:16px 18px!important;display:flex!important;
  flex-direction:column!important;align-items:flex-start!important;gap:11px!important;
 }
}

/* One single Theme Builder announcement for homepage and all category pages.
   Custom announcement messages keep the author's original custom text/link. */
body.pd52-global-shell .pd-site-header .pd-tb-feature-row{
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  width:100%!important;max-width:1324px!important;margin:0 auto!important;
  gap:22px!important;white-space:nowrap!important;color:#fff4df!important;
}
body.pd52-global-shell .pd-site-header .pd-tb-feature-row>span{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  gap:9px!important;font-size:12px!important;font-weight:600!important;
}
body.pd52-global-shell .pd-site-header .pd-tb-feature-row .pd-svg{
  display:inline-block!important;width:16px!important;height:16px!important;
  stroke:#efc36b!important;color:#efc36b!important;flex-shrink:0!important;
}
body.pd52-global-shell .pd-site-header .pd-header-bottom{
 border-radius:0!important;
}
body.pd52-global-shell .pd-site-header .pd-main-nav a:hover{
 text-underline-offset:4px!important;color:#a96733!important;
}
/* Reference has no visible agency credit below the copyright/legal row. */
body.pd52-global-shell .pd-site-footer .pd-subfooter .pd-tb-credit{display:none!important;}
@media(max-width:1100px){
 body.pd52-global-shell .pd-site-header .pd-tb-feature-row{
  justify-content:center!important;gap:8px 18px!important;flex-wrap:wrap!important;
  white-space:normal!important;
 }
 body.pd52-global-shell .pd-site-header .pd-tb-feature-row>span{font-size:10px!important;}
}
@media(max-width:790px){
 body.pd52-global-shell .pd-site-header .pd-tb-feature-row{
  justify-content:center!important;column-gap:12px!important;row-gap:5px!important;
 }
 body.pd52-global-shell .pd-site-header .pd-tb-feature-row>span:nth-child(3),
 body.pd52-global-shell .pd-site-header .pd-tb-feature-row>span:nth-child(5){display:none!important;}
 body.pd52-global-shell .pd-site-header .pd-tb-feature-row>span{font-size:9px!important;}
 body.pd52-global-shell .pd-site-header .pd-tb-feature-row .pd-svg{width:12px!important;height:12px!important;}
}
