/* Your custom CSS here */

/* ==========================================================================
   aquagarden.az theme
   Tokens follow docs/aquagarden_design_recommendations.md, section 8.
   ========================================================================== */
:root {
	--aq-primary: #0f766e;
	--aq-primary-hover: #115e59;
	--aq-text: #172b2a;
	--aq-text-2: #526562;
	--aq-bg: #f7faf9;
	--aq-surface: #ffffff;
	--aq-shops-bg: #eff8f5;
	--aq-border: #dce7e3;
	--aq-footer-bg: #10383d;
	--aq-radius: 12px;
	--aq-radius-ctl: 10px;
	--aq-focus: 0 0 0 3px rgba(15, 118, 110, .35);
	--aq-whatsapp: #25d366;
	--aq-sand: #f5ecd7;
	--aq-sand-dark: #e8d9b5;
	/* old names kept for module views */
	--aq-teal: var(--aq-primary);
	--aq-teal-dark: var(--aq-primary-hover);
	--aq-aqua: #14b8a6;
	--aq-lagoon: #0e7490;
	--aq-ink: var(--aq-text);
}

body {
	color: var(--aq-text);
	background: var(--aq-bg);
}
@media (min-width: 1200px) {
	#homepage .container,
	header .navbar > .container,
	footer .container {
		max-width: 1200px;
	}
}
a:focus-visible,
button:focus-visible,
.btn:focus-visible {
	outline: none;
	box-shadow: var(--aq-focus) !important;
	border-radius: var(--aq-radius-ctl);
}

/* ---------- header ---------- */
.navbar.bg-body-tertiary,
header .navbar {
	background: #ffffff !important;
	box-shadow: none !important;
	border-bottom: 1px solid var(--aq-border);
	min-height: 64px;
}
header .navbar .navbar-brand img {
	max-height: 44px;
}
header .navbar .nav-link {
	font-weight: 500;
	color: var(--aq-text);
}
header .navbar .nav-link:hover {
	color: var(--aq-primary);
}
header .navbar .btn-primary {
	background: var(--aq-primary);
	border-color: var(--aq-primary);
	color: #fff;
	font-weight: 600;
	border-radius: var(--aq-radius-ctl);
	padding: .45rem 1rem;
}
header .navbar .btn-primary:hover {
	background: var(--aq-primary-hover);
	border-color: var(--aq-primary-hover);
}
.aq-lang-code {
	font-size: .85rem;
	font-weight: 600;
	margin-left: .15rem;
}

/* ---------- section layout ---------- */
#homepage .aq-section {
	padding-top: 48px;
}
#homepage .aq-hero + .aq-section,
#homepage > .aq-section:first-child {
	padding-top: 40px;
}
.aq-section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 24px;
	margin-bottom: 20px;
}
.aq-section-title {
	font-size: 1.625rem; /* 26px */
	font-weight: 600;
	color: var(--aq-text);
	margin: 0;
	line-height: 1.25;
}
.aq-section-sub {
	margin: 8px 0 0;
	color: var(--aq-text-2);
	font-size: .95rem;
}
.aq-section-link {
	color: var(--aq-primary);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.aq-section-link:hover {
	color: var(--aq-primary-hover);
	text-decoration: underline;
}
.aq-btn-more {
	border-radius: var(--aq-radius-ctl);
	padding: .7rem 1.5rem;
	font-weight: 600;
	border-color: var(--aq-primary);
	color: var(--aq-primary);
}
.aq-btn-more:hover {
	background: var(--aq-primary);
	border-color: var(--aq-primary);
	color: #fff;
}
@media (max-width: 767.98px) {
	#homepage .aq-section {
		padding-top: 32px;
	}
	.aq-section-title {
		font-size: 1.375rem;
	}
}

