/* =============================================
   Base styles — mobile-first, responsive
   ============================================= */

body, td{
	font-family: georgia;
}
body{
	background-color: #b5d4e7;
	background-image: linear-gradient(to bottom, #b5d4e7, #416780);
	background-position: center bottom;
	background-repeat: repeat-x;
	background-attachment: fixed;
	background-size: 100% 540px;
	color:#1c1100;
}

/* --- Container --- */
#container{
	max-width:1160px;
	width:calc(100% - 30px);
	margin:30px auto 0;
	text-align:left;
	font-size:14px;
	font-family: verdana;
	line-height:1.5em;
	box-sizing: border-box;
}

/* --- Site body (header + nav + main) --- */
#site_body{
	box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
	border-radius: 30px 0 0 0;
	overflow: hidden;
}

/* --- Main content area --- */
#main{
	border:none;
	padding:25px 30px;
	background:#fff;
	box-sizing: border-box;
	overflow: hidden;
}

.page {
	text-align:left;
}

/* --- Header --- */
#header{
	background:url(images/header-2026.jpg) center/cover no-repeat;
	display:flex;
	align-items: flex-end;
	justify-content: space-between;
	width:100%;
	min-height:100px;
	position: relative;
	box-sizing: border-box;
	padding: 10px 30px;
	border-radius: 30px 0 0 0;
}

#header a.logo{
	display:block;
	flex-shrink: 0;
}

#header a.logo .header-logo{
	height: 42px;
	width: auto;
	display: block;
}

#search_box{
	flex-shrink: 0;
	height:auto;
	padding:0;
	margin:0 0 -10px 0;
	align-self: flex-end;
}

#search_box input{
	font-size:14px;
	padding: 4px 8px;
}

#search_input{
	width:120px;
	max-width: 40vw;
	border-radius: 10px;
	border: none;
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

#search_box #search_submit{
	font-size: 11px;
}

/* --- Navigation bar --- */
#nav_bar {
	background: #000;
	width:100%;
	position: relative;
	box-sizing: border-box;
}

#nav_toggle{
	display: none;
	background: none;
	border: none;
	color: #ef8b34;
	font-size: 22px;
	padding: 8px 12px;
	cursor: pointer;
	width: 100%;
	text-align: left;
}

#nav_bar ul{
	list-style:none;
	background: #000;
	display:flex;
	flex-wrap: wrap;
	width:100%;
	padding:0 21px;
	margin:0;
	box-sizing: border-box;
	color:#ef8b34;
	font-family:georgia;
}

#nav_bar li{
	list-style:none;
}

#nav_bar li a{
	padding:6px 9px;
	color:#ef8b34;
	text-decoration:none;
	display:block;
	font-size:12px;
	letter-spacing:1px;
	text-transform:uppercase;
	white-space: nowrap;
}

#nav_bar li a:hover{
	background:#ef8b34;
	color:#000;
}

/* --- Top nav (FAQ, cart) --- */
#top_nav{
	font-size:12px;
	text-transform:lowercase;
	text-align:right;
	font-weight:bold;
	width:100%;
	padding: 0 0 0.5em 0;
	color:rgba(11, 15, 32, 0.3);
	box-sizing: border-box;
}
#top_nav a{
	text-decoration:none;
	color:rgba(11, 15, 32, 0.8);
}
#top_nav a:hover{
	text-decoration:underline;
}

/* --- FAQ page --- */
.faq-content{
	max-width: 680px;
	margin: 0 auto;
}

/* --- Home page hero --- */
.home-hero{
	display: flex;
	gap: 20px;
	align-items: center;
	margin-bottom: 40px;
}

.home-video{
	flex: 0 1 40%;
	min-width: 0;

}

.video-wrapper{
	position: relative;
	padding-bottom: 68.3%; /* 233/341 aspect ratio */
	height: 0;
	overflow: hidden;
}

.video-wrapper iframe{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#right_col{
	flex: 1 1 0;
	min-width: 0;
	box-sizing: border-box;
}

#right_col p:last-child{
	margin-bottom: 0;
	padding-bottom: 0;
}

/* --- Product list grid --- */
.product_list, .product_list ul{
	margin:0;
	padding:0;
}
.product_list li {
	margin:0;
	padding:0;
	width:100%;
	list-style:none;
}

.product_list{
	display: flex;
	flex-wrap: wrap;
}

.product_list > li{
	display: contents;
}

.product_list > li > ul{
	display: contents;
}

