/* Additions for the static demo only. */
.demo-banner{background:#222;color:#fff;font-size:13px;line-height:1.4;text-align:center;padding:6px 16px;position:relative;z-index:1050}
.demo-banner a{color:#ffc107;text-decoration:underline;margin-left:6px}
.checkout-view{display:none}
.form-control:disabled{background:#f4f4f4;cursor:not-allowed}
@media (min-width:992px){.mobile-nav-overlay{display:none}}
/* Primary buttons in coffee browns instead of Bootstrap blue. */
.btn-primary{background-color:#7a5230;border-color:#7a5230;color:#fff}
.btn-primary:hover{background-color:#5f3f24;border-color:#5f3f24;color:#fff}
.btn-primary:focus,.btn-primary.focus,.btn-primary:not(:disabled):not(.disabled):active:focus{box-shadow:0 0 0 .2rem rgba(122,82,48,.35)}
.btn-primary:not(:disabled):not(.disabled):active,.btn-primary:not(:disabled):not(.disabled).active{background-color:#4f3420;border-color:#4f3420}
.btn-primary:disabled,.btn-primary.disabled{background-color:#a88a6e;border-color:#a88a6e}
/* Room above the comments and the similar products on the product page. */
#comments,#similar-products{margin-top:6rem}
/* Mobile header: the theme fixes #site-nav-mobile at top:0, where the demo banner
   (z-index above it) covers all but its bottom edge. Put it in the flow right under
   the banner and keep it pinned while scrolling; #content then needs no 60px offset. */
@media (max-width:991.98px){
  #site-nav-mobile{position:sticky;top:0;flex-shrink:0}
  #content{margin-top:0}
}
/* Product details on mobile: one centred column like the title and description,
   small tight spec rows with muted labels and ink values. Desktop unchanged. */
@media (max-width:991.98px){
  .product-list-group{align-items:center;margin:1.5rem 0 2rem}
  .product-list-group .list-group-item{padding:.2rem 0;text-align:center;font-size:13px;line-height:1.5;color:#8a8a8a;letter-spacing:.02em}
  .product-list-group .list-group-item:first-child{padding-bottom:.6rem}
  .product-list-group .list-group-item:first-child h1{margin:0;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#7a5230}
  .product-list-group .list-group-item span{color:#222;font-weight:600;margin-left:.15em}
}
/* Similar products on phone and tablet: the items are p-0 in a row with
   negative margins, so the bags ran to the screen edges and into each other.
   Keep the row inside the container's margins and give the items a gutter. */
@media (max-width:991.98px){
  #similar-list{margin-left:0;margin-right:0}
  #similar-list>[class*="col-"]{padding:0 .5rem!important}
  #similar-list h6{font-size:13px;line-height:1.5}
}
@media (min-width:576px) and (max-width:991.98px){
  #similar-list>[class*="col-"]{padding:0 1rem!important}
}
/* More room under the copyright line, so it does not sit on the bottom edge. */
#site-bottom{padding-bottom:2.5rem !important}
/* Footer below lg: the original hid the Menu and Social lists on small screens
   (its mobile menu only carried the coffees, Cart and the phone number), which
   left About us, Contact, Privacy and the social links unreachable on a phone.
   Show them, stacked and centred like the Our Coffees list above. */
@media (max-width:991.98px){
  .site-footer-nav h6.d-none{display:block!important;text-align:center;margin-top:2rem}
  .site-footer-nav nav.d-none{display:flex!important;flex-direction:column;text-align:center}
  .site-footer-nav .nav a{padding:.3rem 0}
  .site-footer-nav p.small{margin-top:2rem!important}
}
/* Footer on phones: the newsletter line and Facebook button come last, after
   Menu, Social and the help/phone block. The middle column dissolves into the
   row (display: contents) so its pieces can be ordered; desktop untouched. */
@media (max-width:767.98px){
  .row > .site-footer-nav{display:contents}
  .row > .site-footer-nav > *{flex:0 0 100%;max-width:100%;padding-left:15px;padding-right:15px}
  .row > .site-footer-nav > h6.text-success,
  .row > .site-footer-nav > h6.text-success + nav{order:1}
  .row > .site-footer-nav > h6.text-success{margin-top:2.5rem!important}
}
/* Footer link rows below lg: the theme sets them at 1.5–2rem bold, so the lists
   ran loose. Tighter rows; small gap heading → links, ~1.5rem group → group. */
@media (max-width:991.98px){
  .site-footer-nav nav a:not(.btn){font-size:1.5rem;font-weight:600;line-height:1.4;padding:.2rem 0}
  .site-footer-nav h6{margin-bottom:.4rem}
  .site-footer-nav h6.d-none,
  .site-footer-nav h6.mt-4{margin-top:1.5rem!important}
  .site-footer-nav p.small{margin-top:1.5rem!important}
}
/* Listing rows on desktop: keep the bag inside the 555px row the text column
   is centred in (the theme's .product-description), so the image no longer
   outgrows the row and the text sits in the middle beside it. */
@media (min-width:992px){
  #product-list .product > [class*="col-"]{align-self:center}
  #product-list .product img.img-fluid{max-width:min(100%,520px);margin:0 auto;display:block}
  #product-list .product .seperator{margin-top:3rem;margin-bottom:3rem}
}
