/* IVNVA fresh - streetwear refresh layered over theme638. Remove the <link> to roll back. */
@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@500;700;800&family=Manrope:wght@400;500;600;700&display=swap');

:root {
	--ink: #0e0e0e;
	--paper: #f4f3ef;
	--card: #ffffff;
	--mute: #6b6b66;
	--line: #e2e0d8;
	--accent: #d4ff3a;
	--head: 'Unbounded', 'Arial Black', sans-serif;
	--body: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
}

/* base */
body {
	font-family: var(--body);
	font-size: 15px;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}
#page, #container { background: var(--paper); }
h1, h2, h3, h4, h5, .box-heading h3 {
	font-family: var(--head);
	color: var(--ink);
	letter-spacing: -0.01em;
}
h1 { font-size: clamp(26px, 3.4vw, 44px); font-weight: 800; text-transform: uppercase; line-height: 1.05; }
a { color: var(--ink); }
a:hover, a:focus { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
::selection { background: var(--accent); color: var(--ink); }

/* header */
header, header .top-header, header .stuck-menu { background: var(--paper); }
header .top-header { border-bottom: 1px solid var(--line); }
header .top-header a, header .top-header .btn-link { font-size: 12px; color: var(--mute); letter-spacing: 0.02em; }
header .stuck-menu { border-bottom: 2px solid var(--ink); }
#tm_menu ul.menu > li > a {
	font-family: var(--head);
	font-weight: 500;
	font-size: 13px;
	letter-spacing: 0.06em;
	color: var(--ink);
	position: relative;
}
#tm_menu ul.menu > li > a::after {
	content: '';
	position: absolute; left: 0; right: 0; bottom: -4px;
	height: 3px; background: var(--accent);
	transform: scaleX(0); transform-origin: left;
	transition: transform .25s ease;
}
#tm_menu ul.menu > li > a:hover { text-decoration: none; }
#tm_menu ul.menu > li > a:hover::after,
#tm_menu ul.menu > li.active > a::after { transform: scaleX(1); }
header .box-cart .toggle, header .login-button { color: var(--ink); font-weight: 600; }

/* breadcrumbs */
.breadcrumb { background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding-left: 0; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.breadcrumb a { color: var(--mute); }

/* section headings ("Featured" etc) */
.box .box-heading { border: 0; text-align: left; margin-bottom: 18px; }
.box .box-heading h3 {
	display: inline-block;
	font-size: clamp(22px, 2.6vw, 34px);
	font-weight: 800;
	text-transform: uppercase;
	padding: 0 6px;
	background: linear-gradient(transparent 58%, var(--accent) 58%);
}

/* product cards */
.product-thumb {
	background: var(--card);
	border: 0;
	border-radius: 0;
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
}
.product-thumb:hover { transform: translateY(-4px); box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .45); }
/* white, not grey: OpenCart pads resized photos with white, so bars blend into the card */
.product-thumb .image { overflow: hidden; background: #fff; aspect-ratio: 3 / 4; }
.product-thumb .image a { display: block; }
.product-thumb .image a, .product-thumb .image img { width: 100%; height: 100%; max-width: none; }
.product-thumb .image img { object-fit: cover; transition: transform .5s ease; }
.product-thumb:hover .image img { transform: scale(1.05); }
.product-thumb .caption { padding: 14px 16px 6px; text-align: left; }
.product-thumb .name a {
	font-family: var(--body);
	font-weight: 600;
	font-size: 14px;
	line-height: 1.35;
	color: var(--ink);
}
.product-thumb .description { color: var(--mute); font-size: 13px; }
.price, .product-thumb .price {
	font-family: var(--head);
	font-weight: 700;
	font-size: 16px;
	color: var(--ink);
}
.price-old { color: var(--mute); font-weight: 500; }
.price-new { color: var(--ink); background: var(--accent); padding: 0 4px; }
.product-thumb .cart-button { padding: 4px 16px 16px; text-align: left; }

/* bigger cards: wider page, 3 per row on desktop, 2 on small tablets */
@media (min-width: 1200px) {
	.container { width: min(1440px, 94vw); }
}
/* theme clears every 4n+1 for its 4-up grid - reset it before applying our own row breaks */
.product-layout.product-grid, .box .product-layout { clear: none !important; }
@media (min-width: 768px) {
	.product-layout.product-grid, .box .product-layout { width: 33.3333%; }
	.product-layout.product-grid:nth-child(3n+1), .box .product-layout:nth-child(3n+1) { clear: left !important; }
	.product-thumb .name a { font-size: 16px; }
	.product-thumb .price { font-size: 18px; }
}
@media (min-width: 560px) and (max-width: 767px) {
	.product-layout.product-grid, .box .product-layout { width: 50%; float: left; }
	.product-layout.product-grid:nth-child(2n+1), .box .product-layout:nth-child(2n+1) { clear: left !important; }
}

/* equal-height cards: each grid row is a flex row, the card fills its cell,
   price + buy row sit at the bottom however long the name/description is */
.row:has(> .product-layout.product-grid), .box .row:has(> .product-layout) { display: flex; flex-wrap: wrap; }
.row:has(> .product-layout.product-grid)::before, .row:has(> .product-layout.product-grid)::after,
.box .row:has(> .product-layout)::before, .box .row:has(> .product-layout)::after { display: none; }
.product-layout.product-grid, .box .product-layout { display: flex; }
/* max-width: theme caps module cards (Featured etc) at 370px for the old 370px images */
.product-layout.product-grid .product-thumb, .box .product-layout .product-thumb { display: flex; flex-direction: column; width: 100%; max-width: none; }
.product-layout .product-thumb .caption { flex: 1 0 auto; display: flex; flex-direction: column; }
.product-layout .product-thumb .caption .price { margin-top: auto; padding-top: 10px; }
.product-thumb .description-small { color: var(--mute); font-size: 13px; line-height: 1.45; margin-top: 4px; }
/* title and short description: max 2 lines each, space reserved, so long names never change card height */
.product-thumb .name a { min-height: 2.7em; } /* 2 lines at line-height 1.35 */
.product-thumb .name a, .product-thumb .description-small {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
}
.product-thumb .description-small { min-height: 2.9em; }
.product-thumb .rating:empty { display: none; }
/* theme shows the buy row only on hover - invisible on touch screens, and it left a blank gap */
.product-layout .product-thumb .cart-button { opacity: 1; visibility: visible; transform: none; }

/* NEW / sale stickers */
.new-pr, .sale, .label-new, .product-thumb .new {
	background: var(--accent) !important;
	color: var(--ink) !important;
	border-radius: 0 !important;
	font-family: var(--head);
	font-weight: 700;
	font-size: 10px;
	letter-spacing: 0.08em;
}

/* buttons */
.btn, .btn-primary, .btn-default, .product-buttons, #button-cart, .button {
	font-family: var(--head);
	font-weight: 500;
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	border-radius: 0;
	border: 2px solid var(--ink);
	background: var(--ink);
	color: #fff;
	box-shadow: none;
	transition: background .2s ease, color .2s ease;
}
.btn:hover, .btn-primary:hover, .btn-default:hover, .product-buttons:hover, #button-cart:hover, .button:hover,
.btn:focus, .btn-primary:focus, .product-buttons:focus, #button-cart:focus {
	background: var(--accent);
	color: var(--ink);
	border-color: var(--ink);
}
/* buy button: text only, even padding (theme had none, plus a misaligned "+" glyph) */
.product-thumb .product-buttons {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 11px 22px; line-height: 1;
}
.product-thumb .product-buttons i { display: none; }
.product-thumb .product-buttons span { margin: 0; padding: 0; line-height: 1; }
.btn-icon { border-radius: 0; color: var(--ink); }
.btn-icon:hover { background: var(--accent); color: var(--ink); }

