/* Product stories use an editorial rhythm within Broccoli's existing visual language. */
.product-heading .product_title { overflow-wrap:anywhere; letter-spacing:-.045em; }
.product-russian-name { margin:8px 0 0; color:var(--muted); font-size:17px; line-height:1.5; }
.broccoli.woocommerce div.product.has-product-story .product-overview { grid-template-columns:minmax(0,420px) minmax(0,1fr); gap:16px 48px; max-width:1120px; margin:0 auto 40px; }
.broccoli.woocommerce div.product.has-product-story div.images { padding:0; border:1px solid #cbd0bd; box-shadow:none; background:var(--product-backdrop); overflow:hidden; }
.broccoli.woocommerce div.product.has-product-story div.images img { height:auto; max-height:420px; object-fit:contain; }
.broccoli.woocommerce div.product.has-product-story div.images .flex-control-thumbs { padding:0 18px 18px; }
.broccoli.woocommerce div.product.has-product-story div.images .flex-control-thumbs img { height:70px; }
.broccoli.woocommerce div.product.has-product-story .product-story-summary { font-size:18px; line-height:1.65; margin-bottom:16px; }
.product-story-summary p:last-child { margin-bottom:0; }
.has-product-story .product-key-facts { font-size:15px; }
.has-product-story .product-key-facts>div { padding:10px 0; }
.has-product-story .all-product-facts { padding:10px 0 0; }
.broccoli.woocommerce div.product.has-product-story .summary>.price { margin:18px 0 14px; }
.broccoli.woocommerce div.product.has-product-story form.cart { margin:14px 0 18px; }
.has-product-story .product-order-note { margin-top:18px; padding-top:18px; }
.has-product-story .product-order-note p:last-child { margin-bottom:0; }
.broccoli.woocommerce div.product form.cart .single_add_to_cart_button { min-height:48px; }
.product-question-cta { padding:0 0 22px; }
.product-question-cta>a { display:inline-flex; align-items:center; min-height:44px; font-size:15px; font-weight:600; text-decoration:underline; text-underline-offset:5px; }
.product-question-cta p { color:var(--muted); font-size:13px; margin:0; }
.has-product-story .product-section-nav { gap:2px 28px; padding:20px 0; border-top:2px solid var(--green); border-bottom:1px solid #b4c0a7; }
.has-product-story .product-section-nav a { font-size:14px; }
.has-product-story .product-detail-section { position:relative; display:grid; grid-template-columns:minmax(210px,.72fr) minmax(0,1.5fr); gap:36px 64px; padding:52px 0 52px 46px; }
.has-product-story .product-detail-section::before { content:attr(data-section-number); position:absolute; top:59px; left:0; color:#718366; font-size:12px; font-weight:600; letter-spacing:.08em; }
.has-product-story .product-detail-section>h2 { max-width:320px; margin:0; font-size:30px; line-height:1.18; letter-spacing:-.035em; }
.has-product-story .product-detail-content { max-width:760px; font-size:17px; line-height:1.75; }
.has-product-story .product-detail-content p:last-child { margin-bottom:0; }
.has-product-story .product-detail-section--limits { padding-top:42px; padding-bottom:42px; }
.has-product-story .product-detail-section--limits .product-detail-content { border-left:3px solid #95b47b; padding-left:24px; }
.has-product-story .product-detail-section--limits::before { top:49px; }
.story-question+.story-question { border-top:1px solid var(--line); margin-top:26px; padding-top:26px; }
.has-product-story .story-question h3 { margin:0 0 14px; font-size:21px; line-height:1.35; letter-spacing:-.02em; }
.has-product-story .story-question p { margin-bottom:0; }
.has-product-story .story-sources { margin:0; padding-left:24px; }
.has-product-story .story-sources li { padding-left:8px; margin:0 0 24px; scroll-margin-top:150px; overflow-wrap:anywhere; }
.story-sources a { display:inline-block; min-height:44px; text-decoration:underline; text-underline-offset:4px; font-size:16px; }
.story-sources small { display:block; font-size:12px; color:var(--muted); margin-top:4px; }
.story-sources li:target { background:#e6eadb; outline:8px solid #e6eadb; }
.product-sources-disclosure { margin-top:16px; border-bottom:1px solid #d5ddc9; scroll-margin-top:140px; }
.product-sources-disclosure>summary { display:flex; align-items:center; justify-content:space-between; gap:24px; min-height:64px; padding:16px 0; font-size:16px; font-weight:600; line-height:1.4; color:var(--green); cursor:pointer; list-style:none; }
.product-sources-disclosure>summary::-webkit-details-marker { display:none; }
.product-sources-disclosure>summary:hover { color:var(--ink); }
.product-sources-disclosure>summary:focus-visible { outline:2px solid var(--green); outline-offset:5px; border-radius:2px; }
.product-sources-toggle { flex:0 0 9px; width:9px; height:9px; margin-right:5px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:translateY(-2px) rotate(45deg); }
.product-sources-disclosure[open] .product-sources-toggle { transform:translateY(2px) rotate(225deg); }
.product-sources-content { max-width:760px; padding:12px 0 16px; }
.has-product-story .story-sources li:last-child { margin-bottom:0; }
.has-product-story .product-detail-section:focus { outline:none; }
/* Characteristics are a compact reference block outside the numbered narrative. */
.product-characteristics { margin:28px 0 12px; padding:28px 32px; border:1px solid #cbd0bd; background:#f0f2e7; scroll-margin-top:140px; }
.product-characteristics>h2 { margin:0 0 16px; font-size:24px; line-height:1.25; letter-spacing:-.025em; }
.product-characteristics .product-detail-content { max-width:none; }
.broccoli.woocommerce div.product .product-characteristics table.shop_attributes { margin:0; border:0; text-align:left; }
.broccoli.woocommerce div.product .product-characteristics table.shop_attributes th,
.broccoli.woocommerce div.product .product-characteristics table.shop_attributes td { padding:12px 0; font-size:15px; font-style:normal; background:transparent; border-bottom:1px solid #cbd0bd; vertical-align:top; }
.broccoli.woocommerce div.product .product-characteristics table.shop_attributes th { width:38%; padding-right:24px; font-weight:400; color:var(--muted); }
.broccoli.woocommerce div.product .product-characteristics table.shop_attributes td p { margin:0; padding:0; }
.broccoli.woocommerce div.product .product-characteristics table.shop_attributes tr:last-child th,
.broccoli.woocommerce div.product .product-characteristics table.shop_attributes tr:last-child td { border-bottom:0; }
.product-characteristics:focus { outline:none; }
@media(max-width:1000px) {
  .broccoli.woocommerce div.product.has-product-story .product-overview { grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:16px 28px; }
  .has-product-story .product-detail-section { grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr); gap:28px; padding-left:34px; }
  .has-product-story .product-detail-section>h2 { font-size:26px; }
  .broccoli.woocommerce div.product.has-product-story .product-story-summary { font-size:16px; }
}
@media(max-width:700px) {
  .broccoli.woocommerce div.product.has-product-story .product-overview { grid-template-columns:minmax(0,1fr); gap:18px; margin-bottom:32px; }
  .has-product-story .product-media { width:min(100%,250px); justify-self:center; }
  .product-russian-name { font-size:15px; margin-top:8px; }
  .broccoli.woocommerce div.product.has-product-story div.images img { height:auto; max-height:250px; }
  .broccoli.woocommerce div.product.has-product-story div.images .flex-control-thumbs { padding:0 12px 12px; gap:10px; }
  .broccoli.woocommerce div.product.has-product-story div.images .flex-control-thumbs img { height:60px; max-height:60px; }
  .has-product-story .product-section-nav { gap:0 22px; padding:12px 0; }
  .has-product-story .product-section-nav a { font-size:13px; }
  .has-product-story .product-detail-section { display:block; padding:32px 0; }
  .has-product-story .product-detail-section::before { position:static; display:block; margin-bottom:12px; }
  .has-product-story .product-detail-section>h2 { max-width:100%; margin-bottom:22px; font-size:28px; }
  .has-product-story .product-detail-content { font-size:16px; line-height:1.7; }
  .has-product-story .product-detail-section--limits .product-detail-content { padding-left:16px; }
  .product-characteristics { margin-top:20px; padding:20px; scroll-margin-top:165px; }
  .product-sources-disclosure,.has-product-story .story-sources li { scroll-margin-top:165px; }
  .product-characteristics>h2 { font-size:23px; margin-bottom:10px; }
  .broccoli.woocommerce div.product .product-characteristics table.shop_attributes th,
  .broccoli.woocommerce div.product .product-characteristics table.shop_attributes td { display:block; width:auto; font-size:14px; overflow-wrap:anywhere; }
  .broccoli.woocommerce div.product .product-characteristics table.shop_attributes th { padding:12px 0 2px; border-bottom:0; }
  .broccoli.woocommerce div.product .product-characteristics table.shop_attributes td { padding:0 0 12px; }
  .has-product-story .story-question h3 { font-size:20px; }
}

.single-product .product-back { margin-bottom:24px; }
.purchase-needs-selection .variations,.purchase-needs-selection .pack-options { outline:2px solid var(--green); outline-offset:5px; }
@media(max-width:700px) { .single-product .product-back { margin-top:16px; margin-bottom:18px; } }

/* Keep purchasing controls in one row, with an intentional gap when they wrap. */
@media(max-width:700px) {
  .broccoli.woocommerce div.product form.cart:not(.variations_form):not(.grouped_form),
  .broccoli.woocommerce div.product form.cart .woocommerce-variation-add-to-cart {
    display:flex;
    flex-wrap:wrap;
    align-items:stretch;
    gap:12px;
  }
  .broccoli.woocommerce div.product form.cart:not(.variations_form):not(.grouped_form)::before,
  .broccoli.woocommerce div.product form.cart:not(.variations_form):not(.grouped_form)::after,
  .broccoli.woocommerce div.product form.cart .woocommerce-variation-add-to-cart::before,
  .broccoli.woocommerce div.product form.cart .woocommerce-variation-add-to-cart::after {
    display:none;
  }
  .broccoli.woocommerce div.product form.cart div.quantity.broccoli-quantity {
    margin:0;
    float:none;
  }
  .broccoli.woocommerce div.product form.cart .single_add_to_cart_button {
    flex:1 1 140px;
    width:auto;
    min-width:0;
    min-height:48px;
    margin:0;
    padding:0 16px;
    float:none;
  }
}
