/* bulk.css - the Bulk Order page, on top of designer.css. */
.dz-bulk { max-width: 1240px; margin: 0 auto; padding: 16px; }
.dz-h1 { font-size: 22px; margin: 0 0 14px; }
.dz-card { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 14px; border: 1px solid var(--dz-line);
           border-radius: 8px; padding: 12px; margin-bottom: 12px; background: #fff; }
@media (max-width: 760px) { .dz-card { grid-template-columns: 1fr; } }
.dz-card-img { width: 100%; height: auto; border-radius: 6px; background: var(--dz-soft); }
.dz-card-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.dz-card-head { display: flex; justify-content: space-between; align-items: center; }
.dz-x { padding: 2px 10px; font-size: 18px; line-height: 1; }
.dz-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.dz-size { display: flex; flex-direction: column; align-items: center; font-size: 12px; color: var(--dz-muted); width: 58px; }
.dz-size input { text-align: center; padding: 6px 4px; }
.dz-card-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline; font-size: 13px; color: var(--dz-muted); }
.dz-card-foot b { color: var(--dz-text); }
.dz-warn { color: #b02a37; font-weight: 600; }
.dz-bulk-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: end; margin-top: 16px;
                border-top: 1px solid var(--dz-line); padding-top: 16px; }
@media (max-width: 760px) { .dz-bulk-foot { grid-template-columns: 1fr; } }
.dz-bulk-total { font-size: 16px; text-align: right; }
.dz-big-btn { grid-column: 1 / -1; padding: 12px; font-size: 16px; }

/* the card's links and windows (picture, design, garment, colour, size chart, printing prices) */
.dz-card-imgbtn { border: 0; padding: 0; background: none; cursor: zoom-in; display: block; width: 100%; }
.dz-link { border: 0; background: none; padding: 0; font: inherit; color: var(--dz-blue); cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.dz-more { color: inherit; text-decoration: none; text-align: left; }
.dz-more span { color: var(--dz-blue); }
.dz-more:hover { color: var(--dz-blue); }
.dz-sizechart { align-self: flex-end; margin: 0 0 8px 6px; font-size: 13px; }
dialog.dz-bdlg { border: 0; border-radius: 12px; padding: 18px; width: min(860px, 96vw); max-height: 90vh; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
dialog.dz-bdlg::backdrop { background: rgba(0,0,0,.45); }
.dz-bdlg-x { float: right; border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: #666; }
.dz-bdlg h4 { font-size: 15px; margin: 14px 0 6px; }
.dz-bdlg p { margin: 0 0 8px; }
.dz-bbig { width: 100%; max-height: 62vh; object-fit: contain; background: var(--dz-soft); border-radius: 8px; margin-bottom: 10px; }
.dz-bcols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 640px) { .dz-bcols { grid-template-columns: 1fr; } }
.dz-bmid { width: 100%; max-height: 320px; object-fit: contain; background: var(--dz-soft); border-radius: 8px; }
.dz-bswatch { width: 100%; aspect-ratio: 2 / 1; border-radius: 8px; border: 1px solid var(--dz-line); }
.dz-bsw { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.dz-bsw button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--dz-line); cursor: pointer; padding: 0; }
.dz-bsw button.on { outline: 3px solid var(--dz-blue); outline-offset: 2px; }
.dz-blist { margin: 0 0 10px; padding-left: 18px; }
.dz-btable { border-collapse: collapse; width: 100%; font-size: 13px; margin-bottom: 8px; }
.dz-btable th, .dz-btable td { border: 1px solid var(--dz-line); padding: 4px 8px; text-align: center; }
.dz-btable thead th { background: var(--dz-soft); }
.dz-fixed { color: #0f5132; background: #d1e7dd; border-radius: 6px; padding: 1px 8px; }
/* delivery and who orders (order-steps.php): boxes of their own, not order lines */
.dz-bulk-step { border: 1px solid var(--dz-line, #e5e7eb); border-radius: 10px; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #fff; margin: 14px 0; }
.dz-bulk-step[hidden] { display: none; }

/* a link that looks like a button (My designs, Open the page ...): the button's own text colour, not a link's blue or visited purple */
a.dz-btn { text-decoration: none; display: inline-block; }
a.dz-btn:not(.dz-primary), a.dz-btn:not(.dz-primary):visited { color: var(--dz-text, #212529); }
