/* ===========================================================
   AV Brand Styles — ported from the original Flatsome child theme
   Ink #0a1424 · Accent #4a8bc9 · Link #3557ff · White #ffffff
   Poppins (headings/UI) · Inter (body) · Dancing Script (accents)
   =========================================================== */

body,
.site,
.site-content,
.entry-content,
.woocommerce,
p, li, td, dd, blockquote,
.woocommerce-Price-amount,
.woocommerce-result-count,
.woocommerce-breadcrumb {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
	color: #0a1424;
}

body { font-size: 100%; line-height: 1.7; background: #ffffff; }

h1, h2, h3, h4, h5, h6,
.site-title, .entry-title, .page-title,
.widget-title,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce div.product .product_title,
.woocommerce-tabs ul.tabs li a,
.woocommerce-Reviews-title,
.related.products > h2, .upsells.products > h2,
.cross-sells > h2,
legend {
	font-family: 'Poppins', 'Inter', sans-serif !important;
	font-weight: 600 !important;
	color: #0a1424;
	letter-spacing: -0.01em;
}

h1 { font-size: 2.1rem; line-height: 1.25; }
h2 { font-size: 1.65rem; line-height: 1.3; }
h3 { font-size: 1.3rem; }

/* ---------- Links ---------- */
a,
.entry-content a:not(.button):not(.icon):not(.woocommerce-LoopProduct-link) {
	color: #3557ff;
	text-decoration: none;
	transition: color .15s ease;
}
a:hover,
.entry-content a:not(.button):not(.icon):not(.woocommerce-LoopProduct-link):hover {
	color: rgba(50,159,255,0.94);
}

/* ---------- Header ---------- */
.site-header,
.storefront-primary-navigation,
.main-navigation {
	background: #ffffff !important;
}
.site-header { border-bottom: 1px solid #e4e4e7; }
.storefront-primary-navigation { border-bottom: 1px solid #f1f5f9; }

.main-navigation ul li a,
.main-navigation ul.menu > li > a,
.site-header .site-title a,
.site-header .site-description {
	font-family: 'Poppins', sans-serif !important;
	font-weight: 600 !important;
	color: #000000 !important;
	font-size: 13.5px;
	letter-spacing: .02em;
	text-transform: none;
}
.main-navigation ul li a:hover,
.main-navigation ul.menu > li > a:hover { color: #4a8bc9 !important; }

/* dropdowns */
.main-navigation ul ul,
.sub-menu {
	background: #ffffff;
	border: 1px solid #e4e4e7;
	border-radius: 6px;
	box-shadow: 0 8px 24px rgba(10,20,36,.10);
}
.main-navigation ul ul li a { font-size: 13px; padding: 9px 14px; }

/* search + cart */
.site-header .site-search input[type=search],
.woocommerce-product-search input[type=search] {
	border: 1px solid #e4e4e7; border-radius: 6px; padding: 8px 12px;
	font-family: 'Inter', sans-serif;
}
.site-header-cart .cart-contents { color: #0a1424 !important; }
.site-header-cart .count { background: #4a8bc9; color: #fff; }

/* ---------- Buttons ---------- */
button, input[type=submit], input[type=button],
.button, .woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt,
.wc-block-components-button,
.single_add_to_cart_button {
	font-family: 'Poppins', sans-serif !important;
	font-weight: 600 !important;
	background-color: #0a1424 !important;
	color: #ffffff !important;
	border: 0 !important;
	border-radius: 6px !important;
	padding: 12px 22px !important;
	letter-spacing: .01em;
	transition: background-color .15s ease, transform .15s ease;
	text-transform: none;
}
button:hover, input[type=submit]:hover,
.button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce a.button.alt:hover, .single_add_to_cart_button:hover {
	background-color: #4a8bc9 !important;
	color: #fff !important;
}

/* secondary / outline buttons */
.button.secondary, .woocommerce a.button.wc-backward {
	background-color: #ffffff !important;
	color: #0a1424 !important;
	border: 1px solid #e4e4e7 !important;
}

/* ---------- Product cards ---------- */
.woocommerce ul.products li.product {
	background: #fff;
	border: 1px solid #f1f5f9;
	border-radius: 10px;
	padding: 12px 12px 16px !important;
	transition: box-shadow .18s ease, border-color .18s ease, transform .18s ease;
}
.woocommerce ul.products li.product:hover {
	box-shadow: 0 10px 28px rgba(10,20,36,.10);
	border-color: #e4e4e7;
	transform: translateY(-2px);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 14px !important;
	line-height: 1.4;
	min-height: 39px;
}
.woocommerce ul.products li.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
	color: #0a1424 !important;
	font-family: 'Poppins', sans-serif !important;
	font-weight: 600;
}
.woocommerce ul.products li.product .price del,
.woocommerce div.product p.price del {
	color: #9ca3af !important;
	font-weight: 400;
}
.woocommerce ul.products li.product .price ins,
.woocommerce div.product p.price ins {
	color: #f23a3a !important;
	text-decoration: none;
	font-weight: 600;
}
.woocommerce span.onsale,
.woocommerce ul.products li.product .onsale {
	background-color: #f23a3a !important;
	color: #fff !important;
	border-radius: 4px;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	font-size: 11px;
	min-height: 0; min-width: 0;
	line-height: 22px; padding: 0 9px;
}

/* stock badges */
.woocommerce .stock.in-stock,
.woocommerce div.product .stock.in-stock { color: #16a34a !important; }
.woocommerce .stock.out-of-stock { color: #f23a3a !important; }

/* ---------- Forms ---------- */
input[type=text], input[type=email], input[type=tel], input[type=password],
input[type=number], input[type=search], textarea, select,
.select2-container .select2-selection--single {
	border: 1px solid #e4e4e7 !important;
	border-radius: 6px !important;
	padding: 10px 13px !important;
	font-family: 'Inter', sans-serif !important;
	background: #fff !important;
	color: #0a1424;
}
input:focus, textarea:focus, select:focus {
	outline: none !important;
	border-color: #4a8bc9 !important;
	box-shadow: 0 0 0 3px rgba(74,139,201,.15) !important;
}

/* ---------- Tables (spec tables in product descriptions) ---------- */
.entry-content table,
.woocommerce-Tabs-panel table {
	width: 100%;
	border-collapse: collapse;
	margin: 18px 0;
	font-size: 14px;
}
.entry-content table th,
.woocommerce-Tabs-panel table th {
	background: #0a1424;
	color: #fff;
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	text-align: left;
	padding: 10px 12px;
	border: 1px solid #0a1424;
}
.entry-content table td,
.woocommerce-Tabs-panel table td {
	padding: 10px 12px;
	border: 1px solid #e4e4e7;
	vertical-align: top;
}
.entry-content table tr:nth-child(even) td { background: #f8fafc; }

/* ---------- Tabs ---------- */
.woocommerce-tabs ul.tabs li a {
	color: #64748b !important;
	font-weight: 600 !important;
}
.woocommerce-tabs ul.tabs li.active a { color: #0a1424 !important; }
.woocommerce-tabs ul.tabs::before { border-color: #e4e4e7; }
.woocommerce-tabs ul.tabs li.active::after,
.woocommerce-tabs ul.tabs li::after,
.woocommerce-tabs ul.tabs li::before { display: none; }
.woocommerce-tabs ul.tabs li { border: 1px solid #e4e4e7; border-bottom: 0; border-radius: 6px 6px 0 0; background: #fff; }
.woocommerce-tabs ul.tabs li.active { border-bottom: 2px solid #4a8bc9; }
.woocommerce-tabs .panel { border: 1px solid #e4e4e7; border-radius: 0 6px 6px 6px; padding: 22px; }

/* ---------- Misc ---------- */
.woocommerce-message, .woocommerce-info {
	background: #f8fafc !important;
	border-top-color: #4a8bc9 !important;
	color: #0a1424;
	border-radius: 6px;
}
.woocommerce-error { border-top-color: #f23a3a !important; border-radius: 6px; }
.site-footer { background: #f8fafc; border-top: 1px solid #e4e4e7; }
.site-footer, .site-footer a { color: #64748b; }
.site-footer a:hover { color: #4a8bc9; }
.entry-content a:not(.button):not(.icon) { color: #3557ff; }
.handwritten, .dancing { font-family: 'Dancing Script', cursive !important; }

/* spacing parity with the old 90px header */
.site-header { padding-top: 6px; padding-bottom: 6px; }

/* ---------- Header nav: keep on one row like the old site ---------- */
.main-navigation ul.menu {
	display: flex !important;
	flex-wrap: nowrap !important;
	align-items: center;
	justify-content: center;
	gap: 2px;
}
.main-navigation ul.menu > li { flex: 0 1 auto; }
.main-navigation ul.menu > li > a {
	padding-left: 9px !important;
	padding-right: 9px !important;
	font-size: 12.5px !important;
	white-space: nowrap;
}
.site-header .col-full { max-width: 100% !important; padding-left: 22px; padding-right: 22px; }
.storefront-primary-navigation .col-full { max-width: 100% !important; padding-left: 22px; padding-right: 22px; }
.site-header .site-branding { flex: 0 0 auto; }
.site-header .site-search { flex: 0 1 260px; }
/* single-row header */
.site-header .site-header-cart, .site-header .site-search { margin-top: 0 !important; }
.woocommerce-active .site-header .site-branding { width: auto !important; float: none !important; }
.woocommerce-active .site-header .site-search { width: auto !important; float: none !important; }
.woocommerce-active .site-header .site-header-cart { width: auto !important; float: none !important; }
.woocommerce-active .site-header .col-full { display: flex; align-items: center; justify-content: space-between; flex-wrap: nowrap; gap: 18px; }

/* skip-links were eating flex slots and pushing the logo inward — take them out of flow
   but keep them reachable for keyboard users */
.site-header .col-full > .skip-link {
	position: absolute !important;
	left: -9999px !important;
	top: 0;
	width: auto !important;
	height: auto !important;
}
.site-header .col-full > .skip-link:focus {
	left: 8px !important;
	top: 6px;
	z-index: 100000;
	background: #fff;
	color: #0a1424;
	padding: 8px 14px;
	border: 2px solid #4a8bc9;
	border-radius: 6px;
	clip: auto;
	clip-path: none;
}

/* neutralise Storefront's float-era margins inside the flex header row */
.site-header .site-branding { margin: 0 !important; flex: 0 0 auto; }
.site-header .site-search { margin: 0 !important; flex: 0 0 250px; }
.site-header .site-header-cart { margin: 0 !important; flex: 0 0 auto; }
.site-header .site-branding .custom-logo-link,
.site-header .site-branding img.custom-logo { display: block; max-height: 58px; width: auto; }
.site-header { padding: 10px 0 !important; }
