body.wp-theme-bahr-picks {
  --royal: #351056;
  --royal-deep: #250b3e;
  --royal-mid: #512477;
  --gold: #f1ca76;
  --gold-ink: #634517;
  --cream: #fcf8f1;
  --tint: #f3edf8;
  --ink: #2d1c39;
  --muted: #64586c;
  --teal: var(--royal-mid);
  --teal-dark: var(--royal-deep);
  --orange: var(--gold-ink);
  --line: #e3d9e9;
  --bg: var(--cream);
  --mint: var(--tint);
  --heritage-repeat: repeating-conic-gradient(from 45deg, #e5bd6b 0% 25%, transparent 0% 50%);
  color: var(--ink);
  background: var(--cream) !important;
}
.wp-theme-bahr-picks > .announcement,
.wp-theme-bahr-picks:not(.home) > main > .shop-categories-section {
  display: none !important;
}
.wp-theme-bahr-picks > header {
  background: var(--royal-deep) !important;
  color: #fff;
  border: 0;
}
.wp-theme-bahr-picks > header::after,
.wp-theme-bahr-picks > footer::before {
  content: "";
  display: block;
  height: 11px;
  border-block: 1px solid #b68a51;
  background: var(--heritage-repeat) center / 18px 18px, var(--royal-deep);
}
.wp-theme-bahr-picks > header .header-main {
  min-height: 84px;
  gap: 18px;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
.wp-theme-bahr-picks > header .brand,
.wp-theme-bahr-picks > footer .brand { color: white !important; }
.wp-theme-bahr-picks .brand b { color: var(--gold) !important; }
.wp-theme-bahr-picks :is(.header-main,.footer-top) .brand img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  border: 1px solid #c99e51;
  border-radius: 12px;
  object-fit: cover;
}
.wp-theme-bahr-picks :is(.header-main,.footer-top) .brand b {
  letter-spacing: normal;
}
.wp-theme-bahr-picks > header .header-main .brand { gap: 9px; min-height: 48px; }
.wp-theme-bahr-picks > header .header-main .brand img {
  width: 56px;
  height: 56px;
  flex-basis: 56px;
  border-radius: 9px;
}
.wp-theme-bahr-picks > header .heritage-header-name {
  display: block;
  color: #fff;
  line-height: 1.35;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}
.wp-theme-bahr-picks > header .heritage-header-name b {
  font-size: 19px;
  line-height: 1.3;
}
.wp-theme-bahr-picks > header form.search {
  background: #fffaf2 !important;
  min-height: 48px;
  gap: 9px;
  padding: 4px 9px;
  margin-inline-start: 0;
}
.wp-theme-bahr-picks form.search input { color: var(--royal-deep) !important; font-size: 14px; min-height: 38px; }
.heritage-search-submit {
  min-height: 38px;
  padding: 0 16px;
  border: 0;
  border-radius: 7px;
  background: var(--royal-mid);
  color: white;
  font-weight: 700;
}
.wp-theme-bahr-picks .header-main .saved { color: #fff !important; min-height: 44px; }
.wp-theme-bahr-picks .header-main .saved b { background: var(--gold); color: var(--royal-deep); }
.wp-theme-bahr-picks .header-main .telegram { background: #fff2 !important; color: white !important; min-height: 44px; }
.wp-theme-bahr-picks .main-nav {
  grid-template-columns: repeat(6, max-content);
  gap: 8px;
  padding-block: 0 13px;
}
.wp-theme-bahr-picks .main-nav a,
.wp-theme-bahr-picks .main-nav a:hover {
  border: 1px solid #ffffff32 !important;
  color: #fff !important;
  background: #ffffff12 !important;
  padding-inline: 19px;
}
.wp-theme-bahr-picks .main-nav a.active,
.wp-theme-bahr-picks .main-nav a[aria-current] { background: var(--gold) !important; color: var(--royal-deep) !important; border-color: var(--gold) !important; }
.wp-theme-bahr-picks :focus-visible { outline: 3px solid #b97e22 !important; outline-offset: 3px; }
.heritage-skip { position: fixed; z-index: 100000; inset-inline-start: 12px; inset-block-start: 12px; background: var(--gold); color: var(--royal-deep); padding: 10px 16px; border-radius: 8px; }
.heritage-skip:not(:focus) { clip-path: inset(50%); white-space: nowrap; width: 1px; height: 1px; padding: 0; }
.wp-theme-bahr-picks > main.wrap { padding-block: 22px 42px; }
.wp-theme-bahr-picks :is(.daily-pick,.deals-section,.managed-coupons,.newsletter-section) { scroll-margin-top: 18px; }
.wp-theme-bahr-picks :is(h1,h2,h3) { letter-spacing: normal; overflow-wrap: anywhere; }
.wp-theme-bahr-picks .heritage-load-more:has(#moreButton:not([hidden])) .catalog-pagination,
.wp-theme-bahr-picks .catalog-pagination[hidden],
.wp-theme-bahr-picks #moreButton[hidden] { display: none !important; }
.wp-theme-bahr-picks .load-row { padding: 14px 0 0; }
.wp-theme-bahr-picks .load-row p { font-size: 11px; color: var(--muted); margin: 8px 0 0; }
.wp-theme-bahr-picks .deals-section + .managed-coupons { margin-block-start: 18px; }
.wp-theme-bahr-picks .section-heading h2,
.wp-theme-bahr-picks .catalog-title { color: var(--royal) !important; }
.wp-theme-bahr-picks .section-heading .kicker { color: var(--gold-ink) !important; }
.wp-theme-bahr-picks .section-heading .text-link { color: var(--royal-mid) !important; min-height: 44px; text-decoration: underline; text-underline-offset: 4px; }
.wp-theme-bahr-picks .daily-pick { margin-block-start: 0; }
.wp-theme-bahr-picks .daily-card { border-color: #e0c592; background: #fffdf8; }
.wp-theme-bahr-picks .daily-decoration { display: none !important; }
.wp-theme-bahr-picks .header-main .saved,
.wp-theme-bahr-picks .header-main .telegram { flex-shrink: 0; }
.wp-theme-bahr-picks :is(.offer-button,.wp-element-button,.coupon-copy,.button-primary,.more-button,.heritage-store-link) {
  background: var(--gold) !important;
  color: var(--royal-deep) !important;
  border: 1px solid #d0a34d !important;
  border-radius: 9px !important;
  font-weight: 700;
  min-height: 44px;
}
.wp-theme-bahr-picks :is(.offer-button,.wp-element-button,.coupon-copy,.button-primary,.more-button,.heritage-store-link):hover { background: #fbda91 !important; }
.wp-theme-bahr-picks :is(.store-filter,.deal-quick-filters button,.sort-label select,.catalog-pagination a) { border-color: #ded0e8; min-height: 44px; }
.wp-theme-bahr-picks .store-filter.selected { background: var(--royal-mid) !important; color: white !important; }
.wp-theme-bahr-picks :is(.product-card,.shop-category-card,.managed-coupon) { border: 1px solid #e2d6e6; background: #fff; }
.wp-theme-bahr-picks :is(.price,.saving) { color: var(--royal-mid) !important; }
.wp-theme-bahr-picks .share-actions { display: flex; flex-wrap: wrap; gap: 6px; }
body.wp-theme-bahr-picks .share-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 8px; }
.wp-theme-bahr-picks > main .entry-content { border-color: #e2d7e7; background: #fffdfb; }
.wp-theme-bahr-picks > main > .entry-content > h1 { color: var(--royal); line-height: 1.55; padding-block-end: 12px; border-block-end: 2px solid #dabc83; }
.wp-theme-bahr-picks .entry-content :where(h2,h3) { color: var(--royal); }
.wp-theme-bahr-picks .entry-content :where(img,iframe,video) { max-width: 100%; }
.wp-theme-bahr-picks .entry-content .wp-block-table { overflow-x: auto; }
.wp-theme-bahr-picks .shop-category-carousel .category-carousel-controls,
.wp-theme-bahr-picks .shop-category-grid > [hidden] { display: none !important; }
.wp-theme-bahr-picks .entry-content .shop-category-grid,
.wp-theme-bahr-picks.home .shop-categories-section .shop-category-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: row !important;
  grid-auto-columns: auto !important;
  overflow: visible !important;
  gap: 14px;
}
.wp-theme-bahr-picks .shop-category-grid > * { min-width: 0; width: auto; }
.wp-theme-bahr-picks.home .shop-categories-section .shop-category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.wp-theme-bahr-picks.home .shop-categories-section .shop-category-card {
  align-items: center;
  text-align: center;
  padding-block-start: 8px;
}
.wp-theme-bahr-picks.home .shop-categories-section .shop-category-card img {
  width: min(100%, 104px);
  border-radius: 6px;
}
.wp-theme-bahr-picks .coupon-carousel .category-carousel-controls button {
  width: 44px;
  height: 44px;
  color: var(--royal-mid);
  border-color: #d8c4e4;
}
.wp-theme-bahr-picks .managed-coupon-grid { scrollbar-color: #9f79b3 transparent; }
.wp-theme-bahr-picks .coupon-merchant img { max-width: 100%; object-fit: contain; }
.heritage-store-grid,.heritage-picks-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; margin-block: 20px; }
.heritage-store-card,.heritage-pick-card { min-width: 0; padding: 18px; border: 1px solid #e1d4e8; border-block-start: 3px solid #bc9550; border-radius: 14px; background: #fff; }
.heritage-store-card h2,.heritage-pick-card h2 { margin-block-start: 0; font-size: clamp(16px,2vw,23px); }
.wp-theme-bahr-picks .heritage-store-link { display: inline-flex; align-items: center; padding: 5px 12px; margin-block: 4px; }
.wp-theme-bahr-picks .heritage-pick-card figure { margin: 0 0 14px; text-align: center; }
.wp-theme-bahr-picks .heritage-pick-card figure img { width: 100% !important; height: auto; aspect-ratio: 1; max-height: 220px; object-fit: contain; }
.heritage-breadcrumb { min-height: 0; }
.heritage-breadcrumb a { color: var(--royal-mid); text-decoration: underline; padding-block: 7px; }
.wp-theme-bahr-picks .single-offer:has(.heritage-offer-details) { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; gap: 26px; text-align: start; }
.wp-theme-bahr-picks .single-offer > img { width: auto; height: auto; max-width: 100%; }
.wp-theme-bahr-picks .heritage-offer-photo {
  position: relative;
  width: min(100%, 300px);
  aspect-ratio: 400 / 416;
  overflow: hidden;
  justify-self: center;
}
.wp-theme-bahr-picks .heritage-offer-photo > img {
  position: absolute;
  inset: -36.54% auto auto -7.5%;
  width: 200% !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
}
.heritage-offer-details { min-width: 0; }
.heritage-offer-details h1 { font-size: clamp(24px,3vw,40px); color: var(--royal); line-height: 1.5; }
.wp-theme-bahr-picks .heritage-offer-details :is(.price-row,.offer-badges,.share-actions) { justify-content: flex-start; }
.wp-theme-bahr-picks .entry-content :is(main,.bahr-guide,.bahr-guide-index) header { color: #fff !important; background: var(--royal) !important; }
.wp-theme-bahr-picks .entry-content :is(main,.bahr-guide,.bahr-guide-index) header :is(h1,h2,h3) { color: #fff !important; }
.wp-theme-bahr-picks .newsletter-section.bahr-newsletter-enhanced,
.wp-theme-bahr-picks .telegram-banner { background: var(--royal) !important; color: #fff !important; border: 1px solid #b98a43 !important; }
.wp-theme-bahr-picks .telegram-banner h2 { color: #fff !important; }
.wp-theme-bahr-picks .telegram-banner .kicker { color: var(--gold) !important; }
.wp-theme-bahr-picks .telegram-banner p { color: #f4eaf9 !important; font-size: 13px; }
.wp-theme-bahr-picks .newsletter-section.bahr-newsletter-enhanced { grid-template-columns: minmax(0,1fr) minmax(0,1.35fr) !important; grid-template-areas: 'copy form' !important; }
.wp-theme-bahr-picks .newsletter-section .bahr-nl-brand { display: none !important; }
.wp-theme-bahr-picks .newsletter-section .bahr-nl-copy :is(h2,p) { color: #fff !important; }
.wp-theme-bahr-picks .newsletter-section .bahr-nl-benefits { background: #ffffff14 !important; border-color: #ffffff32 !important; }
.wp-theme-bahr-picks .newsletter-section .bahr-nl-label strong,
.wp-theme-bahr-picks .newsletter-section .bahr-nl-copy em { color: var(--gold) !important; }
.wp-theme-bahr-picks .newsletter-section :is(input[type=email],button[type=submit]) { min-height: 46px; }
.wp-theme-bahr-picks .newsletter-section button[type=submit] { background: var(--gold) !important; color: var(--royal-deep) !important; }
.wp-theme-bahr-picks > footer { background: var(--royal-deep) !important; color: #fff !important; }
.wp-theme-bahr-picks > footer h2 { color: var(--gold) !important; }
.wp-theme-bahr-picks > footer :is(a,p,.footer-bottom) { color: #f4eaf9 !important; }
.wp-theme-bahr-picks > footer .footer-top {
  padding-block: 16px;
  gap: 10px 24px;
}
.wp-theme-bahr-picks > footer .footer-top > p {
  margin: 0;
  max-width: 52ch;
  font-size: 13px;
  line-height: 1.85;
}
.heritage-footer-line { display: block; }
.wp-theme-bahr-picks > footer .heritage-footer-daily {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--gold) !important;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.wp-theme-bahr-picks > footer .footer-top .heritage-footer-brand img {
  width: 96px;
  height: 96px;
  flex-basis: 96px;
}

.wp-theme-bahr-picks > footer .footer-links { gap: 8px; direction: rtl; }
.wp-theme-bahr-picks > footer .footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding-inline: 12px;
  border: 1px solid #ffffff43;
  border-radius: 8px;
  font-size: 12px;
}
@media (max-width: 760px) {
  .wp-theme-bahr-picks > footer .footer-top { display: grid; grid-template-columns: minmax(0,1fr); }
  .wp-theme-bahr-picks > footer .footer-links { margin: 0; justify-content: flex-start; }
  .wp-theme-bahr-picks > header .header-main .brand img { width: 48px; height: 48px; flex-basis: 48px; }
  .wp-theme-bahr-picks > header .heritage-header-name { font-size: 14px; }
  .wp-theme-bahr-picks > header .heritage-header-name b { font-size: 17px; }
  .wp-theme-bahr-picks > header .header-main { gap: 8px; padding-block: 12px; }
  .wp-theme-bahr-picks .main-nav { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; }
  .wp-theme-bahr-picks .main-nav a { min-width: 0; padding: 6px 2px; font-size: 12px; white-space: normal; text-align: center; }
  .wp-theme-bahr-picks > main.wrap { padding-top: 14px; }
  .wp-theme-bahr-picks .single-offer:has(.heritage-offer-details) { grid-template-columns: minmax(0,1fr); gap: 0; }
  .wp-theme-bahr-picks .single-offer > img { max-height: 320px !important; }
  .wp-theme-bahr-picks .heritage-offer-photo { width: min(100%, 230px); margin-block: 12px; }
  .wp-theme-bahr-picks .heritage-offer-details h1 { font-size: clamp(18px, 5.3vw, 23px); line-height: 1.4; }
  .wp-theme-bahr-picks .entry-content .shop-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .wp-theme-bahr-picks.home .shop-categories-section .shop-category-grid { gap: 8px; }
  .wp-theme-bahr-picks.home .shop-categories-section .shop-category-card img { width: min(100%, 82px); }
  .wp-theme-bahr-picks .newsletter-section.bahr-newsletter-enhanced { grid-template-columns: minmax(0,1fr) !important; grid-template-areas: 'copy' 'form' !important; }
  .heritage-store-grid,.heritage-picks-grid { gap: 8px; }
  .heritage-store-card,.heritage-pick-card { padding: 10px; }
  .wp-theme-bahr-picks .heritage-pick-card .wp-element-button { font-size: 12px; padding: 8px; text-align: center; align-content: center; }
}
@media (max-width: 390px) {
  .wp-theme-bahr-picks > header .header-main .telegram { display: none; }
  .wp-theme-bahr-picks .header-main .saved { margin-inline-start: auto; }
  .wp-theme-bahr-picks .share-actions a { flex: 1 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(body.wp-theme-bahr-picks) { scroll-behavior: auto !important; }
}

/* Keep custom buying guides on the same palette as the shared theme. */
.wp-theme-bahr-picks .heritage-embedded-guide { padding: 0 !important; }
.wp-theme-bahr-picks .heritage-embedded-guide > h1[hidden] { display: none !important; }
body.wp-theme-bahr-picks .heritage-embedded-guide #bahr-mobile-v3 { background: var(--cream) !important; color: var(--ink) !important; }
body.wp-theme-bahr-picks .heritage-embedded-guide #bahr-mobile-v3 :is(.hero,.mast,.final,.sticky) {
  background: var(--royal) !important;
  color: white !important;
}
body.wp-theme-bahr-picks .heritage-embedded-guide #bahr-mobile-v3 .hero h1,
body.wp-theme-bahr-picks .heritage-embedded-guide #bahr-mobile-v3 .final h2 { color: white !important; }
body.wp-theme-bahr-picks .heritage-embedded-guide #bahr-mobile-v3 :is(.hero-image,.section.tint) { background: var(--tint) !important; }
body.wp-theme-bahr-picks .heritage-embedded-guide #bahr-mobile-v3 a.buy {
  color: var(--royal-deep) !important;
  background: var(--gold) !important;
  border: 1px solid #c69a4b !important;
  min-height: 44px;
}
.wp-theme-bahr-picks .daily-card:not(:has(.daily-decoration)) { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
@media (max-width: 640px) {
  .wp-theme-bahr-picks .daily-card:not(:has(.daily-decoration)) { grid-template-columns: minmax(0, 1fr); }
}

/* The same product layout applies to every supported storefront. */
.wp-theme-bahr-picks .heritage-product > .single-offer {
  margin: 0;
  padding: clamp(14px, 3vw, 30px);
  border: 1px solid #e1d4e8;
  border-radius: 20px;
  align-items: start;
  background: #fff;
}
.wp-theme-bahr-picks .heritage-product > .single-offer > :is(img, .heritage-offer-photo) {
  justify-self: center;
}
.wp-theme-bahr-picks .heritage-product > .heritage-offer-without-photo {
  grid-template-columns: minmax(0, 1fr);
}
.wp-theme-bahr-picks .heritage-product .heritage-offer-details h1 {
  margin-block: 0 12px;
  overflow-wrap: anywhere;
}
.wp-theme-bahr-picks .heritage-product .heritage-offer-details > .offer-button {
  display: flex;
  width: 100%;
  min-height: 44px;
}
.wp-theme-bahr-picks .heritage-product .heritage-offer-details > :is([data-bahr-price-history-placement], .bahr-price-history),
.wp-theme-bahr-picks .heritage-product .heritage-offer-details [data-bahr-product-packs] {
  box-sizing: border-box;
  inline-size: 100%;
  min-inline-size: 0;
  margin-inline: 0;
}
.wp-theme-bahr-picks .heritage-product .bahr-pack-option {
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 42%);
}
.wp-theme-bahr-picks .heritage-product .bahr-pack-option > span {
  min-inline-size: 0;
  overflow-wrap: anywhere;
}
.wp-theme-bahr-picks .heritage-product [hidden] { display: none !important; }
.wp-theme-bahr-picks .heritage-product-support {
  display: grid;
  gap: 14px;
  margin-block: 16px;
}
.wp-theme-bahr-picks .heritage-product-panel,
.wp-theme-bahr-picks .heritage-product > section:not(.single-offer) {
  min-width: 0;
  padding: clamp(14px, 3vw, 22px);
  border: 1px solid #e1d4e8;
  border-radius: 14px;
  background: #fff;
  overflow-wrap: anywhere;
}
.wp-theme-bahr-picks .heritage-product-panel > h2,
.wp-theme-bahr-picks .heritage-product > section:not(.single-offer) > h2 {
  color: var(--royal);
  font-size: clamp(18px, 2.5vw, 24px);
  margin-block-start: 0;
}
@media (max-width: 760px) {
  .wp-theme-bahr-picks.single-post > main.wrap:has(> .heritage-product) {
    width: calc(100% - 24px);
    margin-inline: auto;
  }
  .wp-theme-bahr-picks.single-post .heritage-product {
    min-inline-size: 0;
    padding-inline: 0;
  }
  .wp-theme-bahr-picks .heritage-product > .single-offer {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }
  .wp-theme-bahr-picks .heritage-product > .single-offer > img {
    margin-block: 0 !important;
    max-height: 260px !important;
  }
}
