/* Approved My AGAPAY storefront: ivory, soft blue, navy, and warm gold. */
.bookstore-boutique,
.bookstore-boutique .content,
.bookstore-boutique .page {
  background: #fcfbf7;
}
.bookstore-boutique .page {
  max-width: 1370px;
  padding: 28px 40px 60px;
  margin: auto;
}
.boutique-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 8px 0 25px;
}
.boutique-eyebrow {
  color: #826a38;
  font:
    600 9px/1.5 'DM Sans',
    sans-serif;
  letter-spacing: 1.8px;
  margin: 0 0 10px;
}
.boutique-heading h1 {
  font:
    500 44px/1.1 'Cormorant Garamond',
    Georgia,
    serif;
  letter-spacing: -0.8px;
  color: #061522;
  margin: 0;
}
.boutique-heading h1 span {
  color: #c8a24a;
}
.boutique-heading #bookstoreHeroDescription {
  color: #74818a;
  font-size: 12px;
  margin: 7px 0 0;
}
.boutique-bag {
  border: 1px solid #d9dcd9;
  border-radius: 5px;
  background: transparent;
  padding: 11px 15px;
  color: #18354b;
  white-space: nowrap;
  cursor: pointer;
}
.boutique-bag span {
  display: inline-grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #18354b;
  color: white;
  font-size: 10px;
  margin-left: 8px;
}
.bookstore-boutique .bookstore-store-context {
  background: #fffefb;
  box-shadow: none;
  border: 1px solid #e5e1d8;
  border-radius: 6px;
}
.bookstore-boutique .bookstore-parish-menu {
  z-index: 225;
}
.boutique-hero {
  position: relative;
  display: grid;
  grid-template-columns: 48% 52%;
  min-height: 345px;
  overflow: hidden;
  border-radius: 7px;
  background: #e8eef1;
  margin: 22px 0 0;
}
.boutique-hero-copy {
  position: relative;
  z-index: 1;
  padding: 37px 0 35px 32px;
  background: linear-gradient(90deg, #e8eef1 88%, transparent);
  color: #061522;
}
.boutique-hero h2 {
  font:
    500 52px/1 'Cormorant Garamond',
    Georgia,
    serif;
  letter-spacing: -1px;
  margin: 18px 0;
}
.boutique-hero h2 em {
  font-weight: 400;
  color: #8e7135;
}
.boutique-hero-copy > p:not(.boutique-eyebrow) {
  font-size: 12px;
  line-height: 1.9;
  color: #657682;
  margin: 0 0 22px;
}
.boutique-hero-art {
  position: absolute;
  inset: 0 0 0 35%;
  background: url('/images/app/bookstore-still-life.png') 58% 54% / cover;
}
.bookstore-boutique .boutique-explore {
  background: #18354b;
  border-color: #18354b;
  color: #fff9ee;
  display: inline-flex;
  gap: 25px;
  border-radius: 4px;
  font:
    500 12px 'DM Sans',
    sans-serif;
  padding: 14px 19px;
}
.boutique-assurances {
  display: flex;
  justify-content: space-around;
  gap: 14px;
  padding: 19px 0;
  margin-bottom: 28px;
  border-bottom: 1px solid #e5e1d8;
  color: #74818a;
  font-size: 10px;
}
.bookstore-boutique .bookstore-catalog-heading {
  background: transparent;
  box-shadow: none;
  padding: 0;
  gap: 15px;
  border-radius: 0;
  scroll-margin-top: 24px;
}
.bookstore-boutique .bookstore-catalog-heading h2 {
  font:
    500 30px/1.1 'Cormorant Garamond',
    Georgia,
    serif;
}
.bookstore-boutique .bookstore-search input {
  background: #fffefb;
  border-radius: 5px;
}
.boutique-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 12px;
  gap: 10px;
  color: #73808a;
  font-size: 11px;
}
.boutique-tools select {
  border: 0;
  background: transparent;
  color: #18354b;
  max-width: 155px;
  font: inherit;
}
.boutique-saved {
  border: 0;
  background: transparent;
  padding: 8px 0;
  color: #637584;
  cursor: pointer;
  font: inherit;
}
.boutique-saved[aria-pressed='true'] {
  color: #886622;
  font-weight: 700;
}
.bookstore-boutique .bookstore-category-chip {
  box-shadow: none;
  background: transparent;
  font-weight: 500;
  border-color: #dedfd9;
}
.bookstore-boutique .bookstore-category-chip.is-active {
  background: #18354b;
  color: white;
  border-color: #18354b;
}
.bookstore-boutique .bookstore-popular {
  background: transparent;
  box-shadow: none;
  padding: 15px 0 25px;
  border-bottom: 1px solid #e5e1d8;
  border-radius: 0;
}
.bookstore-boutique .bookstore-popular-heading h2 {
  font:
    500 30px 'Cormorant Garamond',
    Georgia,
    serif;
}
.bookstore-boutique .bookstore-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px 18px;
}
.bookstore-boutique .bookstore-product-card {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 5px;
  overflow: visible;
  padding: 0;
  gap: 0;
}
.bookstore-boutique .bookstore-product-card:hover {
  transform: none;
  box-shadow: none;
}
.bookstore-boutique .bookstore-product-media {
  width: 100%;
  margin: 0;
  height: 210px;
  min-height: 210px;
  max-height: none;
  flex: 0 0 210px;
  background: #f2eee5;
  border-radius: 5px;
  overflow: hidden;
}
.bookstore-boutique .bookstore-product-media img {
  height: 100%;
  width: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  padding: 12px;
  transition: transform 0.2s;
}
.bookstore-boutique .bookstore-product-card:hover .bookstore-product-media img {
  transform: scale(1.035);
}
.bookstore-boutique .bookstore-product-media > svg {
  width: 80px;
  height: 80px;
  color: #ac9259;
  opacity: 0.8;
}
.bookstore-boutique .bookstore-product-copy {
  padding: 15px 0 5px;
}
.bookstore-boutique .bookstore-category-pill {
  color: #887653;
  font-size: 9px;
  letter-spacing: 1.4px;
}
.bookstore-boutique .bookstore-product-card .bookstore-product-copy > strong {
  font:
    600 23px/1.12 'Cormorant Garamond',
    Georgia,
    serif;
  min-height: 0;
  color: #061522;
  margin: 5px 0;
}
.bookstore-boutique .bookstore-product-copy > small {
  color: #78838b;
  font-size: 11px;
  line-height: 1.5;
}
.bookstore-boutique .bookstore-product-meta {
  padding: 8px 0;
  min-height: 52px;
  gap: 6px;
  margin-top: auto;
  flex-wrap: wrap;
}
.bookstore-boutique .bookstore-product-meta .bookstore-price {
  font:
    500 14px 'DM Sans',
    sans-serif !important;
  color: #18354b;
}
.bookstore-boutique .bookstore-product-add {
  background: #e8eef1;
  color: #18354b;
  border: 1px solid #cfdae0;
  border-radius: 25px;
  min-height: 38px;
  padding: 0 12px;
}
.bookstore-boutique .bookstore-product-stepper button {
  min-height: 36px;
}
.bookstore-boutique .bookstore-product-stepper {
  background: #e8eef1;
  border-color: #cfdae0;
}
.bookstore-boutique .bookstore-sale-ribbon {
  position: absolute;
  top: 11px;
  left: 9px;
  right: auto;
  z-index: 2;
  background: #8d3b32;
  color: #fff8f1;
  border-radius: 3px;
  padding: 6px 9px;
  font:
    600 10px 'DM Sans',
    sans-serif;
  box-shadow: none;
  transform: none;
  max-width: calc(100% - 50px);
}
.bookstore-boutique .bookstore-price-sale {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}
.bookstore-boutique .bookstore-price-sale del {
  color: #7a7e80;
  font-size: 11px;
}
.bookstore-boutique .bookstore-price-sale strong {
  color: #963f32;
  font:
    600 15px 'DM Sans',
    sans-serif;
}
.bookstore-boutique .bookstore-product-stock-out {
  top: 48px;
  left: 9px;
  right: auto;
  z-index: 2;
}
.bookstore-boutique .bookstore-product-card-qty {
  top: auto;
  bottom: 64px;
  right: 0;
  z-index: 2;
  background: #18354b;
  color: white;
  font-size: 9px;
}
.bookstore-boutique .bookstore-popular-rank {
  position: static;
  align-self: flex-start;
  margin-top: 9px;
  background: #f0e6cf;
  color: #81662c;
  font-size: 9px;
  border-radius: 3px;
  padding: 4px 7px;
}
.bookstore-product-details {
  border: 0;
  background: none;
  color: #536d80;
  font:
    500 11px 'DM Sans',
    sans-serif;
  text-align: left;
  padding: 3px 0 9px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bookstore-product-save {
  position: absolute;
  z-index: 3;
  top: 8px;
  right: 8px;
  border: 0;
  border-radius: 50%;
  height: 34px;
  width: 34px;
  background: #fffdf6;
  color: #6c7983;
  font-size: 21px;
  cursor: pointer;
}
.bookstore-product-save[aria-pressed='true'] {
  color: #9a493b;
  background: #faeee8;
}
.bookstore-boutique .bookstore-scan-feature {
  background: #e8eef1;
  color: #18354b;
  border-color: #d2dde2;
  box-shadow: none;
  border-radius: 6px;
}
.bookstore-boutique .bookstore-scan-feature strong {
  color: #18354b;
}
.bookstore-boutique .bookstore-scan-feature p {
  color: #657682;
}
.bookstore-boutique .bookstore-scan-feature-icon {
  background: #d9e3e9;
  color: #8e7135;
  border-color: #c6d3dc;
  box-shadow: none;
}
.bookstore-boutique .bookstore-manual-panel {
  margin-top: 22px;
}
.bookstore-boutique .bookstore-cart-card {
  border-radius: 8px;
  border-color: #d5dee3;
  background: #fffefb;
}
.boutique-editorial {
  position: relative;
  display: flex;
  gap: 28px;
  align-items: center;
  background: #e8eef1;
  border-radius: 6px;
  margin: 24px 0;
  padding: 28px 30px;
}
.boutique-editorial::before {
  content: '';
  position: absolute;
  inset: 5px;
  /* Quarter-circle scallops turn inward while the gold stroke stays crisp at any card size. */
  background:
    radial-gradient(circle at 0 0, transparent 9px, #b49a63 9px 10px, transparent 10px) top left / 10px 10px,
    radial-gradient(circle at 100% 0, transparent 9px, #b49a63 9px 10px, transparent 10px) top right / 10px 10px,
    radial-gradient(circle at 0 100%, transparent 9px, #b49a63 9px 10px, transparent 10px) bottom left / 10px 10px,
    radial-gradient(circle at 100% 100%, transparent 9px, #b49a63 9px 10px, transparent 10px) bottom right / 10px 10px,
    linear-gradient(#b49a63, #b49a63) top center / calc(100% - 20px) 1px,
    linear-gradient(#b49a63, #b49a63) bottom center / calc(100% - 20px) 1px,
    linear-gradient(#b49a63, #b49a63) center left / 1px calc(100% - 20px),
    linear-gradient(#b49a63, #b49a63) center right / 1px calc(100% - 20px);
  background-repeat: no-repeat;
  pointer-events: none;
}
.boutique-arch {
  display: grid;
  place-items: center;
  flex: 0 0 90px;
  height: 120px;
  border-radius: 60px 60px 0 0;
  background: #d7e2e8;
  border: 1px solid #b4c4ce;
  box-shadow: inset 0 0 0 7px #e3ebef;
  color: #a08449;
  font-size: 48px;
}
.boutique-editorial h2 {
  font:
    500 32px/1.1 'Cormorant Garamond',
    Georgia,
    serif;
  color: #061522;
  margin: 0;
}
.boutique-editorial p:not(.boutique-eyebrow) {
  font-size: 12px;
  line-height: 1.8;
  color: #657682;
  max-width: 470px;
}
.boutique-editorial .boutique-prayer-quote { margin:12px 0 10px; padding:0; border:0; background:transparent; }
.boutique-editorial .boutique-prayer-quote p { margin:0; font-style:italic; }
.boutique-prayer-quote footer { margin-top:6px; color:#826a38; font:500 10px/1.5 'DM Sans',sans-serif; }
.boutique-editorial button {
  border: 0;
  border-bottom: 1px solid #b49a63;
  color: #18354b;
  background: none;
  font:
    500 11px 'DM Sans',
    sans-serif;
  padding: 7px 0;
  cursor: pointer;
}
.boutique-editorial button span {
  margin-left: 25px;
}
#bookstoreDetail,
#bookstoreCategoryDialog {
  position: fixed;
  inset: 0;
  margin: auto;
}
#bookstoreDetail {
  border: 0;
  border-radius: 9px;
  padding: 0;
  background: #fcfbf7;
  color: #061522;
  width: min(760px, calc(100% - 30px));
  max-height: 90dvh;
  overflow: auto;
  box-shadow: 0 20px 80px #06152244;
}
#bookstoreDetail::backdrop {
  background: #06152288;
  backdrop-filter: blur(3px);
}
[data-bookstore-detail-content] {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.bookstore-detail-art {
  background: #f2eee5;
  min-height: 380px;
  display: grid;
  place-items: center;
  padding: 25px;
}
.bookstore-detail-art img {
  width: 100%;
  max-height: 370px;
  object-fit: contain;
}
.bookstore-detail-art svg {
  width: 120px;
  height: 120px;
  fill: none;
  stroke: #a08449;
  stroke-width: 1.5;
}
.bookstore-detail-copy {
  padding: 45px 28px 28px;
}
.bookstore-detail-copy h2 {
  font:
    600 34px/1.1 'Cormorant Garamond',
    Georgia,
    serif;
  margin: 12px 0;
}
.bookstore-detail-copy > p {
  font-size: 13px;
  line-height: 1.8;
  color: #657682;
}
.bookstore-detail-price strong {
  font-size: 23px;
  color: #18354b;
}
.bookstore-detail-price del {
  margin-right: 10px;
}
.boutique-sale-label {
  background: #8d3b32;
  color: #fff8f1;
  font-size: 11px;
  border-radius: 3px;
  padding: 5px 8px;
}
.bookstore-detail-close {
  position: absolute;
  right: 10px;
  top: 10px;
  border: 0;
  background: #fffdf6;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 24px;
  cursor: pointer;
}
.bookstore-detail-copy .bookstore-detail-note {
  font-size: 11px;
}
.bookstore-boutique button:focus-visible,
.bookstore-boutique select:focus-visible {
  outline: 2px solid #b18e41;
  outline-offset: 3px;
}
@media (min-width: 701px) {
  .bookstore-boutique .has-cart .bookstore-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bookstore-boutique .has-cart .bookstore-popular-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .bookstore-boutique .page {
    padding: 24px;
  }
  .boutique-heading h1 {
    font-size: 38px;
  }
  .boutique-hero h2 {
    font-size: 44px;
  }
  .bookstore-boutique .bookstore-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .bookstore-boutique .page {
    padding: 20px 16px calc(172px + env(safe-area-inset-bottom)) !important;
  }
  .boutique-heading {
    margin: 0 0 20px;
    gap: 10px;
  }
  .boutique-heading h1 {
    font-size: 32px;
  }
  .boutique-heading #bookstoreHeroDescription {
    font-size: 10px;
  }
  .boutique-eyebrow {
    font-size: 7px;
    letter-spacing: 1.2px;
  }
  .boutique-bag {
    padding: 9px;
    font-size: 11px;
  }
  .boutique-bag span {
    margin-left: 4px;
  }
  .boutique-hero {
    display: block;
    min-height: 500px;
    margin-top: 16px;
  }
  .boutique-hero-copy {
    padding: 26px 24px;
    background: #e8eef1;
  }
  .boutique-hero h2 {
    font-size: 36px;
    margin: 15px 0;
  }
  .boutique-hero-copy > p:not(.boutique-eyebrow) {
    font-size: 11px;
    margin-bottom: 17px;
  }
  .boutique-hero-art {
    inset: 270px 0 0;
    background-position: 55% 57%;
  }
  .bookstore-boutique .boutique-explore {
    font-size: 11px;
    padding: 12px 16px;
  }
  .boutique-assurances {
    font-size: 8px;
    gap: 14px;
    padding: 16px 0;
    margin-bottom: 24px;
  }
  .bookstore-boutique .bookstore-catalog-heading {
    padding: 0;
    margin: 0 0 12px;
    background: transparent;
    flex-direction: column;
    align-items: stretch;
  }
  .bookstore-boutique .bookstore-catalog-heading h2 {
    font-size: 27px;
  }
  .boutique-tools {
    margin: 8px 0 14px;
  }
  .bookstore-boutique .bookstore-product-grid {
    gap: 22px 13px;
  }
  .bookstore-boutique .bookstore-product-media {
    height: 165px;
    min-height: 165px;
    flex-basis: 165px;
    max-height: 165px;
  }
  .bookstore-boutique .bookstore-product-card .bookstore-product-copy > strong {
    font-size: 21px;
    min-height: 46px;
  }
  .bookstore-boutique .bookstore-product-copy {
    padding: 12px 0 4px;
  }
  .bookstore-boutique .bookstore-sale-ribbon {
    font-size: 8px;
    padding: 5px 6px;
    top: 9px;
    left: 6px;
  }
  .bookstore-boutique .bookstore-product-media img {
    padding: 8px;
  }
  .bookstore-boutique .bookstore-popular-card {
    min-width: 190px;
  }
  .bookstore-boutique .bookstore-popular-grid {
    gap: 14px;
  }
  .bookstore-boutique .bookstore-product-meta .bookstore-price {
    font-size: 12px !important;
  }
  .bookstore-boutique .bookstore-product-add {
    min-height: 36px;
    min-width: 55px;
  }
  .bookstore-boutique .bookstore-product-card-qty {
    bottom: 76px;
  }
  .bookstore-boutique .bookstore-scan-feature {
    padding: 12px 9px;
  }
  .bookstore-boutique .bookstore-shop-grid.has-cart .bookstore-cart-card.is-mobile-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  .boutique-editorial {
    padding: 24px 20px;
    gap: 18px;
  }
  .boutique-arch {
    flex-basis: 60px;
    height: 92px;
    font-size: 36px;
  }
  .boutique-editorial h2 {
    font-size: 27px;
  }
  .boutique-editorial p:not(.boutique-eyebrow) {
    font-size: 11px;
  }
  [data-bookstore-detail-content] {
    grid-template-columns: 1fr;
  }
  .bookstore-detail-art {
    min-height: 0;
    height: 240px;
  }
  .bookstore-detail-art img {
    max-height: 200px;
  }
  .bookstore-detail-copy {
    padding: 24px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .bookstore-boutique * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Compact shopping surface, shared with the My AGAPAY app design. */
.bookstore-boutique { color-scheme: light; }
.bookstore-boutique, .bookstore-boutique .content, .bookstore-boutique .page { background:#f3eee4; }
.bookstore-boutique .page { max-width:1100px; padding:20px 28px 70px; }
.bookstore-boutique [hidden] { display:none !important; }
.bookstore-boutique .bookstore-store-context { display:flex; align-items:center; gap:10px; border:0; border-radius:0; padding:0; margin:0 0 18px; background:transparent; }
.bookstore-boutique .bookstore-store-context-copy { flex:1; min-width:0; }
.bookstore-boutique .bookstore-store-context-copy .form-label { display:none; }
.bookstore-boutique #commemorationParishDisplay { background:transparent; border:0; padding:0; font:500 14px/1.4 'DM Sans',sans-serif; color:#18354b; min-height:0; }
.bookstore-boutique .boutique-bag { border-radius:999px; background:#c8a24a; border-color:#c8a24a; color:#18354b; padding:8px 13px; }
.bookstore-boutique .bookstore-parish-switcher { position:relative; flex:0 0 auto; }
.bookstore-boutique .bookstore-parish-menu { right:0; max-width:calc(100vw - 32px); }
.bookstore-app-tools { display:flex; align-items:stretch; gap:10px; margin-bottom:14px; }
.bookstore-boutique .bookstore-app-tools .bookstore-search { flex:1; width:auto; min-width:0; }
.bookstore-boutique .bookstore-search input { width:100%; min-width:0; border:1px solid #ded6c6; border-radius:12px; background:#fffdf8; min-height:46px; font-size:16px; }
.bookstore-app-scan { flex:0 0 150px; display:flex; align-items:center; justify-content:center; gap:8px; border:1px solid #d2dfe5; border-radius:12px; background:#e8eef1; color:#18354b; font:500 14px 'DM Sans',sans-serif; cursor:pointer; }
.bookstore-app-scan svg { width:25px; height:25px; fill:none; stroke:currentColor; stroke-width:1.8; }
.bookstore-app-tabs { display:flex; border-bottom:1px solid #ded6c6; margin:0 0 16px; gap:8px; }
.bookstore-app-tabs button { flex:1; border:0; border-bottom:2px solid transparent; border-radius:0; padding:13px 8px; background:transparent; color:#6b736f; font:500 14px 'DM Sans',sans-serif; cursor:pointer; }
.bookstore-app-tabs button[aria-pressed='true'] { color:#18354b; border-bottom-color:#c8a24a; }
.bookstore-boutique .bookstore-popular { margin:0 0 16px; padding:0; border:0; }
.bookstore-boutique .bookstore-popular-heading { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
.bookstore-boutique .bookstore-popular-heading small { display:none; }
.bookstore-boutique .bookstore-popular-heading h2 { font-size:27px; }
.bookstore-rail-controls { display:flex; gap:6px; }
.bookstore-rail-controls button { width:38px; height:38px; border-radius:50%; border:1px solid #ded6c6; background:#fffdf8; color:#18354b; font-size:24px; cursor:pointer; }
.bookstore-boutique .bookstore-popular-grid { display:flex; overflow-x:auto; gap:12px; padding:0 0 10px; scroll-snap-type:x mandatory; scrollbar-width:thin; scrollbar-color:#c8a24a transparent; }
.bookstore-boutique .bookstore-popular-card { flex:0 0 176px; min-width:0; scroll-snap-align:start; background:#fffdf8; border-radius:12px; border:1px solid #e4ddd0; overflow:hidden; }
.bookstore-boutique .bookstore-popular-card .bookstore-product-media { height:155px; min-height:155px; max-height:155px; flex-basis:155px; }
.bookstore-boutique .bookstore-popular-rank { display:none; }
.bookstore-boutique .bookstore-manual-panel { background:#e8eef1; color:#18354b; border:1px solid #d2dfe5; border-radius:12px; margin:0 0 18px; }
.bookstore-boutique .bookstore-manual-panel summary { padding:16px; color:#18354b; font-size:14px; }
.bookstore-boutique .bookstore-manual-panel summary::before { content:'+'; margin-right:10px; font-size:20px; }
.bookstore-app-collection { padding:18px; border:1px solid #e4ddd0; border-radius:12px; background:#fffdf8; }
.bookstore-boutique .bookstore-catalog-heading { display:flex; flex-direction:row; align-items:center; justify-content:space-between; gap:10px; margin-bottom:6px; }
.bookstore-boutique .bookstore-catalog-heading h2 { margin:0; font-size:27px; }
.bookstore-boutique #bookstoreCatalogCount { font-size:11px; color:#647582; }
.bookstore-category-toggle { display:flex; align-items:center; gap:6px; border:1px solid #ded6c6; border-radius:999px; padding:10px 12px; background:#fffdf8; color:#18354b; font:500 12px 'DM Sans',sans-serif; cursor:pointer; }
.bookstore-boutique .boutique-tools { justify-content:flex-end; margin:4px 0 14px; }
.bookstore-boutique .bookstore-product-grid { gap:18px 12px; }
.bookstore-boutique .bookstore-product-card .bookstore-product-copy > strong { font-size:20px; min-height:0; }
.bookstore-boutique .bookstore-product-copy { padding:10px 8px 3px; }
.bookstore-boutique .bookstore-product-copy > small { display:none; }
.bookstore-boutique .bookstore-product-details { padding:4px 8px; }
.bookstore-boutique .bookstore-product-meta { padding:8px; }
.bookstore-boutique .bookstore-product-media { border-radius:9px; }
.bookstore-boutique .boutique-editorial { border-radius:12px; }
#bookstoreCategoryDialog { width:min(360px,calc(100% - 32px)); max-height:85dvh; overflow:auto; padding:25px; border:1px solid #ded6c6; border-radius:16px; background:#fffdf8; color:#18354b; }
#bookstoreCategoryDialog::backdrop { background:#06152288; }
#bookstoreCategoryDialog h2 { font:500 29px 'Cormorant Garamond',Georgia,serif; margin:0 0 18px; }
#bookstoreCategoryDialog .bookstore-category-filters { display:grid; gap:6px; margin:0; padding:0; overflow:visible; }
#bookstoreCategoryDialog .bookstore-category-chip { width:100%; justify-content:space-between; min-height:44px; border-radius:9px; font-size:14px; }
@media(max-width:700px) {
  .bookstore-boutique .page { padding:16px 14px calc(172px + env(safe-area-inset-bottom)) !important; }
  .bookstore-app-scan { flex-basis:112px; }
  .bookstore-boutique .bookstore-app-collection { padding:13px 10px; }
  .bookstore-boutique .bookstore-catalog-heading h2 { font-size:25px; }
  .bookstore-boutique .bookstore-product-media { height:150px; min-height:150px; max-height:150px; flex-basis:150px; }
  .bookstore-boutique .bookstore-popular-card { flex-basis:156px; }
  .bookstore-boutique .bookstore-store-context { gap:8px; }
  .bookstore-boutique .bookstore-product-card .bookstore-product-copy > strong { font-size:19px; }
  .bookstore-boutique .bookstore-product-copy, .bookstore-boutique .bookstore-product-meta { padding-left:3px; padding-right:3px; }
  .bookstore-boutique .bookstore-product-details { padding-left:3px; }
  .bookstore-boutique .bookstore-product-card-qty { bottom:53px; }
}

.bookstore-boutique[data-bookstore-view='orders'] #bookstorePopularItems { display:none !important; }
/* Keep the church picker anchored to the full row beside the rightmost bag. */
.bookstore-boutique .bookstore-store-context { position:relative; }
.bookstore-boutique .bookstore-parish-switcher { position:static; }

.bookstore-boutique .bookstore-church-icon { width: 21px; height: 21px; flex: 0 0 21px; fill: none; stroke: #9a7837; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
