/* ==========================================================================
   Aghmashenebeli brand restyle
   Georgian heritage / hand-built scale-model watchtowers.
   Palette + type language pulled from the brand presentation:
   red #de3a45, warm cream #f3dcce/#f7f1e9, near-black stone #211c17,
   serif display (Playfair Display) over a clean sans body.
   ========================================================================== */

/* fonts: self-hosted in fonts-agh.css */

:root {
	--agh-red: #de3a45;
	--agh-red-dark: #c22a35;
	--agh-cream: #f3dcce;
	--agh-paper: #f7f1e8;
	--agh-stone: #ded3bf;
	--agh-terracotta: #b5651d;
	--agh-dark: #211c17;
	--agh-ink: #2b241d;
	--agh-font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
	--agh-font-body: 'Nunito Sans', 'Open Sans', 'Segoe UI', Arial, sans-serif;
}

body {
	font-family: var(--agh-font-body);
	color: var(--agh-ink);
}

/* ---------- Display typography ---------- */

h1, h2, h3, h4, h5, h6,
.title h3,
.widget-title h3,
.flat-row-title h3,
.box-title h3,
.content-post .title-post,
.form-contact-header h3,
.box-contact h3,
#flat-map ~ * h3 {
	font-family: var(--agh-font-display) !important;
	font-weight: 600 !important;
	color: var(--agh-dark);
	letter-spacing: 0;
}

/* short red accent rule under every section title across the site —
   applies without touching individual templates */
.title h3::after,
.flat-row-title h3::after,
.form-contact-header h3::after {
	content: '';
	display: block;
	width: 42px;
	height: 3px;
	margin: 14px 0 0;
	background: var(--agh-red);
	border-radius: 2px;
}

[style*="text-align:center"] .title h3::after {
	margin-left: auto;
	margin-right: auto;
}

.widget-title h3::before {
	content: '';
	display: inline-block;
	width: 16px;
	height: 3px;
	margin-right: 8px;
	background: var(--agh-red);
	border-radius: 2px;
	vertical-align: middle;
}

/* ---------- Eyebrow label + rule, for hero/feature copy blocks ---------- */

.agh-eyebrow {
	display: inline-block;
	font-family: var(--agh-font-body);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--agh-red);
	margin-bottom: 14px;
}

.agh-rule {
	display: block;
	width: 46px;
	height: 3px;
	background: var(--agh-red);
	border-radius: 2px;
	margin: 18px 0 22px;
}

.agh-rule.center {
	margin-left: auto;
	margin-right: auto;
}

/* ---------- Links / accents ---------- */

a,
.flat-support li a:hover,
.imagebox .box-content .product-name a:hover,
.widget-title h3 span,
.flat-row-title h3 span {
	color: var(--agh-red);
}

.btn-search button,
.check-out,
.contact button.contact,
.ordButt,
#price-filter-btn:hover,
.btn-add-cart a,
.wac_saveButton,
.cad_saveButton {
	background-color: var(--agh-red) !important;
	border-color: var(--agh-red) !important;
	border-radius: 3px !important;
	transition: background-color .18s ease, transform .18s ease;
}

.btn-add-cart a:hover,
.check-out:hover,
.contact button.contact:hover {
	background-color: var(--agh-red-dark) !important;
	transform: translateY(-1px);
}

.imagebox .box-bottom .btn-add-cart a {
	background-color: var(--agh-red);
}

/* ---------- Header ---------- */

.header-top {
	background: var(--agh-dark);
}

.header-top a,
.flat-infomation li.phone {
	color: var(--agh-cream) !important;
}

.header-middle,
.header-bottom {
	border-color: #f0e2d8;
}

#logo img {
	border-radius: 6px;
}

.header-middle #logo img {
	max-width: 40% !important;
}

.widget-about .logo-ft img {
	max-width: 40% !important;
}

#mainnav {
	float: none !important;
	padding-left: 0 !important;
	text-align: center;
	width: 100%;
}

#mainnav > ul.menu {
	float: none;
}

.header-bottom {
	background-color: var(--agh-red) !important;
}

.mainnav .menu > li > a {
	font-family: var(--agh-font-body);
	font-weight: 700;
	letter-spacing: .3px;
	padding: 0 42px !important;
	border-right-color: rgba(255,255,255,0.35) !important;
}

@media (max-width: 991px) {
	.mainnav .menu > li > a {
		padding: 0 21.5px !important;
	}
}

.mainnav .menu > li:hover > a,
.mainnav .menu > li.active > a,
#mainnav .menu > li > a:hover {
	color: var(--agh-red) !important;
}

