﻿:root {
	--brand: #f28c28;
	--ink: #222;
	--muted: #666;
	--bg: #fff;
	--card: #f9f9fb;
}
* {
	box-sizing: border-box;
}
html {
  background-color: #CCCCCC;
}
body {
	margin: 0;
	font-family: system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
	color: var(--ink);
	background: var(--bg);
	background-color: #8E4913;
}
.wrap {
	max-width: 980px;
	margin: 0 auto;
	padding: 16px 16px 0 16px;
}
.topbar {
	background: #111;
	color: #eee;
	font-size: 12px;
	padding: 6px 0;
	text-align: center;
}
header .wrap {
	padding: 18px 10px 8px 10px;
}
nav {
	background: #fff;
	border-top: 2px solid var(--brand);
	border-bottom: 1px solid #ddd;
	position: sticky;
	top: 0;
}
nav .wrap {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	padding: 8px 0;
}
nav a {
	color: #333;
	text-decoration: none;
	padding: 6px 10px;
	border-radius: 8px;
}
nav a:hover {
	background: #faf3ec;
}
h1, h2 {
	margin: 8px 0 6px;
}
.sub {
	color: var(--muted);
	font-weight: bold;
	margin-top: 6px;
}
.card {
	background: var(--card);
	border: 1px solid #eaeaea;
	border-radius: 14px;
	padding: 16px;
}
.grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}
@media(min-width:840px){
  .grid {
  	grid-template-columns: 1fr 1fr;
  }
}
.btn {
	display: inline-block;
	background: var(--brand);
	color: #fff;
	padding: 10px 14px;
	border-radius: 10px;
	text-decoration: none;
}
.btn:hover {
	opacity: .9;
}
.price {
	font-weight: 700;
	font-size: 20px;
}
footer {
  margin-top: 20px;
	padding: 10px 0 20px 0;
	background-color: #222222;
}
.footer .wrap p {
	margin: .25rem 0;
}
footer .prpvo {
  font-weight: bold;
  color: #FFFFFF;
}
footer .copyright {
  font-size: 14px;
  color: #E2E2E2;
}
hr.sep {
	border: 0;
	border-top: 1px solid #eee;
	margin: 20px 0;
}
.badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	border: 1px solid #ddd;
	border-radius: 999px;
	padding: 6px 10px;
	font-size: 12px;
}
img.resp {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	border: 1px solid #e8e8e8;
}

/* Styles added by Scott */

.clear {
  clear: both;
}
.align-left {
  float: left;
}

/* Highlight current page menu items */
body#home nav a.home, 
body#wiz50 nav a.wiz50, 
body#dsl nav a.dsl, 
body#arc nav a.arc, 
body#lightning nav a.lightning, 
body#order nav a.order, 
body#contact nav a.contact {
	font-weight: 700;
	color: #000000;
}

header {
  background-color: #421980;
}
header h1 {
  color: #FFFFFF;
}
header p.sub {
  color: #E2E2E2;
}

.home-prod-grid {
  display: grid;
  gap: 15px;
  grid-template-columns: auto auto;
}
.home-prod-grid img {
	margin-top: 15px;
}

.price a.btn {
  font-weight: normal;
  font-size: 16px;
  margin-left: 30px;
}

img#wiz-logo-main {
  float: left; 
  margin-top: -18px;
  margin-right: 10px;
  height: 120px;
  width: auto;
}

#home .card img {
  /*float: left;
  margin-right: 10px;
  margin-top: 10px;*/
}

/* Attempt make product order table show all info */
.grid-table {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}
.grid-table thead,
.grid-table tbody,
.grid-table tr {
  display: contents; /* Makes the table rows part of the grid */
}

.totals-table input[type=number] {
  width: 50px;
}



/* MEDIA QUERIES 
***********************************************/

@media only screen and (max-width: 480px) {
  header h1 {
    font-size: 28px;
  }
  header .sub {
    font-size: 14px;
  }
  .totals-table th, 
  .totals-table td {
    padding: 5px;
  }
  .totals-table .product {
    font-size: 14px;
  }
  .totals-table .product div {
    margin-top: -10px;
  }
  .price a.btn {
    margin-left: 0;
    padding: 6px 9px;
  }
}

/* Media Queries for Main Menu Desktop-to-Mobile */
@media only screen and (max-width: 839px) {
  .center-on-mobile {
    float: none;
    margin-right: auto;
    margin-left: auto;
  }
  nav.show-desk {
    display: none;
  }
  select.show-mobile {
    display: block;
    width: 95%;
    margin: 10px auto 0 auto;
    font-size: 15px;
    padding: 7px 9px;
  }
}

@media only screen and (min-width: 840px) {
  nav.show-desk {
    display: block;
  }
  select.show-mobile {
    display: none;
  }
}

