/* Preorder checkout drawer in the approved regular-cart design language (owner request 2026-11-16 00:13).
   Scoped to the preorder drawer only via :has(.gd-po-preorder-actions) so the pickup checkout is untouched.
   No logic, content or payment-flow changes. Regular-cart shipping section intentionally NOT changed here. */
.gd-po:has(.gd-po-preorder-actions){background:#f4eee0;border-right:0}
body:has(.gd-po:has(.gd-po-preorder-actions))::before{background:rgba(20,16,10,.45)}
.gd-po:has(.gd-po-preorder-actions) h1{font-family:'Assistant',Arial,sans-serif;font-weight:700;font-size:19px;color:#2c2923;text-align:center;margin:4px 0 16px}
.gd-po:has(.gd-po-preorder-actions) h1::after{display:none}
.gd-po:has(.gd-po-preorder-actions)>.card{background:#fff;border:1px solid #3a352c;border-radius:14px;box-shadow:none;padding:14px 16px 12px;margin:0 0 22px}
.gd-po:has(.gd-po-preorder-actions)>.card .thumb{border:0;background:#f7f4ec;border-radius:12px}
.gd-po:has(.gd-po-preorder-actions)>.card strong{font-family:'Assistant',Arial,sans-serif;font-size:16px;font-weight:600;color:#1d1b18}
.gd-po:has(.gd-po-preorder-actions) .field>span{color:#6b655a}
.gd-po:has(.gd-po-preorder-actions) .field input,.gd-po:has(.gd-po-preorder-actions) .field select{background:#fff;border:1px solid #3a352c;border-radius:10px}
.gd-po:has(.gd-po-preorder-actions) .card.summary{background:#fff;border:1px solid #3a352c;border-radius:14px;padding:12px 20px;margin:22px 0}
.gd-po:has(.gd-po-preorder-actions) .card.summary h3{font-family:'Assistant',Arial,sans-serif;font-weight:700;font-size:19px;color:#2c2923;text-align:center;margin:0 0 8px;padding-bottom:0;border-bottom:0}
.gd-po:has(.gd-po-preorder-actions) .card.summary .line{color:#1d1b18}
.gd-po:has(.gd-po-preorder-actions) .card.summary .line.strong{color:#2c2923;border-top:1px dashed #d8d0bc;margin-top:8px;padding-top:12px}
.gd-po:has(.gd-po-preorder-actions) .btn{border-radius:0;min-height:46px}
.gd-po:has(.gd-po-preorder-actions) .btn-gold{background:#1d1b18}

/* Checkout item cards reuse the regular cart drawer row layout (owner correction 2026-11-16 01:09) */
.gd-po .gh-drawer-row{border-bottom:0;padding-bottom:0;margin-bottom:0}
/* Regular-cart price toggle look inside preorder checkout item cards */
.gd-po .gh-drawer-price.gd9-price-toggle{display:flex;flex-direction:column;align-items:flex-start;background:none;border:0;padding:0;margin:0;font:inherit;color:inherit;cursor:pointer;text-align:start;flex:0 0 100%}
.gd-po .gd9-price-total{font-size:18px;font-weight:700}
.gd-po .gd9-price-break{display:none;font-size:13px;font-weight:400;color:#6b655a;margin-top:2px}
.gd-po .gd9-price-toggle.gd-open .gd9-price-break{display:block}
.gh-listpage .gh-list-empty{background:transparent}
/* Regular-cart row controls inside preorder checkout item cards (mirror of .gd9-cart rules) */
.gd-po .gh-drawer-img{border:0;background:#f7f4ec;border-radius:12px;width:88px;height:140px;object-fit:cover} /* image size matches regular cart reference 88x140 (user correction 2026-11-16 08:48) */
.gd-po .gh-drawer-info{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:0;padding:4px 0 0}
.gd-po .gh-drawer-name{padding-left:0}
.gd-po .gh-drawer-name,.gd-po .gh-drawer-br{flex:0 0 100%}
.gd-po .gh-drawer-row .gh-drawer-del{position:static;width:32px;height:32px;color:#3a352c;display:inline-flex;align-items:center;justify-content:center;margin-inline-start:auto;background:none;border:0;padding:0;cursor:pointer}
.gd-po .gh-drawer-row .gh-drawer-del:hover{color:#000}
.gd-po .gh-drawer-row .gh-drawer-del svg{stroke:currentColor}
.gd-po .gh-qty{margin:8px 0 4px;gap:0;display:inline-flex;align-items:stretch;border:1px solid #3a352c;border-radius:999px;padding:2px;height:34px;min-width:116px;box-sizing:border-box}
.gd-po .gh-qty button{flex:1;min-height:0;min-width:0;height:100%;font-size:18px;color:#171512;display:flex;align-items:center;justify-content:center;background:none;border:0;cursor:pointer}
.gd-po .gh-qty span{flex:1.3;display:flex;align-items:center;justify-content:center;background:#f1ebdd;border-radius:999px;height:100%;min-width:46px;margin:0 1px;font-size:15px;font-weight:600}
/* Make preorder checkout item rows match the regular cart card exactly */
.gd-po .card:has(>.gh-drawer-row){background:none;border:0;padding:0;margin:0 0 22px;border-radius:0;box-shadow:none}
.gd-po .gh-drawer-row{display:grid;grid-template-columns:88px 1fr;gap:10px;background:#fff;border:1px solid #3a352c;border-radius:14px;padding:14px 16px 12px;box-shadow:none;margin-bottom:0}
/* Window width matches the regular cart drawer exactly (user correction 2026-11-16 08:16) */
.gd-po{width:min(430px,80vw)!important;max-width:min(430px,80vw)!important}