#mega-menu > .btn-mega {
	background: var(--agh-dark) !important;
	border-radius: 3px;
}

ul.menu li.column-1 .submenu > li > a:hover,
.submenu .cat-title,
.submenu .show a,
#mega-mobile > ul.menu > li > a .menu-img .fa {
	color: var(--agh-red) !important;
}

.btn-mega .btn-mega,
#mega-menu .btn-mega {
	background-color: var(--agh-dark);
}

/* ---------- Hero / slider ---------- */

.flat-slider {
	position: relative;
}

.agh-hero-caption {
	background: var(--agh-paper);
	padding: 56px 0 48px;
	text-align: center;
	border-bottom: 1px solid var(--agh-stone);
}

.agh-hero-caption h1 {
	font-size: 40px;
	line-height: 1.15;
	margin: 0 0 16px;
	color: var(--agh-dark);
}

.agh-hero-caption p {
	max-width: 640px;
	margin: 0 auto;
	font-size: 15px;
	line-height: 1.8;
	color: #6b5f50;
}

.agh-hero-caption .agh-rule {
	margin: 0 auto 22px;
}

/* ---------- "The Idea" numbered feature cards ---------- */

.agh-idea {
	background: var(--agh-paper);
	padding: 70px 0;
}

.agh-idea-card {
	position: relative;
	background: #fff;
	border-top: 3px solid var(--agh-red);
	padding: 26px 24px 24px;
	height: 100%;
	box-shadow: 0 4px 18px rgba(33, 28, 23, 0.06);
	transition: transform .2s ease, box-shadow .2s ease;
}

.agh-idea-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 26px rgba(33, 28, 23, 0.12);
}

.agh-idea-num {
	font-family: var(--agh-font-display);
	font-size: 28px;
	font-weight: 700;
	color: var(--agh-red);
	margin-bottom: 6px;
}

.agh-idea-card h4 {
	font-family: var(--agh-font-display) !important;
	font-size: 19px;
	margin: 0 0 8px;
	color: var(--agh-dark);
}

.agh-idea-card p {
	font-size: 13px;
	line-height: 1.7;
	color: #6b5f50;
	margin: 0;
}

/* ---------- Product cards ---------- */

.imagebox .box-image {
	height: 180px;
	line-height: normal;
	overflow: hidden;
	margin-bottom: 16px;
}

.imagebox .box-image .owl-stage-outer,
.imagebox .box-image .owl-stage,
.imagebox .box-image .owl-item,
.imagebox .box-image li {
	height: 180px !important;
}

.imagebox .box-image a {
	margin: 0 auto;
	height: 100%;
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.imagebox .box-image img {
	max-height: 100%;
	max-width: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

.product-box {
	height: auto !important;
	min-height: 370px;
	overflow: visible !important;
	margin-bottom: 45px !important;
}

.box-product .row {
	row-gap: 20px;
}

.product-box .imagebox {
	border-color: #e5d9ce;
	transition: border-color .2s ease, box-shadow .2s ease;
}

.product-box:hover .imagebox {
	border-color: var(--agh-red);
	box-shadow: 0 10px 24px rgba(33, 28, 23, 0.08);
}

.imagebox .box-content .product-name a {
	font-family: var(--agh-font-display);
}

.price .sale,
.sale.prodprice,
span.item-sale {
	color: var(--agh-red) !important;
}

/* ---------- Breadcrumb ---------- */

.flat-breadcrumb {
	background-color: #55504c;
}

.flat-breadcrumb .breadcrumbs li a,
.flat-breadcrumb .breadcrumbs li span {
	color: var(--agh-cream);
}

.flat-breadcrumb .trail-end a {
	color: var(--agh-red);
}

/* ---------- Testimonials / iconbox ---------- */

.iconbox .box-title h3 {
	color: var(--agh-dark);
}

.iconbox:hover .box-header .image {
	filter: none;
}

/* ---------- Footer ---------- */

footer {
	background: var(--agh-paper);
	border-top: 1px solid var(--agh-stone);
}

.widget-ft .widget-title h3 {
	font-family: var(--agh-font-display) !important;
}

.footer-bottom {
	background-color: var(--agh-dark);
}

.footer-bottom .copyright {
	color: var(--agh-cream);
}

.map-directions-btn {
	background: var(--agh-red) !important;
}

.floating-social a.whatsapp {
	background: #25D366;
}

/* testimonials + projects cards already ship their own accent colors from the modules that built them */