.product_list li li{
	margin:0;
	padding:0 5px;
	padding-bottom: 2em;
	width:33.333%;
	text-align:center;
	list-style:none;
	font-size:11px;
	line-height:1.5em;
	box-sizing: border-box;
}

.product_list li li img{
	max-width:100%;
	height:auto;
}

.product_list li a{
	text-decoration:none;
	color:#000;
}

.thumb-wrap{
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	background: #f0f0f0;
	overflow: hidden;
	margin-bottom: 4px;
}

.thumb-wrap img{
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --- Typography --- */
h1{
	font-family:georgia;
	font-weight:normal;
}
h2{
	font-family:georgia;
	text-transform:uppercase;
	letter-spacing:1px;
	font-weight:normal;
	color:#666;
	font-size:14px;
}
h3{
	font-size:22px;
	line-height: 1.4em;
}

a{
	color:#922b06;
}

.price{
	font-weight:bold;
	font-size:14px;
}

/* --- Product detail page --- */
.product_detail_wrapper{
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

#cover_art_container{
	width: 300px;
	flex-shrink: 0;
	box-sizing: border-box;
}

#cover_art_container img{
	max-width:100%;
	height:auto;
}

#product_info{
	flex: 1;
	min-width: 250px;
	box-sizing: border-box;
}

#product_info h3:first-child {
	margin-top: 0;
}

.product_purchase {
	margin: 15px 0;
	padding: 15px;
	background: #f9f9f9;
	border: 1px solid #eee;
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.product_purchase .price {
	font-size: 18px;
	color: #922b06;
	margin-right: 15px;
}

.product_purchase .buy-button {
	margin-top: 0;
}

.product_metadata {
	margin: 20px 0;
	line-height: 1.8em;
}

.product_metadata strong {
	color: #555;
	font-weight: normal;
	font-family: georgia;
}

.tech_specs {
	display: inline-block;
	margin-top: 8px;
	font-size: 12px;
	color: #666;
	background: #f4f4f4;
	padding: 4px 8px;
}

.product_description {
	font-size: 15px;
	line-height: 1.7em;
	color: #333;
	margin-top: 20px;
}

/* --- Screen caps --- */
#screen_caps{
	clear:both;
	margin: 1em 0 0 0;
	width:100%;
	overflow: hidden;
}
#screen_caps ul{
	margin:0;
	padding:0;
	display: flex;
	flex-wrap: wrap;
}
#screen_caps ul li{
	list-style:none;
	width:25%;
	box-sizing: border-box;
	overflow:hidden;
}
#screen_caps ul li img{
	width:100%;
	height:auto;
	display:block;
}

/* --- Product nav (prev/next) --- */
#product_nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 15px;
	font-family: verdana, sans-serif;
	font-size: 13px;
	color: #666;
	flex-wrap: wrap;
	gap: 8px;
}

#product_nav a {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: #666;
	transition: color 0.2s ease;
}

#product_nav a:hover {
	color: #922b06;
}

#product_nav a svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

#product_nav .back-link svg {
	margin-right: 6px;
}

#product_nav .prev-link svg {
	margin-right: 4px;
}

#product_nav .next-link svg {
	margin-left: 4px;
}

#product_nav .nav-right {
	display: flex;
	align-items: center;
	gap: 15px;
}

#product_nav .divider {
	color: #ccc;
}

/* --- Twitter (legacy) --- */
#twitter_link{
	width:16px;
	height:16px;
	background:url(images/twitter-mini-a.png);
	text-indent:-9999px;
	outline:none;
	display:block;
	float:right;
	margin:4px 0 0 5px;
	text-align:left;
}

span.title{
	font-weight:bold;
}

/* --- List controls (pagination + sort) --- */
.list-controls{
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin: 1em 0;
}

.list-controls-pagination{
	flex-shrink: 0;
}

/* --- Pagination --- */
.pagination{
	text-align:left;
	margin:0;
	font-family:georgia;
}

.pagination a{
	padding:2px 4px;
	text-decoration: none;
	color:#666;
}
.pagination a:hover{
	text-decoration:underline;
}
.pagination span.current{
	padding:2px 4px;
	color: #ef8b34;
	background: #000;
}
.pagination span.disabled{
	color: #e8e8e8;
}

/* --- Product sort --- */
.product_sort{
	margin: 0;
	flex-shrink: 0;
}

.product_sort select{
	color:#815317;
	font-size:12px;
}
.aka{
	margin-top:-1em;
}