/* ---------- home hero (theme override: front/sections/home/search-form) ---------- */
#homepage .aq-hero {
	position: relative;
	min-height: 300px;
	padding: 44px 0;
	background: #115e59 url("../../images/aquagarden/hero.svg") center / cover no-repeat !important;
	overflow: visible;
}
#homepage .aq-hero-title {
	font-size: clamp(1.75rem, 3vw, 2.5rem); /* 28-40px */
	font-weight: 700;
	letter-spacing: -.3px;
	line-height: 1.2;
	max-width: 36ch;
	margin: 0 auto .5rem;
}
#homepage .aq-hero-sub {
	font-size: 1.1rem;
	opacity: .9;
	margin-bottom: 1.75rem !important;
}
#homepage .aq-hero-search {
	background: #fff;
	border: 1px solid var(--aq-border);
	border-radius: var(--aq-radius);
	box-shadow: 0 8px 24px rgba(16, 56, 61, .18);
	padding: 6px;
	text-align: left;
}
.aq-search-row {
	display: flex;
	align-items: stretch;
	gap: 6px;
}
.aq-search-field {
	flex: 1 1 0;
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 12px;
	border-radius: var(--aq-radius-ctl);
	position: relative;
}
.aq-search-field i {
	color: var(--aq-text-2);
	font-size: 1.1rem;
}
.aq-search-field .form-control {
	height: 50px;
	padding: 0;
	font-size: 1rem;
	background: transparent;
	color: var(--aq-text);
}
.aq-search-field:focus-within {
	box-shadow: var(--aq-focus);
}
.aq-search-field-loc {
	border-left: 1px solid var(--aq-border);
	border-radius: 0 var(--aq-radius-ctl) var(--aq-radius-ctl) 0;
}
.aq-search-btn {
	min-height: 52px;
	min-width: 140px;
	border-radius: var(--aq-radius-ctl) !important;
	background: var(--aq-primary) !important;
	border-color: var(--aq-primary) !important;
	font-weight: 600;
	font-size: 1rem;
}
.aq-search-btn:hover {
	background: var(--aq-primary-hover) !important;
	border-color: var(--aq-primary-hover) !important;
}
@media (max-width: 767.98px) {
	#homepage .aq-hero {
		min-height: 0;
		padding: 36px 0 32px;
	}
	.aq-search-row {
		flex-direction: column;
	}
	.aq-search-field-loc {
		border-left: 0;
		border-top: 1px solid var(--aq-border);
		border-radius: 0;
	}
	.aq-search-btn {
		width: 100%;
	}
}

/* ---------- category tiles (theme override: c-big-icon-list) ---------- */
.aq-cat-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 100%;
	min-height: 128px;
	padding: 16px 12px;
	border-radius: var(--aq-radius);
	background: var(--aq-surface);
	border: 1px solid var(--aq-border);
	color: var(--aq-text);
	transition: border-color .15s ease, box-shadow .15s ease;
}
.aq-cat-tile:hover {
	border-color: #9fd5cc;
	box-shadow: 0 4px 14px rgba(16, 56, 61, .08);
	color: var(--aq-primary-hover);
}
.aq-cat-tile:focus-visible {
	box-shadow: var(--aq-focus) !important;
	border-color: var(--aq-primary);
}
.aq-cat-art {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
}
.aq-cat-art img {
	width: 60px;
	height: 60px;
}
.aq-cat-art i {
	font-size: 2.25rem;
	color: var(--aq-primary);
}
.aq-cat-name {
	font-weight: 600;
	font-size: .95rem;
	text-align: center;
	line-height: 1.25;
}
.aq-cat-count {
	font-size: .8rem;
	color: var(--aq-text-2);
}
.big-icon-category-list i {
	color: var(--aq-primary);
}
@media (max-width: 575.98px) {
	.aq-cat-tile {
		min-height: 112px;
	}
	.aq-cat-art,
	.aq-cat-art img {
		width: 52px;
		height: 52px;
	}
	.aq-cat-name {
		font-size: .875rem;
	}
}

