  :root{
  /* Main Highlight Theme Color -> Orange */
  --orange:#FF6B00;
  --orange-hover:#E05E00;
  --orange-soft:#FFF4ED;
  --orange-line:#FFD4B8;
  
  /* Secondary Accent Color */
  --gold:#B8862E;
  --gold-soft:#F7EEDD;
  
  /* Background & Surface Colors */
  --bg:#F9F8F6;
  --surface:#FFFFFF;
  --text:#232131;
  --muted:#726F82;
  --border:#E4E1EC;
  
  /* Status Colors */
  --danger:#B23A3A;
  --danger-soft:#FBEAEA;
  --new:#2F7A52;
  --new-soft:#E7F3EC;
  --radius:14px;
}
*{box-sizing:border-box;}
body{
  margin:0; background:var(--bg); color:var(--text);
  font-family:'Poppins','Noto Sans Lao',sans-serif;
}
.lao{font-family:'Noto Sans Lao','Poppins',sans-serif;}
.wrap{max-width:100%; margin:0 auto; padding:28px 20px;}
.layout{display:grid; grid-template-columns:260px 1fr; gap:22px;}

/* Category rail */
.rail{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); padding:18px 0; height:fit-content;}
.rail h4{font-size:13px; font-weight:600; letter-spacing:.2px; color:var(--muted); margin:0 18px 10px; text-transform:none;}
.rail a{
  display:flex; align-items:center; gap:10px; padding:10px 18px;
  text-decoration:none; color:var(--text); font-size:14.5px; font-weight:400;
  border-left:3px solid transparent;
}
.rail a i{font-size:16px; color:var(--muted);}
.rail a.active{background:var(--orange-soft); border-left-color:var(--orange); font-weight:500; color:var(--orange);}
.rail a.active i{color:var(--orange);}
.rail a:hover:not(.active){background:#FAFAF8;}
.rail .count{margin-left:auto; font-size:12px; color:var(--muted);}

/* Hero Slider */
.hero-container{position:relative; border-radius:var(--radius); overflow:hidden; height:400px;}
.hero{position:relative; width:100%; height:100%; background:linear-gradient(120deg,#FF6B00 0%,#FF8E3C 55%,#B8862E 130%); display:flex; align-items:flex-end; padding:26px;}
.hero-img{position:absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; z-index:1;}
.hero-overlay{position:absolute; top:0; left:0; width:100%; height:100%; background:linear-gradient(to top, rgba(35,33,49,0.85) 0%, rgba(35,33,49,0.2) 60%, transparent 100%); z-index:2;}
.hero-content{position:relative; z-index:3;}
.hero h2{color:#fff; font-size:24px; font-weight:600; margin:0 0 6px;}
.hero p{color:#FFF0E6; font-size:14px; margin:0 0 14px; max-width:420px;}
.hero button, .hero a.hero-btn{display:inline-block; text-decoration:none; background:#fff; color:var(--orange); border:none; border-radius:999px; padding:9px 18px; font-size:13.5px; font-weight:600; cursor:pointer;}

/* Toolbar */
.toolbar{display:flex; align-items:center; gap:10px; margin:18px 0;}
.search{flex:1; display:flex; align-items:center; gap:8px; background:var(--surface); border:1px solid var(--border); border-radius:999px; padding:9px 16px;}
.search i{color:var(--muted); font-size:15px;}
.search input{border:none; outline:none; font-size:14px; flex:1; font-family:inherit; background:transparent;}
.sort{display:flex; gap:6px; background:var(--surface); border:1px solid var(--border); border-radius:999px; padding:4px;}
.sort button{border:none; background:transparent; padding:7px 13px; border-radius:999px; font-size:13px; color:var(--muted); cursor:pointer; font-family:inherit;}
.sort button.active{background:var(--orange); color:#fff;}

.grid{display:grid; grid-template-columns:repeat(5, 1fr); gap:12px; margin-top:4px;}
.card{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); overflow:hidden; transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease; display:flex; flex-direction:column;}
.card:hover{border-color:var(--orange-line); box-shadow:0 8px 20px -10px rgba(255,107,0,.25); transform:translateY(-3px);}

/* Imgbox */
.imgbox{position:relative; aspect-ratio:1/1; background:linear-gradient(135deg,#FFF4ED,#F7EEDD); display:flex; align-items:center; justify-content:center; overflow:hidden;}
.imgbox img{width:100%; height:100%; object-fit:cover; padding:0;}
.product-image-link{display:flex; width:100%; height:100%; align-items:center; justify-content:center; color:inherit; text-decoration:none;}
.imgbox i{font-size:30px; color:#E0D4C8;}

.badge{position:absolute; top:8px; left:8px; font-size:10px; font-weight:500; padding:3px 8px; border-radius:999px; z-index:2;}
.badge.new{background:var(--new-soft); color:var(--new);}
.badge.out{background:var(--danger-soft); color:var(--danger);}

.cardbody{padding:10px; display:flex; flex-direction:column; flex:1;}
.cat{font-size:10.5px; color:var(--muted); margin:0 0 2px;}
.title{font-size:13px; font-weight:500; margin:0 0 8px; line-height:1.3; min-height:34px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;}
.price-box{margin-bottom:8px;}
.price{font-size:15px; font-weight:600; color:var(--orange);}

/* Quantity Selector Control */
.qty-control{
  display:flex; align-items:center; justify-content:space-between;
  border:1px solid var(--border); border-radius:6px; background:var(--bg);
  padding:2px; margin-bottom:8px;
}
.qty-btn{
  width:26px; height:26px; border:none; background:var(--surface);
  color:var(--text); border-radius:4px; font-size:14px; font-weight:600;
  display:flex; align-items:center; justify-content:center; cursor:pointer;
  transition:background .2s, color .2s;
}
.qty-btn:hover{background:var(--orange); color:#fff;}
.qty-input{
  width:38px; border:none; background:transparent; text-align:center;
  font-size:12px; font-weight:600; color:var(--text); outline:none;
}
/* Disable chrome spinner */
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {-webkit-appearance:none; margin:0;}
.qty-input[type=number] {-moz-appearance:textfield;}

.btn-add-cart{
  width:100%; height:34px; border-radius:8px; border:none; 
  background:var(--orange-soft); color:var(--orange); font-size:12px; 
  font-weight:600; display:flex; align-items:center; justify-content:center; 
  gap:6px; cursor:pointer; transition:background .2s, color .2s; margin-top:auto;
}
.btn-add-cart:hover{background:var(--orange); color:#fff;}
.sale-cart-bar{display:flex; align-items:center; justify-content:space-between; gap:14px; margin:18px 0 12px; padding:10px 12px 10px 16px; border:1px solid var(--orange-line); border-radius:10px; background:var(--orange-soft); color:var(--text); font-size:13px;}
.sale-cart-bar > span{display:flex; align-items:center; gap:8px;}
.sale-cart-bar > span i{color:var(--orange); font-size:16px;}
.go-cart-btn{display:inline-flex; align-items:center; gap:7px; padding:8px 13px; border-radius:7px; background:var(--orange); color:#fff; font-size:12px; font-weight:600; text-decoration:none;}
.go-cart-btn:hover{background:var(--orange-hover); color:#fff;}

/* Pagination */
.pager{display:flex; align-items:center; justify-content:space-between; margin-top:22px; font-size:13px; color:var(--muted);}
.pagenums{display:flex; gap:6px;}
.pagenums a{width:30px; height:30px; border-radius:50%; display:flex; align-items:center; justify-content:center; text-decoration:none; color:var(--text); font-size:13px; border:1px solid transparent;}
.pagenums a.active{background:var(--orange); color:#fff;}
.pagenums a:not(.active):hover{border-color:var(--border);}

/* Site footer */
.site-footer{margin-top:46px; border-top:1px solid var(--orange-line); background:#fffaf6; color:var(--text);}
.footer-inner{display:grid; grid-template-columns:2fr 1fr 1fr 1.2fr; gap:32px; max-width:1200px; margin:0 auto; padding:34px 20px 28px;}
.footer-brand{max-width:280px;}
.footer-logo{display:inline-flex; align-items:center;}
.footer-logo img{width:auto; height:42px; border-radius:8px;}
.footer-brand p,.footer-note p{margin:13px 0 0; color:var(--muted); font-size:12px; line-height:1.6;}
.footer-column{display:flex; flex-direction:column; gap:8px;}
.footer-column h3{margin:0 0 6px; color:var(--text); font-size:13px; font-weight:600;}
.footer-column a{color:var(--muted); font-size:12px; text-decoration:none;}
.footer-column a:hover{color:var(--orange);}
.footer-note{display:flex; align-items:flex-start; gap:10px; padding:13px; border:1px solid var(--orange-line); border-radius:10px; background:var(--orange-soft);}
.footer-note p{margin:1px 0 0; color:var(--text);}
.footer-icon{display:inline-flex; align-items:center; justify-content:center; flex:0 0 30px; width:30px; height:30px; border-radius:8px; background:#fff; color:var(--orange);}
.footer-bottom{display:flex; justify-content:space-between; gap:16px; max-width:1200px; margin:0 auto; padding:13px 20px 18px; border-top:1px solid var(--border); color:var(--muted); font-size:11px;}
@media (max-width:700px){
  .footer-inner{grid-template-columns:1fr 1fr; gap:24px 18px; padding:28px 14px 22px;}
  .footer-brand,.footer-note{grid-column:1 / -1; max-width:none;}
  .footer-bottom{align-items:flex-start; flex-direction:column; padding:13px 14px 18px;}
}

/* Commerce pages */
.commerce-page{max-width:1200px; padding-top:30px; padding-bottom:44px;}
.page-heading{display:flex; align-items:flex-end; justify-content:space-between; gap:20px; margin-bottom:22px;}
.page-heading h1,.success-panel h1{margin:0; color:var(--text); font-size:28px; font-weight:600;}
.eyebrow{margin:0 0 5px; color:var(--orange); font-size:11px; font-weight:600; letter-spacing:.08em; text-transform:uppercase;}
.text-link{color:var(--muted); font-size:13px; text-decoration:none;}
.text-link:hover{color:var(--orange);}
.commerce-grid{display:grid; gap:22px;}
.cart-grid{grid-template-columns:minmax(0,1fr) 350px; align-items:start;}
.cart-items{display:grid; gap:12px;}
.cart-item,.form-panel,.summary-panel,.success-panel{background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);}
.cart-item{display:grid; grid-template-columns:minmax(0,1fr) auto auto; align-items:center; gap:18px; padding:18px 20px;}
.cart-item-info h3{margin:0 0 5px; font-size:15px; font-weight:600;}
.item-category{margin:0 0 4px; color:var(--muted); font-size:10px; letter-spacing:.06em; text-transform:uppercase;}
.item-variant,.item-price{margin:0; color:var(--muted); font-size:12px;}
.item-price{margin-top:8px; color:var(--text);}
.cart-item-actions{display:flex; align-items:center; gap:16px;}
.quantity-control{display:flex; align-items:center; border:1px solid var(--border); border-radius:7px; overflow:hidden;}
.quantity-control button{width:30px; height:30px; border:0; background:var(--orange-soft); color:var(--orange); font-size:16px; cursor:pointer;}
.quantity-control button:hover{background:var(--orange); color:#fff;}
.quantity-control span{min-width:32px; text-align:center; font-size:13px; font-weight:600;}
.remove-link{padding:0; border:0; background:transparent; color:var(--muted); font:inherit; font-size:12px; cursor:pointer; white-space:nowrap;}
.remove-link:hover{color:var(--danger);}
.line-total{min-width:92px; color:var(--orange); font-size:14px; text-align:right;}
.summary-panel{padding:22px; box-shadow:0 8px 20px -18px rgba(35,33,49,.5);}
.summary-heading,.panel-title{display:flex; align-items:center; gap:10px; margin-bottom:20px;}
.summary-heading h2,.panel-title h2{margin:0; font-size:17px; font-weight:600;}
.panel-title p{margin:2px 0 0; color:var(--muted); font-size:12px;}
.section-icon{display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; border-radius:9px; background:var(--orange-soft); color:var(--orange);}
.summary-row,.summary-total{display:flex; justify-content:space-between; gap:16px; color:var(--muted); font-size:13px;}
.summary-row{margin-bottom:11px;}
.summary-row strong{color:var(--text); font-weight:500;}
.summary-total{margin:17px 0 20px; padding-top:16px; border-top:1px solid var(--border); color:var(--text); font-size:15px;}
.summary-total strong{color:var(--orange); font-size:18px;}
.coupon-form{padding-top:17px; border-top:1px solid var(--border);}
.coupon-form label,.form-panel label{display:block; margin-bottom:7px; color:var(--text); font-size:12px; font-weight:500;}
.coupon-input{display:flex; gap:7px;}
.coupon-input input,.form-panel input,.form-panel textarea,.form-panel select{width:100%; min-height:38px; padding:9px 11px; border:1px solid var(--border); border-radius:7px; outline:none; background:#fff; color:var(--text); font:inherit; font-size:13px;}
.coupon-input input:focus,.form-panel input:focus,.form-panel textarea:focus,.form-panel select:focus{border-color:var(--orange); box-shadow:0 0 0 3px var(--orange-soft);}
.form-panel textarea{min-height:86px; resize:vertical;}
.payment-method-grid{display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:8px;}
.payment-method-option{display:flex; align-items:center; gap:7px; min-height:58px; margin:0 !important; padding:8px; border:1px solid var(--border); border-radius:8px; background:var(--surface); color:var(--text) !important; font-size:11px !important; cursor:pointer; transition:border-color .2s ease, background .2s ease, color .2s ease;}
.payment-method-option:hover{border-color:var(--orange-line); background:var(--orange-soft);}
.payment-method-option:has(input:checked){border-color:var(--orange); background:var(--orange-soft); color:var(--orange) !important;}
.payment-method-option input{position:absolute; opacity:0; pointer-events:none; width:1px; min-height:0;}
.payment-method-icon{display:inline-flex; align-items:center; justify-content:center; flex:0 0 28px; width:28px; height:28px; border-radius:7px; background:var(--bg); color:var(--muted); font-size:15px;}
.payment-method-option:has(input:checked) .payment-method-icon{background:#fff; color:var(--orange);}
.payment-information{margin-top:14px;}
.payment-information[hidden]{display:none;}
.payment-information-heading{display:flex; align-items:flex-start; gap:9px; margin-bottom:12px;}
.payment-information-heading > i{margin-top:2px; color:var(--orange); font-size:14px;}
.payment-information-heading label{margin:0;}
.payment-fields-grid{display:grid; grid-template-columns:1fr 1fr; gap:12px;}
.payment-field[hidden]{display:none;}
.payment-field-wide{grid-column:1 / -1;}
.form-error{display:block; margin-top:6px; color:var(--danger); font-size:11px;}
.soft-button,.primary-button{display:inline-flex; align-items:center; justify-content:center; gap:8px; border:0; border-radius:8px; font:inherit; font-size:13px; font-weight:600; text-decoration:none; cursor:pointer; transition:background .2s ease, color .2s ease, transform .2s ease;}
.soft-button{padding:0 14px; background:var(--orange-soft); color:var(--orange);}
.soft-button:hover{background:var(--orange); color:#fff;}
.primary-button{width:100%; min-height:42px; padding:10px 16px; background:var(--orange); color:#fff;}
.primary-button:hover{background:var(--orange-hover); color:#fff; transform:translateY(-1px);}
.empty-state{padding:58px 24px; border:1px dashed var(--orange-line); border-radius:var(--radius); background:var(--orange-soft); text-align:center;}
.empty-icon,.success-icon{display:inline-flex; align-items:center; justify-content:center; width:58px; height:58px; border-radius:50%; background:#fff; color:var(--orange); font-size:25px;}
.empty-state h2{margin:16px 0 5px; font-size:19px;}
.empty-state p,.success-copy{margin:0 0 22px; color:var(--muted); font-size:13px;}
.empty-state .primary-button{width:auto;}
.checkout-grid{grid-template-columns:minmax(0,1.2fr) minmax(300px,.8fr);}
.form-panel{padding:24px;}
.form-fields{display:grid; gap:14px;}
.form-row{display:grid; grid-template-columns:1fr 1fr; gap:14px;}
.field-help{display:block; margin-top:6px; color:var(--muted); font-size:11px;}
.invoice-section{margin-top:23px; padding-top:19px; border-top:1px solid var(--border);}
.invoice-section h3{margin:0 0 14px; font-size:16px;}
.checkbox-field{display:flex; align-items:center; gap:8px; margin-bottom:13px;}
.checkbox-field input{width:auto; min-height:0; accent-color:var(--orange);}
.checkbox-field label{margin:0;}
.form-submit{margin-top:23px;}
.summary-item{display:flex; justify-content:space-between; gap:12px; padding:11px 0; border-bottom:1px solid var(--border); font-size:13px;}
.summary-item small{display:block; margin-top:3px; color:var(--muted); font-size:11px;}
.summary-item strong{color:var(--orange); white-space:nowrap;}
.summary-totals{margin-top:16px;}
.success-page{max-width:760px;}
.success-panel{padding:44px 28px; text-align:center;}
.success-icon{margin-bottom:17px; background:var(--new-soft); color:var(--new); font-size:30px;}
.success-panel .eyebrow{margin-bottom:7px;}
.success-copy{margin-top:9px;}
.order-details{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:26px 0; padding:17px; border:1px solid var(--border); border-radius:10px; background:var(--bg);}
.order-details div{display:grid; gap:4px; color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.05em;}
.order-details strong{color:var(--text); font-size:15px; letter-spacing:0; text-transform:none;}
.success-panel .primary-button{width:auto; min-width:190px; margin:0 auto;}
.product-detail-page{max-width:1100px;}
.product-detail{display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:42px; padding:28px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);}
.product-detail-image{display:flex; align-items:center; justify-content:center; min-height:420px; overflow:hidden; border-radius:10px; background:linear-gradient(135deg,#FFF4ED,#F7EEDD); color:#E0D4C8;}
.product-detail-image img{width:100%; height:100%; max-height:560px; object-fit:cover;}
.product-detail-image i{font-size:70px;}
.product-detail-content{padding:18px 0;}
.product-detail-content h1{margin:0 0 5px; color:var(--text); font-size:clamp(27px, 4vw, 42px); line-height:1.25;}
.product-code{margin:0 0 18px; color:var(--muted); font-size:11px;}
.product-detail-price{margin:0 0 20px; color:var(--orange); font-size:26px; font-weight:600;}
.product-description{color:var(--muted); font-size:14px; line-height:1.8;}
.product-description p{margin:0 0 14px;}
.product-meta{display:flex; flex-wrap:wrap; gap:9px; margin:20px 0;}
.product-meta span{display:inline-flex; align-items:center; gap:7px; padding:7px 10px; border-radius:7px; background:var(--bg); color:var(--muted); font-size:12px;}
.product-meta i{color:var(--orange);}
.product-detail-form{display:flex; align-items:center; gap:10px; margin:24px 0 14px;}
.product-detail-form .qty-control{flex:0 0 118px; margin:0;}
.product-detail-form .primary-button{width:auto; flex:1;}
.portal-page{max-width:1200px;}
.portal-hero{display:flex; align-items:center; justify-content:space-between; gap:28px; margin-bottom:22px; padding:32px; overflow:hidden; background:linear-gradient(120deg,#fff4ed 0%,#fffaf6 55%,#f7eedc 100%); border:1px solid var(--orange-line); border-radius:var(--radius);}
.portal-hero h1{margin:0 0 8px; color:var(--text); font-size:clamp(28px,4vw,42px); line-height:1.2;}
.portal-hero p:last-child{max-width:620px; margin:0; color:var(--muted); font-size:14px; line-height:1.8;}
.portal-hero-icon{display:flex; align-items:center; justify-content:center; flex:0 0 76px; width:76px; height:76px; border-radius:20px; background:var(--orange); color:#fff; font-size:32px; box-shadow:0 10px 24px -14px rgba(255,107,0,.8);}
.portal-grid{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px;}
.portal-card{padding:22px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius); transition:border-color .2s ease, box-shadow .2s ease, transform .2s ease;}
.portal-card:hover{border-color:var(--orange-line); box-shadow:0 8px 20px -10px rgba(255,107,0,.25); transform:translateY(-3px);}
.portal-card h2{margin:18px 0 8px; color:var(--text); font-size:17px;}
.portal-card h2 a{color:inherit; text-decoration:none;}
.portal-card h2 a:hover{color:var(--orange);}
.portal-card p{min-height:66px; margin:0 0 18px; color:var(--muted); font-size:13px; line-height:1.7;}
.portal-card .text-link{display:inline-flex; align-items:center; gap:7px; font-size:12px;}
.market-toolbar{display:flex; flex-wrap:wrap; gap:8px; margin:0 0 22px;}
.market-toolbar a{padding:8px 13px; border:1px solid var(--border); border-radius:999px; background:var(--surface); color:var(--muted); font-size:12px; text-decoration:none;}
.market-toolbar a.active,.market-toolbar a:hover{border-color:var(--orange); background:var(--orange-soft); color:var(--orange);}
.market-card-category{display:block; margin:0 0 16px; color:var(--muted); font-size:11px;}
.market-detail-image{display:block; width:100%; max-height:440px; margin:20px 0; border-radius:10px; object-fit:cover;}
.portal-hero-actions{display:flex; align-items:center; gap:16px;}
.supply-grid{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px;}
.supply-card-meta{display:flex; justify-content:space-between; gap:12px; margin:0 0 17px; color:var(--muted); font-size:11px;}
.supply-card-meta strong{color:var(--orange); white-space:nowrap;}
.portal-detail{max-width:820px; margin:0 auto; padding:32px; background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);}
.portal-detail h1{margin:0 0 5px; color:var(--text); font-size:clamp(28px,4vw,42px);}
.portal-detail-owner{margin:0 0 23px; color:var(--muted); font-size:13px;}
.portal-detail-copy{color:var(--text); font-size:14px; line-height:1.85;}
.portal-contact{display:grid; gap:5px; margin-top:25px; padding-top:18px; border-top:1px solid var(--border); color:var(--muted); font-size:13px;}
.portal-contact strong{color:var(--text);}
.portal-form{max-width:760px; margin:0 auto; display:grid; gap:15px;}
.portal-form label{display:grid; gap:7px; color:var(--text); font-size:12px; font-weight:500;}
.portal-form input,.portal-form textarea,.portal-form select{width:100%; min-height:40px; padding:9px 11px; border:1px solid var(--border); border-radius:7px; outline:none; background:#fff; color:var(--text); font:inherit; font-size:13px;}
.portal-form textarea{resize:vertical;}
.portal-form input:focus,.portal-form textarea:focus,.portal-form select:focus{border-color:var(--orange); box-shadow:0 0 0 3px var(--orange-soft);}
@media (max-width:700px){.portal-hero{align-items:flex-start; padding:24px 20px;}.portal-grid{grid-template-columns:1fr;}.portal-card p{min-height:0;}}
@media (max-width:800px){.supply-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:520px){.supply-grid{grid-template-columns:1fr;}.portal-hero-actions{align-items:flex-end; flex-direction:column; gap:10px;}.portal-hero-actions .soft-button{width:100%; white-space:nowrap;}.portal-detail{padding:22px 17px;}}
@media (max-width:450px){.portal-hero-icon{display:none;}}
@media (max-width:800px){.product-detail{grid-template-columns:1fr; gap:20px; padding:18px;}.product-detail-image{min-height:300px;}.product-detail-content{padding:0;}}
@media (max-width:520px){.product-detail-form{align-items:stretch; flex-direction:column;}.product-detail-form .qty-control{flex-basis:auto;}.product-detail-form .primary-button{width:100%;}}

@media (max-width:800px){
  .commerce-page{padding:22px 14px 36px;}
  .page-heading{align-items:flex-start; flex-direction:column; gap:10px;}
  .page-heading h1,.success-panel h1{font-size:24px;}
  .cart-grid,.checkout-grid{grid-template-columns:1fr;}
  .cart-item{grid-template-columns:1fr auto; gap:12px;}
  .cart-item-actions{grid-column:1 / -1; justify-content:space-between;}
  .line-total{grid-column:2; grid-row:1; min-width:0;}
}
@media (max-width:520px){
  .sale-cart-bar{align-items:flex-start; flex-direction:column;}
  .go-cart-btn{width:100%; justify-content:center;}
  .payment-method-grid{grid-template-columns:repeat(2, minmax(0,1fr));}
  .payment-fields-grid{grid-template-columns:1fr;}
  .payment-field-wide{grid-column:auto;}
  .form-row,.order-details{grid-template-columns:1fr;}
  .form-panel,.summary-panel,.success-panel{padding:18px;}
  .coupon-input{align-items:stretch; flex-direction:column;}
  .soft-button{min-height:38px;}
}