/* ============================================================================
   ADMEbio — /Order page styles (ORDER-PAGE-ENHANCEMENT-01, owner-approved design 2026-10-26)

   Loaded only by pages/Order.php; every rule is nested under #sgo-order, which appears exactly
   once, so nothing reaches the catalogue, search, product, cart, ELK or other static pages.
   basic.css is not modified.

   No font-family: the page inherits the site stack, like /About and /Contact.

   NO @media RULE, for the same reason as page/About.css: the storefront has no viewport meta and
   .container is a fixed 1008px, so a device-width query would fire on a phone while the box
   around this content is still 1008px wide. The layout switch is a CONTAINER QUERY on #sgo-order
   instead, so it follows the width this page actually has, not the device's:
     - 760px and wider (today: always, at 1008px): three equal cards and two equal panels, each
       set in one row that never wraps -- so no stretched 2+1 card on tablets (ENHANCEMENT-02);
     - narrower: one clean column, and the checklist becomes a vertical icon list.
   Browsers without container-query support keep the desktop row, which is what they show today.
   No viewport meta, no global CSS, no negative margins.

   basic.css zeroes heading margins, so every heading here states its own.
   -moz-text-size-adjust:none stops Firefox Android text inflation on this page only
   (see page/About.css, MOBILE-FONT-03).
   ========================================================================== */

#sgo-order{container-type:inline-size;color:#333333;font-size:15px;line-height:1.6;-moz-text-size-adjust:none;padding:0 0 30px;}
#sgo-order h1,#sgo-order h2{color:#18334A;}
#sgo-order p{margin:0 0 10px;font-size:15px;line-height:1.55;}
#sgo-order a{color:#0071bb;}
#sgo-order img{max-width:100%;}

/* ---- hero: the supplied hero-lab.svg (artwork on its right third) behind the heading ---- */
/* The wash keeps the heading legible where the container is narrow enough for the artwork to sit
   behind the text; at 1008px it is clear of the art. */
#sgo-order .sgo-hero{background:linear-gradient(90deg,rgba(247,251,255,.96) 0,rgba(247,251,255,.9) 55%,rgba(247,251,255,0) 85%),
  #f7fbff url("../../images/page/order/hero-lab.svg") right center/auto 100% no-repeat;
  border-radius:4px;padding:34px 30px 32px;margin:15px 0 20px;}
#sgo-order .sgo-h1{font-size:clamp(26px,2.6vw,32px);line-height:1.2;font-weight:700;margin:0 0 10px;}
#sgo-order .sgo-lead{font-size:17px;line-height:1.5;max-width:470px;margin:0;}

/* ---- three ordering cards ---- */
#sgo-order .sgo-cards{display:flex;flex-wrap:wrap;gap:16px;margin:0 0 20px;}
#sgo-order .sgo-card{flex:1 1 0;min-width:0;display:flex;flex-direction:column;align-items:center;
  text-align:center;background:#FFFFFF;border:1px solid #DDDDDD;border-radius:6px;padding:22px 20px 20px;box-sizing:border-box;}
#sgo-order .sgo-card p{text-align:left;align-self:stretch;font-size:14.5px;}
#sgo-order .sgo-card .sgo-sub{text-align:center;}
#sgo-order .sgo-card .sgo-btn{margin-top:auto;}
#sgo-order .sgo-h2{font-size:20px;line-height:1.3;font-weight:700;margin:12px 0 4px;}
#sgo-order .sgo-sub{font-weight:700;color:#18334A;}

#sgo-order .sgo-badge{flex:0 0 auto;width:68px;height:68px;border-radius:50%;display:flex;align-items:center;justify-content:center;}
#sgo-order .sgo-badge img{width:38px;height:38px;}
#sgo-order .sgo-badge-gold{background:#FDEFC4;}
#sgo-order .sgo-badge-blue{background:#DCEFFA;}
#sgo-order .sgo-badge-green{background:#DDF3E4;}

#sgo-order .sgo-phone{display:inline-flex;align-items:center;gap:8px;margin-top:auto;font-size:22px;font-weight:700;
  color:#0071bb;text-decoration:none;min-height:44px;}
#sgo-order .sgo-phone img{width:24px;height:24px;}
#sgo-order .sgo-hours{text-align:center !important;font-size:13px;color:#555555;margin:4px 0 0;}

