/* V50. Premium product-price sheet mirrors merchant cards; no financial changes. */
html[data-baakee-theme] body #app .merchant-detail-v12961>.u2-merchant-products-here > button.baakee-product-hidden-v50 {
  display:none!important;
}
html[data-baakee-theme] body #app .merchant-detail-v12961>.u2-merchant-products-here > button.baakee-product-expand-v50 {
  display:flex!important;justify-content:center!important;align-items:center!important;
  min-height:39px!important;width:100%!important;margin:6px 0 0!important;padding:9px 8px!important;
  border:0!important;border-top:1px solid color-mix(in srgb,var(--baakee-ink,var(--accent,#8a3d60)) 17%,var(--line,#eadce3))!important;
  border-radius:0!important;background:transparent!important;
  color:var(--baakee-ink,var(--accent,#8a3d60))!important;font-size:12px!important;
  line-height:1.3!important;font-weight:700!important;text-align:center!important;
}
html[data-baakee-theme] body #app .merchant-detail-v12961>.u2-merchant-products-here > button.baakee-product-expand-v50:focus-visible {
  outline:2px solid var(--baakee-ink,var(--accent,#8a3d60))!important;outline-offset:1px;
}

html[data-baakee-theme] body #modal-root .modal:has(.baakee-price-sheet-v50){
  box-sizing:border-box!important;width:min(600px,calc(100vw - 24px))!important;
  max-width:600px!important;padding:19px 19px 22px!important;
  background:color-mix(in srgb,var(--baakee-soft,#f5e6ee) 5%,var(--card,#fff))!important;
  border:1px solid color-mix(in srgb,var(--baakee-ink,var(--accent,#8a3d60)) 23%,var(--line,#eadce3))!important;
  border-radius:26px!important;
  box-shadow:0 20px 70px rgba(43,22,32,.16)!important;
}
html[data-baakee-theme] body #modal-root .modal:has(.baakee-price-sheet-v50)>.modal-head{
  margin-bottom:15px!important;
}
html[data-baakee-theme] body #modal-root .modal:has(.baakee-price-sheet-v50)>.modal-head h2{
  font-size:clamp(20px,4.8vw,26px)!important;letter-spacing:-.025em!important;
  color:var(--baakee-ink,var(--accent,#8a3d60))!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-sheet-v50{
  display:grid!important;gap:12px!important;min-width:0!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-hero-v50{
  border:1px solid color-mix(in srgb,var(--baakee-ink,var(--accent,#8a3d60)) 20%,var(--line,#eadce3))!important;
  border-radius:21px!important;padding:17px!important;
  background:linear-gradient(135deg,color-mix(in srgb,var(--baakee-soft,#f5e6ee) 68%,var(--card,#fff)),color-mix(in srgb,var(--baakee-soft,#f5e6ee) 12%,var(--card,#fff)))!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-eyebrow-v50{
  display:block;color:var(--baakee-ink,var(--accent,#8a3d60))!important;
  text-transform:uppercase;font-size:10px!important;font-weight:800!important;letter-spacing:.08em!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-name-v50{
  margin:5px 0 3px!important;font-size:clamp(23px,5.5vw,30px)!important;
  font-weight:800!important;line-height:1.18!important;overflow-wrap:anywhere!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-hero-v50 p{
  margin:0!important;font-size:12px!important;color:var(--muted,#82727c)!important;line-height:1.35!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-stats-v50{
  display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin-top:12px!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-stats-v50 span{
  border-radius:999px!important;padding:6px 10px!important;font-size:11px!important;font-weight:700!important;
  color:var(--baakee-ink,var(--accent,#8a3d60))!important;
  background:color-mix(in srgb,var(--baakee-soft,#f5e6ee) 40%,var(--card,#fff))!important;
  border:1px solid color-mix(in srgb,var(--baakee-ink,var(--accent,#8a3d60)) 12%,var(--line,#eadce3))!important;
}
/* Category learning remains available, but no longer dominates the first screen. */
html[data-baakee-theme] body #modal-root .baakee-price-category-v50{
  background:color-mix(in srgb,var(--baakee-soft,#f5e6ee) 9%,var(--card,#fff))!important;
  border:1px solid color-mix(in srgb,var(--baakee-ink,var(--accent,#8a3d60)) 17%,var(--line,#eadce3))!important;
  border-radius:16px!important;overflow:hidden!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-category-v50 > summary{
  display:flex!important;align-items:center!important;gap:8px!important;cursor:pointer!important;
  list-style:none!important;min-height:42px!important;padding:10px 14px!important;
  font-size:12px!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-category-v50 > summary::-webkit-details-marker{display:none!important}
html[data-baakee-theme] body #modal-root .baakee-price-category-label-v50{color:var(--muted,#82727c)!important}
html[data-baakee-theme] body #modal-root .baakee-price-category-v50 > summary strong{
  font-size:12px!important;min-width:0!important;overflow-wrap:anywhere!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-category-edit-v50{
  margin-left:auto!important;color:var(--baakee-ink,var(--accent,#8a3d60))!important;font-weight:750!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-category-v50[open] > summary{
  border-bottom:1px solid color-mix(in srgb,var(--baakee-ink,var(--accent,#8a3d60)) 12%,var(--line,#eadce3))!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-category-v50 .u2-product-category{
  border:0!important;border-radius:0!important;margin:0!important;padding:12px 14px 14px!important;
  background:transparent!important;gap:8px!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-category-v50 .u2-product-category label{font-size:12px!important}
html[data-baakee-theme] body #modal-root .baakee-price-category-v50 .u2-product-category button{
  min-height:43px!important;width:100%!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-section-v50{
  background:color-mix(in srgb,var(--baakee-soft,#f5e6ee) 5%,var(--card,#fff))!important;
  border:1px solid color-mix(in srgb,var(--baakee-ink,var(--accent,#8a3d60)) 19%,var(--line,#eadce3))!important;
  border-radius:20px!important;padding:15px!important;min-width:0!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-section-title-v50{
  display:flex!important;justify-content:space-between!important;align-items:baseline!important;gap:10px!important;
  margin-bottom:8px!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-section-title-v50 h4{
  margin:0!important;font-size:15px!important;font-weight:800!important;line-height:1.25!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-section-title-v50 span{
  white-space:nowrap!important;font-size:11px!important;color:var(--muted,#82727c)!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-section-v50 .u2-price-merchants{
  display:grid!important;gap:8px!important;margin:0!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-section-v50 .u2-price-merchant{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  gap:4px 10px!important;margin:0!important;padding:12px!important;
  background:color-mix(in srgb,var(--baakee-soft,#f5e6ee) 13%,var(--card,#fff))!important;
  border:1px solid color-mix(in srgb,var(--baakee-ink,var(--accent,#8a3d60)) 14%,var(--line,#eadce3))!important;
  border-radius:14px!important;min-width:0!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-section-v50 .u2-price-merchant>span{
  font-weight:750!important;overflow-wrap:anywhere!important;font-size:13px!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-section-v50 .u2-price-merchant>strong{
  text-align:right!important;font-size:15px!important;color:var(--baakee-ink,var(--accent,#8a3d60))!important;
  white-space:nowrap!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-section-v50 .u2-price-merchant>strong small{font-size:10px!important;font-weight:500!important}
html[data-baakee-theme] body #modal-root .baakee-price-section-v50 .u2-price-merchant>small{
  grid-column:1/-1!important;font-size:11px!important;line-height:1.4!important;
  color:var(--muted,#82727c)!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-fineprint-v50{
  font-size:10px!important;line-height:1.45!important;color:var(--muted,#82727c)!important;
  margin:10px 1px 0!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-section-v50 .u2-best-price{
  margin:0 0 9px!important;padding:9px 11px!important;border-radius:12px!important;
  font-size:11px!important;background:var(--baakee-active-fill,var(--baakee-soft))!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-section-v50 .u2-price-history{
  margin:0!important;display:grid!important;gap:0!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-section-v50 .u2-price-history>button{
  display:flex!important;justify-content:space-between!important;align-items:center!important;
  min-height:55px!important;padding:10px 2px!important;margin:0!important;gap:10px!important;
  border-top:0!important;border-bottom:1px solid color-mix(in srgb,var(--baakee-ink,var(--accent,#8a3d60)) 13%,var(--line,#eadce3))!important;
  background:transparent!important;text-align:left!important;color:inherit!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-section-v50 .u2-price-history>button:last-child{border-bottom:0!important}
html[data-baakee-theme] body #modal-root .baakee-price-section-v50 .u2-price-history>button b{font-size:12px!important}
html[data-baakee-theme] body #modal-root .baakee-price-section-v50 .u2-price-history>button small{font-size:10px!important}
html[data-baakee-theme] body #modal-root .baakee-price-section-v50 .u2-price-history>button>strong{
  font-size:12px!important;color:var(--baakee-ink,var(--accent,#8a3d60))!important;white-space:normal!important;
  text-align:right!important;max-width:48%!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-back-v50{
  display:block!important;width:100%!important;max-width:100%!important;min-height:49px!important;
  padding:13px 14px!important;margin:2px 0 0!important;
  border-radius:15px!important;font-size:13px!important;font-weight:750!important;
  color:var(--baakee-ink,var(--accent,#8a3d60))!important;
  background:color-mix(in srgb,var(--baakee-soft,#f5e6ee) 33%,var(--card,#fff))!important;
  border:1px solid color-mix(in srgb,var(--baakee-ink,var(--accent,#8a3d60)) 23%,var(--line,#eadce3))!important;
  text-align:center!important;box-shadow:none!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-back-v50:focus-visible{
  outline:2px solid var(--baakee-ink,var(--accent,#8a3d60))!important;outline-offset:2px;
}
@media(max-width:420px){
  html[data-baakee-theme] body #modal-root .modal:has(.baakee-price-sheet-v50){padding:14px 13px 17px!important;border-radius:23px!important}
  html[data-baakee-theme] body #modal-root .baakee-price-hero-v50{padding:14px!important}
  html[data-baakee-theme] body #modal-root .baakee-price-section-v50{padding:12px!important}
}

/* V50: Category belongs to the product overview, not to a full-size Settings card. */
html[data-baakee-theme] body #modal-root .baakee-price-hero-v50 .baakee-price-category-v50{
  margin-top:12px!important;border-radius:12px!important;overflow:visible!important;
  border:1px solid color-mix(in srgb,var(--baakee-ink,var(--accent,#8a3d60)) 16%,var(--line,#eadce3))!important;
  background:color-mix(in srgb,var(--baakee-soft,#f5e6ee) 16%,var(--card,#fff))!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-hero-v50 .baakee-price-category-v50>summary{
  padding:8px 11px!important;min-height:34px!important;gap:7px!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-category-label-v50{
  font-size:11px!important;letter-spacing:0!important;opacity:.85!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-hero-v50 .baakee-price-category-v50 strong{
  font-size:11px!important;font-weight:750!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-category-edit-v50{
  padding:2px 7px!important;border-radius:999px!important;
  background:color-mix(in srgb,var(--baakee-soft,#f5e6ee) 50%,var(--card,#fff))!important;
  font-size:11px!important;font-weight:750!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-hero-v50 .baakee-price-category-v50 .u2-product-category{
  background:transparent!important;padding:10px!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-hero-v50 .baakee-price-category-v50 .u2-product-category select{
  width:100%!important;min-height:40px!important;background:var(--card)!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-hero-v50 .baakee-price-category-v50 .u2-product-category small{
  font-size:10px!important;line-height:1.35!important;color:var(--muted)!important;
}
/* More expressive price history, with equal visual weight to the new Merchant page. */
html[data-baakee-theme] body #modal-root .modal:has(.baakee-price-sheet-v50){
  background:var(--card,#fffdfd)!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-hero-v50{
  background:linear-gradient(127deg,color-mix(in srgb,var(--baakee-soft,#f5e6ee) 56%,var(--card,#fff)),color-mix(in srgb,var(--baakee-soft,#f5e6ee) 11%,var(--card,#fff)))!important;
  padding:15px!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-hero-v50 p{line-height:1.4!important}
html[data-baakee-theme] body #modal-root .baakee-price-section-v50{
  background:color-mix(in srgb,var(--baakee-soft,#f5e6ee) 5%,var(--card,#fff))!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-section-v50 .u2-price-merchant{
  background:color-mix(in srgb,var(--baakee-soft,#f5e6ee) 11%,var(--card,#fff))!important;
  padding:11px 12px!important;
}
html[data-baakee-theme] body #modal-root .baakee-price-section-v50 .u2-price-history>button{
  min-height:52px!important;
}
html[data-baakee-theme] body #modal-root button.baakee-price-back-v50{
  box-sizing:border-box!important;display:flex!important;justify-content:center!important;
  align-items:center!important;width:100%!important;max-width:none!important;
  min-height:50px!important;margin-top:3px!important;padding:13px 16px!important;
  border-radius:15px!important;background:var(--baakee-ink,var(--accent,#8a3d60))!important;
  /* Explicit button foreground: the app-wide .secondary text styling can be dark. */
  color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;
  border:1px solid color-mix(in srgb,var(--baakee-ink,var(--accent,#8a3d60)) 70%,var(--line,#eadce3))!important;
  font-size:13px!important;font-weight:780!important;text-align:center!important;
  box-shadow:0 7px 20px color-mix(in srgb,var(--baakee-ink,var(--accent,#8a3d60)) 13%,transparent)!important;
}
html[data-baakee-theme] body #modal-root button.baakee-price-back-v50:focus-visible{
  outline:2px solid var(--baakee-ink,var(--accent,#8a3d60))!important;outline-offset:3px!important;
}
/* The Products directory should belong to the same visual family as Merchant rows. */
html[data-baakee-theme] body #app .baakee-product-directory-v37 .u2-merchant-product-list{
  border:1px solid color-mix(in srgb,var(--baakee-ink,var(--accent,#8a3d60)) 20%,var(--line,#eadce3))!important;
  border-radius:21px!important;
  background:color-mix(in srgb,var(--baakee-soft,#f5e6ee) 5%,var(--card,#fff))!important;
  padding:0 13px!important;
  box-shadow:none!important;
}
html[data-baakee-theme] body #app .baakee-product-directory-v37 .u2-merchant-product-list>button{
  width:100%!important;min-height:63px!important;padding:10px 0!important;
  border-bottom:1px solid color-mix(in srgb,var(--baakee-ink,var(--accent,#8a3d60)) 17%,var(--line,#eadce3))!important;
  background:transparent!important;
}
html[data-baakee-theme] body #app .baakee-product-directory-v37 .u2-merchant-product-list>button:last-child{
  border-bottom:0!important;
}
html[data-baakee-theme] body #app .baakee-product-directory-v37 .baakee-product-avatar-v37{
  background:color-mix(in srgb,var(--baakee-soft,#f5e6ee) 65%,var(--card,#fff))!important;
  color:var(--baakee-ink,var(--accent,#8a3d60))!important;
  border:1px solid color-mix(in srgb,var(--baakee-ink,var(--accent,#8a3d60)) 12%,var(--line,#eadce3))!important;
}
html[data-baakee-theme] body #app .baakee-product-directory-v37 .u2-merchant-product-list>button:focus-visible{
  outline:2px solid var(--baakee-ink,var(--accent,#8a3d60))!important;outline-offset:-2px!important;
  border-radius:12px!important;
}
/* Product rows embedded in a Merchant detail share its divider rhythm. */
html[data-baakee-theme] body #app .merchant-detail-v12961>.u2-merchant-products-here>button.baakee-product-expand-v50{
  min-height:40px!important;border-top:1px solid color-mix(in srgb,var(--baakee-ink,var(--accent,#8a3d60)) 18%,var(--line,#eadce3))!important;
  color:var(--baakee-ink,var(--accent,#8a3d60))!important;
  border-bottom:0!important;
}
@media(max-width:390px){
  html[data-baakee-theme] body #modal-root .baakee-price-hero-v50{padding:13px!important}
  html[data-baakee-theme] body #modal-root .baakee-price-stats-v50{gap:6px!important}
}

/* V51: maintain contrast across light/dark appearance variations. */
html[data-theme="dark"][data-baakee-theme] body #modal-root button.baakee-price-back-v50,
html[data-appearance="dark"][data-baakee-theme] body #modal-root button.baakee-price-back-v50,
html[data-baakee-mode="dark"][data-baakee-theme] body #modal-root button.baakee-price-back-v50{
  background:color-mix(in srgb,var(--baakee-ink,var(--accent,#8a3d60)) 42%,#21131d)!important;
  color:#ffffff!important;-webkit-text-fill-color:#ffffff!important;
}
