/* WordPress and WooCommerce glue for the Catholic Arms mockup CSS. */
body.admin-bar .site-header.is-compact { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .site-header.is-compact { top: 46px; }
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page .button {
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.woocommerce div.product,
.woocommerce-cart,
.woocommerce-checkout,
.woocommerce-page .woocommerce {
  color: inherit;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce-page .woocommerce-notices-wrapper {
  font-family: var(--font-body);
}

.woocommerce .quantity .qty,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-cart table.cart td,
.woocommerce-cart table.cart th,
.woocommerce-checkout .woocommerce-checkout {
  font-family: var(--font-body);
}

.woocommerce span.onsale { display: none; }

.woocommerce a.added_to_cart {
  font-family: var(--font-body);
  margin-left: 0.75rem;
}

/* Private-product preview banner for logged-in editors. */
.ca-preview-note {
  max-width: var(--page);
  margin: 0 auto 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--rule);
  font-size: 0.95rem;
}

/* Make Woo add-to-cart and form buttons match the mockup gold .btn */
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce button.single_add_to_cart_button,
.woocommerce .single_add_to_cart_button.button.alt,
.woocommerce-page .button,
.woocommerce-cart .actions .button,
.woocommerce-checkout button.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--ink);
  border: 1px solid var(--gold);
  border-radius: 0;
  box-shadow: none;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.72rem 1.3rem;
  min-height: 2.45rem;
  line-height: 1;
}
.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce button.single_add_to_cart_button:hover,
.woocommerce .single_add_to_cart_button.button.alt:hover,
.woocommerce .button:focus,
.woocommerce button.button:focus {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--ink);
}
.woocommerce form.cart {
  margin: 1rem 0;
}
.woocommerce form.cart .quantity {
  margin-right: 0.75rem;
}

/* ===== Landing mode (v1.1.0) ===== */
.ca-soon-note {
  margin: 1.2rem auto 0;
  max-width: 34rem;
  padding: 0.9rem 1.2rem;
  border: 1px solid rgba(201, 162, 39, 0.45);
  color: var(--gold-soft, #d8bf74);
  text-align: center;
  font-size: 1.08rem;
  letter-spacing: 0.02em;
}
.ca-soon-badge {
  align-self: flex-start;
  display: inline-block;
  margin: 0.4rem 0 0.8rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(201, 162, 39, 0.55);
  font-family: "Cinzel", serif;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-soft, #d8bf74);
}
.ca-showcase { padding-bottom: 1rem; }
.ca-showcase-figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.3);
  background: #0b0a08;
}
.ca-showcase-figure img { display: block; width: 100%; height: auto; }
.ca-showcase-copy {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(44%, 30rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 2.4rem;
  background: linear-gradient(90deg, rgba(11, 10, 8, 0.82) 0%, rgba(11, 10, 8, 0.55) 70%, rgba(11, 10, 8, 0) 100%);
}
.ca-showcase-copy h2 { margin: 0.2rem 0 0.6rem; }
.ca-showcase-copy .btn-row { justify-content: flex-start; }
.ca-render-caption { text-align: center; margin-top: 0.6rem; }
@media (max-width: 760px) {
  .ca-showcase-copy {
    position: static;
    width: auto;
    padding: 1.4rem 1rem 0.4rem;
    background: none;
    text-align: center;
  }
  .ca-showcase-copy .btn-row { justify-content: center; }
  .ca-showcase-copy .ca-soon-badge { align-self: center; }
}
.ca-rosary-pic img { display: block; width: 100%; height: auto; max-height: 36rem; object-fit: contain; margin-inline: auto; }
.ca-browse-card { margin: 0; }
.ca-browse-card figcaption { display: flex; flex-direction: column; gap: 0.4rem; }

/* v1.1.6: one browse card (chaplet hidden until public) */
.product-pair.is-single { grid-template-columns: minmax(0, 1fr); max-width: 26rem; }

/* v1.1.25: product photographs may be wider than the column (Crystal is 1600px). */
.product-layout .art-frame img,
#gallery-main img {
  max-width: 100%;
  width: auto;
  height: auto;
}

/* v1.1.25: Jason's sacramental pull-quote (home, About) and footer line. */
.ca-quote {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
}
.ca-quote p {
  margin: 0;
}
.ca-quote-band {
  text-align: center;
}
.ca-quote-band .ornament {
  margin-inline: auto;
  margin-block: 0;
}
.ca-quote--full {
  max-width: 38rem;
  margin-inline: auto;
  padding: 0.35rem 0.5rem 0.15rem;
}
.ca-quote--full p {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  line-height: 1.55;
  color: var(--parchment);
  text-wrap: pretty;
}
.ca-quote-band--about {
  max-width: 42rem;
  margin: 0.25rem auto 1.75rem;
  padding: 1.15rem 1.25rem 1.2rem;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.ca-quote-footer {
  margin-top: 2rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.ca-quote--footer {
  max-width: 38rem;
  margin-inline: auto;
}
.ca-quote--footer p {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.5;
  color: var(--gold-soft);
  text-wrap: pretty;
}
.copyright {
  margin-top: 1.15rem;
}
@media (max-width: 700px) {
  .ca-quote--full p {
    font-size: 1.15rem;
    line-height: 1.55;
  }
  .ca-quote-band--about {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0.15rem;
    padding-right: 0.15rem;
  }
  .ca-quote--footer p {
    font-size: 1.02rem;
  }
}
