/* Print on Demand by Pludor - landing, product page and designer. */
:root {
  --pod-p: #5340ff;
  --pod-ink: #0f172a;
  --pod-mu: #5b6475;
  --pod-ln: #e2e8f0;
  --pod-soft: #f5f3ff;
  --pod-warn: #b45309;
  --pod-ok: #047857;
}
* { box-sizing: border-box; }
body.pod {
  margin: 0;
  background: #fff;
  color: var(--pod-ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
}
.pod-wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px 72px; }
.pod-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 0 8px; flex-wrap: wrap; }
.pod-logo { font-size: 21px; font-weight: 900; letter-spacing: -1px; color: #000; text-decoration: none; }
.pod-bar a.pod-link { color: var(--pod-mu); font-weight: 700; font-size: 14px; text-decoration: none; margin-left: 16px; }
.pod-bar a.pod-link:hover { color: var(--pod-p); }
.pod-pill { display: inline-block; background: var(--pod-soft); color: var(--pod-p); font-weight: 800; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; padding: 6px 13px; border-radius: 99px; margin: 16px 0 10px; }
.pod h1 { font-size: clamp(30px, 4.6vw, 50px); font-weight: 900; letter-spacing: -.035em; line-height: 1.08; margin: 0 0 14px; text-wrap: balance; }
.pod h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 900; letter-spacing: -.02em; margin: 0 0 12px; }
.pod h3 { font-size: 17px; margin: 0 0 4px; }
.pod p { margin: 0 0 12px; }
.pod .lead { font-size: 18px; color: #1e293b; max-width: 62ch; }
.pod-hero { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px; align-items: center; padding: 8px 0 30px; }
@media (min-width: 900px) { .pod-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; } }
.pod-hero img { width: 100%; height: auto; border-radius: 22px; display: block; background: #f1f5f9; }
.pod-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--pod-p); color: #fff; border: 0; border-radius: 14px; padding: 14px 22px; font: inherit; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; }
.pod-btn:hover { background: #4330e6; }
.pod-btn.alt { background: #fff; color: var(--pod-ink); border: 1.5px solid var(--pod-ln); }
.pod-btn.alt:hover { border-color: var(--pod-p); color: var(--pod-p); }
.pod-btn.sm { padding: 9px 14px; font-size: 14px; border-radius: 11px; }
.pod-btn:disabled { opacity: .55; cursor: not-allowed; }
.pod-note { font-size: 13.5px; color: var(--pod-mu); }
.pod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.pod-card { border: 1px solid var(--pod-ln); border-radius: 18px; overflow: hidden; background: #fff; text-decoration: none; color: inherit; display: block; transition: box-shadow .15s, transform .15s; }
.pod-card:hover { box-shadow: 0 14px 34px rgba(15, 23, 42, .10); transform: translateY(-2px); }
.pod-card img { width: 100%; height: auto; aspect-ratio: 1/1; object-fit: cover; background: #f8fafc; display: block; }
.pod-card .b { padding: 12px 14px 14px; }
.pod-card .n { font-weight: 800; font-size: 14.5px; line-height: 1.35; }
.pod-card .p { color: var(--pod-mu); font-size: 13.5px; margin-top: 4px; }
.pod-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 20px 0 6px; }
.pod-step { border: 1px solid var(--pod-ln); border-radius: 18px; padding: 18px; background: #fff; }
.pod-step b { display: block; font-size: 13px; color: var(--pod-p); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 6px; }
.pod-faq { border-top: 1px solid var(--pod-ln); margin-top: 26px; padding-top: 8px; }
.pod-faq details { border-bottom: 1px solid var(--pod-ln); padding: 14px 0; }
.pod-faq summary { font-weight: 800; cursor: pointer; }
.pod-faq p { margin: 8px 0 0; color: #334155; }
.pod-spec { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin: 18px 0; }
.pod-spec div { border: 1px solid var(--pod-ln); border-radius: 14px; padding: 13px 15px; }
.pod-spec small { display: block; color: var(--pod-mu); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; }
.pod-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.pod-table th, .pod-table td { border: 1px solid var(--pod-ln); padding: 8px 10px; text-align: left; }
.pod-table th { background: #f8fafc; }

/* catalogue */
.pod-cat-tabs { display:flex; gap:7px; overflow-x:auto; padding:4px 0 10px; scrollbar-width:thin; }
.pod-cat-tabs a { flex:0 0 auto; border:1px solid var(--pod-ln); background:#fff; color:#334155; border-radius:99px; padding:7px 13px; font-size:13px; font-weight:800; text-decoration:none; }
.pod-cat-tabs a.on { background:var(--pod-soft); border-color:var(--pod-p); color:var(--pod-p); }
.pod-cat-filters { display:flex; gap:8px; flex-wrap:wrap; margin:4px 0 12px; }
.pod-cat-filters input, .pod-cat-filters select { border:1.5px solid #cbd5e1; border-radius:11px; padding:9px 11px; font:inherit; font-size:14px; background:#fff; }
/* one row on desktop (site style.css made every input/select full width - 14 Nov) */
.pod-cat-filters input { flex:1 1 220px; width:auto; min-width:0; margin:0; }
.pod-cat-filters select { flex:0 1 auto; width:auto; max-width:100%; margin:0; }
.pod-cat-filters button { flex:none; }
.pod-cat-search { flex:1; min-width:170px; }
.pod-card-meta { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-top:5px; color:var(--pod-mu); font-size:12.5px; }
.pod-colour-dots { display:inline-flex; align-items:center; gap:3px; }
.pod-colour-dots i { width:11px; height:11px; border-radius:99px; box-shadow:0 0 0 1px rgba(15,23,42,.15); display:inline-block; }
.pod-colour-dots em { font-style:normal; font-size:11px; }
.pod-card-ship { color:var(--pod-ok); font-size:12px; font-weight:700; margin-top:3px; }
.pod-card-placeholder { width:100%; aspect-ratio:1/1; background:linear-gradient(135deg,#f1f5f9,#e2e8f0); display:flex; align-items:center; justify-content:center; color:#94a3b8; font-size:12px; font-weight:800; text-transform:uppercase; letter-spacing:.06em; }
.pod-pager { display:flex; align-items:center; gap:6px; flex-wrap:wrap; justify-content:center; margin-top:18px; }
.pod-page { display:inline-flex; align-items:center; justify-content:center; min-width:34px; height:34px; border-radius:9px; border:1px solid var(--pod-ln); color:#334155; text-decoration:none; font-weight:800; font-size:13px; }
.pod-page.on { background:var(--pod-p); border-color:var(--pod-p); color:#fff; }

/* designer */
.pod-designer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; align-items: start; }
@media (min-width: 1024px) { .pod-designer { grid-template-columns: 240px minmax(0, 1fr) 300px; } .pod-mobile-tabs, .pod-mobile-toolbar { display: none !important; } }
.pod-panel { border: 1px solid var(--pod-ln); border-radius: 18px; padding: 14px; background: #fff; }
.pod-panel h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .07em; color: var(--pod-mu); margin: 0 0 10px; }
.pod-field { margin-bottom: 12px; }
.pod-field label { display: block; font-size: 12.5px; font-weight: 800; margin-bottom: 5px; color: #334155; }
.pod-field select, .pod-field input[type=text], .pod-field input[type=number], .pod-field input[type=color] {
  width: 100%; border: 1.5px solid #cbd5e1; border-radius: 10px; padding: 9px 10px; font: inherit; font-size: 14px; background: #fff; color: var(--pod-ink);
}
.pod-field input[type=color] { padding: 3px; height: 40px; }
.pod-swatches { display: flex; flex-wrap: wrap; gap: 7px; }
.pod-swatch { width: 28px; height: 28px; border-radius: 99px; border: 2px solid #fff; box-shadow: 0 0 0 1px #cbd5e1; cursor: pointer; padding: 0; }
.pod-swatch.on { box-shadow: 0 0 0 2px var(--pod-p); }
.pod-stage { position: relative; border-radius: 18px; overflow: hidden; background: #f1f5f9; border: 1px solid var(--pod-ln); }
.pod-stage > img { width: 100%; height: auto; display: block; }
.pod-design-col { min-width: 0; }
.pod-canvas-holder { position: absolute; transform-origin: top left; overflow: hidden; z-index: 2; }
.pod-canvas-holder .canvas-container { width: 100% !important; height: 100% !important; }
.pod-canvas-holder canvas { display: block; width: 100% !important; height: 100% !important; touch-action: none; }
.pod-stage .pod-badge { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.94); border-radius: 99px; padding: 5px 11px; font-size: 12px; font-weight: 800; box-shadow: 0 4px 14px rgba(15,23,42,.12); }
.pod-stage .pod-badge.low { color: var(--pod-warn); }
.pod-stage .pod-badge.ok { color: var(--pod-ok); }
.pod-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.pod-tool { border: 1px solid var(--pod-ln); background: #fff; border-radius: 10px; padding: 9px 4px; font: inherit; font-size: 12px; font-weight: 700; color: #334155; cursor: pointer; }
.pod-tool:hover { border-color: var(--pod-p); color: var(--pod-p); }
.pod-tool.wide { grid-column: span 2; }
.pod-layers { list-style: none; margin: 0; padding: 0; max-height: 190px; overflow: auto; }
.pod-layers li { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 9px; font-size: 13px; cursor: pointer; }
.pod-layers li:hover, .pod-layers li.on { background: var(--pod-soft); }
.pod-layers li span { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pod-layers button { border: 0; background: none; cursor: pointer; color: var(--pod-mu); font-size: 14px; padding: 0 3px; }
.pod-mobile-tabs { display: flex; gap: 6px; margin-bottom: 10px; }
.pod-beforeafter { display: inline-flex; gap: 4px; margin-top: 10px; padding: 3px; border: 1px solid var(--pod-ln); border-radius: 10px; background: #f8fafc; }
.pod-beforeafter button { border: 0; background: transparent; border-radius: 7px; padding: 6px 12px; font: inherit; font-size: 12.5px; font-weight: 800; color: var(--pod-mu); cursor: pointer; }
.pod-beforeafter button.on { background: #fff; color: var(--pod-ink); box-shadow: 0 1px 4px rgba(15,23,42,.12); }
.pod-gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.pod-thumb { padding: 0; border: 2px solid transparent; border-radius: 9px; overflow: hidden; background: #f1f5f9; cursor: pointer; aspect-ratio: 1/1; }
.pod-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pod-thumb.on { border-color: var(--pod-p); }
.pod-photo-note { margin-top: 8px; }
.pod-sizechart { margin-top: 22px; border: 1px solid var(--pod-ln); border-radius: 14px; padding: 12px 14px; background: #fff; }
.pod-sizechart summary { font-weight: 800; cursor: pointer; }
.pod-sizechart-scroll { overflow: auto; margin-top: 10px; }
.pod-mobile-tabs button { flex: 1; border: 1px solid var(--pod-ln); background: #fff; border-radius: 10px; padding: 8px; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
.pod-mobile-tabs button.on { background: var(--pod-soft); border-color: var(--pod-p); color: var(--pod-p); }
@media (max-width: 1023px) {
  .pod-wrap { padding-left: 12px; padding-right: 12px; }
  .pod-bar { padding: 10px 0 4px; }
  .pod-bar a.pod-link { margin-left: 10px; font-size: 13px; }
  .pod-mobile-toolbar { display:flex; gap:6px; overflow-x:auto; position:sticky; top:0; z-index:35; background:rgba(255,255,255,.97); backdrop-filter:blur(8px); border-bottom:1px solid var(--pod-ln); padding:7px 0; margin:0 -12px 8px; padding-left:12px; padding-right:12px; scrollbar-width:none; }
  .pod-mobile-toolbar button { flex:0 0 auto; border:1px solid var(--pod-ln); background:#fff; border-radius:10px; padding:8px 11px; font:inherit; font-size:12.5px; font-weight:800; color:#334155; }
  .pod-mobile-toolbar button:active { background:var(--pod-soft); border-color:var(--pod-p); color:var(--pod-p); }
  .pod-mobile-tabs { position:sticky; top:47px; z-index:34; background:#fff; padding:5px 0; }
  .pod-designer { display:flex; flex-direction:column; gap:14px; }
  .pod-design-col { order:1; }
  .pod-panel.left { order:2; }
  .pod-panel.right { order:3; }
  .pod-panel.side { display:block; }
  .pod-stage { position:sticky; top:92px; z-index:12; box-shadow:0 10px 28px rgba(15,23,42,.12); }
  .pod-designer.mode-product .pod-design-col, .pod-designer.mode-tools .pod-design-col { display:block; }
  .pod-designer.mode-product .pod-panel.right, .pod-designer.mode-tools .pod-panel.left { display:block; }
  .pod-gallery { grid-template-columns:repeat(5,minmax(0,1fr)); }
  .pod-props { position:fixed; left:0; right:0; bottom:0; z-index:70; border-radius:20px 20px 0 0; border:1px solid var(--pod-ln); border-bottom:0; background:#fff; padding:14px 16px 22px; max-height:78vh; overflow:auto; transform:translateY(105%); transition:transform .22s ease; box-shadow:0 -18px 50px rgba(15,23,42,.22); }
  .pod-props.open { transform:translateY(0); }
  .pod-props-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
  .pod-props-close { display:block; border:0; background:#f1f5f9; border-radius:99px; width:32px; height:32px; font-size:20px; line-height:1; cursor:pointer; }
  .pod-size-prices { gap:6px; }
  .pod-size-price { grid-template-columns:1fr 92px; }
}
@media (min-width: 1024px) {
  .pod-props { border-top:1px solid var(--pod-ln); margin-top:14px; padding-top:12px; }
  .pod-props-head h3 { margin:0; }
  .pod-props-close { display:none; }
}
.pod-sell { border: 1px solid var(--pod-ln); border-radius: 18px; padding: 18px; margin-top: 16px; background: linear-gradient(135deg, #f5f3ff, #eff6ff); }
.pod-money { display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; font-size: 14px; margin: 10px 0 14px; }
.pod-money b { text-align: right; }
.pod-toast { position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%); background: #0f172a; color: #fff; padding: 11px 18px; border-radius: 12px; font-size: 14px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 60; max-width: 92vw; }
.pod-toast.show { opacity: 1; }
.pod-hidden { display: none !important; }
.pod-size-list { display: flex; flex-wrap: wrap; gap: 6px; }
.pod-size { border: 1px solid var(--pod-ln); background: #fff; border-radius: 8px; padding: 4px 9px; font-size: 12.5px; font-weight: 700; }

/* properties + sheets */
.pod-props-head h3 { font-size:13px; text-transform:uppercase; letter-spacing:.07em; color:var(--pod-mu); margin:0 0 8px; }
.pod-seg { display:flex; gap:5px; flex-wrap:wrap; }
.pod-seg button { flex:1; border:1px solid var(--pod-ln); background:#fff; border-radius:9px; padding:7px 6px; font:inherit; font-size:12.5px; font-weight:800; color:#334155; cursor:pointer; }
.pod-seg button.on { background:var(--pod-soft); border-color:var(--pod-p); color:var(--pod-p); }
.pod-seg.pod-props-actions button:last-child { color:#b91c1c; }
.pod-only-text, .pod-only-shape { display:none; }
.pod-props.is-text .pod-only-text { display:block; }
.pod-props.is-shape .pod-only-shape { display:block; }
.pod-check-grid { display:flex; flex-wrap:wrap; gap:7px; }
.pod-check { display:inline-flex; align-items:center; gap:6px; border:1px solid var(--pod-ln); border-radius:9px; padding:6px 9px; font-size:12.5px; font-weight:700; background:#fff; cursor:pointer; }
.pod-check input { margin:0; }
.pod-check-dot { width:14px; height:14px; border-radius:99px; box-shadow:0 0 0 1px rgba(15,23,42,.18); }
.pod-size-prices { display:grid; gap:7px; }
.pod-size-price { display:grid; grid-template-columns:1fr 100px; align-items:center; gap:8px; border:1px solid var(--pod-ln); border-radius:10px; padding:6px 8px; }
.pod-size-price-input { width:100%; border:1.5px solid #cbd5e1; border-radius:8px; padding:6px 8px; font:inherit; font-size:13px; }
.pod-size-earn { grid-column:1/-1; color:var(--pod-mu); font-size:11.5px; }
.pod-size-earn.low { color:var(--pod-warn); font-weight:800; }
.pod-mockup-check { padding:0; border:2px solid transparent; overflow:hidden; border-radius:9px; position:relative; }
.pod-mockup-check input { position:absolute; top:5px; left:5px; z-index:2; }
.pod-mockup-check img { width:54px; height:54px; object-fit:cover; display:block; }
.pod-ugc-check { margin:8px 0 12px; background:#f8fafc; padding:9px 11px; }
.pod-more-list { display:grid; grid-template-columns:repeat(auto-fill,minmax(140px,1fr)); gap:7px; margin:8px 0; }
.pod-more-item { display:flex; align-items:center; gap:7px; border:1px solid var(--pod-ln); border-radius:9px; padding:6px 8px; font-size:12.5px; font-weight:700; background:#fff; }
.pod-more-item img { width:30px; height:30px; object-fit:cover; border-radius:6px; }
.pod-sheet-backdrop { position:fixed; inset:0; z-index:80; background:rgba(15,23,42,.45); display:none; align-items:flex-end; justify-content:center; padding:0; }
.pod-sheet-backdrop.open { display:flex; }
.pod-sheet-card { background:#fff; width:100%; max-width:720px; max-height:88vh; overflow:auto; border-radius:20px 20px 0 0; padding:16px 18px 26px; }
.pod-sheet-head { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.pod-sheet-head h3 { margin:0; }
.pod-sheet-close { border:0; background:#f1f5f9; border-radius:99px; width:34px; height:34px; font-size:22px; line-height:1; cursor:pointer; }
.pod-art-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(64px,1fr)); gap:8px; margin:10px 0 18px; }
.pod-art-item { border:1px solid var(--pod-ln); border-radius:10px; background:#fff; padding:6px; cursor:pointer; aspect-ratio:1/1; display:flex; align-items:center; justify-content:center; }
.pod-art-item:hover { border-color:var(--pod-p); background:var(--pod-soft); }
.pod-art-item img { width:100%; height:100%; object-fit:contain; pointer-events:none; }
.pod-ai-art { border-top:1px solid var(--pod-ln); padding-top:14px; }
.pod-ai-row { display:flex; gap:7px; }
.pod-ai-row input { flex:1; border:1.5px solid #cbd5e1; border-radius:10px; padding:9px 10px; font:inherit; font-size:14px; }
@media (min-width: 720px) { .pod-sheet-backdrop { align-items:center; padding:20px; } .pod-sheet-card { border-radius:20px; } }

/* fabric shading over the design (designer.js buildShade/drawShade, 14 Nov) */
.pod-shade { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; mix-blend-mode:multiply; z-index:3; }
/* ink sits in the fabric: a touch less than solid (DTF prints a white underbase, so no multiply - white art stays white) */
.pod-canvas-holder .canvas-container { opacity:.95; }

/* Phones (14 Nov mobile audit): two cards per row in the catalogue, the seller's design list and the 4 stat boxes -
   one per row made 119 blanks a very long scroll and the 4 stats filled the whole first screen. */
@media (max-width: 600px) {
  .pod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pod-card { border-radius: 14px; }
  .pod-card .b { padding: 9px 10px 11px; }
  .pod-card .n { font-size: 13.5px; }
  .pod-card .p, .pod-card-meta { font-size: 12px; }
  .pod-card .b .pod-btn.sm { padding: 7px 10px; font-size: 12.5px; }
  .pod-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pod-step { padding: 12px 13px; border-radius: 14px; }
  .pod-step h3 { font-size: 22px !important; }
}

/* Phone spacing (owner 14 Nov: "mobile pages don't properly use the space, everything more spread out than it
   should be"). Desktop sizes were reused on a 390px screen: 30px+ headings, 34-40px section gaps, a square hero photo
   with a band of white under it, step titles wrapping to 3 lines. Same content, sized for the screen. */
@media (max-width: 600px) {
  .pod-wrap { padding: 0 14px 40px; }
  .pod-bar { padding: 12px 0 4px; }
  .pod-bar a.pod-link { margin-left: 12px; font-size: 13px; }
  .pod-pill { margin: 8px 0 6px; padding: 4px 10px; font-size: 11px; }
  .pod h1 { font-size: 26px !important; margin-bottom: 8px; line-height: 1.15; }
  .pod h2 { font-size: 21px; margin-bottom: 8px; }
  .pod .lead { font-size: 15px !important; line-height: 1.5; margin-bottom: 10px; }
  .pod p { margin-bottom: 8px; }
  .pod-hero { gap: 12px; padding: 0 0 8px; }
  .pod-hero img { max-height: 240px; width: auto; max-width: 100%; margin: 0 auto; object-fit: contain; border-radius: 16px; background: transparent; }
  .pod-steps { margin: 12px 0 4px; }
  .pod-step h3 { font-size: 15.5px !important; line-height: 1.25; margin-bottom: 4px; }
  .pod-step p { font-size: 13px; line-height: 1.45; margin: 0; }
  .pod-step b { font-size: 11px; margin-bottom: 4px; }
  .pod-in-admin .pod-step h3 { font-size: 22px !important; } /* the seller's stat numbers stay big */
  .pod section[style*="padding-top"], .pod-wrap > section[style*="padding-top"] { padding-top: 20px !important; }
  .pod-faq { margin-top: 16px; } .pod-faq details { padding: 11px 0; }
  .pod-cat-filters { gap: 6px; margin-bottom: 8px; }
  .pod-cat-filters select { flex: 1 1 calc(50% - 6px); padding: 8px 9px; font-size: 13px; }
  .pod-cat-filters input { flex-basis: 100%; padding: 9px 11px; }
  .pod-panel { padding: 14px; }
}

/* folded supplier details in the designer's Product panel (14 Nov) */
.pod-details-fold summary { cursor:pointer; font-weight:800; font-size:13.5px; padding:4px 0; }
.pod-details-fold[open] summary { margin-bottom:6px; }
.pod-details-fold ul { padding-left:18px; margin:0 0 6px; }