/* ---------- listing cards (theme override: search/partials/posts/template/grid) ---------- */
.aq-grid {
	margin-top: 0;
}
.aq-grid > .item-list {
	display: flex;
}
.aq-lcard {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: var(--aq-surface);
	border: 1px solid var(--aq-border);
	border-radius: var(--aq-radius);
	overflow: hidden;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.aq-lcard:hover,
.aq-lcard:focus-within {
	border-color: #9fd5cc;
	box-shadow: 0 6px 18px rgba(16, 56, 61, .09);
}
.aq-lcard-media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: #e6f2ef;
}
.aq-lcard-img,
.aq-lcard-img picture {
	display: block;
	width: 100%;
	height: 100%;
}
.aq-lcard-img img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.aq-lcard-photos {
	position: absolute;
	left: 10px;
	bottom: 10px;
	padding: 2px 8px;
	border-radius: 999px;
	background: rgba(16, 56, 61, .72);
	color: #fff;
	font-size: .75rem;
	line-height: 1.6;
}
/* save button: the <i> must fill the whole button (make.favorite.js uses event.target.parentElement) */
.aq-lcard .aq-fav {
	position: absolute;
	top: 8px;
	right: 8px;
	width: 44px;
	height: 44px;
	padding: 0;
	display: inline-flex;
	border-radius: 999px !important;
	background: rgba(255, 255, 255, .92) !important;
	border: 1px solid var(--aq-border) !important;
	color: var(--aq-text-2) !important;
}
.aq-lcard .aq-fav i {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font-size: 1.1rem;
}
.aq-lcard .aq-fav:hover {
	color: #dc3545 !important;
}
.aq-lcard .aq-fav.btn-success {
	color: #dc3545 !important;
}
.aq-lcard-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 14px 16px 16px;
	flex: 1 1 auto;
}
.aq-lcard-price {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--aq-text);
	line-height: 1.3;
}
.aq-lcard-title {
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.35;
	margin: 0;
	min-height: 2.7em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.aq-lcard-title a {
	color: var(--aq-text);
	text-decoration: none;
}
.aq-lcard-title a:hover {
	color: var(--aq-primary);
}
.aq-lcard-meta,
.aq-lcard-cat {
	font-size: .8125rem; /* 13px */
	color: var(--aq-text-2);
}
.aq-lcard-meta a,
.aq-lcard-cat a {
	color: inherit;
	text-decoration: none;
}
.aq-lcard-meta a:hover,
.aq-lcard-cat a:hover {
	color: var(--aq-primary);
	text-decoration: underline;
}
.aq-lcard-badges {
	margin-top: 4px;
}
.aq-badge-shop-sm {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 1px 8px;
	border-radius: 999px;
	font-size: .75rem;
	font-weight: 600;
	color: var(--aq-primary-hover);
	background: var(--aq-shops-bg);
	border: 1px solid #c5e4dc;
}
@media (max-width: 575.98px) {
	.aq-lcard-body {
		padding: 10px 12px 12px;
	}
	.aq-lcard-price {
		font-size: 1.05rem;
	}
	.aq-lcard-title {
		font-size: .9rem;
	}
}

/* ---------- home: approved shops section ---------- */
#homepage .aq-home-shops {
	margin-top: 60px;
	padding: 40px 0;
	background: var(--aq-shops-bg);
	border-top: 1px solid var(--aq-border);
	border-bottom: 1px solid var(--aq-border);
}
.aq-shops-single .col {
	max-width: 480px;
}
@media (max-width: 767.98px) {
	#homepage .aq-home-shops {
		margin-top: 36px;
		padding: 24px 0;
	}
}

/* ---------- shop cards (home + /shops) ---------- */
.aq-shop-card {
	display: flex;
	align-items: center;
	gap: 16px;
	height: 100%;
	padding: 20px 22px;
	background: var(--aq-surface);
	border: 1px solid var(--aq-border);
	border-radius: var(--aq-radius);
	color: var(--aq-text);
	text-decoration: none;
	transition: border-color .15s ease, box-shadow .15s ease;
}
.aq-shop-card:hover {
	border-color: #9fd5cc;
	box-shadow: 0 6px 18px rgba(16, 56, 61, .09);
	color: var(--aq-text);
}
.aq-shop-card-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	flex: 1 1 auto;
}
.aq-shop-card-name {
	font-weight: 600;
	font-size: 1.1rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
.aq-shop-card-verified {
	font-size: .8125rem;
	font-weight: 600;
	color: var(--aq-primary);
}
.aq-shop-card-meta {
	font-size: .875rem;
	color: var(--aq-text-2);
}
.aq-shop-card-arrow {
	color: var(--aq-text-2);
	font-size: 1.1rem;
}
.aq-shop-card .aq-shop-logo {
	border: 1px solid var(--aq-border);
	box-shadow: none;
}

/* ---------- module cards (/shops, /shop/{slug}, my listings) ---------- */
.aq-card {
	border-radius: var(--aq-radius) !important;
	background: #fff;
	transition: box-shadow .15s ease;
}
.aq-card:hover {
	box-shadow: 0 6px 18px rgba(16, 56, 61, .09) !important;
}
.aq-card-img {
	background: #e6f2ef;
}
.aq-price,
.item-price,
.price-box .price {
	color: var(--aq-primary) !important;
}
.aq-card-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-height: 1.3;
	min-height: 2.6em;
}