/* forms */
.form-control, input[type=text], input[type=email], input[type=tel], input[type=password], select, textarea {
	border-radius: 0;
	border: 1px solid #cfccc2;
	background: #fff;
	box-shadow: none;
	font-family: var(--body);
}
.form-control:focus { border-color: var(--ink); box-shadow: 0 0 0 3px var(--accent); }

/* category toolbar */
.product-filter { background: transparent; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* hero slider caption */
.camera_caption, .camera_caption * { font-family: var(--head) !important; }

/* footer */
footer { background: var(--ink); }
footer h5, footer h4, footer h3 {
	font-family: var(--head);
	font-weight: 500;
	font-size: 13px;
	letter-spacing: 0.08em;
	color: #fff;
}
footer, footer p, footer li { color: #d6d5cf; }
footer a, footer ul li a { color: #d6d5cf; }
footer a:hover, footer a:focus, footer ul li a:hover, footer ul li a:focus { color: var(--accent); }
footer img[src$="ivnva.png"] { filter: invert(1) brightness(1.6); opacity: 1; }
footer [class*=phone], footer .phone, footer h2, footer h3.phone {
	font-family: var(--head);
	color: #fff;
}
/* static map snapshot (tm_google_map module) */
/* theme forces footer .map to 250px/320px !important on phones/tablets (old JS map) - must match its !important */
footer .map.map-static { position: relative; height: auto !important; }
.map-static > a { display: block; position: relative; }
.map-static img { display: block; width: 100%; height: clamp(110px, 12.5vw, 210px); object-fit: cover; }
/* OSM licence credit - HTML overlay so it survives any crop */
.map-static .map-attr {
	position: absolute; right: 0; bottom: 0;
	padding: 2px 8px;
	background: rgba(244, 243, 239, .85);
	color: #3c3c3c; font-size: 11px;
}
.map-static .map-attr a { color: inherit; }

/* bottom bar: black, logo instead of text */
footer .copyright { background: var(--ink); color: #d6d5cf; padding-block: 22px; text-align: center; border: 0; }
footer .copyright img { display: inline-block; height: 25px; width: auto; vertical-align: middle; }
.map-static > a::after {
	content: 'Google Maps ->';
	position: absolute; left: 16px; bottom: 16px;
	padding: 8px 14px;
	background: var(--ink); color: #fff;
	font-family: var(--head); font-size: 11px; letter-spacing: 0.08em;
}
.map-static > a:hover::after, .map-static > a:focus::after { background: var(--accent); color: var(--ink); }
#back-top a, #back-top span, .back-top { background: var(--accent) !important; color: var(--ink) !important; border-radius: 0 !important; }

/* product page wish list / compare: theme has no padding and top-aligns a 23px icon next to 15px text */
.buttons-product .product-buttons {
	display: inline-flex; align-items: center; gap: 8px;
	padding: 10px 18px 10px 14px; line-height: 1;
	margin-bottom: 10px;
}
.buttons-product .product-buttons i { font-size: 20px; line-height: 1; vertical-align: middle; height: auto; }
.buttons-product .product-buttons span { line-height: 1; }
.buttons-product { margin-bottom: 14px; }

/* product gallery (< 1200px): theme pads .bx-viewport right by 2px, so the slide is 2px narrower
   than the arrow container and the right arrow overhangs the photo - pull it in by the same 2px */
#full_gallery .bx-controls-direction .bx-next { right: 2px; }

/* small screens */
@media (max-width: 767px) {
	body { font-size: 14px; }
	.product-thumb .caption { padding: 10px 10px 4px; }
	.product-thumb .cart-button { padding: 4px 10px 12px; }
}
