:root{--pds-red:#af2d25;--pds-ink:#171719;--pds-muted:#6f7077;--pds-line:#e3e3e6;--pds-bg:#f5f5f3;--pds-cream:#faf6ef;--pds-blue:#2468ff}.pds-app{font-family:Poppins,Arial,sans-serif;color:var(--pds-ink);background:#fff}.pds-app *{box-sizing:border-box}.pds-app button,.pds-app input,.pds-app select{font:inherit}.pds-kicker{font-size:12px;font-weight:800;letter-spacing:.14em;color:var(--pds-red)}.pds-discovery{padding:42px;min-height:780px;background:linear-gradient(180deg,#fff 0,#fbfaf7 100%)}.pds-discovery-head{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;max-width:1240px;margin:0 auto 28px}.pds-discovery-head h1{font-size:40px;line-height:1.05;margin:7px 0 10px}.pds-discovery-head p{max-width:720px;margin:0;color:var(--pds-muted);font-size:14px;line-height:1.65}.pds-price-pill{border:1px solid #ddd8d0;background:var(--pds-cream);padding:13px 18px;border-radius:12px;text-align:right;min-width:140px}.pds-price-pill span,.pds-price-pill small{display:block;font-size:12px;color:#777}.pds-price-pill strong{display:block;font-size:27px;line-height:1.1}.pds-crumbs{max-width:1240px;margin:0 auto 18px;display:flex;align-items:center;gap:9px;font-size:12px;color:#777}.pds-crumbs button{border:0;background:none;padding:0;color:#555;text-decoration:underline;cursor:pointer}.pds-crumbs strong{color:#222}.pds-category-grid,.pds-sub-grid{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.pds-category-card,.pds-sub-card{border:1px solid var(--pds-line);background:#fff;border-radius:14px;padding:24px;text-align:left;cursor:pointer;transition:.18s ease;min-height:170px;display:flex;flex-direction:column;align-items:flex-start}.pds-category-card:hover,.pds-sub-card:hover{transform:translateY(-2px);border-color:#b8b8bd;box-shadow:0 12px 30px rgba(0,0,0,.06)}.pds-category-icon{font-size:32px;margin-bottom:25px}.pds-category-card strong,.pds-sub-card strong{font-size:18px}.pds-category-card small,.pds-sub-card small{color:var(--pds-muted);font-size:12px;margin-top:5px}.pds-category-card em,.pds-sub-card span{margin-top:auto;padding-top:24px;color:var(--pds-red);font-size:12px;font-style:normal;font-weight:700}.pds-view-head{max-width:1240px;margin:0 auto 18px}.pds-view-head h2{font-size:30px;margin:6px 0}.pds-product-view{max-width:1240px;margin:0 auto}.pds-product-tools{display:flex;align-items:end;justify-content:space-between;gap:20px;margin:6px 0 20px}.pds-product-tools h2{font-size:30px;margin:0}.pds-product-tools p{font-size:12px;color:var(--pds-muted);margin:5px 0 0}.pds-product-tools input{width:min(360px,100%);border:1px solid #d7d7db;border-radius:9px;padding:11px 13px;background:#fff}.pds-section-title{display:flex;align-items:baseline;gap:12px;margin:22px 0 10px}.pds-section-title span{font-size:12px;letter-spacing:.14em;font-weight:800}.pds-section-title p{font-size:12px;color:#888;margin:0}.pds-top-picks{padding:18px;border:1px solid #ded9d1;border-radius:14px;background:var(--pds-cream);margin-bottom:22px}.pds-pick-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:9px}.pds-pick-card,.pds-catalog-product{border:1px solid #dedee2;background:#fff;border-radius:10px;padding:12px;display:grid;grid-template-columns:52px 1fr auto;gap:11px;align-items:center;text-align:left;cursor:pointer}.pds-pick-card:hover,.pds-catalog-product:hover{border-color:#a9a9af}.pds-product-glyph{width:52px;height:52px;background:#f0f0f1;border-radius:8px;display:grid;place-items:center;font-size:22px}.pds-pick-card strong,.pds-catalog-product strong,.pds-pick-card span,.pds-catalog-product span,.pds-pick-card small,.pds-catalog-product small{display:block}.pds-pick-card strong,.pds-catalog-product strong{font-size:12px}.pds-pick-card span,.pds-catalog-product span{font-size:12px;color:#666;margin-top:3px}.pds-pick-card small,.pds-catalog-product small{font-size:12px;color:#999;margin-top:4px}.pds-pick-card em,.pds-catalog-product em{font-size:12px;font-weight:800;font-style:normal}.pds-provider-section{border:1px solid var(--pds-line);border-radius:12px;background:#fff;margin-bottom:9px;overflow:hidden}.pds-provider-head{width:100%;border:0;background:#fff;padding:15px 17px;display:flex;align-items:center;justify-content:space-between;text-align:left;cursor:pointer}.pds-provider-head strong,.pds-provider-head small{display:block}.pds-provider-head strong{font-size:13px}.pds-provider-head small{font-size:12px;color:#888;margin-top:2px}.pds-provider-products{border-top:1px solid #eee;padding:12px;display:grid;grid-template-columns:repeat(2,1fr);gap:8px;background:#fafafa}.pds-loading-row,.pds-empty{padding:30px;text-align:center;color:#777;font-size:12px}.pds-editor{min-height:880px;border:1px solid #e2e2e5;background:#fff}.pds-topbar{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:14px 20px;border-bottom:1px solid var(--pds-line);background:#fff}.pds-product-heading{display:flex;align-items:center;gap:16px}.pds-back-btn{border:1px solid #dddde1;background:#fff;border-radius:8px;padding:9px 11px;cursor:pointer}.pds-product-heading h1{font-size:18px;margin:3px 0}.pds-product-meta{font-size:12px;color:#777}.pds-top-actions{display:flex;align-items:center;gap:9px}.pds-demo-price{text-align:right;padding-right:4px}.pds-demo-price span{display:block;font-size:12px;color:#999}.pds-demo-price strong{font-size:18px}.pds-preview-btn,.pds-cart-btn{height:46px;border-radius:8px;padding:0 15px;cursor:pointer}.pds-preview-btn{border:1px solid #cfcfd5;background:#fff;font-size:12px;font-weight:700}.pds-preview-btn:disabled{opacity:.38;cursor:not-allowed}.pds-cart-btn{border:0;background:var(--pds-red);color:#fff;font-size:12px;font-weight:700}.pds-body{display:grid;grid-template-columns:78px 285px minmax(0,1fr);min-height:792px}.pds-toolrail{border-right:1px solid var(--pds-line);background:#fbfbfc;padding:14px 8px;display:flex;flex-direction:column;gap:7px}.pds-tool{border:0;background:transparent;border-radius:9px;padding:10px 4px;display:grid;place-items:center;gap:3px;color:#6d6d74;cursor:pointer}.pds-tool span{font-size:21px}.pds-tool small{font-size:12px}.pds-tool.is-active{background:#ececf0;color:#111}.pds-sidepanel{border-right:1px solid var(--pds-line);background:#fff;padding:20px 18px}.pds-tool-panel{display:none}.pds-tool-panel.is-active{display:block}.pds-panel-head{margin-bottom:18px}.pds-panel-head h2{font-size:19px;margin:0 0 4px}.pds-panel-head p{font-size:12px;line-height:1.5;color:var(--pds-muted);margin:0}.pds-field{display:block;margin:0 0 18px}.pds-field>span{display:block;font-size:12px;font-weight:700;margin-bottom:8px}.pds-swatches{display:flex;flex-wrap:wrap;gap:8px}.pds-swatch{width:30px;height:30px;border-radius:50%;border:2px solid white;box-shadow:0 0 0 1px #bbb;cursor:pointer}.pds-swatch.is-active{box-shadow:0 0 0 2px #111}.pds-field select,.pds-input{width:100%;border:1px solid #d6d6db;border-radius:7px;padding:10px 11px;background:#fff;font-size:12px}.pds-variant-card{border:1px solid var(--pds-line);border-radius:9px;padding:12px;background:#fafafa}.pds-variant-card small{font-size:12px;color:#777}.pds-upload{border:1px dashed #aeb0b7;border-radius:10px;min-height:118px;display:grid;place-items:center;align-content:center;text-align:center;cursor:pointer;background:#fafafa}.pds-upload input{display:none}.pds-upload strong{font-size:12px}.pds-upload small{font-size:12px;color:var(--pds-muted);margin-top:4px}.pds-secondary{width:100%;margin-top:9px;border:1px solid #d1d1d6;background:#fff;border-radius:7px;padding:10px;font-size:12px;font-weight:700;cursor:pointer}.pds-layer-list{display:grid;gap:7px;margin-top:13px}.pds-layer-item{border:1px solid var(--pds-line);background:#fff;border-radius:8px;padding:9px;display:grid;grid-template-columns:28px 1fr;gap:8px;text-align:left;cursor:pointer}.pds-layer-item.is-active{border-color:var(--pds-blue)}.pds-layer-item>span{width:28px;height:28px;background:#efeff2;border-radius:5px;display:grid;place-items:center;font-weight:700}.pds-layer-item strong,.pds-layer-item small{display:block}.pds-layer-item strong{font-size:12px}.pds-layer-item small{font-size:12px;color:#888}.pds-layer-controls{border-top:1px solid var(--pds-line);margin-top:16px;padding-top:14px}.pds-layer-controls label{display:grid;grid-template-columns:48px 1fr;gap:8px;align-items:center;font-size:12px;margin:9px 0}.pds-row{display:flex;gap:7px}.pds-row button{flex:1;border:1px solid #d4d4d8;background:#fff;border-radius:7px;padding:8px;font-size:12px;cursor:pointer}.pds-row .is-danger{color:#a32923}.pds-workspace{min-width:0;background:#f2f2f4;display:grid;grid-template-rows:auto 1fr auto}.pds-area-bar{height:58px;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 22px;background:#fff;border-bottom:1px solid var(--pds-line)}.pds-area-tabs{display:flex;gap:5px;overflow:auto}.pds-area-tabs button{border:0;background:transparent;padding:9px 11px;border-radius:7px;font-size:12px;cursor:pointer;color:#666}.pds-area-tabs button.is-active{background:#ededf0;color:#111;font-weight:700}.pds-area-spec{font-size:12px;color:#717178}.pds-stage-shell{padding:22px 26px;display:grid;place-items:center}.pds-stage{position:relative;width:min(100%,900px);background:#ececef;border-radius:10px;border:1px solid #ddd;overflow:hidden;box-shadow:0 10px 40px rgba(0,0,0,.05)}#pds-canvas{display:block;width:100%;height:auto;touch-action:none}.pds-stage-loading{position:absolute;inset:0;background:rgba(245,245,246,.9);display:grid;place-items:center;font-size:12px;font-weight:600}.pds-stage-help{width:min(100%,900px);display:flex;justify-content:space-between;color:#777;font-size:12px;margin-top:8px}.pds-bottom-bar{min-height:68px;background:#fff;border-top:1px solid var(--pds-line);display:flex;align-items:center;gap:12px;padding:12px 20px}.pds-draft-actions{display:flex;gap:5px;margin-right:auto}.pds-draft-actions button{border:1px solid #d8d8dd;background:#fff;border-radius:6px;padding:7px 9px;font-size:12px;cursor:pointer}.pds-qty{font-size:12px;display:flex;align-items:center;gap:5px}.pds-qty input{width:58px;border:1px solid #d3d3d7;border-radius:6px;padding:7px}.pds-total{text-align:right}.pds-total span{display:block;font-size:12px;color:#999}.pds-total strong{font-size:17px}.pds-status{font-size:12px;color:#666;max-width:250px;margin:0}.pds-status.is-error{color:#a32923}.pds-modal[hidden]{display:none!important}.pds-modal{position:fixed;inset:0;background:rgba(14,14,17,.58);z-index:99999;display:grid;place-items:center;padding:24px}.pds-modal-card{background:#fff;border-radius:12px;width:min(100%,1050px);max-height:90vh;overflow:auto;box-shadow:0 30px 90px rgba(0,0,0,.24)}.pds-modal-card>header{position:sticky;top:0;background:#fff;border-bottom:1px solid var(--pds-line);padding:18px 20px;display:flex;align-items:center;justify-content:space-between;z-index:2}.pds-modal-card h2{margin:3px 0 0;font-size:22px}.pds-modal-close{width:34px;height:34px;border:1px solid #ddd;background:#fff;border-radius:50%;font-size:21px;cursor:pointer}.pds-preview-loading{padding:42px;text-align:center;font-size:12px;color:#666}.pds-preview-gallery{padding:20px;display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.pds-preview-card{margin:0;border:1px solid #ddd;border-radius:10px;overflow:hidden;background:#f5f5f6}.pds-preview-card img{display:block;width:100%;height:auto}.pds-preview-card figcaption{padding:9px 11px;background:#fff;border-top:1px solid #eee;font-size:12px;text-transform:capitalize}.pds-preview-note{font-size:12px;line-height:1.6;color:#777;padding:0 20px 18px;margin:0}.pds-modal-open{overflow:hidden}@media(max-width:900px){.pds-discovery{padding:24px}.pds-category-grid,.pds-sub-grid{grid-template-columns:repeat(2,1fr)}.pds-pick-grid,.pds-provider-products{grid-template-columns:1fr}.pds-body{grid-template-columns:66px 250px minmax(0,1fr)}}@media(max-width:680px){.pds-discovery-head{align-items:flex-start;flex-direction:column}.pds-discovery-head h1{font-size:30px}.pds-category-grid,.pds-sub-grid{grid-template-columns:1fr}.pds-product-tools{align-items:stretch;flex-direction:column}.pds-body{display:block}.pds-toolrail{flex-direction:row;border-right:0;border-bottom:1px solid var(--pds-line)}.pds-tool{flex:1}.pds-sidepanel{border-right:0}.pds-topbar{align-items:flex-start;flex-direction:column}.pds-top-actions{width:100%}.pds-preview-btn,.pds-cart-btn{flex:1}.pds-preview-gallery{grid-template-columns:1fr}}

/* v0.3.1 Northlane catalog browser refinement */
.pds-app{background:var(--pds-cream)}
.pds-discovery{background:var(--pds-cream)}
.pds-category-card{background:#050505;border-color:#050505;border-radius:0;color:#fff;box-shadow:none}
.pds-category-card:hover{background:#111;border-color:#111;box-shadow:0 8px 22px rgba(0,0,0,.12)}
.pds-category-card strong{color:#fff}
.pds-category-card small{color:#d8d4ce}
.pds-category-card em{color:#fff}
.pds-category-icon{filter:grayscale(1);opacity:.95}
.pds-sub-card{background:var(--pds-cream);border:1px solid #050505;border-radius:0;color:#050505}
.pds-sub-card:hover{background:#fffaf3;border-color:#050505;box-shadow:none}
.pds-sub-card strong,.pds-sub-card small,.pds-sub-card span{color:#050505}
.pds-top-picks{background:var(--pds-cream);border:1px solid #050505;border-radius:0}
.pds-pick-card,.pds-catalog-product{background:var(--pds-cream);border:1px solid #050505;border-radius:0;color:#050505}
.pds-pick-card:hover,.pds-catalog-product:hover{background:#fffaf3;border-color:#050505}
.pds-pick-card strong,.pds-catalog-product strong,.pds-pick-card span,.pds-catalog-product span,.pds-pick-card small,.pds-catalog-product small,.pds-pick-card em,.pds-catalog-product em{color:#050505}
.pds-product-glyph{background:#eee7dc;border-radius:0;color:#050505}
.pds-provider-section{background:transparent;border:0;border-radius:0;margin-bottom:14px;overflow:visible}
.pds-provider-head{background:var(--pds-red);color:#fff;border:0;border-radius:0;padding:14px 17px}
.pds-provider-head:hover{background:#9e2821}
.pds-provider-head strong,.pds-provider-head small,.pds-provider-head span{color:#fff}
.pds-provider-head small{opacity:.85}
.pds-provider-products{background:var(--pds-cream);border:1px solid #050505;border-top:0;padding:12px}
.pds-product-tools input{background:var(--pds-cream);border:1px solid #050505;border-radius:0;color:#050505}
.pds-price-pill{background:var(--pds-cream);border:1px solid #050505;border-radius:0}
.pds-crumbs button{color:#050505}
.pds-section-title span,.pds-section-title p,.pds-product-tools h2,.pds-product-tools p,.pds-view-head h2,.pds-discovery-head h1,.pds-discovery-head p{color:#050505}

/* v0.3.2 catalog hierarchy + listing treatment */
:root{--pds-listing:#efe3d5}
/* Category + subcategory navigation: bold black blocks, same visual family */
.pds-category-card,.pds-sub-card{background:#050505!important;border:1px solid #050505!important;border-radius:0!important;color:#fff!important;box-shadow:none!important}
.pds-category-card:hover,.pds-sub-card:hover{background:#111!important;border-color:#111!important;box-shadow:0 8px 22px rgba(0,0,0,.12)!important}
.pds-category-card strong,.pds-sub-card strong{color:#fff!important}
.pds-category-card small,.pds-sub-card small{color:#d8d4ce!important}
.pds-category-card em,.pds-sub-card span{color:#fff!important}
/* Provider/brand tabs remain the only solid red browser elements */
.pds-provider-head{background:var(--pds-red)!important;border-radius:0!important;color:#fff!important}
.pds-provider-head strong,.pds-provider-head small,.pds-provider-head span{color:#fff!important}
/* Product listings: warm cream/tan field, thin outline, red title, black supporting copy */
.pds-top-picks{background:var(--pds-cream)!important;border:1px solid #050505!important;border-radius:0!important}
.pds-pick-card,.pds-catalog-product{background:var(--pds-listing)!important;border:1px solid #050505!important;border-radius:0!important;color:#050505!important}
.pds-pick-card:hover,.pds-catalog-product:hover{background:#f6eadc!important;border-color:#050505!important;box-shadow:none!important}
.pds-pick-card strong,.pds-catalog-product strong{color:var(--pds-red)!important;font-weight:800!important}
.pds-pick-card span,.pds-catalog-product span,.pds-pick-card small,.pds-catalog-product small,.pds-pick-card em,.pds-catalog-product em{color:#050505!important}
.pds-product-glyph{background:var(--pds-cream)!important;border:1px solid rgba(5,5,5,.14)!important;border-radius:0!important;color:#050505!important}
.pds-provider-products{background:var(--pds-cream)!important;border:1px solid #050505!important;border-top:0!important}


/* v0.3.3 desktop width, discovery spacing, and catalog typography */
@media (min-width: 901px){
  .pds-app{width:min(1280px,calc(100vw - 32px));max-width:1280px;position:relative;left:50%;transform:translateX(-50%);margin:0}
  .pds-discovery{padding:42px 44px}
  .pds-discovery-head,.pds-crumbs,.pds-category-grid,.pds-sub-grid,.pds-view-head,.pds-product-view{max-width:100%}
  .pds-product-tools{gap:36px;margin:12px 0 24px;align-items:center}
  .pds-product-tools>div:first-child{flex:1;min-width:0;padding-right:18px}
  .pds-product-tools input{width:380px;flex:0 0 380px}
}
/* Search field: square warm listing fill */
.pds-product-tools input{background:#efe3d5!important;border:1px solid #050505!important;border-radius:0!important;color:#050505!important;padding:14px 16px!important}
.pds-product-tools input::placeholder{color:#5d564f;opacity:1}
/* Category navigation: black panels, red titles; Explore turns red on hover */
.pds-category-card strong,.pds-sub-card strong{color:var(--pds-red)!important}
.pds-category-card em,.pds-sub-card span{color:#fff!important;transition:color .16s ease}
.pds-category-card:hover em,.pds-sub-card:hover span{color:var(--pds-red)!important}
/* Listing hierarchy: brand is most prominent, then product title, then details */
.pds-pick-card,.pds-catalog-product{padding:16px 18px;grid-template-columns:58px minmax(0,1fr) auto;gap:14px}
.pds-product-glyph{width:58px;height:58px}
.pds-pick-card strong,.pds-catalog-product strong{font-size:14pt!important;line-height:1.18!important;color:var(--pds-red)!important}
.pds-pick-card span,.pds-catalog-product span{font-size:18pt!important;line-height:1.12!important;color:#050505!important;margin-top:6px!important;font-weight:700!important}
.pds-pick-card small,.pds-catalog-product small{font-size:12px!important;line-height:1.35!important;color:#050505!important;margin-top:7px!important}
.pds-pick-card em,.pds-catalog-product em{font-size:24px!important;line-height:1!important;color:#050505!important;font-weight:800!important;align-self:center}


/* v0.3.4 brand-first catalog, stronger navigation hierarchy, Northlane editor chrome */
/* Catalog navigation needs to read first; details should read second. */
.pds-category-card,.pds-sub-card{padding:28px!important;min-height:190px!important}
.pds-category-card strong{font-size:26px!important;line-height:1.08!important}
.pds-sub-card strong{font-size:23px!important;line-height:1.1!important}
.pds-category-card small,.pds-sub-card small{font-size:13px!important;line-height:1.35!important;margin-top:9px!important}
.pds-category-card em,.pds-sub-card span{font-size:13px!important;padding-top:28px!important}
.pds-category-icon{font-size:38px!important;margin-bottom:24px!important}

/* Brand tabs are the red navigation layer; fulfillment providers are intentionally not surfaced. */
.pds-provider-head{padding:18px 20px!important}
.pds-provider-head strong{font-size:18px!important;line-height:1.1!important}
.pds-provider-head small{font-size:12px!important;margin-top:5px!important}

/* Product cards: product title leads; brand + model return to a compact secondary line. */
.pds-pick-card strong,.pds-catalog-product strong{font-size:14pt!important;line-height:1.18!important}
.pds-pick-card span,.pds-catalog-product span{font-size:12px!important;line-height:1.35!important;margin-top:6px!important;font-weight:700!important}
.pds-pick-card small,.pds-catalog-product small{font-size:12px!important;line-height:1.35!important;margin-top:6px!important}
.pds-pick-card em,.pds-catalog-product em{font-size:24px!important}

/* Northlane styling wraps the editor, while the actual production canvas stays neutral. */
.pds-editor{background:var(--pds-cream)!important;border:1px solid #050505!important}
.pds-topbar{background:var(--pds-cream)!important;border-bottom:1px solid #050505!important}
.pds-back-btn{background:#050505!important;color:#fff!important;border:1px solid #050505!important;border-radius:0!important;padding:12px 18px!important}
.pds-back-btn:hover{color:var(--pds-red)!important}
.pds-product-heading h1{font-size:22px!important;color:#050505!important}
.pds-product-meta{font-size:12px!important;color:#050505!important}
.pds-demo-price span{color:#6b625b!important}.pds-demo-price strong{color:#050505!important;font-size:22px!important}
.pds-preview-btn,.pds-cart-btn{border-radius:0!important;height:48px!important}
.pds-preview-btn{background:#efe3d5!important;border:1px solid #050505!important;color:#050505!important}
.pds-preview-btn:not(:disabled):hover{background:#e7d7c6!important;color:var(--pds-red)!important}
.pds-cart-btn{background:var(--pds-red)!important}
.pds-cart-btn:hover{background:#98261f!important}
.pds-toolrail{background:var(--pds-cream)!important;border-right:1px solid #050505!important;padding:14px 8px!important}
.pds-tool{border-radius:0!important;background:#050505!important;color:#fff!important;border:1px solid #050505!important;margin-bottom:1px!important}
.pds-tool:hover{color:var(--pds-red)!important}
.pds-tool.is-active{background:var(--pds-red)!important;color:#fff!important;border-color:var(--pds-red)!important}
.pds-sidepanel{background:var(--pds-cream)!important;border-right:1px solid #050505!important}
.pds-panel-head h2,.pds-field>span{color:#050505!important}
.pds-panel-head p{color:#4f4943!important}
.pds-field select,.pds-input,.pds-variant-card,.pds-upload,.pds-secondary,.pds-layer-item,.pds-row button{border-radius:0!important}
.pds-field select,.pds-input,.pds-variant-card,.pds-upload{background:#efe3d5!important;border-color:#050505!important}
.pds-secondary,.pds-row button{background:#050505!important;color:#fff!important;border-color:#050505!important}
.pds-layer-item{background:#efe3d5!important;border-color:#050505!important}
.pds-layer-item.is-active{border:2px solid var(--pds-red)!important}
.pds-workspace{background:#f1f1f2!important}
.pds-area-bar,.pds-bottom-bar{background:#fff!important;border-color:#d8d8dc!important}
.pds-area-tabs button{border-radius:0!important}
.pds-area-tabs button.is-active{background:#050505!important;color:#fff!important}
.pds-stage-shell{background:#f1f1f2!important}
.pds-stage{background:#fff!important;border:1px solid #d5d5d8!important;border-radius:0!important;box-shadow:none!important}
.pds-stage-loading{background:rgba(255,255,255,.9)!important}
.pds-stage-help{color:#555!important}
.pds-swatch{border-radius:0!important;width:34px!important;height:34px!important}
.pds-swatch.is-active{box-shadow:0 0 0 2px var(--pds-red)!important}

@media (min-width:901px){
  .pds-editor{width:100%;max-width:1280px;margin:0 auto}
  .pds-body{grid-template-columns:82px 300px minmax(0,1fr)}
}


/* v0.3.5 page shell, top-picks bar, apparel cuts, toolbar spacing, geometry overlay fix */
body.page-id-11295,
body.page-id-11295 #page,
body.page-id-11295 .site,
body.page-id-11295 .site-main,
body.page-id-11295 .site-content,
body.page-id-11295 .content-area,
body.page-id-11295 article,
body.page-id-11295 .entry-content{background:#faf6ef!important}
body.page-id-11295 .entry-title,
body.page-id-11295 .page-header{display:none!important}
body.page-id-11295 .site-main{padding-top:0!important}
body.page-id-11295 .entry-content{margin-top:0!important}
.pds-app{background:#faf6ef!important}
.pds-discovery{background:#faf6ef!important}
.pds-top-picks{padding:0 18px 18px!important;overflow:hidden}
.pds-top-picks-bar{background:#050505!important;color:#fff!important;margin:0 -18px 18px!important;padding:16px 18px!important;align-items:center!important}
.pds-top-picks-bar span,.pds-top-picks-bar p{color:#fff!important;margin:0!important}
.pds-top-picks-bar span{font-size:15px!important;letter-spacing:.10em!important}
.pds-top-picks-bar p{font-size:12px!important;opacity:.82}
.pds-cut-filter{display:flex;gap:0;margin-top:14px;border:1px solid #050505;width:max-content;max-width:100%}
.pds-cut-filter[hidden]{display:none!important}
.pds-cut-filter button{border:0;border-right:1px solid #050505;background:#efe3d5;color:#050505;padding:8px 14px;border-radius:0;font-size:12px;font-weight:700;cursor:pointer}
.pds-cut-filter button:last-child{border-right:0}
.pds-cut-filter button.is-active{background:#050505;color:#fff}
.pds-cut-filter button:hover:not(.is-active){color:#af2d25}
.pds-stage-loading[hidden]{display:none!important}
.pds-topbar{padding:16px 20px!important}
.pds-product-heading{flex:1 1 auto;min-width:0}
.pds-top-actions{display:grid!important;grid-template-columns:minmax(95px,auto) minmax(230px,260px) minmax(150px,180px);gap:10px!important;flex:0 0 auto;align-items:center!important}
.pds-preview-btn,.pds-cart-btn{width:100%!important;padding:0 18px!important;white-space:nowrap!important;font-size:12px!important}
.pds-demo-price{min-width:95px!important;padding-right:8px!important}
.pds-toolrail{gap:8px!important;padding:14px 9px!important}
.pds-tool{min-height:74px!important;padding:10px 6px!important}
.pds-tool small{font-size:12px!important;white-space:normal!important;text-align:center!important;line-height:1.15!important}
.pds-tool span{font-size:22px!important}
@media (max-width:1100px){.pds-topbar{align-items:flex-start!important;flex-wrap:wrap!important}.pds-top-actions{width:100%;grid-template-columns:100px 1fr 160px}.pds-product-heading{width:100%}}
@media (max-width:680px){.pds-top-actions{grid-template-columns:1fr 1fr}.pds-demo-price{grid-column:1/-1;text-align:left}.pds-cut-filter{width:100%}.pds-cut-filter button{flex:1;padding:8px 6px}}
/* v0.3.6 production-accuracy pass */
.pds-stage{position:relative!important;background:#fff!important}
.pds-product-view-img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:0;pointer-events:none;background:#fff}
#pds-canvas{position:relative;z-index:1;background:transparent!important}
.pds-area-indicator{position:absolute;top:14px;left:14px;z-index:3;background:#050505;color:#fff;padding:8px 12px;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;border-left:4px solid var(--pds-red)}
.pds-area-tabs button{min-width:78px!important;padding:11px 14px!important;font-size:12px!important;border:1px solid transparent!important}
.pds-area-tabs button.is-active{background:#050505!important;color:#fff!important;border-color:#050505!important;box-shadow:inset 0 -3px 0 var(--pds-red)}
.pds-area-spec{font-size:12px!important;font-weight:600!important;color:#444!important}
.pds-exact-size{border:1px solid #050505;background:#efe3d5;padding:12px;margin:0 0 14px}
.pds-exact-size>strong{display:block;font-size:12px;margin-bottom:9px;color:var(--pds-red)}
.pds-size-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.pds-size-grid label{display:block!important;margin:0!important;font-size:12px!important}
.pds-size-grid label>span{display:flex;align-items:center;gap:5px;margin-top:4px}
.pds-size-grid input{width:100%;min-width:0;border:1px solid #050505;background:#fff;padding:7px 6px;font-size:12px}
.pds-exact-size small{display:block;margin-top:8px;font-size:12px;line-height:1.45;color:#555}
.pds-upload-progress{margin-top:12px;border:1px solid #050505;background:#efe3d5;padding:12px;display:grid;grid-template-columns:28px 1fr;gap:10px;align-items:center}
.pds-upload-progress[hidden]{display:none!important}
.pds-upload-progress strong{font-size:12px;display:block;margin-bottom:6px}
.pds-upload-progress small{font-size:12px;display:block;margin-top:5px}
.pds-progress-track{height:6px;background:#fff;border:1px solid #050505;overflow:hidden}
.pds-progress-track i{display:block;height:100%;width:0;background:var(--pds-red);transition:width .12s linear}
.pds-spinner{width:22px;height:22px;border:3px solid rgba(0,0,0,.15);border-top-color:var(--pds-red);border-radius:50%;display:inline-block;animation:pds-spin .7s linear infinite;flex:0 0 auto}
@keyframes pds-spin{to{transform:rotate(360deg)}}
.pds-preview-loading{display:flex!important;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}
.pds-preview-loading[hidden]{display:none!important}
.pds-preview-loading strong{font-size:12px}.pds-preview-loading small{font-size:12px;color:#777;width:100%;text-align:center}


/* v0.3.7 production control cleanup */
.pds-app *:not(.pds-spinner){border-radius:0!important}
.pds-app input[type="range"]::-webkit-slider-thumb{border-radius:0!important}
.pds-app input[type="range"]::-moz-range-thumb{border-radius:0!important}
.pds-position-controls{display:grid;grid-template-columns:1fr;gap:8px;margin:12px 0}
.pds-position-controls button{width:100%;min-height:40px;border:1px solid #171719;background:#efe3d5;color:#171719;font-weight:700;cursor:pointer}
.pds-position-controls button:hover{background:#171719;color:#fff}
.pds-variant-loading{display:flex;flex-direction:column;gap:10px;align-items:center;justify-content:center;background:rgba(250,246,239,.92);z-index:8}
.pds-variant-loading[hidden]{display:none!important}
.pds-variant-loading strong{font-size:14px}

/* v0.3.8 product-aware options, method gating, and secondary navigation */
.pds-subcategory-grid{background:#efe3d5!important;padding:22px!important;border:1px solid #050505!important}
.pds-sub-grid{gap:14px!important}
.pds-sub-card{background:var(--pds-cream)!important;border:1px solid #050505!important;color:#050505!important;min-height:170px!important}
.pds-sub-card:hover{background:#fffaf3!important;border-color:#050505!important;box-shadow:none!important;transform:none!important}
.pds-sub-card strong{color:var(--pds-red)!important;font-size:24px!important}
.pds-sub-card small{color:#050505!important;font-size:13px!important}
.pds-sub-card span{color:#050505!important;font-size:13px!important}
.pds-sub-card:hover span{color:var(--pds-red)!important}
.pds-option-group{margin:0 0 18px}
.pds-option-label{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin:0 0 8px}
.pds-option-label strong{font-size:12px;color:#050505}
.pds-option-label span{font-size:12px;color:#6a5d52;text-align:right}
.pds-option-buttons{display:flex;flex-wrap:wrap;gap:7px}
.pds-option-button{min-width:44px;min-height:38px;border:1px solid #050505;background:#efe3d5;color:#050505;padding:7px 10px;font-size:12px;font-weight:700;cursor:pointer}
.pds-option-button:hover{background:#050505;color:#fff}
.pds-option-button.is-active{background:#050505;color:#fff;box-shadow:inset 0 -3px 0 var(--pds-red)}
.pds-swatches{display:grid!important;grid-template-columns:repeat(5,34px)!important;gap:8px!important}
.pds-swatch{width:34px!important;height:34px!important;border:1px solid #050505!important;box-shadow:none!important;position:relative;overflow:hidden}
.pds-swatch.is-active{outline:3px solid var(--pds-red)!important;outline-offset:2px!important}
.pds-method-choice{border:1px solid #050505;background:#efe3d5;padding:14px;margin:0 0 18px}
.pds-method-choice[hidden]{display:none!important}
.pds-method-choice>strong{display:block;color:var(--pds-red);font-size:13px;margin-bottom:4px}
.pds-method-choice>p{font-size:12px;line-height:1.45;margin:0 0 10px;color:#050505}
.pds-method-choice .pds-option-button{background:#050505;color:#fff}
.pds-method-choice .pds-option-button:hover,.pds-method-choice .pds-option-button.is-active{background:var(--pds-red);color:#fff}
.pds-stage-loading{z-index:9!important;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:10px!important;text-align:center}
.pds-stage-loading[hidden]{display:none!important}
.pds-stage-loading strong{font-size:14px;color:#050505}
.pds-variant-card{margin-top:4px!important}
.pds-pick-card small,.pds-catalog-product small{line-height:1.45!important}

/* 0.3.9 catalog ranking/filter + swatch corrections */
.pds-pick-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
.pds-swatches{display:flex!important;flex-wrap:wrap!important;gap:10px!important;align-items:flex-start!important}
.pds-swatch{flex:0 0 38px!important;width:38px!important;height:38px!important;margin:0!important;border:1px solid #050505!important;outline:0!important;box-shadow:none!important;padding:0!important;overflow:hidden!important}
.pds-swatch.is-active{border:4px solid var(--pds-red)!important;outline:0!important;box-shadow:none!important}

/* v0.3.10: eight primary categories in a 4x2 desktop grid */
@media (min-width: 1100px){.pds-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media (min-width: 681px) and (max-width:1099px){.pds-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}


/* v0.3.17 reorder safety, availability, persistent media, thumbnails */
.pds-top-actions{grid-template-columns:minmax(95px,auto) minmax(210px,250px) 88px minmax(150px,180px)!important}
.pds-top-qty{display:flex!important;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#050505;white-space:nowrap}
.pds-top-qty input{width:52px;height:48px;border:1px solid #050505;background:#efe3d5;padding:0 8px;text-align:center}
.pds-cart-btn:disabled{background:#bca9a3!important;color:#fff!important;cursor:not-allowed!important;opacity:1!important}
.pds-stock-warning{border:1px solid var(--pds-red);background:#f7e8e3;color:#8d241e;padding:10px 11px;font-size:12px;line-height:1.45;margin:0 0 12px;font-weight:700}
.pds-stock-warning[hidden]{display:none!important}
.pds-option-button.is-out-of-stock,.pds-swatch.is-out-of-stock{opacity:.38!important;position:relative}
.pds-option-button.is-out-of-stock{text-decoration:line-through}
.pds-swatch.is-out-of-stock:after{content:'';position:absolute;left:-4px;right:-4px;top:50%;height:1px;background:#050505;transform:rotate(-45deg);transform-origin:center}
.pds-draft-actions #pds-reset,.pds-draft-actions #pds-save{background:var(--pds-red)!important;color:#fff!important;border-color:var(--pds-red)!important;font-weight:700!important}
.pds-draft-actions #pds-load{background:#050505!important;color:#fff!important;border-color:#050505!important;font-weight:700!important}
.pds-media-library-head{margin:18px 0 8px}.pds-media-library-head strong,.pds-media-library-head small{display:block}.pds-media-library-head strong{font-size:12px;color:#050505}.pds-media-library-head small{font-size:12px;line-height:1.45;color:#62584f;margin-top:3px}
.pds-media-library{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.pds-media-item{border:1px solid #050505;background:#efe3d5;padding:4px;cursor:pointer;text-align:left;min-width:0}
.pds-media-item img{width:100%;aspect-ratio:1;object-fit:contain;background:#fff;display:block}
.pds-media-item span{display:block;font-size:12px;color:#050505;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pds-media-empty{font-size:12px;color:#6a5d52}
.pds-product-glyph{overflow:hidden!important;background:#fff!important;border:1px solid #d8cabc!important}
.pds-product-glyph img{display:block;width:100%;height:100%;object-fit:contain;background:#fff}
.pds-card-meta{min-height:18px}
.pds-stage-loading{background:rgba(250,246,239,.96)!important}
@media(max-width:1100px){.pds-top-actions{grid-template-columns:100px 1fr 82px 160px!important}}
@media(max-width:680px){.pds-top-actions{grid-template-columns:1fr 90px!important}.pds-demo-price{grid-column:1/-1}.pds-preview-btn{grid-column:1/2}.pds-top-qty{grid-column:2/3}.pds-cart-btn{grid-column:1/-1}}

/* v0.3.18 real-variant-first loading and thumbnail streaming */
.pds-thumb-loader{width:100%;height:100%;display:grid;place-items:center;background:#efe3d5}
.pds-thumb-loader .pds-spinner{width:20px;height:20px;border-width:2px}
.pds-thumb-missing{display:grid;place-items:center;width:100%;height:100%;font-size:12px;color:#766b61;background:#efe3d5;text-align:center}
.pds-product-glyph{position:relative}
.pds-product-view-img[hidden]{display:none!important}
.pds-stage-loading{background:#fff!important}

/* v0.3.19 serialized thumbnail queue + slower staged product loading */
.pds-product-glyph{width:60px!important;height:60px!important;min-width:60px!important;min-height:60px!important}
.pds-thumb-loader{width:60px!important;height:60px!important;min-width:60px!important;min-height:60px!important;display:flex!important;align-items:center!important;justify-content:center!important;background:#efe3d5!important}
.pds-thumb-loader .pds-spinner{width:14px!important;height:14px!important;border-width:2px!important}
.pds-thumb-missing{width:60px!important;height:60px!important;font-size:12px!important;line-height:1.25!important;padding:4px!important}
.pds-product-glyph img{width:60px!important;height:60px!important;object-fit:contain!important}

.pds-sub-card strong{white-space:normal;overflow-wrap:anywhere;word-break:normal;line-height:1.15;max-width:100%;}
.pds-product-glyph{width:60px!important;height:60px!important;min-width:60px!important;overflow:hidden;background:#efe3d5!important;} .pds-product-glyph img{width:100%;height:100%;object-fit:contain;display:block;} .pds-thumb-loader{width:100%;height:100%;display:grid;place-items:center;} .pds-thumb-loader .pds-spinner{width:18px;height:18px;}
#pds-copy-debug{border:1px solid #171719;background:#171719;color:#fff;padding:8px 10px;font-size:12px;cursor:pointer;}
@media(max-width:1024px){.pds-category-grid,.pds-sub-grid{grid-template-columns:repeat(2,minmax(0,1fr));}} @media(max-width:640px){.pds-category-grid,.pds-sub-grid{grid-template-columns:1fr;}}
/* v0.3.25 mockup window + deterministic print-area presentation */
.pds-modal{align-items:start;overflow-y:auto;padding:2vh 2vw}
.pds-preview-modal-card{width:min(96vw,1440px);height:94vh;max-height:94vh;margin:0 auto;overflow:hidden;display:grid;grid-template-rows:auto auto minmax(0,1fr) auto}
.pds-preview-modal-card>header{position:relative;top:auto}
.pds-preview-gallery{overflow:auto;align-content:start;min-height:0}
.pds-preview-loading{overflow:auto}
.pds-area-tabs button{white-space:nowrap}
@media(max-width:680px){.pds-modal{padding:0}.pds-preview-modal-card{width:100vw;height:100vh;max-height:100vh}}

/* v0.3.26 stable print-area tab order */
.pds-area-tabs{display:flex!important;align-items:stretch!important;gap:0!important;flex-wrap:wrap!important}

/* v0.3.29 exact surfaces, color prefetch, preview scroll */
.pds-preview-modal-card{display:flex!important;flex-direction:column!important;width:min(96vw,1440px)!important;height:94vh!important;max-height:94vh!important;overflow:hidden!important;min-height:0!important}
.pds-preview-modal-card>header{flex:0 0 auto!important}
.pds-preview-loading{flex:0 0 auto}
.pds-preview-gallery{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;scrollbar-gutter:stable;padding-bottom:40px!important}
.pds-preview-card img{width:100%;height:auto;max-height:62vh;object-fit:contain;background:#fff}
.pds-preview-note{flex:0 0 auto;background:#fff;margin:0!important;padding-top:10px!important}
.pds-modal{overscroll-behavior:contain}
@media(max-width:680px){.pds-preview-modal-card{height:100dvh!important;max-height:100dvh!important}.pds-preview-card img{max-height:70dvh}}

/* v0.3.30 size-stable variants, exact chest surfaces, mockup modal repair */
.pds-preview-modal-card{position:relative!important;width:min(96vw,1480px)!important;height:94vh!important;max-height:94vh!important;overflow:hidden!important;display:flex!important;flex-direction:column!important;}
.pds-preview-modal-card>header{display:flex!important;align-items:center!important;justify-content:space-between!important;flex:0 0 auto!important;position:sticky!important;top:0!important;z-index:20!important;background:#fff!important;}
.pds-modal-close{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-width:92px!important;height:40px!important;padding:0 14px!important;margin-left:auto!important;background:#050505!important;color:#fff!important;border:1px solid #050505!important;border-radius:0!important;font-size:12px!important;font-weight:700!important;line-height:1!important;cursor:pointer!important;visibility:visible!important;opacity:1!important;}
.pds-preview-gallery{display:block!important;flex:1 1 0!important;min-height:0!important;height:0!important;overflow-y:scroll!important;overflow-x:hidden!important;padding:18px 20px 42px!important;scrollbar-gutter:stable both-edges!important;}
.pds-preview-card{display:block!important;width:100%!important;margin:0 0 18px!important;overflow:visible!important;background:#fff!important;border:1px solid #d8d8d8!important;}
.pds-preview-card img{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:none!important;margin:0 auto!important;object-fit:contain!important;background:#fff!important;}
.pds-preview-card figcaption{display:block!important;}
.pds-preview-note{flex:0 0 auto!important;position:relative!important;z-index:5!important;}
.pds-modal{overflow:hidden!important;}
@media(max-width:680px){.pds-modal-close{min-width:76px!important;padding:0 10px!important}.pds-preview-gallery{padding:12px 12px 36px!important}}

/* v0.3.31 two-column preview gallery + stable exact-area overlays */
.pds-preview-gallery{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-content:start!important;gap:16px!important;flex:1 1 0!important;min-height:0!important;height:0!important;overflow-y:auto!important;overflow-x:hidden!important;padding:18px 20px 42px!important;scrollbar-gutter:stable!important;}
.pds-preview-card{display:block!important;width:100%!important;margin:0!important;overflow:hidden!important;background:#fff!important;border:1px solid #d8d8d8!important;}
.pds-preview-card img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;background:#fff!important;}
.pds-modal-close{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:92px!important;height:40px!important;padding:0 14px!important;background:#050505!important;color:#fff!important;border:1px solid #050505!important;border-radius:0!important;font-size:12px!important;font-weight:700!important;}
@media(max-width:680px){.pds-preview-gallery{grid-template-columns:1fr!important;}}


/* v0.3.33 restricted-area visibility, layer thumbnails, and viewport-level preview */
.pds-layer-item{display:grid!important;grid-template-columns:minmax(0,1fr) 42px!important;gap:8px!important;padding:7px!important;align-items:stretch!important}
.pds-layer-select{display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;gap:9px!important;align-items:center!important;width:100%!important;border:0!important;background:transparent!important;padding:0!important;text-align:left!important;cursor:pointer!important;color:inherit!important}
.pds-layer-thumb,.pds-layer-type{width:48px!important;height:48px!important;display:block!important;border:1px solid #d8cabc!important;background:#fff!important;object-fit:contain!important}
.pds-layer-type{display:grid!important;place-items:center!important;font-weight:700!important}
.pds-layer-copy{min-width:0!important}.pds-layer-copy strong,.pds-layer-copy small{display:block!important}.pds-layer-copy strong{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.pds-layer-trash{display:grid!important;place-items:center!important;width:42px!important;min-width:42px!important;height:100%!important;min-height:48px!important;border:1px solid #af2d25!important;background:#af2d25!important;color:#fff!important;font-size:22px!important;line-height:1!important;cursor:pointer!important}
.pds-layer-trash:hover{background:#050505!important;border-color:#050505!important}

body>.pds-modal{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;max-width:none!important;max-height:none!important;z-index:2147483000!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:2dvh 2vw!important;overflow:hidden!important;box-sizing:border-box!important;background:rgba(14,14,17,.72)!important}
body>.pds-modal[hidden]{display:none!important}
body>.pds-modal .pds-preview-modal-card{position:relative!important;width:96vw!important;height:96dvh!important;max-width:1600px!important;max-height:96dvh!important;margin:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;border-radius:0!important}
body>.pds-modal .pds-preview-modal-card>header{flex:0 0 auto!important;position:relative!important}
body>.pds-modal .pds-preview-loading{flex:0 0 auto!important}
body>.pds-modal .pds-preview-gallery{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr))!important;gap:16px!important;flex:1 1 auto!important;height:auto!important;min-height:0!important;overflow:auto!important;padding:16px 18px 34px!important;align-content:start!important}
body>.pds-modal .pds-preview-card{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;min-width:0!important;margin:0!important;background:#fff!important;overflow:hidden!important}
body>.pds-modal .pds-preview-card img{display:block!important;width:100%!important;max-width:1200px!important;height:auto!important;max-height:calc(96dvh - 190px)!important;object-fit:contain!important;margin:auto!important;background:#fff!important}
body>.pds-modal .pds-preview-note{flex:0 0 auto!important;padding:10px 18px 14px!important}
@media(max-width:680px){body>.pds-modal{padding:0!important}body>.pds-modal .pds-preview-modal-card{width:100vw!important;height:100dvh!important;max-height:100dvh!important}body>.pds-modal .pds-preview-gallery{grid-template-columns:1fr!important;padding:10px 10px 28px!important}body>.pds-modal .pds-preview-card img{max-height:calc(100dvh - 170px)!important}}

/* v0.3.35 batch calibration + centered mockup generation state */
body>.pds-modal{font-family:Poppins,Arial,sans-serif;color:#171719;box-sizing:border-box}
body>.pds-modal *,body>.pds-modal *::before,body>.pds-modal *::after{box-sizing:border-box}
body>.pds-modal .pds-preview-loading{flex:1 1 auto!important;min-height:280px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;gap:12px!important;padding:32px!important;background:#faf6ef!important}
body>.pds-modal .pds-preview-loading[hidden]{display:none!important}
body>.pds-modal .pds-preview-loading .pds-spinner{width:54px!important;height:54px!important;border-width:5px!important;margin:0 0 6px!important}
body>.pds-modal .pds-preview-loading strong{display:block!important;font-size:clamp(24px,3vw,42px)!important;line-height:1.05!important;font-weight:800!important;letter-spacing:-.03em!important}
body>.pds-modal .pds-preview-loading small{display:block!important;font-size:14px!important;line-height:1.45!important;color:#666!important}
body>.pds-modal .pds-preview-gallery:empty{display:none!important}
@media(max-width:680px){body>.pds-modal .pds-preview-loading{min-height:55dvh!important;padding:24px!important}body>.pds-modal .pds-preview-loading .pds-spinner{width:44px!important;height:44px!important}body>.pds-modal .pds-preview-loading small{font-size:12px!important}}

/* v0.3.36 full-size mockup review */
body>.pds-modal .pds-preview-modal-card{width:96vw!important;height:96dvh!important;max-width:1680px!important;max-height:96dvh!important;overflow:hidden!important}
body>.pds-modal .pds-preview-gallery{display:block!important;flex:1 1 auto!important;height:auto!important;min-height:0!important;overflow-y:scroll!important;overflow-x:auto!important;padding:20px 24px 44px!important;scrollbar-gutter:stable!important;background:#f4f4f2!important}
body>.pds-modal .pds-preview-card{display:block!important;width:min(1200px,100%)!important;max-width:1200px!important;margin:0 auto 28px!important;overflow:visible!important;background:#fff!important;border:1px solid #d7d7d7!important}
body>.pds-modal .pds-preview-card img{display:block!important;width:100%!important;max-width:1200px!important;height:auto!important;max-height:none!important;min-height:0!important;object-fit:contain!important;margin:0 auto!important;background:#fff!important}
body>.pds-modal .pds-preview-card figcaption{display:block!important;padding:12px 14px!important;font-size:12px!important;font-weight:600!important;background:#fff!important}
body>.pds-modal .pds-preview-note{padding:10px 24px 14px!important}
@media(max-width:680px){body>.pds-modal .pds-preview-gallery{padding:10px 10px 32px!important}body>.pds-modal .pds-preview-card{width:100%!important;margin-bottom:18px!important}body>.pds-modal .pds-preview-card figcaption{font-size:12px!important}}

/* v0.3.37 responsive editor + review gallery */
/* Desktop review: large enough to inspect, dense enough to compare. Images keep their
   natural aspect ratio; the gallery itself scrolls instead of cropping mockups. */
body>.pds-modal .pds-preview-gallery{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:18px!important;
  align-content:start!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
  padding:18px 20px 40px!important;
}
body>.pds-modal .pds-preview-card{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  min-width:0!important;
  overflow:hidden!important;
}
body>.pds-modal .pds-preview-card img{
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
}

/* Tablet: preserve the three-pane editor while making the control rail and side panel
   compact enough to leave a useful canvas. Product areas scroll horizontally. */
@media (min-width:761px) and (max-width:1100px){
  .pds-app{width:100%!important;max-width:none!important;left:auto!important;transform:none!important}
  .pds-discovery{padding:28px 24px!important}
  .pds-discovery-head{gap:20px!important}
  .pds-discovery-head h1{font-size:34px!important}
  .pds-category-card,.pds-sub-card{padding:22px!important;min-height:160px!important}
  .pds-product-tools{align-items:stretch!important;flex-direction:column!important;gap:14px!important}
  .pds-product-tools input{width:100%!important;flex:0 0 auto!important}
  .pds-pick-grid,.pds-provider-products{grid-template-columns:1fr!important}
  .pds-editor{width:100%!important;max-width:none!important}
  .pds-body{grid-template-columns:68px 255px minmax(0,1fr)!important}
  .pds-toolrail{padding:10px 6px!important}
  .pds-tool{min-height:64px!important;padding:8px 4px!important}
  .pds-sidepanel{padding:16px 14px!important;min-width:0!important}
  .pds-swatches{gap:8px!important}
  .pds-swatch{flex-basis:36px!important;width:36px!important;height:36px!important}
  .pds-topbar{padding:14px 16px!important;gap:14px!important}
  .pds-top-actions{grid-template-columns:96px minmax(180px,1fr) 78px 150px!important;gap:8px!important}
  .pds-area-bar{height:auto!important;min-height:58px!important;padding:8px 12px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:center!important}
  .pds-area-tabs{flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin!important;min-width:0!important}
  .pds-area-tabs button{flex:0 0 auto!important;min-height:42px!important}
  .pds-area-spec{white-space:nowrap!important;padding-left:8px!important}
  .pds-stage-shell{padding:14px!important}
  .pds-stage-help{gap:12px!important;flex-wrap:wrap!important}
  .pds-bottom-bar{flex-wrap:wrap!important;padding:10px 12px!important}
  .pds-status{max-width:none!important;flex:1 1 100%!important}
  body>.pds-modal .pds-preview-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;padding:14px 16px 34px!important}
}

/* Phones: turn the editor into a vertical workflow. Controls get a bounded scroll area
   so a long color list cannot push the canvas several screens away. */
@media (max-width:760px){
  .pds-app{width:100%!important;max-width:100%!important;left:auto!important;transform:none!important;overflow-x:hidden!important}
  .pds-discovery{padding:18px 14px!important;min-height:0!important}
  .pds-discovery-head{margin-bottom:20px!important;gap:14px!important}
  .pds-discovery-head h1{font-size:clamp(28px,9vw,36px)!important;line-height:1.05!important;margin-top:6px!important}
  .pds-discovery-head p{font-size:13px!important;line-height:1.5!important}
  .pds-price-pill{width:100%!important;text-align:left!important;padding:12px 14px!important}
  .pds-crumbs{overflow-x:auto!important;white-space:nowrap!important;padding-bottom:4px!important}
  .pds-category-grid,.pds-sub-grid{grid-template-columns:1fr!important;gap:10px!important}
  .pds-category-card,.pds-sub-card{padding:18px!important;min-height:132px!important}
  .pds-category-card strong,.pds-sub-card strong{font-size:21px!important}
  .pds-category-icon{font-size:30px!important;margin-bottom:14px!important}
  .pds-category-card em,.pds-sub-card span{padding-top:16px!important}
  .pds-subcategory-grid{padding:14px!important}
  .pds-view-head h2,.pds-product-tools h2{font-size:25px!important}
  .pds-product-tools{align-items:stretch!important;flex-direction:column!important;gap:12px!important;margin-bottom:16px!important}
  .pds-product-tools>div:first-child{padding-right:0!important}
  .pds-product-tools input{width:100%!important;flex:0 0 auto!important;padding:13px 14px!important}
  .pds-section-title{align-items:flex-start!important;flex-direction:column!important;gap:4px!important}
  .pds-top-picks{padding:0 10px 10px!important}
  .pds-top-picks-bar{margin:0 -10px 10px!important;padding:13px 12px!important}
  .pds-pick-grid,.pds-provider-products{grid-template-columns:1fr!important;gap:8px!important}
  .pds-pick-card,.pds-catalog-product{grid-template-columns:54px minmax(0,1fr) auto!important;padding:12px!important;gap:10px!important}
  .pds-product-glyph,.pds-product-glyph img,.pds-thumb-loader,.pds-thumb-missing{width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important}
  .pds-pick-card strong,.pds-catalog-product strong{font-size:16px!important}
  .pds-pick-card span,.pds-catalog-product span,.pds-pick-card small,.pds-catalog-product small{font-size:12px!important}
  .pds-pick-card em,.pds-catalog-product em{font-size:18px!important}
  .pds-provider-head{min-height:54px!important;padding:14px!important}
  .pds-cut-filter{width:100%!important;overflow-x:auto!important;display:flex!important}
  .pds-cut-filter button{flex:0 0 auto!important;min-height:42px!important;padding:8px 13px!important}

  .pds-editor{min-height:0!important;width:100%!important;max-width:100%!important;border-left:0!important;border-right:0!important}
  .pds-topbar{padding:12px!important;gap:12px!important;flex-direction:column!important;align-items:stretch!important}
  .pds-product-heading{width:100%!important;align-items:flex-start!important;gap:10px!important}
  .pds-product-heading>div{min-width:0!important;flex:1 1 auto!important}
  .pds-product-heading h1{font-size:19px!important;line-height:1.2!important;overflow-wrap:anywhere!important}
  .pds-back-btn{flex:0 0 auto!important;min-height:44px!important;padding:10px 12px!important}
  .pds-top-actions{width:100%!important;display:grid!important;grid-template-columns:minmax(0,1fr) 86px!important;gap:8px!important}
  .pds-demo-price{grid-column:1/-1!important;text-align:left!important;padding:0!important;display:flex!important;align-items:baseline!important;gap:8px!important}
  .pds-demo-price span{display:inline!important}.pds-demo-price strong{font-size:20px!important}
  .pds-preview-btn{grid-column:1/2!important;min-width:0!important;height:46px!important}
  .pds-top-qty{grid-column:2/3!important;justify-content:flex-end!important}
  .pds-top-qty input{width:54px!important;height:46px!important}
  .pds-cart-btn{grid-column:1/-1!important;height:46px!important}

  .pds-body{display:grid!important;grid-template-columns:1fr!important;grid-template-areas:"tools" "panel" "workspace"!important;min-height:0!important}
  .pds-toolrail{grid-area:tools!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:1px!important;padding:0!important;border-right:0!important;border-bottom:1px solid #050505!important;overflow:visible!important}
  .pds-tool{min-height:58px!important;margin:0!important;padding:7px 3px!important}
  .pds-tool span{font-size:20px!important}.pds-tool small{font-size:12px!important}
  .pds-sidepanel{grid-area:panel!important;border-right:0!important;border-bottom:1px solid #050505!important;padding:15px 14px!important;max-height:min(44dvh,430px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important}
  .pds-panel-head{margin-bottom:14px!important}.pds-panel-head h2{font-size:18px!important}
  .pds-option-button,.pds-secondary,.pds-position-controls button,.pds-layer-trash{min-height:44px!important}
  .pds-swatch{flex-basis:42px!important;width:42px!important;height:42px!important}
  .pds-media-library{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  .pds-layer-item{grid-template-columns:minmax(0,1fr) 46px!important}.pds-layer-trash{width:46px!important;min-width:46px!important}
  .pds-layer-select{grid-template-columns:52px minmax(0,1fr)!important}.pds-layer-thumb,.pds-layer-type{width:52px!important;height:52px!important}
  .pds-layer-controls label{grid-template-columns:58px minmax(0,1fr)!important;font-size:12px!important}

  .pds-workspace{grid-area:workspace!important;min-width:0!important;display:grid!important;grid-template-rows:auto auto auto!important}
  .pds-area-bar{height:auto!important;min-height:0!important;display:grid!important;grid-template-columns:1fr!important;gap:7px!important;padding:8px 10px!important;align-items:start!important}
  .pds-area-tabs{display:flex!important;flex-wrap:nowrap!important;gap:0!important;overflow-x:auto!important;overflow-y:hidden!important;min-width:0!important;scrollbar-width:thin!important;-webkit-overflow-scrolling:touch!important}
  .pds-area-tabs button{flex:0 0 auto!important;min-width:auto!important;min-height:44px!important;padding:10px 12px!important}
  .pds-area-spec{font-size:12px!important;white-space:normal!important;padding:0 2px!important}
  .pds-stage-shell{padding:10px 8px 12px!important;display:block!important}
  .pds-stage{width:100%!important;max-width:100%!important}
  .pds-area-indicator{top:8px!important;left:8px!important;padding:6px 8px!important;font-size:12px!important;max-width:calc(100% - 16px)!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .pds-stage-help{width:100%!important;display:grid!important;grid-template-columns:1fr!important;gap:4px!important;font-size:12px!important;line-height:1.4!important}
  .pds-bottom-bar{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:10px!important}
  .pds-draft-actions{grid-column:1/-1!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;margin:0!important}
  .pds-draft-actions button{min-height:40px!important;padding:7px 5px!important}
  #pds-copy-debug{grid-column:1/2!important;min-height:40px!important}
  .pds-total{grid-column:2/3!important;align-self:center!important}
  .pds-status{grid-column:1/-1!important;max-width:none!important;font-size:12px!important;line-height:1.4!important}

  body>.pds-modal{padding:0!important;align-items:stretch!important}
  body>.pds-modal .pds-preview-modal-card{width:100vw!important;height:100dvh!important;max-width:none!important;max-height:100dvh!important}
  body>.pds-modal .pds-preview-modal-card>header{padding:12px!important;gap:10px!important}
  body>.pds-modal .pds-preview-modal-card h2{font-size:18px!important;line-height:1.15!important}
  body>.pds-modal .pds-modal-close{min-width:72px!important;height:42px!important;padding:0 9px!important}
  body>.pds-modal .pds-preview-gallery{grid-template-columns:1fr!important;gap:12px!important;padding:10px 10px 28px!important}
  body>.pds-modal .pds-preview-card figcaption{font-size:12px!important;padding:9px 10px!important}
  body>.pds-modal .pds-preview-note{padding:8px 10px 12px!important;font-size:12px!important}
}

/* v0.3.38 commercial UX: customer-facing type floor + pricing cues. */
.pds-app .pds-disclaimer,body>.pds-modal .pds-preview-note{font-size:10px!important;line-height:1.45!important;color:#777!important}
.pds-unit-price{min-width:170px!important;text-align:right!important}
.pds-unit-price>span{display:block!important;font-size:12px!important;font-weight:700!important;letter-spacing:.05em!important;color:#6d6259!important}
.pds-unit-price>strong{display:block!important;font-size:22px!important;line-height:1.05!important;color:#050505!important}
.pds-unit-price>small{display:block!important;font-size:12px!important;line-height:1.25!important;color:#6a5d52!important;margin-top:3px!important}
.pds-qty-wrap{display:grid!important;gap:3px!important;min-width:150px!important}
.pds-qty-wrap>small{font-size:12px!important;line-height:1.25!important;color:#6a5d52!important;max-width:190px!important}
.pds-top-qty input{min-width:70px!important;font-size:14px!important}
.pds-total{display:grid!important;grid-template-columns:auto auto!important;gap:1px 8px!important;align-items:center!important}
.pds-total>small{grid-column:1/-1!important;max-width:280px!important}
.pds-pick-card em,.pds-catalog-product em{white-space:nowrap!important;line-height:1.25!important;text-align:right!important}
@media(max-width:760px){
  .pds-unit-price{min-width:0!important;text-align:left!important}
  .pds-unit-price>strong{font-size:20px!important}
  .pds-qty-wrap{min-width:0!important;width:100%!important}
  .pds-qty-wrap>small{max-width:none!important}
  .pds-top-qty{justify-content:space-between!important;width:100%!important}
  .pds-top-qty input{width:92px!important;min-width:92px!important;min-height:44px!important}
}

/* v0.3.39 storefront performance: let the browser skip layout/paint for brand groups
   that are far below the viewport. Product images themselves remain native lazy-loads. */
@supports (content-visibility:auto){
  .pds-provider-section{content-visibility:auto;contain-intrinsic-size:420px!important}
  .pds-catalog-product{contain:layout paint style}
}
.pds-product-glyph img{object-fit:contain!important;display:block!important}

/* v0.3.40 navigation, card polish, bulk ordering, and mobile/tablet flow. */
.pds-pick-card,.pds-catalog-product{grid-template-columns:60px minmax(0,1fr) minmax(92px,auto)!important;align-items:start!important;position:relative!important;overflow:hidden!important}
.pds-card-copy{min-width:0!important;padding-top:1px!important}
.pds-pick-card .pds-card-copy>strong,.pds-catalog-product .pds-card-copy>strong{font-size:15px!important;line-height:1.22!important;padding-right:4px!important;overflow-wrap:anywhere!important}
.pds-card-price,.pds-pick-card em,.pds-catalog-product em{font-size:15px!important;line-height:1.2!important;align-self:start!important;justify-self:end!important;text-align:right!important;margin:0!important;padding:1px 0 0 8px!important;white-space:nowrap!important}
.pds-inline-retry{margin-left:8px!important;border:1px solid #050505!important;background:#fff!important;color:#050505!important;padding:7px 10px!important;min-height:36px!important;font-size:12px!important;font-weight:700!important;cursor:pointer!important}
.pds-bulk-btn{height:46px!important;border:1px solid #050505!important;background:#fff!important;color:#050505!important;padding:0 15px!important;font-size:12px!important;font-weight:700!important;cursor:pointer!important;white-space:nowrap!important}
.pds-bulk-btn:hover{background:#050505!important;color:#fff!important}
.pds-mobile-purchase[hidden]{display:none!important}
.pds-layer-item{grid-template-columns:minmax(0,1fr) 40px!important;gap:7px!important;overflow:hidden!important;padding:7px!important;box-sizing:border-box!important}
.pds-layer-trash{box-sizing:border-box!important;width:40px!important;min-width:0!important;max-width:40px!important;height:100%!important;min-height:48px!important;margin:0!important;padding:0!important;align-self:stretch!important;justify-self:stretch!important;border-radius:0!important;line-height:1!important}
.pds-row .is-danger,#pds-delete{box-sizing:border-box!important;width:100%!important;max-width:100%!important;margin:0!important;padding:10px 12px!important;min-height:44px!important;overflow:hidden!important}

body>.pds-modal .pds-bulk-modal-card{font-family:Poppins,Arial,sans-serif;width:min(94vw,920px)!important;max-height:92dvh!important;display:flex!important;flex-direction:column!important;background:#fff!important;overflow:hidden!important;color:#171719!important}
body>.pds-modal .pds-bulk-modal-card>header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:16px!important;padding:18px 20px!important;border-bottom:1px solid #dedede!important;flex:0 0 auto!important}
body>.pds-modal .pds-bulk-modal-card h2{font-size:22px!important;line-height:1.2!important;margin:3px 0!important}
body>.pds-modal .pds-bulk-modal-card header p{font-size:12px!important;margin:4px 0 0!important;color:#666!important}
body>.pds-modal .pds-bulk-close{min-width:92px!important;height:40px!important;padding:0 14px!important;border:1px solid #050505!important;background:#050505!important;color:#fff!important;font-size:12px!important;font-weight:700!important;cursor:pointer!important}
.pds-bulk-head,.pds-bulk-line{display:grid!important;grid-template-columns:minmax(100px,1fr) 120px 130px 130px!important;gap:12px!important;align-items:center!important}
.pds-bulk-head{padding:11px 20px!important;background:#faf6ef!important;border-bottom:1px solid #dedede!important;font-size:12px!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.04em!important}
.pds-bulk-lines{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;padding:0 20px!important}
.pds-bulk-line{min-height:58px!important;padding:8px 0!important;border-bottom:1px solid #ececec!important;font-size:13px!important}
.pds-bulk-line strong{font-size:14px!important}.pds-bulk-line input{width:100%!important;min-height:40px!important;border:1px solid #bbb!important;padding:7px 9px!important;font-size:14px!important}
.pds-bulk-unit,.pds-bulk-line-total{text-align:right!important;font-size:13px!important;font-weight:700!important}
.pds-bulk-footer{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;padding:16px 20px!important;border-top:1px solid #dedede!important;background:#fff!important;flex:0 0 auto!important}
.pds-bulk-footer>div{display:grid!important;gap:2px!important}.pds-bulk-footer span,.pds-bulk-footer small{font-size:12px!important;color:#666!important}.pds-bulk-footer strong{font-size:22px!important}.pds-bulk-footer .pds-cart-btn{min-width:230px!important}

@media(min-width:761px) and (max-width:1100px){
  .pds-editor{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;border-left:0!important;border-right:0!important}
  .pds-body{grid-template-columns:68px 260px minmax(0,1fr)!important}
  .pds-topbar{padding-left:14px!important;padding-right:14px!important}
  .pds-stage-shell{padding-left:10px!important;padding-right:10px!important}
  .pds-pick-card .pds-card-copy>strong,.pds-catalog-product .pds-card-copy>strong,.pds-card-price,.pds-pick-card em,.pds-catalog-product em{font-size:14px!important}
}

@media(max-width:760px){
  .pds-pick-card,.pds-catalog-product{grid-template-columns:54px minmax(0,1fr) minmax(78px,auto)!important;align-items:start!important}
  .pds-pick-card .pds-card-copy>strong,.pds-catalog-product .pds-card-copy>strong,.pds-card-price,.pds-pick-card em,.pds-catalog-product em{font-size:14px!important}
  .pds-card-price,.pds-pick-card em,.pds-catalog-product em{padding-left:5px!important}
  .pds-top-actions{display:block!important;width:100%!important}
  .pds-top-actions .pds-preview-btn{width:100%!important;display:block!important;height:48px!important}
  .pds-sidepanel{max-height:none!important;height:auto!important;overflow:visible!important;overscroll-behavior:auto!important;-webkit-overflow-scrolling:auto!important}
  .pds-mobile-purchase{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:9px!important;padding:12px 10px!important;border-top:1px solid #050505!important;border-bottom:1px solid #050505!important;background:#faf6ef!important}
  .pds-mobile-purchase .pds-unit-price{grid-column:1/-1!important;text-align:left!important;padding:0!important;min-width:0!important}
  .pds-mobile-purchase .pds-qty-wrap{grid-column:1/-1!important;min-width:0!important;width:100%!important}
  .pds-mobile-purchase .pds-cart-btn,.pds-mobile-purchase .pds-bulk-btn{grid-column:auto!important;width:100%!important;height:48px!important;padding:0 8px!important}
  .pds-layer-item{grid-template-columns:minmax(0,1fr) 42px!important}.pds-layer-trash{width:42px!important;max-width:42px!important}
  body>.pds-modal .pds-bulk-modal-card{width:100vw!important;height:100dvh!important;max-height:100dvh!important}
  body>.pds-modal .pds-bulk-modal-card>header{padding:12px!important}
  body>.pds-modal .pds-bulk-modal-card h2{font-size:18px!important}
  body>.pds-modal .pds-bulk-close{min-width:72px!important;height:42px!important;padding:0 9px!important}
  .pds-bulk-head{grid-template-columns:minmax(70px,1fr) 86px!important;padding:9px 12px!important}.pds-bulk-head span:nth-child(3),.pds-bulk-head span:nth-child(4){display:none!important}
  .pds-bulk-lines{padding:0 12px!important}.pds-bulk-line{grid-template-columns:minmax(70px,1fr) 86px!important;gap:8px!important;padding:10px 0!important}.pds-bulk-unit,.pds-bulk-line-total{grid-column:auto!important;font-size:12px!important}.pds-bulk-unit::before{content:'Unit ';font-weight:400!important;color:#666!important}.pds-bulk-line-total::before{content:'Line ';font-weight:400!important;color:#666!important}.pds-bulk-line .pds-bulk-unit{grid-column:1/2!important;text-align:left!important}.pds-bulk-line .pds-bulk-line-total{grid-column:2/3!important;text-align:right!important}
  .pds-bulk-footer{display:grid!important;grid-template-columns:1fr!important;padding:12px!important}.pds-bulk-footer .pds-cart-btn{width:100%!important;min-width:0!important}
}
@media(min-width:761px) and (max-width:1100px){
  .pds-topbar{flex-wrap:wrap!important;align-items:flex-start!important}
  .pds-product-heading{flex:1 1 320px!important;min-width:0!important}
  .pds-top-actions{flex:1 1 100%!important;display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;align-items:center!important;gap:8px!important;grid-template-columns:none!important}
  .pds-top-actions .pds-unit-price{margin-right:auto!important}
  .pds-top-actions .pds-preview-btn,.pds-top-actions .pds-cart-btn,.pds-top-actions .pds-bulk-btn{flex:0 0 auto!important}
}

/* v0.3.41 taxonomy + review + designer usability refinement */
/* Product header: separate identity, pricing, and commerce actions so they never compete. */
.pds-topbar{
  display:grid!important;
  grid-template-columns:minmax(280px,1fr) minmax(560px,auto)!important;
  align-items:center!important;
  gap:24px!important;
}
.pds-product-heading{min-width:0!important;align-items:center!important}
.pds-product-heading>div{min-width:0!important}
.pds-product-heading h1{line-height:1.15!important;overflow-wrap:normal!important;word-break:normal!important}
.pds-top-commerce{display:grid!important;grid-template-columns:minmax(190px,230px) minmax(0,1fr)!important;align-items:center!important;gap:14px!important;min-width:0!important}
.pds-top-actions{display:grid!important;grid-template-columns:minmax(180px,220px) 96px 128px 142px!important;align-items:center!important;gap:8px!important;width:auto!important;min-width:0!important}
.pds-top-actions .pds-preview-btn,.pds-top-actions .pds-bulk-btn,.pds-top-actions .pds-cart-btn{width:100%!important;min-width:0!important}
.pds-top-actions .pds-qty-wrap{min-width:0!important;width:96px!important}
.pds-unit-price{min-width:0!important;max-width:230px!important;text-align:right!important;padding:0!important}
.pds-unit-price>small{max-width:230px!important;margin-left:auto!important}

/* Cards: reserve a real price column and let titles wrap naturally to a second line. */
.pds-pick-card,.pds-catalog-product{
  grid-template-columns:60px minmax(0,1fr) 132px!important;
  min-height:88px!important;
  align-items:start!important;
  gap:11px!important;
}
.pds-pick-card .pds-card-copy>strong,.pds-catalog-product .pds-card-copy>strong{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  overflow:hidden!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
  font-size:14px!important;
  line-height:1.28!important;
  padding-right:4px!important;
}
.pds-card-price,.pds-pick-card em,.pds-catalog-product em{
  width:132px!important;
  min-width:132px!important;
  max-width:132px!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
  font-size:14px!important;
  line-height:1.25!important;
  text-align:right!important;
  justify-self:end!important;
  align-self:start!important;
  padding:1px 0 0 8px!important;
}

/* Mockup review: fixed visual-height tiles with the ENTIRE mockup contained inside.
   Empty space is preferable to cropping or squashing a provider image. */
body>.pds-modal .pds-preview-gallery{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:16px!important;
  align-items:start!important;
  overflow-y:auto!important;
  overflow-x:hidden!important;
}
body>.pds-modal .pds-preview-card{
  display:flex!important;
  flex-direction:column!important;
  height:clamp(340px,44dvh,520px)!important;
  min-height:340px!important;
  overflow:hidden!important;
  background:#fff!important;
}
body>.pds-modal .pds-preview-card img{
  display:block!important;
  flex:1 1 auto!important;
  width:100%!important;
  height:calc(100% - 38px)!important;
  min-height:0!important;
  max-height:none!important;
  object-fit:contain!important;
  object-position:center center!important;
  background:#fff!important;
}
body>.pds-modal .pds-preview-card figcaption{
  flex:0 0 38px!important;
  min-height:38px!important;
  display:flex!important;
  align-items:center!important;
  padding:8px 10px!important;
  overflow:hidden!important;
  white-space:nowrap!important;
  text-overflow:ellipsis!important;
}

/* Text tools and selected text formatting. */
.pds-text-format-grid,.pds-selected-text-format{display:grid!important;grid-template-columns:1fr 1fr!important;gap:9px!important;margin:10px 0!important}
.pds-text-format-grid label,.pds-selected-text-format label{display:grid!important;grid-template-columns:1fr!important;gap:5px!important;font-size:12px!important;font-weight:600!important;margin:0!important}
.pds-text-format-grid label:first-child,.pds-selected-text-format label:first-child{grid-column:1/-1!important}
.pds-color-input{width:100%!important;height:42px!important;border:1px solid #d6d6db!important;background:#fff!important;padding:4px!important;cursor:pointer!important}

/* Layer ordering + compact transform actions. */
.pds-layer-item{grid-template-columns:minmax(0,1fr) auto!important;gap:7px!important;align-items:stretch!important;padding:7px!important}
.pds-layer-select{min-width:0!important}
.pds-layer-order-actions{display:grid!important;grid-template-columns:32px 32px!important;grid-template-rows:32px 32px!important;gap:4px!important;align-self:center!important}
.pds-layer-order-actions button{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;padding:0!important;margin:0!important;border:1px solid #d3d3d7!important;background:#fff!important;color:#171719!important;font-size:15px!important;line-height:1!important;display:grid!important;place-items:center!important;cursor:pointer!important}
.pds-layer-order-actions button:disabled{opacity:.3!important;cursor:not-allowed!important}
.pds-layer-order-actions .pds-layer-trash{width:32px!important;max-width:32px!important;min-height:32px!important;height:32px!important;background:#af2d25!important;color:#fff!important;border-color:#af2d25!important}
.pds-layer-actionbar{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;margin-top:12px!important}
.pds-layer-actionbar button{width:100%!important;height:44px!important;min-width:0!important;padding:0!important;margin:0!important;border:1px solid #cfcfd4!important;background:#fff!important;color:#171719!important;font-size:20px!important;line-height:1!important;display:grid!important;place-items:center!important;cursor:pointer!important;overflow:hidden!important}
.pds-layer-actionbar .is-danger{background:#af2d25!important;border-color:#af2d25!important;color:#fff!important}

@media(min-width:761px) and (max-width:1100px){
  .pds-topbar{grid-template-columns:1fr!important;width:100%!important;gap:12px!important}
  .pds-top-commerce{width:100%!important;grid-template-columns:minmax(180px,220px) minmax(0,1fr)!important}
  .pds-top-actions{display:grid!important;grid-template-columns:minmax(170px,1fr) 92px 126px 138px!important;gap:8px!important;width:100%!important;justify-content:stretch!important}
  .pds-unit-price{text-align:left!important;max-width:220px!important}
  .pds-unit-price>small{margin-left:0!important}
  body>.pds-modal .pds-preview-card{height:clamp(300px,40dvh,430px)!important;min-height:300px!important}
}

@media(max-width:760px){
  .pds-topbar{display:block!important;padding:12px 10px!important}
  .pds-product-heading{width:100%!important;margin-bottom:10px!important}
  .pds-product-heading h1{font-size:19px!important;line-height:1.18!important}
  .pds-top-commerce{display:block!important;width:100%!important}
  .pds-top-actions{display:block!important;width:100%!important}
  .pds-top-actions .pds-preview-btn{width:100%!important;height:48px!important}
  .pds-mobile-purchase{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:9px!important}
  .pds-mobile-purchase .pds-unit-price{grid-column:1/-1!important;max-width:none!important;text-align:left!important}
  .pds-mobile-purchase .pds-qty-wrap{grid-column:1/-1!important;width:100%!important}
  .pds-mobile-purchase .pds-bulk-btn,.pds-mobile-purchase .pds-cart-btn{width:100%!important}
  .pds-pick-card,.pds-catalog-product{grid-template-columns:52px minmax(0,1fr) 104px!important;min-height:82px!important;gap:8px!important}
  .pds-pick-card .pds-card-copy>strong,.pds-catalog-product .pds-card-copy>strong,.pds-card-price,.pds-pick-card em,.pds-catalog-product em{font-size:13px!important}
  .pds-card-price,.pds-pick-card em,.pds-catalog-product em{width:104px!important;min-width:104px!important;max-width:104px!important;padding-left:4px!important}
  body>.pds-modal .pds-preview-card{height:64dvh!important;min-height:360px!important}
  .pds-layer-order-actions{grid-template-columns:34px 34px!important;grid-template-rows:34px 34px!important}.pds-layer-order-actions button,.pds-layer-order-actions .pds-layer-trash{width:34px!important;min-width:34px!important;max-width:34px!important;height:34px!important;min-height:34px!important}
}

/* v0.3.42 pricing repair + consistent editor rhythm */
@media(min-width:1101px){
  .pds-topbar{
    grid-template-columns:minmax(280px,1fr) auto!important;
    gap:24px!important;
    padding:18px 20px!important;
    min-height:104px!important;
  }
  .pds-top-commerce{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:14px!important;
    min-width:0!important;
  }
  .pds-unit-price{
    flex:0 0 138px!important;
    width:138px!important;
    max-width:138px!important;
    text-align:right!important;
  }
  .pds-unit-price>strong{font-size:24px!important;line-height:1.05!important}
  .pds-top-actions{
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:9px!important;
    width:auto!important;
  }
  .pds-top-actions .pds-preview-btn{width:190px!important;min-width:190px!important;height:48px!important}
  .pds-top-actions .pds-qty-wrap{width:76px!important;min-width:76px!important}
  .pds-top-actions .pds-bulk-btn{width:126px!important;min-width:126px!important;height:48px!important}
  .pds-top-actions .pds-cart-btn{width:142px!important;min-width:142px!important;height:48px!important}
  .pds-top-qty{display:grid!important;grid-template-columns:auto 1fr!important;align-items:center!important;gap:7px!important;height:48px!important}
  .pds-top-qty input{width:100%!important;min-width:0!important;height:48px!important;padding:0 8px!important}
}

/* One spacing system from tool rail through stage. */
.pds-body{grid-template-columns:76px 300px minmax(0,1fr)!important}
.pds-toolrail{padding:14px 8px!important;gap:8px!important}
.pds-sidepanel{padding:18px!important}
.pds-panel-head{margin:0 0 16px!important}
.pds-panel-head h2{margin:0 0 5px!important}
.pds-panel-head p{margin:0!important}
.pds-tool-panel>*+*{margin-top:14px!important}
.pds-area-bar{min-height:58px!important;padding:0 18px!important;gap:12px!important;align-items:center!important}
.pds-stage-shell{padding:18px!important}
.pds-stage-help{margin:10px 0 0!important;padding:0!important;gap:12px!important}
.pds-bottom-bar{padding:14px 18px!important}

/* Bulk rows clearly distinguish per-size price from the combined order total. */
.pds-bulk-unit,.pds-bulk-line-total{font-variant-numeric:tabular-nums!important}
.pds-bulk-note{line-height:1.35!important}

@media(min-width:761px) and (max-width:1100px){
  .pds-editor{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important}
  .pds-topbar{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;padding:14px!important}
  .pds-top-commerce{display:grid!important;grid-template-columns:150px minmax(0,1fr)!important;gap:12px!important;width:100%!important}
  .pds-top-actions{display:grid!important;grid-template-columns:minmax(170px,1fr) 82px 122px 136px!important;gap:8px!important;width:100%!important}
  .pds-top-actions .pds-qty-wrap{width:82px!important;min-width:82px!important}
  .pds-body{grid-template-columns:68px 260px minmax(0,1fr)!important}
  .pds-sidepanel{padding:16px!important}
  .pds-area-bar{padding:0 14px!important}
  .pds-stage-shell{padding:14px!important}
}

@media(max-width:760px){
  .pds-topbar{padding:12px 10px!important}
  .pds-product-heading{margin-bottom:10px!important}
  .pds-top-commerce{display:block!important}
  .pds-top-actions{display:block!important}
  .pds-top-actions .pds-preview-btn{height:48px!important;width:100%!important}
  .pds-body{grid-template-columns:1fr!important}
  .pds-toolrail{padding:8px 10px!important;gap:6px!important}
  .pds-sidepanel{padding:14px!important}
  .pds-area-bar{min-height:52px!important;padding:0 10px!important}
  .pds-stage-shell{padding:10px!important}
  .pds-stage-help{margin-top:8px!important;padding:0 2px!important}
  .pds-bottom-bar{padding:12px 10px!important}
}


/* v0.3.43 fixed workspace origin: side-panel height must never vertically recenter the canvas. */
.pds-stage-shell{place-items:start center!important;align-content:start!important;justify-content:center!important}
@media(min-width:761px){.pds-workspace{align-content:stretch!important}.pds-stage-shell{align-self:stretch!important}}
@media(max-width:760px){.pds-stage-shell{display:block!important}}

/* v0.3.44 workspace, commerce and persistence polish */
/* Side-panel content must never determine the vertical origin of the canvas. */
.pds-workspace{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:stretch!important;
  min-height:0!important;
}
.pds-area-bar{flex:0 0 58px!important}
.pds-stage-shell{
  flex:0 0 auto!important;
  display:block!important;
  align-self:stretch!important;
  place-items:initial!important;
  align-content:initial!important;
  justify-content:initial!important;
  padding:18px!important;
}
.pds-stage{margin:0 auto!important}
.pds-stage-help{width:min(100%,900px)!important;margin:10px auto 0!important}
.pds-mobile-purchase,.pds-bottom-bar{flex:0 0 auto!important}

/* Desktop purchase flow: mockup -> qty -> unit price -> bulk -> cart. */
.pds-qty-wrap{
  height:48px!important;
  min-height:48px!important;
  border:1px solid #cfcfd5!important;
  border-radius:8px!important;
  background:#fff!important;
  overflow:hidden!important;
}
.pds-top-qty{height:46px!important;margin:0!important;padding:0 8px!important;display:flex!important;align-items:center!important;gap:6px!important}
.pds-top-qty>span{font-size:12px!important;font-weight:700!important;color:#555!important;white-space:nowrap!important}
.pds-top-qty input{height:42px!important;border:0!important;box-shadow:none!important;background:transparent!important;text-align:center!important;padding:0 2px!important;font-size:13px!important;font-weight:700!important}
.pds-unit-price{height:48px!important;min-height:48px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;padding:0 10px!important;border:1px solid #e0e0e3!important;border-radius:8px!important;background:#fff!important}
.pds-unit-price span{line-height:1!important;margin-bottom:3px!important}
.pds-unit-price strong{line-height:1!important}
.pds-layer-actionbar{grid-template-columns:repeat(5,minmax(0,1fr))!important}

.pds-font-upload{display:grid!important;grid-template-columns:34px minmax(0,1fr)!important;grid-template-rows:auto auto!important;column-gap:9px!important;align-items:center!important;border:1px dashed #bfc0c6!important;border-radius:9px!important;padding:10px!important;background:#fafafa!important;cursor:pointer!important}
.pds-font-upload input{display:none!important}.pds-font-upload>span{grid-row:1/3!important;width:34px!important;height:34px!important;border-radius:7px!important;background:#fff!important;border:1px solid #dddde2!important;display:grid!important;place-items:center!important;font-size:20px!important}.pds-font-upload strong{font-size:12px!important}.pds-font-upload small{font-size:10px!important;color:#777!important;line-height:1.35!important}
.pds-saved-mockups{display:grid!important;gap:7px!important}.pds-saved-mockup{width:100%!important;border:1px solid #dedee2!important;background:#fff!important;border-radius:8px!important;padding:7px!important;display:grid!important;grid-template-columns:52px minmax(0,1fr)!important;gap:8px!important;align-items:center!important;text-align:left!important;cursor:pointer!important}.pds-saved-mockup img{width:52px!important;height:52px!important;object-fit:contain!important;border-radius:6px!important;background:#f4f4f5!important}.pds-saved-mockup strong,.pds-saved-mockup small{display:block!important}.pds-saved-mockup strong{font-size:12px!important}.pds-saved-mockup small{font-size:12px!important;color:#777!important;margin-top:2px!important}.pds-media-empty{font-size:12px!important;color:#888!important}

@media(min-width:1101px){
  .pds-top-actions .pds-preview-btn{width:178px!important;min-width:178px!important}
  .pds-top-actions .pds-qty-wrap{width:92px!important;min-width:92px!important}
  .pds-top-actions .pds-unit-price{width:132px!important;min-width:132px!important;max-width:132px!important;text-align:right!important;align-items:flex-end!important}
}
@media(min-width:761px) and (max-width:1100px){
  .pds-top-commerce{display:block!important;width:100%!important}
  .pds-top-actions{grid-template-columns:minmax(165px,1fr) 92px 130px 126px 138px!important}
  .pds-top-actions .pds-unit-price{width:130px!important;min-width:130px!important;text-align:right!important;align-items:flex-end!important}
  .pds-area-bar{flex-basis:58px!important}
  .pds-stage-shell{padding:14px!important}
}
@media(max-width:760px){
  .pds-area-bar{flex-basis:52px!important}
  .pds-stage-shell{padding:10px!important}
  .pds-mobile-purchase{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:9px!important;align-items:stretch!important}
  .pds-mobile-purchase .pds-qty-wrap{grid-column:1!important;width:100%!important;min-width:0!important}
  .pds-mobile-purchase .pds-unit-price{grid-column:2!important;width:100%!important;max-width:none!important;text-align:right!important;align-items:flex-end!important}
  .pds-mobile-purchase .pds-bulk-btn{grid-column:1!important;width:100%!important}
  .pds-mobile-purchase .pds-cart-btn{grid-column:2!important;width:100%!important}
}


/* v0.3.45 previous product mockups + comparison gallery */
.pds-history-launch{min-width:338px!important;min-height:90px!important;border:1px solid #050505!important;border-radius:0!important;background:#050505!important;color:#fff!important;padding:14px 18px!important;text-align:left!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:flex-start!important;cursor:pointer!important;transition:background .16s ease,color .16s ease!important}
.pds-history-launch:hover{background:var(--pds-red)!important;color:#fff!important}
.pds-history-launch>span{font-size:11px!important;line-height:1.2!important;font-weight:800!important;letter-spacing:.12em!important;color:#cfc8c0!important}
.pds-history-launch>strong{display:block!important;margin-top:5px!important;font-size:21px!important;line-height:1.12!important;font-weight:800!important;color:inherit!important}
.pds-history-launch>small{display:block!important;margin-top:7px!important;font-size:12px!important;line-height:1.3!important;color:#e5e0da!important}
.pds-history-launch>small b{font-weight:800!important;color:#fff!important}
body>.pds-modal .pds-history-modal-card{font-family:Poppins,Arial,sans-serif;width:min(96vw,1500px)!important;height:min(92dvh,1000px)!important;max-width:1500px!important;max-height:92dvh!important;display:flex!important;flex-direction:column!important;background:var(--pds-cream,#faf6ef)!important;color:#171719!important;overflow:hidden!important;border-radius:0!important}
body>.pds-modal .pds-history-modal-card>header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:18px!important;padding:18px 20px!important;border-bottom:1px solid #050505!important;background:var(--pds-cream,#faf6ef)!important;flex:0 0 auto!important}
body>.pds-modal .pds-history-modal-card h2{font-size:25px!important;line-height:1.1!important;margin:4px 0 5px!important}
body>.pds-modal .pds-history-modal-card header p{max-width:760px!important;margin:0!important;font-size:12px!important;line-height:1.5!important;color:#5f5a55!important}
body>.pds-modal .pds-history-close{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:92px!important;height:40px!important;padding:0 14px!important;border:1px solid #050505!important;border-radius:0!important;background:#050505!important;color:#fff!important;font-size:12px!important;font-weight:700!important;cursor:pointer!important}
body>.pds-modal .pds-history-gallery{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important;flex:1 1 auto!important;min-height:0!important;overflow:auto!important;padding:20px!important;align-content:start!important;background:#f3eee6!important}
body>.pds-modal .pds-history-card{position:relative!important;min-width:0!important;border:1px solid #050505!important;background:#fff!important;overflow:hidden!important}
body>.pds-modal .pds-history-view{width:100%!important;border:0!important;background:#fff!important;padding:0!important;text-align:left!important;cursor:pointer!important;display:block!important;color:#050505!important}
body>.pds-modal .pds-history-image{display:flex!important;width:100%!important;height:300px!important;align-items:center!important;justify-content:center!important;background:#f6f6f5!important;border-bottom:1px solid #dedede!important;overflow:hidden!important}
body>.pds-modal .pds-history-image img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important}
body>.pds-modal .pds-history-copy{display:block!important;padding:14px 15px 16px!important;padding-right:54px!important}
body>.pds-modal .pds-history-copy strong,body>.pds-modal .pds-history-copy small,body>.pds-modal .pds-history-copy em,body>.pds-modal .pds-history-copy span{display:block!important}
body>.pds-modal .pds-history-copy strong{font-size:15px!important;line-height:1.25!important;color:var(--pds-red,#af2d25)!important}
body>.pds-modal .pds-history-copy small{margin-top:4px!important;font-size:12px!important;line-height:1.3!important;color:#050505!important}
body>.pds-modal .pds-history-copy em{margin-top:9px!important;font-size:12px!important;line-height:1.3!important;font-style:normal!important;font-weight:700!important;color:#050505!important}
body>.pds-modal .pds-history-copy>span{margin-top:3px!important;font-size:12px!important;line-height:1.3!important;color:#777!important}
body>.pds-modal .pds-history-trash{position:absolute!important;right:10px!important;bottom:12px!important;z-index:3!important;width:36px!important;height:36px!important;display:grid!important;place-items:center!important;border:1px solid #050505!important;border-radius:0!important;background:#fff!important;color:#050505!important;cursor:pointer!important;font-size:15px!important}
body>.pds-modal .pds-history-trash:hover{background:var(--pds-red,#af2d25)!important;color:#fff!important;border-color:var(--pds-red,#af2d25)!important}
body>.pds-modal .pds-history-trash:disabled{opacity:.45!important;cursor:wait!important}
body>.pds-modal .pds-history-empty{grid-column:1/-1!important;min-height:360px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;border:1px dashed #777!important;background:#faf6ef!important;padding:30px!important}
body>.pds-modal .pds-history-empty strong{font-size:20px!important;line-height:1.2!important}
body>.pds-modal .pds-history-empty span{max-width:520px!important;margin-top:8px!important;font-size:12px!important;line-height:1.5!important;color:#666!important}
@media(max-width:980px){.pds-history-launch{min-width:290px!important}body>.pds-modal .pds-history-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important}.pds-discovery-head{align-items:stretch!important}.pds-history-launch{align-self:stretch!important}}
@media(max-width:680px){.pds-discovery-head{flex-direction:column!important}.pds-history-launch{width:100%!important;min-width:0!important;min-height:84px!important}body>.pds-modal .pds-history-modal-card{width:100vw!important;height:100dvh!important;max-width:none!important;max-height:100dvh!important}body>.pds-modal .pds-history-modal-card>header{padding:12px!important}body>.pds-modal .pds-history-modal-card h2{font-size:19px!important}body>.pds-modal .pds-history-modal-card header p{font-size:12px!important}body>.pds-modal .pds-history-close{min-width:72px!important;height:42px!important;padding:0 9px!important}body>.pds-modal .pds-history-gallery{grid-template-columns:1fr!important;gap:12px!important;padding:10px!important}body>.pds-modal .pds-history-image{height:min(56dvh,420px)!important}}

/* v0.3.46 grouped color mockups */
body>.pds-modal .pds-preview-variant-bar{flex:0 0 auto!important;border-bottom:1px solid #050505!important;background:#faf6ef!important;padding:11px 16px 12px!important;display:flex!important;align-items:center!important;gap:16px!important;min-height:76px!important}
body>.pds-modal .pds-preview-variant-bar[hidden]{display:none!important}
body>.pds-modal .pds-preview-variant-copy{flex:0 0 245px!important;min-width:0!important}
body>.pds-modal .pds-preview-variant-copy strong,body>.pds-modal .pds-preview-variant-copy span{display:block!important}
body>.pds-modal .pds-preview-variant-copy strong{font-size:13px!important;line-height:1.2!important;color:#050505!important}
body>.pds-modal .pds-preview-variant-copy span{margin-top:3px!important;font-size:11px!important;line-height:1.35!important;color:#6d6862!important}
body>.pds-modal .pds-preview-color-controls{display:flex!important;align-items:stretch!important;gap:7px!important;overflow-x:auto!important;overflow-y:hidden!important;min-width:0!important;flex:1 1 auto!important;padding:2px 2px 5px!important;scrollbar-width:thin!important}
body>.pds-modal .pds-preview-color{flex:0 0 auto!important;min-width:108px!important;min-height:48px!important;border:1px solid #c8c3bc!important;border-radius:0!important;background:#fff!important;color:#050505!important;padding:6px 8px!important;display:grid!important;grid-template-columns:27px auto!important;grid-template-rows:auto auto!important;column-gap:7px!important;align-items:center!important;text-align:left!important;cursor:pointer!important}
body>.pds-modal .pds-preview-color>i{grid-row:1/3!important;width:27px!important;height:27px!important;border-radius:50%!important;border:2px solid #fff!important;box-shadow:0 0 0 1px #9e9a95!important;display:block!important}
body>.pds-modal .pds-preview-color>span{font-size:11px!important;line-height:1.15!important;font-weight:700!important;white-space:nowrap!important}
body>.pds-modal .pds-preview-color>small{font-size:10px!important;line-height:1.15!important;color:#777!important;white-space:nowrap!important}
body>.pds-modal .pds-preview-color.is-saved>small{color:#315f3a!important;font-weight:700!important}
body>.pds-modal .pds-preview-color.is-new>small{color:var(--pds-red,#af2d25)!important;font-weight:700!important}
body>.pds-modal .pds-preview-color.is-active{border:2px solid #050505!important;padding:5px 7px!important;background:#fff!important}
body>.pds-modal .pds-preview-color:hover{border-color:var(--pds-red,#af2d25)!important}
body>.pds-modal .pds-preview-color:disabled{opacity:.55!important;cursor:wait!important}
body>.pds-modal .pds-preview-color.is-loading>i{animation:pdsPulse .8s ease-in-out infinite alternate!important}
@keyframes pdsPulse{from{transform:scale(.88);opacity:.65}to{transform:scale(1);opacity:1}}
@media(max-width:760px){body>.pds-modal .pds-preview-variant-bar{display:block!important;padding:9px 10px 10px!important;min-height:0!important}body>.pds-modal .pds-preview-variant-bar[hidden]{display:none!important}body>.pds-modal .pds-preview-variant-copy{margin-bottom:7px!important}body>.pds-modal .pds-preview-variant-copy span{font-size:10px!important}body>.pds-modal .pds-preview-color{min-width:100px!important}}

/* v0.3.47 resumable mockups + multi-color bulk ordering */
.pds-bulk-color-tools{display:flex!important;align-items:center!important;gap:10px!important;padding:12px 20px!important;border-bottom:1px solid #dedede!important;background:#fff!important;flex:0 0 auto!important}
.pds-bulk-color-tools select{min-width:220px!important;min-height:42px!important;border:1px solid #050505!important;border-radius:0!important;background:#fff!important;color:#050505!important;padding:8px 10px!important;font:600 13px/1.2 Poppins,Arial,sans-serif!important}
.pds-bulk-color-tools button{min-height:42px!important;border:1px solid #050505!important;border-radius:0!important;background:#050505!important;color:#fff!important;padding:8px 14px!important;font:700 12px/1.2 Poppins,Arial,sans-serif!important;cursor:pointer!important}
.pds-bulk-color-tools button:disabled,.pds-bulk-color-tools select:disabled{opacity:.45!important;cursor:not-allowed!important}
.pds-bulk-color-section{margin:16px 0 20px!important;border:1px solid #050505!important;background:#fff!important}
.pds-bulk-color-header{display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;min-height:60px!important;padding:10px 12px!important;background:#faf6ef!important;border-bottom:1px solid #050505!important}
.pds-bulk-color-swatch{width:30px!important;height:30px!important;border:1px solid #8d8d8d!important;border-radius:50%!important;display:block!important}
.pds-bulk-color-header>div{min-width:0!important}.pds-bulk-color-header strong{display:block!important;font-size:15px!important;line-height:1.2!important}.pds-bulk-color-header small{display:block!important;margin-top:2px!important;font-size:11px!important;color:#666!important}
.pds-bulk-color-remove{min-height:34px!important;border:1px solid #050505!important;border-radius:0!important;background:#fff!important;color:#050505!important;padding:6px 10px!important;font-size:11px!important;font-weight:700!important;cursor:pointer!important}
.pds-bulk-color-remove:hover{background:#af2d25!important;color:#fff!important;border-color:#af2d25!important}
.pds-bulk-color-rows{padding:0 12px!important}
body>.pds-modal .pds-history-card{padding-bottom:52px!important}
body>.pds-modal .pds-history-edit{position:absolute!important;left:10px!important;right:56px!important;bottom:10px!important;min-height:38px!important;border:1px solid #050505!important;border-radius:0!important;background:#050505!important;color:#fff!important;padding:7px 12px!important;font:700 12px/1.2 Poppins,Arial,sans-serif!important;cursor:pointer!important}
body>.pds-modal .pds-history-edit:hover{background:#af2d25!important;border-color:#af2d25!important}
body>.pds-modal .pds-history-edit:disabled{background:#efefef!important;color:#777!important;border-color:#bbb!important;cursor:not-allowed!important}
body>.pds-modal .pds-history-trash{bottom:10px!important}
@media(max-width:760px){.pds-bulk-color-tools{display:grid!important;grid-template-columns:1fr!important;padding:10px 12px!important}.pds-bulk-color-tools select,.pds-bulk-color-tools button{width:100%!important;min-width:0!important}.pds-bulk-color-section{margin:12px 0 16px!important}.pds-bulk-color-header{grid-template-columns:32px minmax(0,1fr)!important}.pds-bulk-color-remove{grid-column:1/-1!important;width:100%!important}.pds-bulk-color-rows{padding:0 8px!important}}

/* v0.3.48 Standard / Economy shipping selector */
.pds-shipping-wrap{height:48px!important;min-height:48px!important;width:184px!important;min-width:184px!important;border:1px solid #cfcfd5!important;border-radius:8px!important;background:#fff!important;padding:4px 6px!important;display:grid!important;grid-template-rows:auto 1fr!important;align-content:center!important;overflow:hidden!important}
.pds-shipping-wrap[hidden]{display:none!important}
.pds-shipping-title{display:none!important}
.pds-shipping-options{display:flex!important;align-items:stretch!important;gap:4px!important;min-width:0!important}
.pds-shipping-radio{flex:1 1 0!important;min-width:0!important;border:1px solid #dedee2!important;border-radius:6px!important;background:#fafafa!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:4px!important;padding:3px 4px!important;cursor:pointer!important;line-height:1.05!important}
.pds-shipping-radio.is-active{border-color:#050505!important;background:#fff!important;box-shadow:inset 0 0 0 1px #050505!important}
.pds-shipping-radio input{width:11px!important;height:11px!important;min-width:11px!important;margin:0!important;accent-color:#af2d25!important}
.pds-shipping-radio>span{min-width:0!important;display:block!important;text-align:left!important}
.pds-shipping-radio strong,.pds-shipping-radio small{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
.pds-shipping-radio strong{font-size:10px!important;font-weight:800!important;color:#171719!important}
.pds-shipping-radio small{font-size:8px!important;color:#777!important;margin-top:1px!important}
.pds-shipping-single{width:100%!important;height:38px!important;display:flex!important;flex-direction:column!important;justify-content:center!important;padding:0 6px!important}
.pds-shipping-single strong{font-size:11px!important;font-weight:800!important;line-height:1.05!important}.pds-shipping-single span{font-size:9px!important;color:#777!important;line-height:1.15!important;margin-top:2px!important}
#pds-shipping-eta{display:none!important}
@media(min-width:1101px){.pds-top-actions{display:grid!important;grid-template-columns:158px 184px 76px 118px 112px 126px!important;gap:7px!important}.pds-top-actions .pds-preview-btn{width:158px!important;min-width:158px!important}.pds-top-actions .pds-shipping-wrap{width:184px!important;min-width:184px!important}.pds-top-actions .pds-qty-wrap{width:76px!important;min-width:76px!important}.pds-top-actions .pds-unit-price{width:118px!important;min-width:118px!important;max-width:118px!important}.pds-top-actions .pds-bulk-btn{width:112px!important;min-width:112px!important}.pds-top-actions .pds-cart-btn{width:126px!important;min-width:126px!important}}
@media(min-width:761px) and (max-width:1100px){.pds-top-actions{display:grid!important;grid-template-columns:minmax(150px,1fr) 184px 82px 124px 120px 136px!important;gap:7px!important}.pds-top-actions .pds-shipping-wrap{width:184px!important;min-width:184px!important}}
@media(max-width:760px){.pds-mobile-purchase .pds-shipping-wrap{grid-column:1/-1!important;width:100%!important;min-width:0!important;height:auto!important;min-height:52px!important;padding:6px!important}.pds-mobile-purchase .pds-shipping-radio{min-height:40px!important}.pds-mobile-purchase .pds-shipping-radio strong{font-size:12px!important}.pds-mobile-purchase .pds-shipping-radio small{font-size:10px!important}.pds-mobile-purchase .pds-shipping-single{height:42px!important}.pds-mobile-purchase .pds-shipping-single strong{font-size:12px!important}.pds-mobile-purchase .pds-shipping-single span{font-size:10px!important}}


/* v0.3.49 desktop commerce header: identity gets its own row; purchase controls get the full width. */
@media(min-width:761px){
  .pds-topbar{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    align-items:stretch!important;
    gap:12px!important;
  }
  .pds-product-heading{
    display:grid!important;
    grid-template-columns:110px minmax(0,1fr)!important;
    align-items:center!important;
    gap:14px!important;
    width:100%!important;
  }
  .pds-product-heading .pds-back-btn{width:110px!important;min-width:110px!important}
  .pds-product-heading h1{margin:0!important;max-width:none!important}
  .pds-product-meta{margin-top:3px!important}
  .pds-top-commerce{
    display:block!important;
    width:100%!important;
    min-width:0!important;
  }
  .pds-top-actions{
    display:grid!important;
    grid-template-columns:minmax(170px,1.25fr) minmax(250px,1.65fr) 88px 124px 118px 132px!important;
    align-items:stretch!important;
    gap:9px!important;
    width:100%!important;
    min-width:0!important;
  }
  .pds-top-actions .pds-preview-btn,
  .pds-top-actions .pds-shipping-wrap,
  .pds-top-actions .pds-qty-wrap,
  .pds-top-actions .pds-unit-price,
  .pds-top-actions .pds-bulk-btn,
  .pds-top-actions .pds-cart-btn{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
  }
  .pds-top-actions .pds-preview-btn,
  .pds-top-actions .pds-bulk-btn,
  .pds-top-actions .pds-cart-btn,
  .pds-top-actions .pds-qty-wrap,
  .pds-top-actions .pds-unit-price,
  .pds-top-actions .pds-shipping-wrap{height:52px!important;min-height:52px!important}
  .pds-shipping-wrap{padding:5px 7px!important}
  .pds-shipping-radio{padding:4px 7px!important;gap:5px!important}
  .pds-shipping-radio strong{font-size:11px!important}
  .pds-shipping-radio small{font-size:9px!important}
  .pds-unit-price{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important}
}
@media(min-width:761px) and (max-width:1050px){
  .pds-top-actions{
    grid-template-columns:minmax(160px,1.2fr) minmax(230px,1.6fr) 82px 116px 108px 124px!important;
    gap:7px!important;
  }
}

/* v0.3.50 guided storefront flow + live quantity value framing */
.pds-crumbs{display:none!important}
.pds-screen-nav{max-width:1240px;margin:0 auto 22px;display:flex;align-items:center;gap:16px;padding:0 0 16px;border-bottom:1px solid var(--pds-line)}
.pds-screen-nav>button,.pds-screen-back{flex:0 0 auto;border:1px solid #050505;background:#fff;color:#050505;border-radius:0;padding:10px 14px;font-size:12px;font-weight:800;cursor:pointer}
.pds-screen-nav>button:hover,.pds-screen-back:hover{background:#050505;color:#fff}
.pds-screen-nav>div{min-width:0;display:flex;flex-direction:column;gap:2px}.pds-screen-nav>div>span{font-size:10px;letter-spacing:.13em;font-weight:800;color:var(--pds-red)}.pds-screen-nav>div>strong{font-size:26px;line-height:1.1}.pds-screen-nav>div>small{font-size:12px;color:var(--pds-muted)}
.pds-subcategory-grid,.pds-product-view{animation:pdsScreenIn .18s ease-out both}@keyframes pdsScreenIn{from{opacity:.25;transform:translateY(8px)}to{opacity:1;transform:none}}
.pds-history-launch{background:var(--pds-red)!important;border-color:var(--pds-red)!important}.pds-history-launch:hover{background:#050505!important;border-color:#050505!important}.pds-history-launch>span{color:#f7d8d5!important}.pds-history-launch>small{color:#fff1ef!important}
.pds-card-meta{line-height:1.35!important}
.pds-storefront-promises{display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin-top:15px!important}.pds-storefront-promises span{display:inline-flex!important;align-items:center!important;min-height:28px!important;border:1px solid #050505!important;background:#fff!important;padding:5px 9px!important;font-size:9px!important;font-weight:900!important;letter-spacing:.08em!important;color:#050505!important}.pds-storefront-promises span:first-child{background:var(--pds-red)!important;border-color:var(--pds-red)!important;color:#fff!important}

/* Keep price visible and make quantity interaction a conversion feature. */
.pds-top-actions{align-items:stretch!important}.pds-qty-wrap{height:auto!important;min-height:76px!important;padding:7px 8px!important;overflow:visible!important;display:grid!important;grid-template-rows:auto auto!important;gap:6px!important}.pds-top-qty{height:30px!important;min-height:30px!important;padding:0!important;display:grid!important;grid-template-columns:auto 1fr!important;gap:8px!important}.pds-top-qty input{height:30px!important;border:1px solid #d7d7db!important;border-radius:6px!important;background:#fff!important;text-align:center!important}.pds-qty-breaks{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important}.pds-qty-breaks button{height:26px!important;border:1px solid #d8d8dc!important;border-radius:5px!important;background:#fafafa!important;color:#444!important;font-size:10px!important;font-weight:800!important;padding:0 2px!important;cursor:pointer!important}.pds-qty-breaks button:hover,.pds-qty-breaks button.is-active{border-color:#050505!important;background:#050505!important;color:#fff!important}
.pds-unit-price{height:auto!important;min-height:76px!important;align-items:flex-start!important;text-align:left!important;padding:8px 11px!important;border-color:#050505!important}.pds-unit-price>span{font-size:10px!important;font-weight:800!important;letter-spacing:.08em!important;color:#68686d!important}.pds-unit-price>strong{font-size:27px!important;line-height:1!important;color:#050505!important}.pds-unit-price>#pds-price-savings{display:block!important;min-height:14px!important;margin-top:4px!important;font-size:10px!important;line-height:1.2!important;font-weight:700!important;color:var(--pds-red)!important}.pds-free-shipping-badge{display:flex!important;align-items:center!important;gap:6px!important;margin-top:5px!important;font-style:normal!important;font-size:9px!important;line-height:1.1!important;font-weight:900!important;letter-spacing:.04em!important;color:#fff!important;background:var(--pds-red)!important;padding:4px 6px!important}.pds-free-shipping-badge b{font-size:8px!important;font-weight:600!important;letter-spacing:0!important;opacity:.9!important}
.pds-preview-btn,.pds-bulk-btn{min-height:76px!important;height:76px!important}.pds-bulk-btn{border:0!important;border-radius:8px!important;background:var(--pds-red)!important;color:#fff!important;font-size:12px!important;font-weight:800!important;cursor:pointer!important;padding:0 16px!important}.pds-bulk-btn:hover{background:#050505!important}.pds-shipping-wrap{height:auto!important;min-height:76px!important;padding:8px!important;align-content:center!important}.pds-shipping-radio{min-height:54px!important}.pds-shipping-radio strong{font-size:11px!important}.pds-shipping-radio small{font-size:9px!important}.pds-shipping-single{height:58px!important}.pds-shipping-single strong{font-size:12px!important}.pds-shipping-single span{font-size:10px!important}
.pds-order-target{display:flex!important;flex-wrap:wrap!important;gap:8px 14px!important;align-items:center!important;margin-top:10px!important;padding:9px 11px!important;border:1px solid #050505!important;background:#fff!important}.pds-order-target strong{font-size:12px!important}.pds-order-target span{font-size:11px!important;color:#666!important}.pds-bulk-modal-card>header .pds-kicker{color:var(--pds-red)!important}

@media(min-width:1101px){.pds-top-actions{grid-template-columns:158px 190px minmax(230px,1.2fr) minmax(235px,1fr) 170px!important;gap:9px!important}.pds-top-actions .pds-preview-btn,.pds-top-actions .pds-shipping-wrap,.pds-top-actions .pds-qty-wrap,.pds-top-actions .pds-unit-price,.pds-top-actions .pds-bulk-btn{width:100%!important;min-width:0!important;max-width:none!important}.pds-unit-price{align-items:flex-start!important;text-align:left!important}}
@media(min-width:761px) and (max-width:1100px){.pds-top-actions{display:grid!important;grid-template-columns:minmax(170px,1fr) minmax(220px,1.25fr)!important;gap:9px!important}.pds-top-actions .pds-preview-btn{grid-column:1!important}.pds-top-actions .pds-shipping-wrap{grid-column:2!important}.pds-top-actions .pds-qty-wrap{grid-column:1!important}.pds-top-actions .pds-unit-price{grid-column:2!important;width:100%!important;min-width:0!important;max-width:none!important;align-items:flex-start!important;text-align:left!important}.pds-top-actions .pds-bulk-btn{grid-column:1/-1!important;width:100%!important;height:54px!important;min-height:54px!important}.pds-screen-nav>div>strong{font-size:23px!important}}
@media(max-width:760px){.pds-screen-nav{align-items:flex-start!important;gap:10px!important;margin-bottom:16px!important}.pds-screen-nav>button{padding:9px 10px!important}.pds-screen-nav>div>strong{font-size:21px!important}.pds-mobile-purchase{grid-template-columns:1fr!important}.pds-mobile-purchase .pds-shipping-wrap,.pds-mobile-purchase .pds-qty-wrap,.pds-mobile-purchase .pds-unit-price,.pds-mobile-purchase .pds-bulk-btn{grid-column:1!important;width:100%!important;max-width:none!important;min-width:0!important}.pds-mobile-purchase .pds-unit-price{align-items:flex-start!important;text-align:left!important}.pds-mobile-purchase .pds-bulk-btn{height:54px!important;min-height:54px!important}.pds-free-shipping-badge{font-size:10px!important}.pds-free-shipping-badge b{font-size:9px!important}}


/* v0.3.51 hard-step discovery + stable price-meter toolbar */
.pds-flow-screen[hidden]{display:none!important}
.pds-flow-screen.is-active{display:block}
#pds-category-view.pds-flow-screen.is-active{display:grid}
#pds-subcategory-view.pds-flow-screen.is-active{display:block}
#pds-product-view.pds-flow-screen.is-active{display:block}
#pds-subcategory-view,#pds-product-view{min-height:calc(100vh - 260px)}
.pds-subcategory-grid{max-width:1240px!important;margin:0 auto!important;width:100%!important}
.pds-subcategory-grid>.pds-screen-nav{margin-left:0!important;margin-right:0!important}
.pds-subcategory-grid>.pds-sub-grid{max-width:none!important;margin:0!important}

@media(min-width:761px){
  .pds-topbar{gap:14px!important;padding:16px 20px 18px!important}
  .pds-top-commerce{border-top:1px solid #050505!important;border-bottom:1px solid #050505!important;background:var(--pds-cream)!important;padding:10px 0!important;min-height:116px!important;display:flex!important;align-items:center!important}
  .pds-top-actions{min-height:94px!important;align-items:stretch!important}
  .pds-top-actions .pds-preview-btn,.pds-top-actions .pds-shipping-wrap,.pds-top-actions .pds-qty-wrap,.pds-top-actions .pds-unit-price,.pds-top-actions .pds-bulk-btn{height:94px!important;min-height:94px!important;border-radius:0!important}
  .pds-preview-btn,.pds-bulk-btn{font-size:13px!important}
  .pds-shipping-wrap{padding:8px 9px!important;grid-template-rows:14px 1fr!important;overflow:visible!important}
  .pds-shipping-title{display:block!important;font-size:9px!important;line-height:1!important;font-weight:900!important;letter-spacing:.1em!important;color:#666!important;text-transform:uppercase!important}
  .pds-shipping-options{min-height:62px!important;align-items:stretch!important}
  .pds-shipping-radio{min-height:62px!important;padding:7px 8px!important}
  .pds-shipping-radio strong{font-size:12px!important}.pds-shipping-radio small{font-size:9px!important;white-space:normal!important;line-height:1.2!important}
  .pds-shipping-single{height:64px!important}
  .pds-qty-wrap{padding:8px 10px!important;grid-template-rows:31px 26px 13px!important;gap:5px!important;border:1px solid #cfcfd5!important;background:#fff!important}
  .pds-top-qty{height:31px!important;min-height:31px!important;grid-template-columns:84px 1fr!important;align-items:center!important}
  .pds-top-qty>span{font-size:10px!important;font-weight:900!important;letter-spacing:.05em!important;text-transform:uppercase!important}
  .pds-top-qty input{height:31px!important;border-radius:0!important;font-weight:800!important}
  .pds-qty-breaks button{height:26px!important;border-radius:0!important}
  .pds-meter-note{display:block!important;font-size:8px!important;line-height:1.15!important;color:#777!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  .pds-unit-price{padding:8px 11px!important;justify-content:center!important;border:1px solid #050505!important;background:#fff!important}
  .pds-unit-price>span{font-size:9px!important}.pds-unit-price>strong{font-size:30px!important}.pds-unit-price>#pds-price-savings{min-height:12px!important;font-size:9px!important;margin-top:3px!important}
  .pds-free-shipping-badge{margin-top:4px!important;padding:4px 6px!important;font-size:8px!important;width:max-content!important;max-width:100%!important;white-space:nowrap!important}
  .pds-free-shipping-badge b{font-size:8px!important}
}
@media(min-width:1101px){.pds-top-actions{grid-template-columns:155px 190px minmax(260px,1.28fr) minmax(215px,.95fr) 170px!important;gap:9px!important}}
@media(min-width:761px) and (max-width:1100px){.pds-top-commerce{min-height:220px!important}.pds-top-actions{grid-template-columns:minmax(190px,1fr) minmax(240px,1.2fr)!important;min-height:198px!important}.pds-top-actions .pds-preview-btn,.pds-top-actions .pds-shipping-wrap,.pds-top-actions .pds-qty-wrap,.pds-top-actions .pds-unit-price{height:88px!important;min-height:88px!important}.pds-top-actions .pds-bulk-btn{height:58px!important;min-height:58px!important}.pds-meter-note{font-size:9px!important}}
@media(max-width:760px){.pds-meter-note{display:block!important;font-size:10px!important;color:#777!important;margin-top:3px!important}.pds-mobile-purchase .pds-qty-wrap{min-height:104px!important}.pds-mobile-purchase .pds-unit-price{min-height:94px!important}.pds-mobile-purchase .pds-shipping-title{display:block!important;font-size:10px!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:uppercase!important;margin-bottom:4px!important}}


/* v0.3.52 — compact commerce toolbar + descriptive shipping cards */
@media(min-width:1101px){
  .pds-topbar{padding-bottom:12px!important}
  .pds-top-commerce{min-height:94px!important;padding:6px 0!important}
  .pds-top-actions{min-height:80px!important;grid-template-columns:142px 310px minmax(220px,.95fr) 176px 160px!important;gap:7px!important}
  .pds-top-actions .pds-preview-btn,.pds-top-actions .pds-shipping-wrap,.pds-top-actions .pds-qty-wrap,.pds-top-actions .pds-unit-price,.pds-top-actions .pds-bulk-btn{height:80px!important;min-height:80px!important}
  .pds-preview-btn,.pds-bulk-btn{padding-left:12px!important;padding-right:12px!important}
  .pds-shipping-wrap{padding:6px 7px!important;grid-template-rows:13px 1fr!important}
  .pds-shipping-title{font-size:9px!important;letter-spacing:.08em!important;color:#555!important}
  .pds-shipping-options{min-height:54px!important;gap:6px!important}
  .pds-shipping-radio{min-height:54px!important;padding:6px 8px!important;align-items:center!important;overflow:hidden!important}
  .pds-shipping-radio>span{min-width:0!important;display:flex!important;flex-direction:column!important;justify-content:center!important}
  .pds-shipping-radio strong{font-size:11px!important;line-height:1.15!important;white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
  .pds-shipping-radio small{font-size:8.5px!important;line-height:1.2!important;white-space:normal!important;margin-top:3px!important;color:#666!important}
  .pds-shipping-single{height:54px!important;padding:5px 8px!important}
  .pds-shipping-single strong{font-size:11px!important}.pds-shipping-single span{font-size:9px!important}
  .pds-qty-wrap{padding:6px 8px!important;grid-template-rows:27px 24px 11px!important;gap:3px!important}
  .pds-top-qty{height:27px!important;min-height:27px!important;grid-template-columns:72px 1fr!important;gap:6px!important}
  .pds-top-qty input{height:27px!important}
  .pds-qty-breaks{gap:3px!important}.pds-qty-breaks button{height:24px!important;font-size:9px!important}
  .pds-meter-note{font-size:7.5px!important;line-height:1!important}
  .pds-unit-price{padding:5px 9px!important}
  .pds-unit-price>span{font-size:8px!important}.pds-unit-price>strong{font-size:27px!important;line-height:1!important}.pds-unit-price>#pds-price-savings{font-size:8px!important;margin-top:2px!important}
  .pds-free-shipping-badge{margin-top:2px!important;padding:3px 5px!important;font-size:7.5px!important}.pds-free-shipping-badge b{font-size:7.5px!important}
}
@media(min-width:761px) and (max-width:1100px){
  .pds-shipping-title{font-size:9px!important}
  .pds-shipping-radio strong{font-size:11px!important;white-space:normal!important}
  .pds-shipping-radio small{font-size:9px!important;white-space:normal!important;line-height:1.2!important}
}

/* v0.3.53 — catalog price anchor + tighter commerce meter */
.pds-card-price{display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:center!important;text-align:right!important;white-space:nowrap!important;line-height:1.15!important}
.pds-card-price>span{display:block!important;font-size:12px!important;font-weight:800!important;color:#171719!important;margin:0!important}
.pds-card-price .pds-card-low{display:block!important;margin-top:3px!important;font-size:10px!important;line-height:1.1!important;font-weight:800!important;color:var(--pds-red)!important;text-align:right!important}
.pds-meter-note{display:none!important}
@media(min-width:1101px){
  .pds-top-commerce{margin-left:-12px!important;width:calc(100% + 12px)!important;min-height:84px!important;padding:4px 0!important}
  .pds-top-actions{min-height:72px!important;grid-template-columns:142px 310px minmax(220px,.95fr) 176px 160px!important;gap:7px!important}
  .pds-top-actions .pds-preview-btn,.pds-top-actions .pds-shipping-wrap,.pds-top-actions .pds-qty-wrap,.pds-top-actions .pds-unit-price,.pds-top-actions .pds-bulk-btn{height:72px!important;min-height:72px!important}
  .pds-shipping-wrap{padding:5px 7px!important;grid-template-rows:12px 1fr!important}
  .pds-shipping-options{min-height:48px!important}
  .pds-shipping-radio{min-height:48px!important;padding:5px 7px!important}
  .pds-shipping-single{height:48px!important}
  .pds-qty-wrap{padding:5px 8px!important;grid-template-rows:27px 24px!important;gap:4px!important;align-content:center!important}
  .pds-unit-price{padding:5px 9px!important}
}
@media(min-width:761px) and (max-width:1100px){.pds-meter-note{display:none!important}.pds-qty-wrap{grid-template-rows:31px 26px!important}.pds-top-commerce{padding-top:6px!important;padding-bottom:6px!important}}

/* v0.3.54 — storefront search, print-format filters, indexed card pricing, and toolbar fit */
.pds-discovery-head[hidden],.pds-global-search[hidden]{display:none!important}
.pds-storefront-promises span:nth-child(2),.pds-storefront-promises span:nth-child(3){background:#050505!important;border-color:#050505!important;color:var(--pds-cream)!important}
.pds-global-search{position:relative;max-width:1240px;margin:0 auto 20px;z-index:20}
.pds-global-search>label{display:block;border:1px solid #050505;background:#fff;padding:10px 14px}
.pds-global-search>label>span{display:block;margin-bottom:5px;font-size:10px;font-weight:900;letter-spacing:.1em;text-transform:uppercase;color:var(--pds-red)}
.pds-global-search input{width:100%;border:0!important;outline:0!important;background:#fff!important;padding:7px 0!important;font-size:16px!important;color:#050505!important;box-shadow:none!important}
.pds-global-search-results{position:absolute;left:0;right:0;top:100%;max-height:min(66vh,620px);overflow:auto;border:1px solid #050505;border-top:0;background:#fff;box-shadow:0 18px 42px rgba(0,0,0,.16);z-index:50}
.pds-global-search-results section+section{border-top:1px solid #ddd8d0}.pds-global-result-head{display:block;padding:9px 13px;background:var(--pds-cream);font-size:9px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;color:#555}
.pds-global-search-results button{width:100%;border:0;border-top:1px solid #efede8;background:#fff;color:#171719;text-align:left;cursor:pointer;padding:10px 13px}.pds-global-search-results button:hover{background:#f7f2ea}.pds-global-search-results button b,.pds-global-search-results button small{display:block}.pds-global-search-results button b{font-size:12px}.pds-global-search-results button small{margin-top:2px;font-size:10px;color:#777}
.pds-global-product-result{display:grid!important;grid-template-columns:42px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important}.pds-search-thumb{width:42px;height:42px;display:grid;place-items:center;background:#f1eee8;overflow:hidden}.pds-search-thumb img{width:100%;height:100%;object-fit:contain}.pds-global-product-result>em{font-style:normal;text-align:right;font-size:11px;font-weight:800;white-space:nowrap}.pds-global-product-result>em small{font-size:9px!important;color:var(--pds-red)!important}.pds-global-search-loading{padding:14px;font-size:11px;color:#777}
.pds-product-filter-tools{display:flex;align-items:stretch;gap:8px;margin-left:auto}.pds-product-filter-tools select{min-width:205px;border:1px solid #050505;border-radius:0;background:#fff;padding:10px 34px 10px 12px;font-size:12px;font-weight:700;color:#171719}.pds-product-filter-tools select[hidden]{display:none!important}.pds-product-filter-tools #pds-product-search{min-width:280px;border-radius:0!important;border-color:#050505!important}

@media(min-width:761px){
  .pds-product-heading{grid-template-columns:max-content minmax(0,1fr)!important;gap:18px!important}
  .pds-product-heading .pds-back-btn{width:auto!important;min-width:124px!important;max-width:210px!important;padding:12px 20px!important;white-space:nowrap!important}
}
@media(min-width:1101px){
  .pds-top-actions{grid-template-columns:205px 310px minmax(235px,1fr) 145px 160px!important;gap:7px!important}
  .pds-top-actions .pds-preview-btn{width:100%!important;min-width:0!important;max-width:none!important}
  .pds-top-actions .pds-unit-price{width:145px!important;min-width:145px!important;max-width:145px!important;padding-left:7px!important;padding-right:7px!important}
  .pds-top-actions .pds-bulk-btn{width:160px!important;min-width:160px!important}
}
@media(max-width:900px){.pds-global-search-results{position:static;border-top:1px solid #050505;margin-top:5px}.pds-product-filter-tools{width:100%;margin-left:0}.pds-product-filter-tools select,.pds-product-filter-tools #pds-product-search{flex:1 1 0;min-width:0!important;width:auto!important}}
@media(max-width:680px){.pds-global-search{margin-bottom:16px}.pds-global-product-result{grid-template-columns:38px minmax(0,1fr)!important}.pds-global-product-result>em{grid-column:2;text-align:left;margin-top:2px}.pds-product-filter-tools{flex-direction:column}.pds-product-filter-tools select,.pds-product-filter-tools #pds-product-search{width:100%!important}}


/* v0.3.55: reserve the shipping control footprint while product rate data loads. */
.pds-shipping-loading,.pds-shipping-empty{min-height:48px;display:flex;align-items:center;gap:8px;font-size:10px;font-weight:700;color:#6b6b72;line-height:1.2}
.pds-shipping-loading i{display:block;width:42px;height:8px;border-radius:99px;background:linear-gradient(90deg,#ececf0 25%,#d8d8de 50%,#ececf0 75%);background-size:200% 100%;animation:pdsShippingPulse 1.1s linear infinite;flex:0 0 auto}
.pds-shipping-empty{flex-direction:column;align-items:flex-start;justify-content:center;gap:2px}.pds-shipping-empty strong{font-size:11px;color:#111}.pds-shipping-empty span{font-size:9px;font-weight:600;color:#74747c}
.pds-shipping-wrap[data-state=loading] .pds-shipping-title{color:#777}.pds-shipping-wrap[data-state=loading] #pds-shipping-eta{opacity:.65}
@keyframes pdsShippingPulse{0%{background-position:200% 0}100%{background-position:-200% 0}}

/* v0.3.56: exact Printify shipping methods can expose up to four services. */
.pds-shipping-wrap[data-count="3"] .pds-shipping-options,
.pds-shipping-wrap[data-count="4"] .pds-shipping-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-rows:1fr!important;gap:4px!important}
.pds-shipping-wrap[data-count="3"] .pds-shipping-radio,
.pds-shipping-wrap[data-count="4"] .pds-shipping-radio{min-height:0!important;padding:3px 5px!important}
.pds-shipping-wrap[data-count="3"] .pds-shipping-radio strong,
.pds-shipping-wrap[data-count="4"] .pds-shipping-radio strong{font-size:10px!important;white-space:nowrap!important}
.pds-shipping-wrap[data-count="3"] .pds-shipping-radio small,
.pds-shipping-wrap[data-count="4"] .pds-shipping-radio small{display:none!important}
@media(min-width:1101px){.pds-top-actions{grid-template-columns:158px minmax(280px,1.25fr) minmax(230px,1.2fr) minmax(235px,1fr) 170px!important}}
@media(max-width:760px){.pds-mobile-purchase .pds-shipping-wrap[data-count="3"] .pds-shipping-radio small,.pds-mobile-purchase .pds-shipping-wrap[data-count="4"] .pds-shipping-radio small{display:block!important}}


/* v0.3.57: generic rep codes, compact mockup history and order-stage shipping selection. */
.pds-storefront-promises{align-items:center!important}
.pds-rep-code-open{appearance:none!important;border:0!important;background:transparent!important;color:var(--pds-red,#af2d25)!important;padding:4px 2px!important;margin:0 0 0 2px!important;font:800 11px/1.2 Poppins,Arial,sans-serif!important;letter-spacing:.08em!important;text-transform:uppercase!important;cursor:pointer!important;text-decoration:none!important}
.pds-rep-code-open:hover{text-decoration:underline!important}.pds-rep-code-open.is-applied{color:#050505!important}
.pds-rep-code-form{display:flex!important;align-items:center!important;gap:6px!important;margin-left:3px!important;min-width:0!important}.pds-rep-code-form[hidden]{display:none!important}.pds-rep-code-form input{width:132px!important;min-height:30px!important;border:1px solid #050505!important;border-radius:0!important;background:#fff!important;padding:4px 7px!important;font:600 11px/1.2 Poppins,Arial,sans-serif!important;text-transform:uppercase!important}.pds-rep-code-form button{min-height:30px!important;border:1px solid #050505!important;border-radius:0!important;background:#050505!important;color:#fff!important;padding:4px 10px!important;font:700 11px/1.2 Poppins,Arial,sans-serif!important;cursor:pointer!important}.pds-rep-code-form small{font-size:10px!important;line-height:1.2!important;color:#2f6d39!important}.pds-rep-code-form small.is-error{color:var(--pds-red,#af2d25)!important}
body>.pds-modal .pds-history-modal-card[data-count="1"]{width:min(94vw,520px)!important;max-width:520px!important}body>.pds-modal .pds-history-modal-card[data-count="2"]{width:min(94vw,980px)!important;max-width:980px!important}body>.pds-modal .pds-history-gallery{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))!important}body>.pds-modal .pds-history-modal-card[data-count="1"] .pds-history-gallery{grid-template-columns:1fr!important}body>.pds-modal .pds-history-modal-card[data-count="2"] .pds-history-gallery{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.pds-order-target{display:block!important}.pds-order-shipping-head{display:flex!important;align-items:baseline!important;gap:10px!important;margin-bottom:8px!important}.pds-order-shipping-head strong{font-size:12px!important}.pds-order-shipping-head span{font-size:11px!important;color:#666!important}.pds-order-shipping-options{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important}.pds-order-shipping-radio{display:flex!important;align-items:flex-start!important;gap:7px!important;border:1px solid #b8b3ad!important;background:#fff!important;padding:9px 10px!important;cursor:pointer!important;min-height:58px!important}.pds-order-shipping-radio.is-active{border-color:#050505!important;box-shadow:inset 0 0 0 1px #050505!important}.pds-order-shipping-radio input{margin:3px 0 0!important;accent-color:var(--pds-red,#af2d25)!important}.pds-order-shipping-radio span{display:block!important;min-width:0!important}.pds-order-shipping-radio strong{display:block!important;font-size:12px!important;line-height:1.2!important;color:#050505!important}.pds-order-shipping-radio small{display:block!important;margin-top:3px!important;font-size:10px!important;line-height:1.3!important;color:#666!important}.pds-order-shipping-empty{font-size:11px!important;color:#666!important;padding:8px!important;border:1px dashed #aaa!important}
@media(max-width:760px){.pds-rep-code-form{flex:1 1 100%!important;margin-left:0!important}.pds-rep-code-form input{flex:1 1 auto!important;width:auto!important}.pds-rep-code-form small{flex:1 1 100%!important}.pds-order-shipping-options{grid-template-columns:1fr!important}}

/* v0.3.58: Step-3 rep code + compact price card / wider Generate Mockup. */
.pds-order-rep-code{margin-top:10px;padding-top:10px;border-top:1px solid #d8d2ca}
.pds-order-rep-head{display:flex;align-items:baseline;gap:10px;margin-bottom:7px}.pds-order-rep-head strong{font-size:11px!important;letter-spacing:.08em;color:var(--pds-red)!important}.pds-order-rep-head span{font-size:10px!important;color:#666!important}
.pds-order-rep-form{display:grid;grid-template-columns:minmax(160px,260px) 84px minmax(0,1fr);gap:7px;align-items:center}.pds-order-rep-form input{height:36px;border:1px solid #050505;border-radius:0;background:#fff;padding:7px 9px;font-size:12px;font-weight:700;letter-spacing:.08em}.pds-order-rep-form button{height:36px;border:1px solid #050505;border-radius:0;background:#050505;color:#fff;padding:0 12px;font-size:11px;font-weight:800;cursor:pointer}.pds-order-rep-form small{font-size:10px;line-height:1.3;color:#2f6d39}.pds-order-rep-form small.is-error{color:var(--pds-red)}.pds-order-rep-code.is-applied{background:rgba(175,45,37,.035)}
@media(min-width:1101px){.pds-top-actions{grid-template-columns:minmax(220px,1fr) 300px 230px 145px 170px!important;gap:7px!important}.pds-top-actions .pds-preview-btn{width:100%!important;min-width:220px!important}.pds-top-actions .pds-unit-price{width:145px!important;min-width:145px!important;max-width:145px!important}.pds-top-actions .pds-bulk-btn{width:170px!important;min-width:170px!important}}
@media(max-width:760px){.pds-order-rep-head{display:block}.pds-order-rep-head span{display:block;margin-top:3px}.pds-order-rep-form{grid-template-columns:minmax(0,1fr) 78px}.pds-order-rep-form small{grid-column:1/-1}}


/* v0.3.59: reserve commerce-control widths; Generate Mockup only consumes true leftover desktop space. */
@media(min-width:1101px){
  .pds-top-actions{
    grid-template-columns:minmax(155px,1fr) 320px 230px 145px 170px!important;
    gap:7px!important
  }
  .pds-top-actions .pds-preview-btn{
    width:100%!important;
    min-width:155px!important;
    max-width:none!important
  }
  .pds-top-actions .pds-shipping-wrap{
    width:320px!important;
    min-width:320px!important;
    max-width:320px!important
  }
  .pds-top-actions .pds-qty-wrap{
    width:230px!important;
    min-width:230px!important;
    max-width:230px!important
  }
  .pds-top-actions .pds-unit-price{
    width:145px!important;
    min-width:145px!important;
    max-width:145px!important
  }
  .pds-top-actions .pds-bulk-btn{
    width:170px!important;
    min-width:170px!important;
    max-width:170px!important
  }
  .pds-shipping-title,
  .pds-shipping-radio strong{
    white-space:nowrap!important
  }
  .pds-shipping-radio strong{
    overflow:visible!important;
    text-overflow:clip!important
  }
}


/* v0.3.60: square rep-code fields + consistent semibold merch actions. */
.pds-app button,
.pds-app button *,
body>.pds-modal button,
body>.pds-modal button *{font-weight:600!important}
.pds-rep-code-form input,
.pds-order-rep-form input{border-radius:0!important}
.pds-rep-code-form button,
.pds-order-rep-form button{border-radius:0!important;font-weight:600!important}

/* v0.3.62: customer-readiness progressive catalog + placement-proof states. */
.pds-catalog-skeleton-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:6px 0 18px}
.pds-catalog-skeleton{min-height:148px;border:1px solid #e3ddd5;background:#fff;padding:12px;display:grid;grid-template-columns:78px 1fr;grid-template-rows:22px 16px;gap:8px 12px;overflow:hidden}
.pds-catalog-skeleton i{grid-row:1/3;width:78px;height:78px;background:#eee9e2;display:block;position:relative;overflow:hidden}
.pds-catalog-skeleton span,.pds-catalog-skeleton small{display:block;background:#eee9e2;position:relative;overflow:hidden}
.pds-catalog-skeleton i:after,.pds-catalog-skeleton span:after,.pds-catalog-skeleton small:after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.72),transparent);animation:pdsSkeletonSweep 1.25s infinite}
@keyframes pdsSkeletonSweep{100%{transform:translateX(100%)}}
.pds-catalog-more{display:block;width:100%;min-height:46px;margin:16px 0 2px;border:1px solid #cfc5b8;border-radius:0;background:#faf6ef;color:#050505;font:600 12px/1.2 Poppins,Arial,sans-serif;cursor:pointer}
.pds-catalog-more:hover{border-color:#050505;background:#fff}
.pds-testing-badge{display:inline-flex!important;width:max-content!important;margin-top:5px!important;padding:3px 6px!important;background:#fff1d6!important;border:1px solid #d8a749!important;color:#5e410b!important;font-size:9px!important;font-weight:600!important;letter-spacing:.03em!important;text-transform:uppercase!important}
body>.pds-modal .pds-preview-card.is-proof{border-color:#bda88c!important;background:#faf6ef!important}
body>.pds-modal .pds-preview-card.is-proof figcaption{background:#faf6ef!important;color:#4d4134!important}
@media(max-width:900px){.pds-catalog-skeleton-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.pds-catalog-skeleton-grid{grid-template-columns:1fr}.pds-catalog-skeleton{min-height:112px}}

/* v0.3.66 precise graphic X/Y placement controls */
.pds-position-coordinates{margin:14px 0 4px;padding:11px 12px;border:1px solid var(--pds-line);background:#f7f7f8}
.pds-position-coordinates[hidden]{display:none!important}
.pds-coordinate-head{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:4px}
.pds-coordinate-head strong{font-size:12px;line-height:1.2}
.pds-coordinate-head small{font-size:11px;line-height:1.2;color:#777;text-align:right}
.pds-layer-controls .pds-coordinate-row{display:grid!important;grid-template-columns:18px minmax(0,1fr) 46px!important;gap:8px!important;align-items:center!important;margin:8px 0!important}
.pds-coordinate-row>span{font-size:12px;font-weight:700;line-height:1}
.pds-coordinate-row input[type="range"]{width:100%;min-width:0;margin:0}
.pds-coordinate-row output{display:block;min-width:42px;text-align:right;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums;color:#171719}
@media(max-width:680px){.pds-position-coordinates{padding:10px}.pds-layer-controls .pds-coordinate-row{grid-template-columns:18px minmax(0,1fr) 42px!important}.pds-coordinate-head{align-items:flex-start;flex-direction:column;gap:2px}.pds-coordinate-head small{text-align:left}}