/* ---- buttons (touch-sized: at least 44px tall) ---- */
#sgo-order .sgo-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;
  padding:10px 22px;border-radius:4px;border:1px solid transparent;font-weight:700;font-size:15px;
  line-height:1.2;text-decoration:none;box-sizing:border-box;}
#sgo-order .sgo-card .sgo-btn{align-self:stretch;}
#sgo-order .sgo-btn-primary{background:#EEB800;border-color:#d9a800;color:#18334A;}
#sgo-order .sgo-btn-primary:hover,#sgo-order .sgo-btn-primary:focus{background:#d9a800;color:#18334A;text-decoration:none;}
#sgo-order .sgo-btn-secondary{background:#FFFFFF;border-color:#0071bb;color:#0071bb;}
#sgo-order .sgo-btn-secondary:hover,#sgo-order .sgo-btn-secondary:focus{background:#F2F8FC;text-decoration:none;}
#sgo-order a:focus-visible{outline:2px solid #0071bb;outline-offset:2px;}

/* ---- two information panels (shown only when the owner confirms their copy) ---- */
#sgo-order .sgo-panels{display:flex;flex-wrap:wrap;gap:16px;margin:0 0 20px;}
#sgo-order .sgo-panel{flex:1 1 0;min-width:0;display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start;
  border-radius:6px;padding:20px;box-sizing:border-box;}
#sgo-order .sgo-panel-blue{background:#F0F7FC;}
#sgo-order .sgo-panel-gold{background:#FFF8E6;}
#sgo-order .sgo-panel-body{flex:1 1 240px;min-width:0;}
#sgo-order .sgo-panel .sgo-h2{margin-top:6px;}
#sgo-order .sgo-panel p{font-size:14px;line-height:1.55;}

/* ---- information checklist ---- */
#sgo-order .sgo-checklist{background:#F5F8FA;border-radius:6px;padding:18px 20px;margin:0 0 20px;}
#sgo-order .sgo-checklist-head{display:flex;gap:16px;align-items:flex-start;margin:0 0 14px;}
#sgo-order .sgo-checklist-icon{flex:0 0 44px;width:44px;height:44px;}
#sgo-order .sgo-checklist .sgo-h2{color:#0e5f8f;margin-top:2px;}
#sgo-order .sgo-checklist-head p{margin:0;}
#sgo-order .sgo-items{list-style:none;margin:0;padding:12px 0;display:flex;flex-wrap:wrap;background:#FFFFFF;border-radius:4px;}
#sgo-order .sgo-items li{flex:1 1 110px;min-width:0;display:flex;flex-direction:column;align-items:center;gap:8px;
  text-align:center;font-size:14px;line-height:1.35;padding:8px 10px;border-left:1px solid #E3E8EC;box-sizing:border-box;}
#sgo-order .sgo-items li:first-child{border-left:0;}
#sgo-order .sgo-items img{width:34px;height:34px;}
#sgo-order .sgo-note{display:block;color:#555555;}

/* ---- need help ---- */
#sgo-order .sgo-help{display:flex;flex-wrap:wrap;gap:16px;align-items:center;background:#F5F8FA;border-radius:6px;padding:20px;}
#sgo-order .sgo-help-icon{flex:0 0 52px;width:52px;height:52px;}
#sgo-order .sgo-help-body{flex:1 1 300px;min-width:0;}
#sgo-order .sgo-help-body p{margin:0;font-size:14px;line-height:1.55;}
#sgo-order .sgo-help .sgo-h2{margin-top:0;}

/* ---- narrow page width: one column (container query, see the header) ---- */
@container (max-width: 759px){
  #sgo-order .sgo-cards,#sgo-order .sgo-panels{flex-direction:column;}
  #sgo-order .sgo-card,#sgo-order .sgo-panel{flex:1 1 auto;}
  #sgo-order .sgo-hero{padding:24px 20px;}
  #sgo-order .sgo-items{flex-direction:column;padding:4px 14px;}
  #sgo-order .sgo-items li{flex:1 1 auto;flex-direction:row;justify-content:flex-start;text-align:left;
    gap:12px;padding:10px 2px;border-left:0;border-top:1px solid #E3E8EC;}
  #sgo-order .sgo-items li:first-child{border-top:0;}
  #sgo-order .sgo-items img{width:26px;height:26px;flex:0 0 26px;}
  #sgo-order .sgo-note{display:inline;}
}
