/* Product page (redesign stage 5). Styles from docs/mockups/redesign, scoped to .cwp */
.cwp { --ink: #111827; --muted: #4b5563; --line: #e5e7eb; --soft: #ecfdf5; --soft2: #f9fafb; --on: #047857; --on-sub: #a7f3d0; color: var(--ink); }
.cwp .facts-t { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; margin: 14px 0 10px; padding: 4px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--soft2); }
.cwp .facts-t > div { display: grid; gap: 2px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.cwp .facts-t > div:nth-child(n+3) { border-bottom: 0; }
.cwp .facts-t dt { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.cwp .facts-t dd { margin: 0; font-size: 14.5px; font-weight: 600; }
.cwp .facts-t .fresh { display: inline-block; margin-left: 8px; padding: 1px 8px; border-radius: 99px; background: #dcfce7; color: #166534; font-size: 11.5px; font-style: normal; font-weight: 700; }
.cwp .facts-t .fl { display: inline-block; margin: 2px 6px 0 0; padding: 2px 9px; border-radius: 99px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; }
.cwp .nomm { margin: 10px 0 0; padding: 10px 12px; border-left: 3px solid #f59e0b; border-radius: 0 10px 10px 0; background: #fffbeb; font-size: 14px; line-height: 1.5; color: #78350f; }
.cwp .nomm a { color: #92400e; font-weight: 700; }
.cwp .yp { margin: 14px 0 4px; font-size: 18px; }
.cwp .yp b { font-size: 30px; font-weight: 800; }
.cwp .yp s { margin-left: 8px; font-size: 16px; color: var(--muted); }
.cwp .yp small { display: block; font-size: 14px; color: var(--muted); }
.cwp .lbl { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 8px; font-size: 15px; font-weight: 800; }
.cwp .lbl span { font-size: 12px; font-weight: 600; color: var(--muted); }
.cwp .rows { display: grid; gap: 6px; }
.cwp .row { display: grid; grid-template-columns: 22px 1fr auto 78px; align-items: center; gap: 10px; width: 100%; padding: 11px 14px; border: 1px solid #d1d5db; border-radius: 10px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.cwp .dot { width: 18px; height: 18px; border: 2px solid #d1d5db; border-radius: 50%; }
.cwp .szl { font-size: 16px; font-weight: 800; }
.cwp .szl small { margin-left: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.cwp .bv { display: inline-block; margin-left: 8px; padding: 2px 7px; border-radius: 999px; background: #fef9c3; color: #854d0e; font-size: 11px; font-weight: 800; vertical-align: 2px; }
.cwp .rp { font-size: 16px; font-weight: 800; text-align: right; }
.cwp .rp s { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.cwp .rg { font-size: 13px; color: var(--muted); text-align: right; }
.cwp .row[aria-checked="true"] { border-color: var(--on); background: var(--on); color: #fff; }
.cwp .row[aria-checked="true"] .dot { border-color: #fff; background: radial-gradient(#fff 0 4px, transparent 5px); }
.cwp .row[aria-checked="true"] small, .cwp .row[aria-checked="true"] .rg, .cwp .row[aria-checked="true"] .rp s { color: var(--on-sub); }
.cwp .row[aria-disabled="true"] { background: #f9fafb; color: #9ca3af; cursor: not-allowed; }
.cwp .row[aria-disabled="true"] .szl, .cwp .row[aria-disabled="true"] .rp { text-decoration: line-through; }
.cwp .steps { margin: 12px 0 4px; padding: 12px 14px 0; border-radius: 14px; background: var(--soft); }
.cwp .steps-head { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 8px; font-size: 14px; font-weight: 800; color: #047857; }
.cwp .steps-head span { font-size: 12px; font-weight: 600; color: var(--muted); text-align: right; }
.cwp .steps-row { display: grid; grid-auto-columns: 1fr; grid-auto-flow: column; gap: 6px; align-items: end; }
.cwp .step { display: flex; flex-direction: column; justify-content: space-between; padding: 7px 4px 9px; border-radius: 10px 10px 0 0; background: #a7f3d0; color: #065f46; text-align: center; }
.cwp .step b { font-size: 14px; } .step small { font-size: 11px; font-weight: 600; }
.cwp .step.on { background: var(--on); color: #fff; }
@media (max-width: 767px) {
	.cwp .facts-t { gap: 0 12px; }
	/* Compact size rows on phones: one line each, the old price beside the new one */
	.cwp .rows { gap: 4px; }
	.cwp .row { grid-template-columns: 16px 1fr auto 58px; min-height: 44px; padding: 6px 10px; gap: 8px; border-radius: 8px; }
	.cwp .dot { width: 14px; height: 14px; }
	.cwp .row[aria-checked="true"] .dot { background: radial-gradient(#fff 0 3px, transparent 4px); }
	.cwp .szl, .cwp .rp { font-size: 15px; }
	.cwp .szl small { font-size: 11px; }
	.cwp .bv { margin-left: 6px; padding: 1px 6px; font-size: 10px; }
	.cwp .rp s { display: inline; margin-left: 5px; font-size: 11px; }
	.cwp .rg { font-size: 12px; }
	.cwp .lbl { margin: 12px 0 6px; }
	.cwp .yp { margin: 10px 0 2px; }
	.cwp .yp b { font-size: 24px; }
}
@media (max-width: 420px) { .cwp .szl small { display: none; } } /* "¼ lb" says it; keeps each row on one line */
.cwp .row:focus-visible { outline: 2px solid #059669; outline-offset: 2px; }
.cwp .notify { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.cwp .notify form { display: flex; gap: 6px; flex: 1 1 260px; }
.cwp .notify input { flex: 1; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid #d1d5db; border-radius: 10px; font: inherit; }
.cwp .notify button { min-height: 44px; padding: 0 14px; border: 1.5px solid #1d4ed8; border-radius: 10px; background: #fff; color: #1d4ed8; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap; }
.cwp .notify button:disabled { border-color: var(--line); color: var(--muted); }
.cwp .cutoff { margin: 10px 0 0; font-size: 14px; font-weight: 600; color: #b45309; }
.cwp-rows-on table.variations, .cwp-rows-on .reset_variations, .cwp-rows-on .woocommerce-variation-price { display: none !important; }
body:has(.cwp-rows-on) .Single-Product-Price { display: none; }
#Product-Quickview .cwp .yp b { font-size: 24px; }
@media (max-width: 767px) { .cwp .notify form { flex-wrap: wrap; flex-basis: 100%; } .cwp .notify input { flex-basis: 100%; } .cwp .notify button { width: 100%; white-space: normal; } }
/* Quick View photo gallery */
.qvg-main { position: relative; }
.qvg-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: .5rem; background: #f3f4f6; }
.qvg-track::-webkit-scrollbar { display: none; }
.qvg-img { flex: 0 0 100%; width: 100%; aspect-ratio: 1; object-fit: cover; scroll-snap-align: start; }
.qvg-nav { position: absolute; top: 50%; display: grid; place-items: center; width: 36px; height: 36px; margin-top: -18px; padding: 0 0 3px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: 0 1px 4px rgba(0,0,0,.2); color: #111827; font-size: 24px; line-height: 1; cursor: pointer; }
.qvg-nav.prev { left: 8px; } .qvg-nav.next { right: 8px; }
.qvg-thumbs { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; scrollbar-width: none; }
.qvg-thumbs button { flex: 0 0 52px; height: 52px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: #f3f4f6; cursor: pointer; }
.qvg-thumbs button[aria-current="true"] { border-color: #047857; }
.qvg-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: none) { .qvg-nav { display: none; } } /* touch screens swipe */
/* Picked size: light mint with a green outline (not solid green), so it doesn't merge with the green Add to cart button */
.cwp .row[aria-checked="true"] { border: 2px solid var(--on); background: var(--soft); color: var(--ink); }
.cwp .row[aria-checked="true"] .dot { border-color: var(--on); background: radial-gradient(var(--on) 0 4px, transparent 5px); }
.cwp .row[aria-checked="true"] small, .cwp .row[aria-checked="true"] .rg, .cwp .row[aria-checked="true"] .rp s { color: var(--muted); }
.cwp-rows-on .single_variation_wrap { margin-top: 14px; }
/* Quick View: compact one-line size rows on every screen size */
#Product-Quickview .cwp .rows { gap: 4px; }
#Product-Quickview .cwp .row { grid-template-columns: 16px 1fr auto 62px; min-height: 42px; padding: 5px 12px; gap: 8px; border-radius: 8px; }
#Product-Quickview .cwp .dot { width: 14px; height: 14px; }
#Product-Quickview .cwp .row[aria-checked="true"] .dot { background: radial-gradient(var(--on) 0 3px, transparent 4px); }
#Product-Quickview .cwp .szl, #Product-Quickview .cwp .rp { font-size: 15px; }
#Product-Quickview .cwp .rp s { display: inline; margin-left: 5px; font-size: 11px; }
#Product-Quickview .cwp .rg { font-size: 12px; }
#Product-Quickview .cwp .lbl { margin: 12px 0 6px; }
#Product-Quickview .cwp .yp { margin: 10px 0 2px; }
