/* BrandPrintChina product page — replicates mockups/product-detail/index.html.
   Scoped to .bpc-product so Starter chrome is untouched. Tokens are the
   project-wide BPC tokens; content column is 1120px centered. */
.bpc-product{
  --navy:#0F0C2E; --red:#e8001d; --red-price:#ff0a16; --blue:#0f6bff;
  --blue-badge:#0066ff; --magenta-badge:#ff0092; --link-blue:#2563eb;
  --grad:linear-gradient(90deg,#ff001f 0%,#ff009e 34%,#8a2be2 68%,#2545ff 100%);
  --grad-btn:linear-gradient(90deg,#ff001f 0%,#ff009e 100%);
  --gray-bg:#f2f1f6; --line:#d9d7e3;
  --text:#12102e; --muted:#6f6c85;
  --font:'Poppins',system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
  font-family:var(--font); color:var(--text); background:#fff;
  -webkit-font-smoothing:antialiased;
}
.bpc-product a{color:inherit;text-decoration:none}
.bpc-product button{font-family:inherit;cursor:pointer}
.bpc-product select,.bpc-product input{font-family:inherit}
.bpc-wrap{max-width:1120px;margin:0 auto;padding:0 28px}
/* Black-and-white placeholder component: never a real photo. */
.bpc-product .ph{position:relative;background:repeating-linear-gradient(45deg,#ececec 0 14px,#e2e2e2 14px 28px);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#555;overflow:hidden;text-align:center}
.bpc-product .ph svg{opacity:.55}
.bpc-product .ph-tag{font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;background:#111;color:#fff;padding:3px 8px;border-radius:3px}
.bpc-product .ph-sub{font-size:10px;letter-spacing:.06em;color:#777;font-weight:600}
/* Breadcrumb */
.bpc-crumbs{font-size:11.5px;color:#555;padding:14px 0 0;display:flex;flex-wrap:wrap;align-items:center;row-gap:6px}
.bpc-crumbs a{color:#555;padding:4px 0}
.bpc-crumbs .sep{margin:0 5px;color:#999}
.bpc-crumbs .cur{color:#999}
/* Product layout: 400px gallery + details */
.bpc-product-layout{display:grid;grid-template-columns:400px minmax(0,1fr);gap:44px;padding:26px 0 10px;align-items:start}
/* Gallery */
.bpc-gallery-main{position:relative;border-radius:4px;overflow:hidden}
.bpc-gallery-main .ph{aspect-ratio:1/1}
.bpc-gallery-main img{display:block;width:100%;aspect-ratio:1/1;height:auto;object-fit:cover}
.bpc-gallery-zoom{position:absolute;right:10px;bottom:10px;border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 14px;font-size:12.5px;font-weight:600}
.bpc-gallery-zoom:hover,.bpc-gallery-zoom:focus-visible{border-color:var(--navy)}
.bpc-thumbs{display:flex;align-items:center;gap:8px;margin-top:18px}
.bpc-thumbs .arrow{background:none;border:0;font-size:26px;line-height:1;color:#12102e;padding:4px 2px;min-width:36px;min-height:36px}
.bpc-thumb-row{display:flex;gap:10px;flex:1;justify-content:center;flex-wrap:nowrap;min-width:0;overflow:hidden}
.bpc-thumb-row.is-expanded{flex-wrap:wrap;overflow:visible}
.bpc-thumb{width:44px;height:44px;flex-shrink:0;border:1.5px solid var(--line);border-radius:3px;padding:0;background:#fff;overflow:hidden}
.bpc-thumb.active{border-color:var(--blue)}
.bpc-thumb .ph{width:100%;height:100%}
.bpc-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.bpc-show-all{text-align:center;font-size:12.5px;color:#333;margin-top:8px;background:none;border:0;padding:4px 8px}
.bpc-show-all:hover,.bpc-show-all:focus-visible{color:var(--link-blue)}
.bpc-btn-viewmore{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;border:1.5px solid var(--navy);background:#fff;color:var(--text);border-radius:999px;padding:12px 22px;font-size:13.5px;font-weight:500;margin-top:26px}
.bpc-btn-viewmore:hover,.bpc-btn-viewmore:focus-visible{border-color:var(--red);color:var(--red)}
/* Lightbox */
.bpc-dialog{width:min(1040px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);border:0;border-radius:6px;padding:28px;background:#fff;color:var(--text);overflow:auto}
.bpc-dialog::backdrop{background:rgba(0,0,0,.72)}
.bpc-dialog-close{position:absolute;right:12px;top:8px;width:44px;height:44px;border:0;background:transparent;color:var(--text);font-size:28px}
.bpc-dialog-count{font-size:.8125rem;margin:0 48px 16px 0;color:var(--muted)}
.bpc-dialog-stage{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:12px}
.bpc-dialog-stage img{display:block;width:100%;height:min(65dvh,640px);object-fit:contain}
.bpc-dialog-prev,.bpc-dialog-next{width:44px;height:44px;padding:0;border:1px solid var(--line);border-radius:6px;background:var(--gray-bg);color:var(--text);font-size:28px;line-height:1}
/* Details */
.bpc-p-title{margin:0;font-size:26px;font-weight:700;letter-spacing:-.01em;line-height:1.25}
.bpc-p-meta{display:flex;align-items:center;gap:12px;margin-top:12px;flex-wrap:wrap}
.bpc-badge{display:inline-block;font-size:10.5px;font-weight:700;letter-spacing:.03em;color:#fff;padding:4px 9px;border-radius:3px;text-transform:uppercase}
.bpc-badge.red{background:var(--red)}
.bpc-badge.pink{background:var(--magenta-badge)}
.bpc-badge.blue{background:var(--blue-badge)}
.bpc-p-sku{font-size:13px;color:#333}
/* Pricing tabs + table */
.bpc-price-tabs{display:flex;gap:8px;margin-top:20px;flex-wrap:wrap}
.bpc-price-tab{border:0;border-radius:7px 7px 0 0;padding:11px 22px;font-size:13.5px;font-weight:600;background:#e9e7f2;color:#12102e;min-height:42px}
.bpc-price-tab.active{background:var(--navy);color:#fff}
.bpc-price-table-wrap{overflow-x:auto}
.bpc-price-table{width:100%;border-collapse:collapse;border:1.5px solid var(--navy);border-radius:0 6px 6px 6px;overflow:hidden;font-size:13.5px}
.bpc-price-table th,.bpc-price-table td{padding:11px 14px;text-align:center}
.bpc-price-table thead th{background:var(--navy);color:#fff;font-size:12.5px;letter-spacing:.05em}
.bpc-price-table thead th:first-child{text-align:left}
.bpc-price-table tbody td:first-child{text-align:left;color:#222;white-space:nowrap}
.bpc-price-table tbody tr+tr{border-top:1px solid var(--line)}
.bpc-price-table tbody tr+tr td{font-weight:600}
.bpc-price-table td.sel-col,.bpc-price-table th.sel-col{background:#f4f6ff}
.bpc-qty-pill{display:inline-block;background:var(--blue);color:#fff;font-weight:700;border-radius:999px;padding:3px 20px;min-width:64px}
.bpc-price-pill{display:inline-block;background:var(--blue);color:#fff;font-weight:700;border-radius:999px;padding:3px 18px;min-width:64px}
.bpc-price-table button.cell{background:none;border:0;font:inherit;padding:0;min-height:0;color:inherit}
.bpc-price-table button.cell:hover,.bpc-price-table button.cell:focus-visible{color:var(--link-blue);text-decoration:underline}
/* Options + totals */
.bpc-opt-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px 44px;margin-top:22px}
.bpc-field label{display:block;font-size:13.5px;font-weight:600;margin-bottom:7px}
.bpc-field label .req{color:var(--red)}
.bpc-field select{width:100%;border:1px solid #b9b6c9;border-radius:5px;padding:9px 12px;font-size:13.5px;color:#222;background:#fff;min-height:40px}
.bpc-qty-line{display:flex;align-items:center;gap:10px;font-size:13.5px}
.bpc-qty-line label{font-weight:600}
.bpc-qty-line input{width:74px;border:1px solid #b9b6c9;border-radius:5px;padding:8px 10px;font-size:13.5px;text-align:center;min-height:38px}
.bpc-qty-line .ea{margin-left:auto;color:#222}
.bpc-totals{margin-top:14px;font-size:13.5px}
.bpc-totals .row{display:flex;justify-content:space-between;padding:4px 0;color:#222}
.bpc-totals .grand{display:flex;justify-content:space-between;align-items:baseline;border-top:1px solid var(--line);margin-top:10px;padding-top:12px}
.bpc-totals .grand .amt{font-size:21px;font-weight:800}
.bpc-btn-cart-add{width:100%;border:0;border-radius:999px;background:var(--grad-btn);color:#fff;font-size:18px;font-weight:700;padding:16px 20px;margin-top:18px;letter-spacing:.01em}
.bpc-upload-note{text-align:center;font-style:italic;font-size:13px;margin-top:12px;color:#222}
.bpc-cart-msg{display:none;text-align:center;font-size:13px;font-weight:600;color:#0a7a2f;margin-top:10px}
.bpc-cart-msg.show{display:block}
.bpc-quote-note{margin-top:18px;font-size:13.5px;line-height:1.6;color:#222}
/* Description */
.bpc-p-desc{margin-top:30px;font-size:13.5px;line-height:1.7;color:#222;max-width:880px}
.bpc-p-desc p{margin:0 0 14px}
.bpc-p-desc ul,.bpc-p-desc ol{margin:0 0 14px;padding-left:20px}
.bpc-p-desc li{margin-bottom:5px}
.bpc-p-desc img{max-width:100%;height:auto}
.bpc-p-specs{margin:0;padding-left:20px}
.bpc-p-specs li{margin-bottom:5px;font-size:13.5px;line-height:1.6}
/* Accordions */
.bpc-accordions{margin-top:44px;border-top:1.5px solid var(--blue)}
.bpc-acc{border-bottom:1.5px solid var(--blue)}
.bpc-acc-head{width:100%;background:none;border:0;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 2px;font-size:13.5px;font-weight:700;letter-spacing:.03em;color:var(--link-blue);text-transform:uppercase;text-align:left;min-height:48px}
.bpc-acc-head .plus{width:19px;height:19px;border:1.5px solid var(--link-blue);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:400;flex-shrink:0}
.bpc-acc-body{display:none;padding:2px 2px 20px;font-size:13.5px;line-height:1.7;color:#222;max-width:900px}
.bpc-acc.open .bpc-acc-body{display:block}
.bpc-acc-body p{margin:0 0 10px}
/* Top sellers + related categories share the category card */
.bpc-section-title{margin:46px 0 16px;font-size:19px;font-weight:600}
.bpc-grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.bpc-card{border:1px solid var(--line);border-radius:8px;background:#fff;padding:14px 15px 16px;display:flex;flex-direction:column;min-width:0}
.bpc-card .ph{height:218px;border-radius:4px;margin-bottom:14px}
.bpc-card-media{display:block}
.bpc-card-media:focus-visible{outline:2px solid var(--link-blue);outline-offset:2px}
.bpc-price-line{font-size:12.5px;color:#222}
.bpc-price-line s{color:#555}
.bpc-price-line .price{color:var(--red-price);font-size:21px;font-weight:800;margin-left:4px}
.bpc-minqty{font-size:12.5px;margin-top:1px}
.bpc-minqty b{font-weight:700}
.bpc-pname{font-size:16px;font-weight:500;line-height:1.3;margin-top:9px;min-height:42px;overflow-wrap:anywhere}
.bpc-pname a:hover,.bpc-pname a:focus-visible{color:var(--link-blue)}
.bpc-sku{font-size:11.5px;color:#9a97ad;margin-top:3px}
.bpc-card .bpc-badge{align-self:flex-start;margin-top:12px}
.bpc-badge-space{height:26px;margin-top:12px}
.bpc-stars{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:12px}
.bpc-stars .sq{display:inline-flex;gap:2px}
.bpc-stars .sq i{width:17px;height:17px;background:#f40009;color:#fff;font-style:normal;font-size:11px;display:flex;align-items:center;justify-content:center;border-radius:1px}
.bpc-stars .sq i.off{background:#d7d5e0}
.bpc-rel-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding-bottom:56px}
.bpc-rel{display:block}
.bpc-rel .ph{height:196px;border:1px solid var(--line);border-radius:3px}
.bpc-rel .lbl{font-size:13.5px;font-weight:500;margin-top:9px;display:block}
.bpc-rel:hover .lbl,.bpc-rel:focus-visible .lbl{color:var(--link-blue)}
.bpc-rel:focus-visible{outline:2px solid var(--link-blue);outline-offset:2px}
/* Inquiry — shared Fluent Forms entry; form styles come from the plugin */
.bpc-inquiry{padding:8px 0 56px}
.bpc-inquiry .product-inquiry{max-width:720px;margin:0 auto}
.bpc-inquiry .product-inquiry h2{font-size:19px;font-weight:700;margin:0 0 12px}
/* Help — full-bleed grey, content inside 1120 */
.bpc-help{background:var(--gray-bg)}
.bpc-help-grid{display:grid;grid-template-columns:1.55fr 1fr;max-width:1120px;margin:0 auto}
.bpc-help-text{padding:64px 28px 70px}
.bpc-help-text h3{margin:0 0 14px;font-size:21px;font-weight:700}
.bpc-help-text p{margin:0 0 13px;font-size:14.5px}
.bpc-help-text a{color:var(--blue)}
.bpc-help-img{min-height:270px}
/* Responsive — same breakpoints as the mockup */
@media(max-width:1100px){
  .bpc-product-layout{grid-template-columns:340px minmax(0,1fr);gap:30px}
  .bpc-grid4{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:860px){
  .bpc-product-layout{grid-template-columns:1fr}
  .bpc-rel-grid{grid-template-columns:1fr 1fr}
}
@media(max-width:640px){
  .bpc-wrap{padding:0 16px}
  .bpc-opt-grid{grid-template-columns:1fr}
  .bpc-grid4{grid-template-columns:1fr}
  .bpc-rel-grid{grid-template-columns:1fr}
  .bpc-price-table th,.bpc-price-table td{padding:9px 7px;font-size:12px}
  .bpc-qty-pill,.bpc-price-pill{min-width:0;padding:3px 10px}
  .bpc-help-grid{grid-template-columns:1fr}
  .bpc-p-title{font-size:22px}
  .bpc-dialog{padding:20px 12px}
  .bpc-dialog-stage{grid-template-columns:44px minmax(0,1fr) 44px;gap:4px}
}
