/* Turram Online Ordering: incremental, responsive theme refresh.
   Brand accent can be overridden per restaurant without modifying layouts. */
:root {
  --turram-accent: #e58a24;
  --turram-accent-hover: #bd6513;
  --turram-text: #242b35;
  --turram-border: #e8e9ed;
  --turram-surface: #ffffff;
  --turram-page: #faf9f6;
}
body { color: var(--turram-text); background-color: var(--turram-page); }
a { transition: color .15s ease; }
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--turram-accent);
  outline-offset: 2px;
}
.btn { border-radius: .65rem; transition: background-color .15s ease, box-shadow .15s ease; }
.btn-primary { background-color: var(--turram-accent); border-color: var(--turram-accent); color: #191919; font-weight: 700; }
.btn-primary:hover, .btn-primary:focus { background-color: var(--turram-accent-hover); border-color: var(--turram-accent-hover); color: #fff; }
.card { border: 1px solid var(--turram-border); border-radius: 1rem; background: var(--turram-surface); overflow: hidden; }
.card img { max-width: 100%; }
.form-control, .custom-select { border-radius: .55rem; min-height: 42px; }
.form-control:focus, .custom-select:focus { border-color: var(--turram-accent); box-shadow: 0 0 0 .18rem rgba(229,138,36,.16); }
img { max-width: 100%; }
@media (max-width: 767px) {
  .container { padding-left: 14px; padding-right: 14px; }
  .btn { min-height: 42px; }
  .card { border-radius: .8rem; }
  h1 { font-size: clamp(1.65rem, 6vw, 2.25rem); }
  h2 { font-size: clamp(1.4rem, 5vw, 1.85rem); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Shared storefront mobile guardrails, 2026-10-16. */
html{max-width:100%}
*,*::before,*::after{box-sizing:border-box}
img,video,iframe{max-width:100%}
@media(max-width:767px){
  body{max-width:100%;overflow-x:hidden}
  .container,.container-fluid,.container-xxl,.row,.col,.card,.card-body,.modal-dialog{max-width:100%}
  .row{margin-left:-8px;margin-right:-8px}
  .row>[class*="col-"]{min-width:0}
  input:not([type=checkbox]):not([type=radio]),select,textarea{max-width:100%}
  .table-responsive{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .navbar .container,.navbar .container-fluid{min-width:0}
  .navbar-brand{max-width:75%;white-space:normal}
  .btn,.btn-primary,.btn-secondary{white-space:normal;overflow-wrap:anywhere}
}

/* Compact, consistent mobile layout across storefront pages. */
@media(max-width:600px){
  body{font-size:14px;line-height:1.45}
  .container,.container-fluid,.container-xxl{padding-left:12px!important;padding-right:12px!important}
  .hero-header{padding:10px 0!important;margin-bottom:12px!important;min-height:0!important}
  .hero-header h1{font-size:23px!important;line-height:1.2!important}
  h1{font-size:23px!important;line-height:1.25!important}
  h2{font-size:20px!important;line-height:1.3!important}
  h3{font-size:18px!important}
  h4,h5{font-size:16px!important}
  .navbar{padding-top:7px!important;padding-bottom:7px!important}
  .navbar-brand img{max-height:48px!important;width:auto!important}
  .navbar .nav-link{padding-top:8px!important;padding-bottom:8px!important}
  .card{border-radius:12px!important}
  .card-body{padding:12px!important}
  .btn{font-size:14px!important;padding:9px 13px!important;min-height:40px!important}
  .form-control,.custom-select{font-size:16px!important;min-height:40px!important;padding:7px 10px!important}
  .modal-dialog{margin:10px!important}
  .modal-body,.modal-header,.modal-footer{padding:12px!important}
  .table{font-size:13px!important}
  .table td,.table th{padding:7px!important}
  footer,.footer{font-size:13px!important}
  footer .container,.footer .container{padding-top:12px!important;padding-bottom:12px!important}
}
