/* Rochester Cards PDP refinements v1.3; scoped to product pages.
   Blocksy owns column widths, image ratio, galleries, tabs and purchase behaviour. */
body.single-product .woocommerce-breadcrumb,
body.single-product .ct-breadcrumbs {
  font-size: 12px; line-height: 1.6; letter-spacing: .025em; color: #6f6b65;
  overflow-wrap: anywhere;
}
body.single-product .product_title,
body.single-product h1.product_title {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400; line-height: 1.2; letter-spacing: -.02em;
  font-size: clamp(28px, 2.7vw, 39px); color: #292823;
}
body.single-product div.product .summary .price {
  color: #45635a; font-weight: 600; font-size: clamp(18px, 1.4vw, 23px);
}
/* Keep ORIGINAL image ratio; don't set aspect-ratio or object-position on galleries. */
body.single-product .woocommerce-product-gallery img,
body.single-product .ct-product-gallery img { max-width: 100%; height: auto; }
body.single-product .woocommerce-product-gallery a:focus-visible,
body.single-product .ct-product-gallery a:focus-visible { outline: 3px solid #a35c53; outline-offset: 3px; }
/* Visual styling only: WooCommerce controls the actual variation logic. */
body.single-product .variations { width: 100%; }
body.single-product .variations label { font-weight: 600; font-size: 14px; color: #292823; }
body.single-product .variations select,
body.single-product form.cart .quantity input.qty {
  border: 1px solid #cfc5b4; border-radius: 3px;
  background-color: #fffdf8; color: #292823; min-height: 44px;
}
body.single-product form.cart .single_add_to_cart_button {
  min-height: 46px; border-radius: 3px; font-weight: 600;
  background-color: #45635a; color: #fff;
}
body.single-product form.cart .single_add_to_cart_button:hover:not(:disabled) { background-color: #2d493f; }
body.single-product form.cart .single_add_to_cart_button:disabled { opacity: .55; cursor: not-allowed; }
body.single-product .reset_variations { font-size: 13px; }
body.single-product .product_meta { font-size: 12px; color: #716e68; line-height: 1.6; }
body.single-product .product_meta a { color: #45635a; }
body.single-product .woocommerce-tabs,
body.single-product .ct-product-tabs { margin-top: clamp(38px, 5vw, 72px); }
/* v1.4: Keep long descriptions in a centred reading column.
   The previous max-width did not set horizontal margins, leaving the content
   visually stuck to the left in the staging screenshots. No tab functionality
   or WooCommerce markup is modified. */
body.single-product .woocommerce-Tabs-panel {
  box-sizing: border-box;
  width: min(100%, 880px);
  max-width: 880px;
  margin-inline: auto;
  padding-inline: clamp(16px, 2vw, 28px);
}
body.single-product .woocommerce-Tabs-panel > :first-child { margin-top: 0; }
body.single-product .woocommerce-Tabs-panel :is(p, li) { overflow-wrap: break-word; }

body.single-product .woocommerce-Tabs-panel :is(h2,h3,h4) { font-family: Georgia, 'Times New Roman', serif; font-weight: 400; line-height: 1.25; color: #292823; }
body.single-product .woocommerce-Tabs-panel p,
body.single-product .woocommerce-Tabs-panel li { line-height: 1.75; }
body.single-product .woocommerce-Tabs-panel :is(p,ul,ol) { margin-bottom: 1.1em; }
body.single-product :is(.related,.up-sells,.upsells) > h2 { font: 400 clamp(25px,2.4vw,33px)/1.25 Georgia,'Times New Roman',serif; color:#292823; margin-bottom: 26px; }
body.single-product :is(.related,.up-sells,.upsells) { margin-top: clamp(45px,5vw,80px); }
body.single-product a:focus-visible,
body.single-product button:focus-visible,
body.single-product select:focus-visible,
body.single-product input:focus-visible { outline: 3px solid #a35c53; outline-offset: 3px; }
@media (max-width: 767px) {
  body.single-product .product_title, body.single-product h1.product_title { font-size: 30px; }
  body.single-product form.cart .single_add_to_cart_button { min-height: 48px; }
  body.single-product .woocommerce-tabs { margin-top: 34px; }
  body.single-product .woocommerce-Tabs-panel {
    width: 100%;
    padding-inline: clamp(15px, 4vw, 24px);
  }
}


/* ================================================================
   Rochester Cards — Product storytelling system v1.5
   Scope: WooCommerce SINGLE PRODUCT description content only.
   Uses existing HTML classes; DOES NOT change copy, products, prices,
   stock, variations, galleries, tabs, payment methods or data.
   ================================================================ */

/* A readable, gallery-like narrative: deliberately narrow body copy. */
body.single-product .woocommerce-Tabs-panel .rc-product-detail {
  --rcpd-ink: #292823;
  --rcpd-subtle: #696158;
  --rcpd-accent: #a35c53;
  --rcpd-paper: #fffdf8;
  --rcpd-parchment: #e9dfc9;
  --rcpd-line: #ded5c8;
  display: grid;
  grid-template-columns: minmax(0, 1.46fr) minmax(230px, .94fr);
  column-gap: clamp(24px, 4.2vw, 60px);
  row-gap: clamp(23px, 3.2vw, 40px);
  margin: 0 auto;
  max-width: 930px;
  align-items: start;
  color: var(--rcpd-ink);
  line-height: 1.75;
}
body.single-product .woocommerce-Tabs-panel .rc-product-detail > * { min-width: 0; }
body.single-product .woocommerce-Tabs-panel .rc-product-detail__intro {
  grid-column: 1 / -1;
  border-bottom: 1px solid var(--rcpd-line);
  padding: 0 0 clamp(18px, 2.7vw, 30px);
}
body.single-product .woocommerce-Tabs-panel .rc-product-detail__eyebrow {
  font: 700 11px/1.5 Arial, Helvetica, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--rcpd-accent);
  margin: 0 0 12px;
}
body.single-product .woocommerce-Tabs-panel .rc-product-detail :is(h2, h3) {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -.025em;
  line-height: 1.24;
  color: var(--rcpd-ink);
  margin: 0 0 17px;
}
body.single-product .woocommerce-Tabs-panel .rc-product-detail h2 {
  font-size: clamp(25px, 3vw, 35px);
}
body.single-product .woocommerce-Tabs-panel .rc-product-detail h3 {
  font-size: clamp(21px, 2.35vw, 28px);
}
body.single-product .woocommerce-Tabs-panel .rc-product-detail__lead {
  max-width: 64ch;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.65;
  color: var(--rcpd-subtle);
  margin: 0;
}
body.single-product .woocommerce-Tabs-panel .rc-product-detail__story {
  grid-column: 1;
  grid-row: 2 / span 2;
  max-width: 63ch;
  font-size: 16px;
  line-height: 1.83;
  overflow-wrap: break-word;
}
body.single-product .woocommerce-Tabs-panel .rc-product-detail__story > :last-child,
body.single-product .woocommerce-Tabs-panel .rc-product-detail__facts > :last-child,
body.single-product .woocommerce-Tabs-panel .rc-product-detail__greeting > :last-child,
body.single-product .woocommerce-Tabs-panel .rc-product-detail__artist > :last-child {
  margin-bottom: 0;
}
body.single-product .woocommerce-Tabs-panel .rc-product-detail__facts {
  grid-column: 2;
  grid-row: 2;
  background: var(--rcpd-parchment);
  border-radius: 3px;
  padding: clamp(21px, 2.5vw, 33px);
}
body.single-product .woocommerce-Tabs-panel .rc-product-detail__specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
body.single-product .woocommerce-Tabs-panel .rc-product-detail__specs li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  margin: 0;
  border-bottom: 1px solid rgba(41,40,35,.12);
  font-size: 13px;
  line-height: 1.5;
}
body.single-product .woocommerce-Tabs-panel .rc-product-detail__specs li strong {
  font-weight: 600;
  text-align: right;
  min-width: 0;
}
body.single-product .woocommerce-Tabs-panel .rc-product-detail__specs li:last-child {border-bottom: 0;}
body.single-product .woocommerce-Tabs-panel .rc-product-detail__fineprint {
  font-size: 12px;
  line-height: 1.65;
  color: var(--rcpd-subtle);
  margin: 18px 0 0;
}
body.single-product .woocommerce-Tabs-panel .rc-product-detail__greeting {
  grid-column: 2;
  grid-row: 3;
  border: 1px solid var(--rcpd-line);
  background: var(--rcpd-paper);
  box-shadow: 0 12px 25px rgba(40, 33, 22, .045);
  padding: clamp(20px, 2.4vw, 31px);
  text-align: center;
  border-radius: 2px;
  font-size: 14px;
  line-height: 1.75;
}
body.single-product .woocommerce-Tabs-panel .rc-product-detail__greeting em,
body.single-product .woocommerce-Tabs-panel .rc-product-detail__greeting .card-mes-first {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
}
body.single-product .woocommerce-Tabs-panel .rc-product-detail__greeting .card-messages {
  list-style: none;
  padding: 0;
  margin: 0;
}
body.single-product .woocommerce-Tabs-panel .rc-product-detail__artist {
  grid-column: 1 / -1;
  grid-row: 4;
  border-top: 1px solid var(--rcpd-line);
  padding-top: clamp(20px, 2.6vw, 30px);
  max-width: 75ch;
  font-size: 14px;
  color: var(--rcpd-subtle);
}

/* Short-form descriptions: story left, greeting right; no fabricated
   specification section, and no alteration to Chris's words. */
body.single-product .woocommerce-Tabs-panel .rc-product-detail--short .rc-product-detail__story {
  grid-column: 1;
  grid-row: 1;
}
body.single-product .woocommerce-Tabs-panel .rc-product-detail--short .rc-product-detail__greeting {
  grid-column: 2;
  grid-row: 1;
}
body.single-product .woocommerce-Tabs-panel .rc-product-detail--short .card-content {
  font-size: 16px;
  line-height: 1.85;
}
body.single-product .woocommerce-Tabs-panel .rc-product-detail--short .xmas-message > h2 {
  font-size: clamp(21px, 2.35vw, 28px);
}

/* Backward compatibility for untouched older descriptions.
   They remain readable even without the optional HTML wrapper. */
body.single-product .woocommerce-Tabs-panel > .card-content,
body.single-product .woocommerce-Tabs-panel > .xmas-message {
  max-width: 720px;
  margin: 18px auto 38px;
  line-height: 1.8;
}
body.single-product .woocommerce-Tabs-panel > .xmas-message {
  border: 1px solid #ded5c8;
  background: #fffdf8;
  padding: clamp(22px, 3vw, 36px);
}
body.single-product .woocommerce-Tabs-panel > .xmas-message .card-messages {
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 780px) {
  body.single-product .woocommerce-Tabs-panel .rc-product-detail {
    display: block;
    max-width: 670px;
  }
  body.single-product .woocommerce-Tabs-panel .rc-product-detail > * {
    margin-bottom: 27px;
  }
  body.single-product .woocommerce-Tabs-panel .rc-product-detail__story {
    max-width: none;
    font-size: 16px;
  }
  body.single-product .woocommerce-Tabs-panel .rc-product-detail__facts {
    padding: 22px;
  }
  body.single-product .woocommerce-Tabs-panel .rc-product-detail__artist {
    padding-top: 25px;
  }
}