/* ---------- badges ---------- */
.aq-badge-shop {
	background: var(--aq-sand);
	color: var(--aq-primary-hover) !important;
	border: 1px solid var(--aq-sand-dark);
	font-weight: 600;
}

/* ---------- shop logo / pages ---------- */
.aq-shop-initials {
	background: linear-gradient(135deg, var(--aq-primary), var(--aq-aqua));
	color: #fff;
	letter-spacing: .5px;
}
.aq-shop-logo {
	border: 3px solid #fff;
	box-shadow: 0 4px 14px rgba(11, 43, 51, .15);
	flex-shrink: 0;
}
.aq-shop-hero,
.aq-page-head {
	background: linear-gradient(135deg, var(--aq-primary-hover), var(--aq-primary));
	color: #fff;
}
.aq-shop-hero .aq-badge-shop {
	background: rgba(255, 255, 255, .92);
}
.aq-prewrap {
	white-space: pre-wrap;
}
@media (min-width: 992px) {
	.aq-sticky {
		position: sticky;
		top: 90px;
	}
}
.min-w-0 {
	min-width: 0;
}

/* ---------- contact buttons ---------- */
.aq-btn-call {
	background: var(--aq-primary);
	border-color: var(--aq-primary);
	font-weight: 600;
}
.aq-btn-call:hover {
	background: var(--aq-primary-hover);
	border-color: var(--aq-primary-hover);
}
.aq-btn-whatsapp {
	background: var(--aq-whatsapp);
	border-color: var(--aq-whatsapp);
	color: #fff !important;
	font-weight: 600;
}
.aq-btn-whatsapp:hover {
	background: #1ebe5b;
	border-color: #1ebe5b;
}

/* ---------- seller dashboard ---------- */
.aq-my-listing {
	border-left: 5px solid #ced4da !important;
}
.aq-my-listing.aq-status-approved { border-left-color: #198754 !important; }
.aq-my-listing.aq-status-pending { border-left-color: #ffc107 !important; }
.aq-my-listing.aq-status-rejected { border-left-color: #dc3545 !important; }
.aq-my-listing.aq-status-sold { border-left-color: #212529 !important; }
.aq-my-listing .aq-thumb img {
	background: #e7f6f4;
}
@media (min-width: 768px) {
	.aq-actions {
		min-width: 150px;
	}
}

/* ---------- listing form: seller type comes from the account, phone always shown ---------- */
#postTypeBloc {
	display: none !important;
}
#phoneHidden,
#phoneHidden + small {
	display: none !important;
}

/* ---------- footer (LC renders bg-black when dark footer is on) ---------- */
footer {
	margin-top: 0;
}
footer > .container-fluid.bg-black,
footer > .container-fluid {
	background: var(--aq-footer-bg) !important;
	border-top: 0 !important;
	margin-top: 64px !important;
	padding-top: 44px !important;
	padding-bottom: 24px !important;
}
/* the shops band already closes the home page; no white strip before the footer */
body:has(.aq-home-shops) footer > .container-fluid {
	margin-top: 0 !important;
}
/* copyright row: closer to the link groups, with a thin divider */
footer .w-100.d-flex.small {
	margin-top: 32px !important;
	margin-bottom: 0 !important;
	padding-top: 16px !important;
	border-top: 1px solid rgba(255, 255, 255, .15) !important;
	color: #b9d6d1;
}
footer h4 {
	color: #99f6e4;
	letter-spacing: .3px;
	font-size: .8rem !important;
	margin-bottom: 14px !important;
}
footer li.lh-lg {
	line-height: 1.9 !important;
}
footer a {
	color: #d5ebe7 !important;
}
footer a:hover {
	color: #ffffff !important;
}
footer hr {
	margin: 24px 0 16px !important;
	border-color: rgba(255, 255, 255, .15) !important;
	opacity: 1;
}

/* ---------- cookie banner ---------- */
.cookie-consent {
	background: rgba(16, 56, 61, .97) !important;
	color: #e2f5f3 !important;
}
.cookie-consent span,
.cookie-consent p,
.cookie-consent div {
	color: #e2f5f3 !important;
}

/* ---------- mobile ---------- */
@media (max-width: 575.98px) {
	.aq-card .card-body {
		padding: .6rem !important;
	}
	.aq-price {
		font-size: 1rem !important;
	}
	.aq-shop-hero h1 {
		font-size: 1.5rem;
	}
	.aq-shop-card {
		padding: 16px;
	}
}
