/* =========================================================
   10.9.140 — responsive editorial composition
   Structural layout only; ordering and commerce logic stay intact.
   ========================================================= */
body{overflow-x:hidden}
.order-top,
main{width:min(100% - 48px,1440px);max-width:1440px}
.order-top{padding:13px 17px;margin-top:16px}
main{padding-left:0;padding-right:0}

.order-hero{
  min-height:184px;height:auto;margin:16px 0 26px;padding:28px 30px;
  justify-content:center
}
.order-hero h2{font-size:clamp(36px,3.2vw,50px);max-width:720px}
.order-hero p{font-size:14px}

.order-discovery{margin:0 0 32px}
.category-hub{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.category-card{
  min-height:136px;height:auto;padding:19px;border-radius:22px;
  grid-template-columns:48px minmax(0,1fr) auto;gap:13px
}
.category-card__icon{width:48px;height:48px}
.category-card strong{font-size:17px}
.category-card small{font-size:12px;max-width:30rem}

.featured-section{margin:0 0 34px}
.featured-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-flow:row;
  grid-auto-columns:auto;grid-auto-rows:auto;align-items:start;gap:14px;
  overflow:visible;padding:14px 0 0;scroll-snap-type:none
}
.featured-grid .product-card{
  height:auto;min-height:0;align-self:start;scroll-snap-align:none
}
.product-card{
  height:auto;min-height:0;display:flex;flex-direction:column;align-self:start;
  border-radius:20px
}
.product-image{
  width:100%;height:auto;aspect-ratio:16/10;flex:0 0 auto
}
.featured-grid .product-image{aspect-ratio:16/9}
.product-body{
  display:flex;flex:0 0 auto;padding:14px;gap:8px
}
.product-body p{
  min-height:0;margin:0;display:-webkit-box;-webkit-line-clamp:2;
  -webkit-box-orient:vertical;overflow:hidden
}
.product-title-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:start}
.product-title-row h3{font-size:16px}
.product-from{white-space:nowrap}
.product-card-action{margin-top:3px}
.product-cta{
  width:100%;min-height:42px;border:1px solid #3a403c;background:#1c211f;color:var(--ink);
  border-radius:12px;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;
  gap:10px;font-weight:850;text-align:left
}
.product-cta:hover{border-color:#a27d43;background:#222722}
.product-cta b{color:var(--accent-2);font-size:16px;font-weight:700}
.product-cta:disabled{opacity:.55;cursor:not-allowed}
.variant-buttons{margin-top:0}

.order-product-tools{margin-top:0;padding:14px 0 18px}
.menu-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;align-items:start}

