/* Dedicated compact ordering interface. Marketing product cards use style.css. */
.order-products .catalog-tools{position:static;z-index:auto;padding:0 0 18px;border:0;background:transparent}
.order-category-toolbar{position:sticky;top:103px;z-index:45;margin:0 0 8px;padding:10px 0 8px;border-block:1px solid var(--line);background:rgba(255,253,248,.96);backdrop-filter:blur(12px)}
.order-category-toolbar .order-category-tabs{margin:0;padding-bottom:4px}
.order-category-toolbar .order-search-empty{margin:8px 0 0}
.order-category-heading{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.order-products .order-category-panel{padding-top:16px}
.order-products .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.order-product-card{display:grid!important;grid-template-columns:176px minmax(0,1fr);min-height:228px;border-radius:16px;transition:border-color .18s,box-shadow .18s,background-color .18s}
.order-product-card.is-selected{border-color:var(--green2);background:#f3f8f5;box-shadow:0 0 0 2px rgba(36,92,76,.18),0 12px 30px rgba(22,55,46,.1)}
.order-product-media{display:flex;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:7px;padding:10px;border-right:1px solid var(--line);background:#f4f0e8;color:var(--green2);text-align:center;text-decoration:none}
.order-product-media:focus-visible{position:relative;z-index:2;outline:3px solid #f5a66e;outline-offset:-4px}
.order-product-card .product-image{display:grid;width:100%;height:160px;min-height:0;aspect-ratio:auto;padding:0;overflow:visible;background:transparent;place-items:center}
.order-product-card .product-image picture{display:block;width:100%;height:100%}
.order-product-card .product-image img{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;mix-blend-mode:multiply}
.image-zoom{font-size:12px;font-weight:800;text-decoration:underline;text-underline-offset:3px}
.order-product-card .product-body{display:grid;min-width:0;grid-template-rows:auto auto auto;gap:9px;padding:15px 16px;background:transparent}
.order-product-copy{min-width:0}
.order-product-card .sku{display:block;margin:0 0 2px}
.order-product-card .product-body h3{margin:0;font-size:18px;line-height:1.22}
.order-product-card .product-body p{margin:4px 0 0;font-size:14px;line-height:1.35}
.order-product-card .order-product-use{display:block;margin-top:9px;padding-top:8px;border-top:1px solid var(--line);color:var(--ink);font-size:13px;line-height:1.35}
.order-product-purchase{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px;align-items:center}
.order-product-price{font-size:22px;line-height:1.15;white-space:nowrap}
.order-product-price small{font-size:12px;color:var(--muted)}
.added-status{grid-column:1;font-size:12px;color:var(--green2);font-weight:850}
.added-status[hidden]{display:none}
.order-product-card .qty{grid-column:2;grid-row:1/3;display:grid;width:auto;grid-template-columns:44px 48px 44px;gap:0;margin:0;align-items:center}
.order-product-card .qty-button{width:44px;height:44px;min-width:44px}
.order-product-card .qty input{width:48px;height:44px;min-height:44px}
.order-product-details{display:none;align-self:end;padding:0;border:0}
.order-product-details summary{min-height:44px;align-items:center;justify-content:flex-start;gap:7px;padding:7px 0;font-size:13px;color:var(--green2)}
.order-product-details summary::after{font-size:17px}
.order-product-details p{margin:0 0 4px!important;padding:8px 10px;border-radius:9px;background:var(--cream);font-size:13px!important}
.product-image-dialog{width:min(760px,calc(100% - 28px));max-height:calc(100dvh - 28px);padding:18px;border:0;border-radius:20px;background:var(--paper);color:var(--ink);box-shadow:0 24px 80px rgba(5,22,17,.38)}
.product-image-dialog::backdrop{background:rgba(8,22,18,.72)}
.product-image-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:12px}
.product-image-dialog-head h2{margin:0;font-size:24px}
.product-image-dialog-head button{display:grid;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:var(--cream);color:var(--ink);font-size:26px;cursor:pointer;place-items:center}
.product-image-dialog>img{display:block;width:100%;height:auto;max-height:68dvh;object-fit:contain;background:#f4f0e8;border-radius:12px}
.product-image-dialog>p{margin:12px 0 0;text-align:center;font-weight:800}
@media(max-width:899px){
  .order-category-toolbar{top:100px}
  .order-products .product-grid{grid-template-columns:minmax(0,1fr)}
  .order-product-card{grid-template-columns:156px minmax(0,1fr);min-height:190px}
  .order-product-card .product-image{height:136px}
  .order-product-card .order-product-use{display:none}
  .order-product-details{display:block}
}
@media(max-width:599px){
  .order-category-toolbar{top:99px;margin-inline:-14px;padding:8px 14px 6px}
  .order-category-toolbar .order-category-tabs{margin-right:-14px;padding-right:14px}
  .order-products .order-category-panel{padding-top:12px}
  .order-products .product-grid{gap:12px}
  .order-product-card{grid-template-columns:104px minmax(0,1fr);min-height:188px;border-radius:14px}
  .order-product-media{justify-content:flex-start;padding:9px 7px;border-right:1px solid var(--line)}
  .order-product-card .product-image{height:100px}
  .image-zoom{font-size:11px}
  .order-product-card .product-body{gap:6px;padding:11px 12px}
  .order-product-card .product-body h3{font-size:16px}
  .order-product-card .product-body p{font-size:13px}
  .order-product-price{font-size:19px}
  .order-product-price small{display:block;margin-top:2px;font-size:11px}
  .order-product-purchase{gap:2px 7px}
  .order-product-card .qty{grid-template-columns:44px 44px 44px}
  .order-product-card .qty input{width:44px}
  .order-product-details summary{font-size:12px}
  .order-product-details p{font-size:12px!important}
  .product-image-dialog{padding:14px}
  .product-image-dialog-head h2{font-size:20px}
}
@media(max-width:370px){
  .order-product-card{grid-template-columns:96px minmax(0,1fr)}
  .order-product-card .product-image{height:92px}
  .order-product-card .product-body{padding-inline:10px}
}
@media(prefers-reduced-motion:reduce){.order-product-card{transition:none}}