/* --- Genre list --- */
.genre_list{
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 1em 0 0 0;
	padding: 0;
}
.genre_list li{
	list-style:none;
	width: calc(25% - 6px);
	text-align:center;
	box-sizing: border-box;
}
.genre_list li a{
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 8px 10px;
	background: #f4f4f4;
	color: #922b06;
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 11px;
	font-family: georgia;
}
.genre_list li a:hover{
	background: #ef8b34;
	color: #000;
}
.genre_admin_links{
	font-size: 11px;
	margin-top: 4px;
}
.genre_admin_links a{
	margin: 0 4px;
}

/* --- Shipping table --- */
.shipping_table{
	float:left; margin:1em 40px 1em 0; width:234px;
}

/* --- Buy button --- */
input[type="submit"].buy-button,
.buy-button {
	display: inline-block;
	background-color: #ef8b34;
	color: #000;
	padding: 3px 16px;
	text-decoration: none;
	font-size: 14px;
	border: 0px solid #000;
	border-radius: 0px;
	margin-top: 10px;
	cursor: pointer;
	line-height: 1.5em;
	font-family: inherit;
	-webkit-appearance: none;
	appearance: none;
}

input[type="submit"].buy-button:hover,
.buy-button:hover {
	background-color: #000;
	color: #ef8b34;
	text-decoration: none;
}

/* =============================================
   Responsive: Tablet (<=768px)
   ============================================= */
@media (max-width: 768px) {
	#container{
		width:100%;
		margin:20px auto 0;
	}

	#top_nav{
		padding: 0 15px 0.5em 15px;
	}

	#main{
		padding: 25px 15px;
	}

	#header{
		min-height:80px;
		padding: 8px 15px;
	}

	#nav_bar ul{
		padding: 0 6px;
	}

	#nav_bar li a{
		padding-left: 9px;
	}

	#header a.logo .header-logo{
		height: 33px;
	}

	#search_input{
		width:100px;
	}

	/* Show hamburger */
	#nav_toggle{
		display: block;
	}

	#nav_bar ul{
		display: none;
		flex-direction: column;
	}

	#nav_bar ul.nav-open{
		display: flex;
	}

	#nav_bar li a{
		padding: 10px 12px;
		border-bottom: 1px solid #222;
	}

	/* Product detail: smaller cover art on tablet */
	#cover_art_container{
		width: 180px;
	}

	/* Screen caps: 3 per row on tablet */
	#screen_caps ul li{
		width:33.333%;
	}

	/* Genre list: 3 per row */
	.genre_list li{
		width: calc(33.333% - 6px);
	}

	/* Stack list controls */
	.list-controls{
		flex-direction: column;
		align-items: flex-start;
	}

	.product_sort select{
		font-size: 13px;
		padding: 4px;
	}

	.product_list li li{
		width:50%;
	}

	.home-video{
		flex: 0 1 35%;
	}

	#right_col{
		margin: 10px 0 0 0;
	}
}

/* =============================================
   Responsive: Phone (<=480px)
   ============================================= */
@media (max-width: 480px) {
	.home-hero{
		flex-direction: column;
	}

	.home-video{
		flex: none;
		width: 100%;
	}

	#container{
		font-size:13px;
		margin:10px auto 0;
	}

	#main{
		padding:12px 15px;
	}

	#header{
		min-height:60px;
		flex-direction: row;
		align-items: flex-end;
		padding: 6px 15px;
	}

	#header a.logo .header-logo{
		height: 27px;
	}

	#search_box{
		width: auto;
	}

	#search_input{
		width:80px;
	}

	#search_box input{
		font-size:11px;
	}

	/* Product list: single column */
	.product_list li li{
		width:50%;
		font-size:10px;
	}

	/* Screen caps: 2 per row */
	#screen_caps ul li{
		width:50%;
	}

	/* Genre list: 2 per row */
	.genre_list li{
		width: calc(50% - 4px);
	}

	/* Product detail: stack on mobile */
	#cover_art_container{
		width: 100%;
		text-align: center;
	}

	h3{
		font-size:18px;
	}

	/* Home hero text */
	#right_col h1{
		font-size:24px !important;
	}
	#right_col p{
		font-size:18px !important;
	}
}

/* =============================================
   Responsive: Wide desktop (>=992px)
   ============================================= */
@media (min-width: 992px) {
	.product_list li li{
		width:25%;
	}

	#right_col h1{
		font-size:44px !important;
	}
	#right_col p{
		font-size:34px !important;
	}
}
