.c5-product-detail,.c5-product-card,.c5-product-section {
  --c5-product-ink:#17362c;
  --c5-product-muted:#52665f;
  --c5-product-surface:#f4f8f5;
  --c5-product-border:#d8e3db;
  --c5-product-accent:#196338;
  color:var(--c5-product-ink);
}
.c5-product-detail { width:min(1120px,calc(100% - 32px)); margin:36px auto 64px; }
.c5-product-detail article { min-width:0; }
.c5-product-breadcrumb { color:var(--c5-product-muted); font-size:.875rem; margin:0 0 20px; }
.c5-product-breadcrumb a,.c5-product-guides a { color:var(--c5-product-accent); }
.c5-product-intro { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:clamp(24px,5vw,60px); align-items:start; }
.c5-product-intro-no-image { grid-template-columns:minmax(0,720px); }
.c5-product-summary h1 { color:var(--c5-product-ink); font-size:clamp(1.85rem,4vw,3rem); line-height:1.12; margin:0 0 14px; overflow-wrap:anywhere; }
.c5-product-store-name { color:var(--c5-product-accent); font-size:.78rem; font-weight:700; letter-spacing:.07em; text-transform:uppercase; margin:0 0 6px; }
.c5-product-lead { color:var(--c5-product-muted); margin:0 0 16px; }
.c5-product-price-panel { background:var(--c5-product-surface); border:1px solid var(--c5-product-border); border-radius:12px; padding:16px; margin:16px 0; }
.c5-product-price-panel > p:last-child { font-size:.875rem; color:var(--c5-product-muted); margin:6px 0 0; }
.c5-product-price { display:flex; flex-wrap:wrap; align-items:baseline; gap:6px 10px; margin:0; }
.c5-product-price strong { color:var(--c5-product-ink); font-size:1.25rem; font-weight:800; }
.c5-product-price.is-discounted strong { color:var(--c5-product-accent); }
.c5-product-price del { color:var(--c5-product-muted); font-size:.875rem; }
.c5-product-price span { color:#155230; background:#e1f1e5; border-radius:999px; font-size:.75rem; font-weight:750; padding:2px 8px; }
.c5-product-price-panel .c5-product-price strong { font-size:clamp(1.55rem,3vw,2.15rem); }
.c5-product-detail .c5-product-disclosure { color:var(--c5-product-muted); font-size:.82rem; margin:14px 0 0; }
.c5-product-gallery { min-width:0; }
.c5-product-gallery-track { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; border:1px solid var(--c5-product-border); background:#fff; border-radius:16px; }
.c5-product-gallery-track[data-enhanced] { scrollbar-width:none; }
.c5-product-gallery-slide { flex:0 0 100%; aspect-ratio:4 / 3; scroll-snap-align:start; display:grid; place-items:center; }
.c5-product-gallery-slide img { display:block; width:100%; height:100%; object-fit:contain; min-height:0; }
.c5-product-gallery-thumbs:not([hidden]) { display:flex; flex-wrap:wrap; gap:8px; margin-top:10px; }
.c5-product-gallery-thumbs button { box-sizing:border-box; width:56px; height:56px; border:1px solid var(--c5-product-border); border-radius:8px; background:#fff; padding:3px; cursor:pointer; }
.c5-product-gallery-thumbs button[aria-current="true"] { border:2px solid var(--c5-product-accent); }
.c5-product-gallery-thumbs img { display:block; width:100%; height:100%; object-fit:contain; }
.c5-product-section { margin:32px 0 0; }
.store-page > [data-c5-store-products] { margin-bottom:32px; }
.c5-product-section > h2 { color:var(--c5-product-ink); font-size:clamp(1.3rem,2.5vw,1.75rem); line-height:1.25; margin:0 0 14px; }
.c5-product-offers-note { color:var(--c5-product-muted); font-size:.9rem; margin:-4px 0 14px; }
.c5-product-panel { border:1px solid var(--c5-product-border); border-radius:12px; background:var(--c5-product-surface); padding:20px; }
.c5-product-panel ul,.c5-product-panel dl { margin:0; }
.c5-product-panel dl > div { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr); gap:12px; padding:8px 0; overflow-wrap:anywhere; }
.c5-product-panel dl > div + div { border-top:1px solid var(--c5-product-border); }
.c5-product-panel dt { font-weight:700; }
.c5-product-panel dd { margin:0; }
.c5-product-guides { padding-left:1.2em; }
.c5-product-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.c5-product-card { box-sizing:border-box; display:grid; grid-template-columns:minmax(80px,145px) minmax(0,1fr); gap:16px; align-items:center; max-width:100%; padding:16px; border:1px solid var(--c5-product-border); border-radius:14px; background:#fff; box-shadow:0 2px 10px rgb(23 54 44 / .05); overflow-wrap:anywhere; }
.c5-product-card-no-image { grid-template-columns:minmax(0,1fr); }
.c5-product-card-media { position:relative; display:block; box-sizing:border-box; min-width:0; aspect-ratio:1; background:var(--c5-product-surface); border-radius:10px; overflow:hidden; }
.c5-product-card .c5-product-card-media > img { position:absolute; inset:0; display:block; box-sizing:border-box; width:100%; height:100%; max-width:100%; max-height:100%; margin:0; padding:7px; object-fit:contain; }
.c5-product-card-body { display:flex; flex-direction:column; align-self:stretch; justify-content:center; gap:6px; }
.c5-product-card h3 { color:var(--c5-product-ink); font-size:1.13rem; line-height:1.3; margin:0; }
.c5-product-card h3 a { color:inherit; text-decoration:none; }
.c5-product-card h3 a:hover { text-decoration:underline; }
.c5-product-card-excerpt { font-size:.9rem; line-height:1.45; color:var(--c5-product-muted); margin:0; }
.c5-product-card-footer { display:grid; gap:8px; padding-top:4px; }
.c5-product-grid .c5-product-card { grid-template-columns:minmax(0,1fr); align-content:start; grid-template-rows:auto 1fr; }
.c5-product-grid .c5-product-card-no-image { grid-template-rows:1fr; }
.c5-product-grid .c5-product-card-media { width:100%; max-height:180px; aspect-ratio:2 / 1; }
.c5-product-grid .c5-product-card-footer { margin-top:auto; }
.c5-product-buttons { display:flex; flex-wrap:wrap; gap:8px; }
.c5-product-buttons .c5-product-button { box-sizing:border-box; display:inline-flex; min-height:44px; align-items:center; justify-content:center; padding:8px 15px; border:1px solid var(--c5-product-border); border-radius:8px; background:#fff; color:var(--c5-product-ink); text-align:center; font-size:.875rem; font-weight:700; line-height:1.25; text-decoration:none; }
.c5-product-buttons .c5-product-button-primary { background:var(--c5-product-accent); border-color:var(--c5-product-accent); color:#fff; }
.c5-product-buttons .c5-product-button:hover { text-decoration:underline; }
.c5-product-buttons .c5-product-button-primary:visited { color:#fff; }
.c5-product-detail :focus-visible,.c5-product-card :focus-visible { outline:2px solid #176a41; outline-offset:2px; }
@media (max-width:680px) {
  .c5-product-detail { margin-top:20px; }
  .c5-product-grid,.c5-product-intro { grid-template-columns:minmax(0,1fr); }
  .c5-product-intro { gap:18px; }
  .c5-product-summary .c5-product-buttons > a { flex:1 1 auto; }
  .c5-product-card { padding:12px; }
}
@media (max-width:420px) {
  .c5-product-card { grid-template-columns:minmax(0,1fr); }
  .c5-product-card-media { width:100%; max-height:170px; aspect-ratio:2 / 1; }
}

.c5-post-product-top { margin:0 0 1.25rem; }
.c5-post-product-bottom { margin:1.5rem 0 0; }
.c5-sidebar-product { position:sticky; top:16px; margin-top:1.5rem; }
.admin-bar .c5-sidebar-product { top:48px; }
.c5-sidebar-product .c5-product-card { grid-template-columns:minmax(0,1fr); padding:12px; gap:10px; }
.c5-sidebar-product .c5-product-card-media { max-height:120px; width:100%; }
.c5-sidebar-product .c5-product-card h3 { font-size:1rem; }
.c5-sidebar-product .c5-product-buttons > a { width:100%; }
@media (max-width:900px) {
  .c5-sidebar-product { display:none; }
}

.c5-plan-price { margin:0; }
.c5-plan-price strong,.c5-plan-price small { display:block; }
.c5-plan-price strong { color:var(--c5-product-ink); font-size:1.4rem; font-weight:800; line-height:1.25; }
.c5-product-price-panel .c5-plan-price strong { font-size:clamp(1.55rem,3vw,2.15rem); }
.c5-plan-price small { margin-top:3px; color:var(--c5-product-muted); font-size:.875rem; }
.c5-plan-savings { display:inline-block; margin-top:8px; padding:4px 11px; border-radius:999px; background:#d5f5a7; color:#163d1a; font-size:.9rem; font-weight:800; }

.c5-store-products-more { margin-top:16px; text-align:center; }
.c5-store-products-more button { min-height:44px; padding:8px 16px; border:1px solid var(--c5-product-border); border-radius:8px; background:#fff; color:var(--c5-product-ink); font:inherit; cursor:pointer; }
.c5-store-products-more button:disabled { cursor:wait; opacity:.65; }
.c5-store-products-more [role="status"] { margin:8px 0 0; }
.c5-store-products-more [role="status"]:empty { display:none; }
