/* AG-COM Product Page. Everything is scoped under .agcpp so it can't leak into the theme. */

.agcpp {
  --m: #5c0000;
  --m-dark: #3d0000;
  --m-tint: #f6eeee;
  --cream: #f7f5f1;
  --ink: #1f1f1f;
  --mut: #6b6b6b;
  --line: #e6e6e6;
  --head: "Noto Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --body: "Nokora", "Noto Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  background: #fff;
}
.agcpp *, .agcpp *::before, .agcpp *::after { box-sizing: border-box; }
.agcpp [hidden] { display: none !important; }
.agcpp a { color: var(--m); }
.agcpp a:hover { color: var(--m-dark); }
.agcpp img { max-width: 100%; height: auto; }
.agcpp .agcpp-i { display: inline-block; vertical-align: -0.125em; flex-shrink: 0; }
.agcpp .agcpp-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Theme-proofing: undo the theme's own button / input / select styling inside our page. */
.agcpp button, .agcpp select, .agcpp input, .agcpp summary {
  font-family: var(--body);
  margin: 0;
  min-height: 0;
  box-shadow: none;
  text-transform: none;
  letter-spacing: normal;
  line-height: 1.3;
}
.agcpp a:focus-visible, .agcpp button:focus-visible, .agcpp select:focus-visible,
.agcpp input:focus-visible, .agcpp summary:focus-visible { outline: 2px solid #f0b400; outline-offset: 2px; }

.agcpp .agcpp-wrap { max-width: 1200px; margin: 0 auto; padding: 8px 24px 64px; }

/* Breadcrumb */
.agcpp .agcpp-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0 0 22px; padding: 0; font-size: 13px; color: var(--mut); }
.agcpp .agcpp-crumbs li { margin: 0; padding: 0; }
.agcpp .agcpp-crumbs li + li::before { content: "/"; margin-right: 8px; color: #aaa; }
.agcpp .agcpp-crumbs a { color: var(--mut); text-decoration: none; }
.agcpp .agcpp-crumbs a:hover { color: var(--m); text-decoration: underline; }
.agcpp .agcpp-crumbs [aria-current] { color: var(--ink); }

/* Top: media + buy panel */
.agcpp .agcpp-top { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.agcpp .agcpp-media { flex: 999 1 560px; min-width: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.agcpp .agcpp-buy { flex: 1 1 420px; max-width: 460px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

/* Tabs */
.agcpp .agcpp-tabs { display: none; border-bottom: 1px solid var(--line); background: #fafafa; }
html.agcpp-js .agcpp .agcpp-tabs { display: flex; }
.agcpp .agcpp-tab { height: 46px; padding: 0 18px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #555; font-family: var(--head); font-weight: 700; font-size: 14px; cursor: pointer; border-radius: 0; }
.agcpp .agcpp-tab[aria-selected="true"] { background: #fff; color: var(--m); border-bottom-color: var(--m); }
.agcpp .agcpp-tab:hover { color: var(--m); }

/* Photo */
.agcpp .agcpp-photo { height: 360px; display: flex; align-items: center; justify-content: center; padding: 16px; background: #fff; }
.agcpp .agcpp-photo img { max-height: 100%; max-width: 100%; width: auto; object-fit: contain; }
.agcpp .agcpp-thumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 14px 14px; }
.agcpp .agcpp-thumb { width: 64px; height: 64px; padding: 3px; border: 1px solid #ddd; border-radius: 4px; background: #fff; cursor: pointer; }
.agcpp .agcpp-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.agcpp .agcpp-thumb.is-on { border: 2px solid var(--m); padding: 2px; }

/* No photo */
.agcpp .agcpp-noimg { height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; background: #f7f3ee; }
.agcpp .agcpp-noimg-brand { font-family: var(--head); font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #6b5f54; }
.agcpp .agcpp-noimg-pn { font-family: var(--head); font-weight: 700; font-size: clamp(28px, 5vw, 52px); letter-spacing: .02em; color: var(--m); overflow-wrap: anywhere; line-height: 1.1; }
.agcpp .agcpp-noimg-note { font-size: 14px; color: #6b5f54; }

/* Diagram viewer */
.agcpp .agcpp-dbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 10px 14px; border-bottom: 1px solid #eee; background: #fff; }
.agcpp .agcpp-sel { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--mut); }
.agcpp .agcpp-sel select { height: 40px; min-width: 190px; max-width: 100%; padding: 0 28px 0 10px; border: 1px solid #ccc; border-radius: 4px; background-color: #fff; font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--ink); }
.agcpp .agcpp-step { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #444; }
.agcpp .agcpp-sbtn { width: 38px; height: 38px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #ccc; border-radius: 4px; background: #fff; color: var(--m); cursor: pointer; font-size: 16px; }
.agcpp .agcpp-sbtn:hover { border-color: var(--m); }
.agcpp .agcpp-stage { position: relative; height: 360px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #fff; }
.agcpp .agcpp-zoom { position: relative; display: inline-block; line-height: 0; transform-origin: 50% 50%; transition: transform .35s ease; }
.agcpp .agcpp-dimg { display: block; width: auto; height: auto; margin: 0; -webkit-user-drag: none; user-select: none; }
.agcpp .agcpp-stage-msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; padding: 20px; text-align: center; color: #777; font-size: 14px; pointer-events: none; }
.agcpp .agcpp-stage-msg a { pointer-events: auto; margin-left: 4px; }
.agcpp .agcpp-ztoggle { position: absolute; right: 12px; bottom: 12px; height: 38px; padding: 0 14px; border: 1px solid #ccc; border-radius: 4px; background: rgba(255, 255, 255, .95); color: var(--m); font-family: var(--head); font-weight: 700; font-size: 13px; cursor: pointer; }
.agcpp .agcpp-ztoggle:hover { border-color: var(--m); }
.agcpp .agcpp-hs { position: absolute; min-width: 26px; height: 26px; padding: 0 4px; display: flex; align-items: center; justify-content: center; border: 2px solid transparent; border-radius: 13px; background: #fff; color: #000; font-family: var(--head); font-weight: 700; font-size: 12px; line-height: 1; box-shadow: 0 1px 3px rgba(0, 0, 0, .35); transform: translate(-50%, -50%) scale(calc(1 / var(--agcpp-s, 1))); z-index: 2; }
.agcpp .agcpp-hs.is-on { background: #ffa810; border-color: #000; z-index: 3; }
.agcpp .agcpp-dcap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 14px; padding: 12px 14px; border-top: 1px solid #eee; font-size: 14px; }
.agcpp .agcpp-cap-link { font-weight: 700; white-space: nowrap; }

/* Buy panel */
.agcpp .agcpp-eyebrow { font-family: var(--head); font-weight: 700; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--m); }
.agcpp h1.agcpp-title { margin: 0; padding: 0; font-family: var(--head); font-weight: 700; font-size: 32px; line-height: 1.15; letter-spacing: 0; text-transform: none; color: var(--ink); overflow-wrap: anywhere; }
.agcpp .agcpp-pn { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 16px; color: #444; }
.agcpp .agcpp-pn strong { color: var(--ink); }
.agcpp .agcpp-copy { display: none; height: 30px; padding: 0 10px; border: 1px solid #ddd; border-radius: 4px; background: #fff; color: #555; font-size: 12px; cursor: pointer; }
html.agcpp-js .agcpp .agcpp-copy { display: inline-block; }
.agcpp .agcpp-copy:hover { border-color: var(--m); color: var(--m); }

.agcpp .agcpp-fits { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.agcpp .agcpp-fits-label { font-size: 13px; color: var(--mut); }
.agcpp .agcpp-chip { display: inline-flex; align-items: center; padding: 5px 11px; border-radius: 999px; background: var(--m-tint); color: var(--m); font-family: var(--head); font-weight: 700; font-size: 13px; text-decoration: none; line-height: 1.3; }
.agcpp a.agcpp-chip:hover { background: var(--m); color: #fff; }
.agcpp .agcpp-fits .agcpp-chip-x { display: none; }
.agcpp .agcpp-fits.is-open .agcpp-chip-x { display: inline-flex; }
.agcpp .agcpp-fits-more { border: 0; background: none; padding: 5px 4px; color: var(--m); font-size: 13px; text-decoration: underline; cursor: pointer; }

.agcpp .agcpp-pricerow { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; padding-top: 4px; }
.agcpp .agcpp-price { font-family: var(--head); font-weight: 700; font-size: 30px; line-height: 1.1; color: var(--ink); }
.agcpp .agcpp-price del { font-size: 18px; color: #888; font-weight: 400; }
.agcpp .agcpp-price ins { text-decoration: none; }
.agcpp .agcpp-price .agcpp-retail { display: block; font-size: 18px; font-weight: 400; color: #555; }
.agcpp .agcpp-price .agcpp-cost { display: block; }
.agcpp .agcpp-stock { display: inline-block; padding: 2px 9px; border-radius: 10px; background: #eaf3de; color: #27500a; font-family: var(--head); font-weight: 700; font-size: 12px; line-height: 1.5; white-space: nowrap; }

.agcpp .agcpp-ship, .agcpp .agcpp-note, .agcpp .agcpp-help, .agcpp .agcpp-call { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 6px; font-size: 14px; line-height: 1.5; color: #333; }
.agcpp .agcpp-ship { background: var(--cream); border-left: 3px solid var(--m); }
.agcpp .agcpp-ship .agcpp-i, .agcpp .agcpp-note .agcpp-i, .agcpp .agcpp-help .agcpp-i, .agcpp .agcpp-call .agcpp-i { margin-top: 3px; font-size: 18px; color: var(--m); }
.agcpp .agcpp-note { background: #fbf3df; }
.agcpp .agcpp-help { background: var(--cream); }
.agcpp .agcpp-call { background: var(--cream); border: 1px solid #e3d6d6; }
.agcpp .agcpp-help a, .agcpp .agcpp-call a { font-family: var(--head); font-weight: 700; white-space: nowrap; }

/* Add to cart form */
.agcpp .agcpp-cart { margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.agcpp .agcpp-buyrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.agcpp .agcpp-qty { margin: 0; }
.agcpp .agcpp-qty input.qty { width: 76px; height: 50px; padding: 0 8px; border: 1px solid #ccc; border-radius: 4px; background: #fff; text-align: center; font-size: 16px; color: var(--ink); }
.agcpp .agcpp-btn { height: 50px; padding: 0 22px; border-radius: 4px; font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.agcpp .agcpp-btn-primary, .agcpp .single_add_to_cart_button.agcpp-btn { flex: 1 1 160px; border: 2px solid var(--m); background: var(--m); color: #fff; }
.agcpp .agcpp-btn-primary:hover, .agcpp .single_add_to_cart_button.agcpp-btn:hover { background: var(--m-dark); border-color: var(--m-dark); color: #fff; }
.agcpp .agcpp-btn-outline { flex: 1 1 130px; border: 2px solid var(--m); background: #fff; color: var(--m); }
.agcpp .agcpp-btn-outline:hover { background: var(--m-tint); color: var(--m-dark); }
.agcpp .agcpp-express { display: flex; flex-direction: column; gap: 8px; }
.agcpp .agcpp-express:empty { display: none; }

.agcpp .agcpp-nla { padding: 14px; border: 1px solid #e3d6d6; border-radius: 6px; background: #fff; }
.agcpp .agcpp-nla p { margin: 8px 0; }
.agcpp .agcpp-badge-nla { display: inline-block; padding: 2px 9px; border-radius: 10px; background: #eee; color: #555; font-family: var(--head); font-weight: 700; font-size: 12px; }
.agcpp .agcpp-alts { list-style: none; margin: 8px 0 0; padding: 0; }
.agcpp .agcpp-alts li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 0; padding: 8px 0; border-top: 1px dashed #e0d3b8; font-size: 14px; }
.agcpp .agcpp-alts li:first-child { border-top: 0; }
.agcpp .agcpp-alt-pn { font-family: var(--head); font-weight: 700; }
.agcpp .agcpp-alt-name { color: #555; }

/* Sections */
.agcpp .agcpp-sec { margin-top: 52px; }
.agcpp .agcpp-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; padding-bottom: 12px; margin-bottom: 8px; border-bottom: 2px solid var(--m); }
.agcpp .agcpp-sec h2 { margin: 0; padding: 0; font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1.2; letter-spacing: 0; text-transform: none; color: var(--ink); }
.agcpp .agcpp-sub { margin: 4px 0 0; font-size: 14px; color: #555; }
.agcpp .agcpp-find input { height: 42px; width: 260px; max-width: 100%; padding: 0 12px; border: 1px solid #ccc; border-radius: 4px; background: #fff; font-size: 15px; }
.agcpp .agcpp-nomatch { margin: 16px 0; font-size: 14px; color: #555; }
.agcpp .agcpp-g { margin-top: 14px; }
.agcpp .agcpp-g-h { margin: 0; padding: 6px 0; font-family: var(--head); font-weight: 700; font-size: 14px; color: var(--mut); }

/* Family rows (native <details>) holding machine rows */
.agcpp .agcpp-f { margin: 0 0 6px; border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; }
.agcpp .agcpp-f > summary { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; list-style: none; cursor: pointer; }
.agcpp .agcpp-f > summary::-webkit-details-marker { display: none; }
.agcpp .agcpp-f > summary::after { content: "+"; width: 14px; text-align: center; font-size: 18px; line-height: 1; color: var(--m); }
.agcpp .agcpp-f[open] > summary::after { content: "\2212"; }
.agcpp .agcpp-f-img { width: 56px; height: 40px; flex-shrink: 0; object-fit: contain; }
.agcpp .agcpp-f-name { flex: 1; font-family: var(--head); font-weight: 700; font-size: 15px; }
.agcpp .agcpp-f-body { padding: 8px 10px 4px 28px; border-top: 1px solid #eee; background: #fcfaf8; }
.agcpp .agcpp-f-body .agcpp-m > summary { min-height: 42px; }

/* Machine rows (native <details>) */
.agcpp .agcpp-m { margin: 0 0 6px; border: 1px solid var(--line); border-radius: 6px; background: #fff; overflow: hidden; }
.agcpp .agcpp-m > summary { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; list-style: none; cursor: pointer; }
.agcpp .agcpp-m > summary::-webkit-details-marker { display: none; }
.agcpp .agcpp-m > summary::after { content: "+"; width: 14px; text-align: center; font-size: 18px; line-height: 1; color: var(--m); }
.agcpp .agcpp-m[open] > summary::after { content: "\2212"; }
.agcpp .agcpp-m-name { flex: 1; font-family: var(--head); font-weight: 700; font-size: 15px; }
.agcpp .agcpp-m-count { font-size: 13px; color: #555; }
.agcpp .agcpp-m-body { border-top: 1px solid #eee; background: #fcfaf8; }
.agcpp .agcpp-u { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; padding: 10px 14px; border-bottom: 1px solid #f0ebe6; font-size: 14px; }
.agcpp .agcpp-u:last-child { border-bottom: 0; }
.agcpp .agcpp-co { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid #ddd; border-radius: 15px; background: #fff; font-family: var(--head); font-weight: 700; font-size: 12px; }
.agcpp .agcpp-un { flex: 1 1 220px; min-width: 0; }
.agcpp .agcpp-fam { color: #777; }
.agcpp .agcpp-show { display: none; height: 34px; padding: 0 12px; border: 1px solid var(--m); border-radius: 4px; background: #fff; color: var(--m); font-family: var(--head); font-weight: 700; font-size: 13px; cursor: pointer; }
html.agcpp-js .agcpp .agcpp-show { display: inline-block; }
.agcpp .agcpp-show:hover { background: var(--m); color: #fff; }
.agcpp .agcpp-open { font-size: 13px; white-space: nowrap; }
.agcpp .agcpp-showall { margin-top: 10px; height: 44px; padding: 0 18px; border: 1px solid #ccc; border-radius: 4px; background: #fff; color: var(--ink); font-family: var(--head); font-weight: 700; font-size: 14px; cursor: pointer; }
.agcpp .agcpp-showall:hover { border-color: var(--m); color: var(--m); }

/* Other parts on this diagram */
.agcpp .agcpp-seeall { font-size: 14px; font-weight: 700; }
.agcpp .agcpp-sec#agcpp-nb-sec .agcpp-sec-head { border-bottom-width: 1px; border-bottom-color: var(--line); }
.agcpp .agcpp-ngrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 12px; margin-top: 14px; }
.agcpp .agcpp-nb { display: flex; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); text-decoration: none; min-width: 0; }
.agcpp a.agcpp-nb:hover { border-color: var(--m); }
.agcpp .agcpp-nb-c { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid #ddd; border-radius: 15px; font-family: var(--head); font-weight: 700; font-size: 12px; }
.agcpp .agcpp-nb-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.agcpp .agcpp-nb-name { font-family: var(--head); font-weight: 700; font-size: 14px; line-height: 1.3; overflow-wrap: anywhere; }
.agcpp .agcpp-nb-pn { font-size: 13px; color: var(--m); }

/* Details */
.agcpp .agcpp-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 40px; }
.agcpp .agcpp-details h2 { font-size: 18px; margin: 0 0 12px; }
.agcpp .agcpp-table { width: 100%; margin: 0 0 16px; border-collapse: collapse; font-size: 14px; border: 0; }
.agcpp .agcpp-table th, .agcpp .agcpp-table td { padding: 9px 0; border: 0; border-bottom: 1px solid #eee; text-align: left; vertical-align: top; background: none; }
.agcpp .agcpp-table th { width: 40%; font-weight: 400; color: var(--mut); text-transform: none; }
.agcpp .agcpp-desc, .agcpp .agcpp-dcol p { font-size: 14px; line-height: 1.6; color: #333; }
.agcpp .agcpp-dcol p { margin: 0 0 10px; }
.agcpp .agcpp-related { margin-top: 56px; }

@media (max-width: 640px) {
  .agcpp .agcpp-wrap { padding: 16px 16px 48px; }
  .agcpp .agcpp-top { gap: 24px; }
  .agcpp .agcpp-photo, .agcpp .agcpp-noimg { height: 280px; }
  .agcpp .agcpp-stage { height: 320px; }
  .agcpp h1.agcpp-title { font-size: 26px; }
  .agcpp .agcpp-sel { width: 100%; }
  .agcpp .agcpp-sel select { flex: 1; min-width: 0; }
  .agcpp .agcpp-sec { margin-top: 40px; }
  .agcpp .agcpp-find, .agcpp .agcpp-find input { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .agcpp * { transition: none !important; }
}

/* Third-party buy controls (Buy now / express pay plugins) printed through WooCommerce hooks.
   We don't control their markup, so normalise sizes: one row height, one corner radius, full width. */
.agcpp .agcpp-express { align-items: stretch; }
.agcpp .agcpp-express > * { margin: 0; max-width: 100%; }
.agcpp .agcpp-express select { height: 50px; min-height: 50px; width: 100%; max-width: 100%; margin: 0; padding: 0 12px; border: 1px solid #ccc; border-radius: 4px; background-color: #fff; font-size: 16px; color: var(--ink); box-shadow: none; }
.agcpp .agcpp-express input[type="number"], .agcpp .agcpp-express input.qty { height: 50px; width: 76px; margin: 0; padding: 0 8px; border: 1px solid #ccc; border-radius: 4px; text-align: center; box-shadow: none; }
.agcpp .agcpp-express button, .agcpp .agcpp-express input[type="submit"], .agcpp .agcpp-express a.button, .agcpp .agcpp-express .button { box-sizing: border-box; width: 100%; height: 50px; min-height: 50px; margin: 0; padding: 0 22px; border-radius: 4px; font-family: var(--head); font-weight: 700; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.agcpp .agcpp-express button:not([class*="pay" i]):not([id*="pay" i]):not([class*="stripe" i]):not([class*="ppc" i]) { border: 2px solid var(--m); background: #fff; color: var(--m); }
.agcpp .agcpp-express [class*="express" i], .agcpp .agcpp-express [id*="express" i], .agcpp .agcpp-express [class*="payment-request" i] { display: flex; gap: 10px; flex-wrap: wrap; width: 100%; }
.agcpp .agcpp-express [class*="express" i] > *, .agcpp .agcpp-express [id*="express" i] > * { flex: 1 1 160px; min-width: 0; height: 50px; }
.agcpp .agcpp-express iframe { max-width: 100%; }

/* Force pass: theme/plugin rules can pin a fixed box (e.g. 100x100) around their quantity select. */
.agcpp .agcpp-express select { height: 50px !important; min-height: 0 !important; max-height: 50px !important; width: 100% !important; margin: 0 !important; }
.agcpp .agcpp-express :has(> select) { height: auto !important; min-height: 0 !important; max-height: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; }
.agcpp .agcpp-express .quantity, .agcpp .agcpp-express [class*="qty" i], .agcpp .agcpp-express [class*="quantity" i] { height: auto !important; min-height: 0 !important; width: 100% !important; margin: 0 !important; }
.agcpp .agcpp-express .agcpp-buynow, .agcpp .agcpp-express [class*="buy-now" i], .agcpp .agcpp-express [class*="buynow" i] { width: 100% !important; height: 50px !important; margin: 0 !important; }

/* A snippet replaced the quantity field (e.g. a 1-10 dropdown): size it like the native one, beat its inline style. */
.agcpp .agcpp-qty-custom { margin: 0; display: flex; }
.agcpp .agcpp-qty-custom select, .agcpp .agcpp-qty-custom input { height: 50px !important; width: 76px !important; min-height: 0 !important; margin: 0 !important; padding: 0 8px !important; font-size: 16px !important; border: 1px solid #ccc; border-radius: 4px; background-color: #fff; color: var(--ink); box-shadow: none; }

/* Layout: diagram column narrower, buy column roomier; Buy now gets its own full-width row. */
.agcpp .agcpp-buynow, .agcpp .agcpp-buyrow > .agcpp-btn-outline { flex: 1 1 100% !important; width: 100%; }
.agcpp .agcpp-buyrow .agcpp-qty { flex: 0 0 auto; }
@media (max-width: 1020px) { .agcpp .agcpp-buy { max-width: none; } }

.agcpp .agcpp-dcol .agcpp-help { margin: 16px 0; }