.product-options-sheet{
  width:min(560px,100%);background:#151918;color:var(--ink);
  border:1px solid #373d39;box-shadow:0 -22px 60px rgba(0,0,0,.4)
}
.product-options-sheet .sheet-handle{background:#4a504c}
.product-options-head small{color:var(--accent)}
.product-options-head h2{color:var(--ink);margin-bottom:12px}
.product-options-head button{background:#232826;color:var(--ink)}
.product-options-image{
  width:100%;aspect-ratio:16/8;border-radius:18px;overflow:hidden;
  display:grid;place-items:center;background:linear-gradient(135deg,#1e2421,#2b2e28)
}
.product-options-image img{width:100%;height:100%;object-fit:cover;display:block}
.product-options-description{color:#acafa9;line-height:1.5;margin:14px 0 0}
.product-options-price{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin:16px 0 10px}
.product-options-price span{color:#a8aaa5;font-size:12px}
.product-options-price strong{color:var(--accent-2);font-size:22px}
.product-options-list{display:grid;gap:8px}
.product-option{
  width:100%;border:1px solid #3a403c;background:#1d2220;color:var(--ink);
  border-radius:14px;padding:13px 14px;display:flex;justify-content:space-between;
  align-items:center;gap:14px;text-align:left
}
.product-option:hover{border-color:#a27d43;background:#242925}
.product-option span{font-weight:750;overflow-wrap:anywhere}
.product-option strong{color:var(--accent-2);white-space:nowrap}

@media(min-width:1600px){
  .order-top,main{width:min(100% - 96px,1440px)}
  .order-hero{min-height:190px;padding:31px 34px}
  .category-card{min-height:142px;padding:21px}
  .featured-grid,.menu-grid{gap:18px}
}

@media(min-width:1025px) and (max-width:1439px){
  .order-top,main{width:min(100% - 40px,1240px)}
  .featured-grid{gap:12px}
}

@media(min-width:641px) and (max-width:1024px){
  .order-top,main{width:min(100% - 32px,960px)}
  .order-hero{min-height:170px;padding:24px}
  .category-hub{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .category-card{min-height:126px;padding:16px}
  .featured-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .featured-grid .product-image{aspect-ratio:16/8}
  .menu-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .order-product-tools{grid-template-columns:auto minmax(130px,.55fr) minmax(210px,1fr)}
}

@media(max-width:640px){
  .order-top,main{width:calc(100% - 20px)}
  .order-top{margin-top:10px;padding:9px 11px;border-radius:17px}
  .order-brand{gap:9px}
  .order-brand__logo{width:108px;height:auto;max-height:52px}
  .order-brand__account .member-link{max-width:80px;font-size:10px;line-height:1.15}
  .cart-button{padding:8px 9px;border-radius:13px}
  .cart-button span{font-size:11px}

  main{padding-bottom:92px}
  .order-hero{min-height:0;margin:10px 0 22px;padding:21px 18px;border-radius:19px}
  .order-hero h2{font-size:30px;margin:7px 0 9px}
  .order-hero p{font-size:12px;line-height:1.45;max-width:290px}

  .order-discovery{margin:0 0 26px}
  .discovery-head h2{font-size:25px}
  .discovery-head p{font-size:12px}
  .category-hub{grid-template-columns:1fr;gap:9px;margin-top:13px}
  .category-card{
    min-height:0;height:auto;padding:13px 12px;border-radius:16px;
    grid-template-columns:38px minmax(0,1fr) auto!important;gap:10px
  }
  .category-card__icon{width:38px;height:38px;border-radius:12px}
  .category-card strong{font-size:14px}
  .category-card small{font-size:10.5px;line-height:1.35;margin-top:4px}

  .featured-section{margin:0 0 28px}
  .featured-grid{
    grid-template-columns:1fr;grid-auto-flow:row;grid-auto-columns:auto;
    gap:11px;overflow:visible;padding-top:11px
  }
  .featured-grid .product-card{width:100%;height:auto;min-height:0}
  .featured-grid .product-image{height:auto;aspect-ratio:16/7}
  .featured-grid .product-body{padding:12px}

  .product-card{height:auto;min-height:0;border-radius:17px}
  .product-image{height:auto;aspect-ratio:16/8}
  .product-body{flex:0 0 auto;padding:12px;gap:7px}
  .product-body p{display:-webkit-box;font-size:11px;-webkit-line-clamp:2}
  .product-title-row{grid-template-columns:minmax(0,1fr) auto;gap:8px}
  .product-title-row h3{font-size:15px}
  .product-from{font-size:13px}
  .product-cta{min-height:40px;padding:9px 11px;font-size:12px}

  .order-product-tools{grid-template-columns:auto minmax(0,1fr);gap:9px;padding:11px 0 14px}
  .order-product-tools .search{grid-column:1/-1}
  .product-tools-copy strong{font-size:16px}
  .menu-grid{grid-template-columns:1fr;gap:12px;align-items:start}

  .product-options-sheet{padding-left:14px;padding-right:14px}
  .product-options-image{aspect-ratio:16/8}
}

@media(max-width:390px){
  .order-brand__logo{width:98px;height:auto;max-height:48px}
  .order-brand__account .member-link{max-width:68px}
  .cart-button span{display:none}
  .order-hero{padding:19px 16px}
  .order-hero h2{font-size:28px}
}
