/* Inner pages — matches TREADAVES theme (custom.css variables) */

/* Navbar: align nav row, cart, CTA */
.navbar-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	width: 100%;
}

.navbar-main-inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	gap: 1rem;
}

@media (min-width: 992px) {
	.navbar-main-inner {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
		gap: 1.25rem;
	}

	.main-menu .nav-menu-wrapper {
		text-align: center;
		margin: 0 auto;
		flex: 1 1 auto;
		min-width: 0;
	}

	.navbar .header-actions {
		gap: 16px;
	}

	.navbar .header-actions .header-btn {
		margin: 0;
		text-align: inherit;
	}
}

/* Cart icon: theme circle button */
.header-cart-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	min-width: 40px;
	min-height: 40px;
	margin: 0;
	padding: 0;
	border-radius: 50%;
	border: 1px solid var(--divider-color);
	color: var(--accent-color);
	font-size: 18px;
	line-height: 1;
	text-decoration: none !important;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
	flex-shrink: 0;
}

.header-cart-link:hover,
.header-cart-link:focus-visible {
	background: var(--accent-color);
	color: var(--white-color);
	border-color: var(--accent-color);
	transform: translateY(-1px);
	outline: none;
}

.header-cart-link i {
	line-height: 1;
}

.header-cart-count {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	font-size: 11px;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
	background: var(--accent-color);
	color: var(--white-color);
	border-radius: 999px;
	border: 2px solid var(--white-color);
	box-sizing: border-box;
}

@media (max-width: 991px) {
	.navbar-inner .navbar-brand {
		order: 1;
	}

	.navbar-inner .navbar-mobile-end {
		order: 2;
	}

	.navbar-inner .main-menu {
		order: 3;
		flex: 1 1 100%;
	}

	.navbar-mobile-end .header-cart-link {
		margin: 0;
	}
}

.site-page-section {
	padding: 90px 0;
}

.site-page-section.compact-bottom {
	padding-bottom: 60px;
}

/* Product listing */
.product-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-bottom: 40px;
}

.product-filter-btn {
	border: 1px solid var(--divider-color);
	background: var(--white-color);
	color: var(--primary-color);
	padding: 10px 22px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 500;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.product-filter-btn:hover,
.product-filter-btn:focus {
	border-color: var(--accent-color);
	color: var(--accent-color);
	transform: translateY(-2px);
}

.product-filter-btn.is-active {
	background: var(--accent-color);
	border-color: var(--accent-color);
	color: var(--white-color);
}

.product-card {
	background: var(--white-color);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(18, 24, 32, 0.08);
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 50px rgba(18, 24, 32, 0.12);
}

.product-card-image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
}

.product-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.product-card:hover .product-card-image img {
	transform: scale(1.06);
}

.product-card-body {
	padding: 24px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.product-card-body h3 {
	font-size: 22px;
	margin-bottom: 10px;
}

.product-card-meta {
	font-size: 14px;
	color: var(--accent-color);
	font-weight: 600;
	margin-bottom: 12px;
}

.product-card-price {
	font-size: 20px;
	font-weight: 700;
	color: var(--primary-color);
	margin-top: auto;
	margin-bottom: 16px;
}

.product-card-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

/* Product detail */
.product-detail-gallery {
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(18, 24, 32, 0.08);
}

.product-detail-gallery img {
	width: 100%;
	display: block;
}

.product-detail-box {
	background: var(--white-color);
	padding: 40px;
	border-radius: 20px;
	box-shadow: 0 12px 40px rgba(18, 24, 32, 0.06);
}

.qty-control {
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--divider-color);
	border-radius: 12px;
	overflow: hidden;
}

.qty-control button {
	border: none;
	background: var(--bg-color);
	width: 44px;
	height: 44px;
	font-size: 20px;
	line-height: 1;
	color: var(--primary-color);
	transition: background 0.2s ease;
}

.qty-control button:hover {
	background: var(--secondary-color);
	color: var(--accent-color);
}

.qty-control input {
	width: 56px;
	border: none;
	text-align: center;
	font-weight: 600;
	background: var(--white-color);
}

/* Cart */
.cart-table-wrap {
	background: var(--white-color);
	border-radius: 20px;
	padding: 0;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(18, 24, 32, 0.06);
}

.cart-table {
	width: 100%;
	margin: 0;
}

.cart-table thead th {
	background: var(--primary-color);
	color: var(--white-color);
	padding: 16px 20px;
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.cart-table tbody td {
	padding: 20px;
	vertical-align: middle;
	border-bottom: 1px solid var(--divider-color);
}

.cart-product-cell {
	display: flex;
	align-items: center;
	gap: 16px;
}

.cart-product-thumb {
	width: 72px;
	height: 72px;
	border-radius: 12px;
	overflow: hidden;
	flex-shrink: 0;
}

.cart-product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cart-empty {
	text-align: center;
	padding: 60px 24px;
	background: var(--white-color);
	border-radius: 20px;
	box-shadow: 0 12px 40px rgba(18, 24, 32, 0.06);
}

.cart-summary {
	background: var(--white-color);
	border-radius: 20px;
	padding: 32px;
	box-shadow: 0 12px 40px rgba(18, 24, 32, 0.06);
	position: sticky;
	top: 100px;
}

.cart-summary-row {
	display: flex;
	justify-content: space-between;
	padding: 12px 0;
	border-bottom: 1px solid var(--divider-color);
	font-size: 16px;
}

.cart-summary-row.total {
	border-bottom: none;
	font-size: 22px;
	font-weight: 700;
	color: var(--primary-color);
	padding-top: 20px;
}

.btn-icon-remove {
	border: none;
	background: transparent;
	color: var(--error-color);
	font-size: 18px;
	padding: 8px;
	cursor: pointer;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-icon-remove:hover {
	transform: scale(1.1);
	opacity: 0.85;
}

/* Gallery grid */
.gallery-page-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

@media (max-width: 991px) {
	.gallery-page-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 575px) {
	.gallery-page-grid {
		grid-template-columns: 1fr;
	}
}

.gallery-page-item {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(18, 24, 32, 0.08);
}

.gallery-page-item a {
	display: block;
	position: relative;
	overflow: hidden;
}

.gallery-page-item img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.45s ease;
	position: relative;
	z-index: 0;
}

.gallery-page-item:hover img {
	transform: scale(1.08);
}

.gallery-page-item a::after {
	content: "\f00e";
	font-family: "Font Awesome 6 Free";
	font-weight: 900;
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(6, 105, 57, 0.45);
	color: #fff;
	font-size: 28px;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
	z-index: 1;
}

.gallery-page-item:hover a::after {
	opacity: 1;
}

/* Blog */
.blog-card {
	background: var(--white-color);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(18, 24, 32, 0.08);
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 50px rgba(18, 24, 32, 0.12);
}

.blog-card-image {
	overflow: hidden;
	aspect-ratio: 16 / 10;
}

.blog-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s ease;
}

.blog-card:hover .blog-card-image img {
	transform: scale(1.05);
}

.blog-card-body {
	padding: 28px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.blog-card-meta {
	font-size: 14px;
	color: var(--text-color);
	margin-bottom: 12px;
}

.blog-card-meta span {
	color: var(--accent-color);
	font-weight: 600;
}

.blog-card h3 {
	font-size: 22px;
	margin-bottom: 12px;
	line-height: 1.3;
}

.blog-article {
	background: var(--white-color);
	border-radius: 20px;
	padding: 48px;
	box-shadow: 0 12px 40px rgba(18, 24, 32, 0.06);
}

.blog-article-header {
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--divider-color);
}

.blog-article-featured {
	border-radius: 20px;
	overflow: hidden;
	margin-bottom: 32px;
}

.blog-article-featured img {
	width: 100%;
	display: block;
}

.blog-article-body p {
	font-size: 17px;
	line-height: 1.75;
}

/* Contact page */
.contact-page-form .form-control {
	border-radius: 12px;
	padding: 14px 18px;
	border: 1px solid var(--divider-color);
}

.contact-page-form .form-control:focus {
	border-color: var(--accent-color);
	box-shadow: 0 0 0 3px rgba(6, 105, 57, 0.15);
}

.contact-map-wrap {
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 12px 40px rgba(18, 24, 32, 0.08);
	min-height: 380px;
}

.contact-map-wrap iframe {
	width: 100%;
	height: 420px;
	border: 0;
	display: block;
}

.contact-detail-cards .contact-mini-card {
	background: var(--white-color);
	padding: 28px;
	border-radius: 16px;
	box-shadow: 0 8px 28px rgba(18, 24, 32, 0.06);
	height: 100%;
	transition: transform 0.25s ease;
}

.contact-detail-cards .contact-mini-card:hover {
	transform: translateY(-4px);
}

.contact-social-inline a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--accent-color);
	color: var(--white-color);
	margin-right: 10px;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.contact-social-inline a:hover {
	transform: scale(1.08);
	opacity: 0.92;
	color: var(--white-color);
}

/* Mission / vision cards */
.mv-card {
	background: var(--white-color);
	padding: 36px;
	border-radius: 20px;
	box-shadow: 0 12px 40px rgba(18, 24, 32, 0.06);
	height: 100%;
	transition: transform 0.3s ease;
}

.mv-card:hover {
	transform: translateY(-4px);
}

.mv-card .icon-wrap {
	width: 56px;
	height: 56px;
	margin-bottom: 20px;
}

.mv-card .icon-wrap img {
	max-height: 56px;
}

/* About page — Why choose us (scoped cards; avoids global .about-us-item column/divider rules) */
.why-choose-about {
	padding-top: 90px;
	padding-bottom: 90px;
}

.why-choose-about__head {
	margin-bottom: 48px;
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.why-choose-about__head .why-choose-about__intro {
	margin-top: 16px;
	margin-bottom: 0;
	font-size: 17px;
	line-height: 1.65;
	opacity: 0.92;
}

.why-choose-about__grid {
	margin-top: 8px;
	align-items: stretch;
}

.why-choose-about__card {
	flex: 1 1 auto;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 36px 28px 40px;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 20px;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.14);
	transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, background 0.35s ease;
	min-height: 100%;
}

.why-choose-about__card:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 56px rgba(0, 0, 0, 0.2);
	border-color: rgba(255, 255, 255, 0.22);
	background: rgba(255, 255, 255, 0.1);
}

.why-choose-about__icon {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.16);
	margin-bottom: 22px;
	flex-shrink: 0;
	transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

.why-choose-about__card:hover .why-choose-about__icon {
	transform: scale(1.06);
	background: rgba(255, 255, 255, 0.14);
	border-color: var(--accent-color);
}

.why-choose-about__icon img {
	width: 36px;
	height: 36px;
	object-fit: contain;
}

.why-choose-about__body {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.why-choose-about__body h3 {
	font-size: 22px;
	margin-bottom: 12px;
	color: var(--white-color);
	font-weight: 700;
}

.why-choose-about__body p {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
	flex-grow: 1;
}

@media (max-width: 991px) {
	.why-choose-about__head {
		margin-bottom: 36px;
	}

	.why-choose-about__card {
		padding: 32px 24px 36px;
	}
}

@media (max-width: 767px) {
	.why-choose-about {
		padding-top: 60px;
		padding-bottom: 60px;
	}

	.why-choose-about__intro {
		font-size: 16px;
	}

	.why-choose-about__body h3 {
		font-size: 20px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.why-choose-about__card,
	.why-choose-about__card:hover,
	.why-choose-about__icon,
	.why-choose-about__card:hover .why-choose-about__icon {
		transition: none;
		transform: none;
	}
}

/* Team */
.team-card {
	text-align: center;
	background: var(--white-color);
	padding: 32px 24px;
	border-radius: 20px;
	box-shadow: 0 12px 40px rgba(18, 24, 32, 0.06);
	height: 100%;
	transition: transform 0.3s ease;
}

.team-card:hover {
	transform: translateY(-5px);
}

.team-card figure {
	width: 120px;
	height: 120px;
	border-radius: 50%;
	overflow: hidden;
	margin: 0 auto 20px;
	border: 4px solid var(--accent-color);
}

.team-card figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.form-error-msg {
	color: var(--error-color);
	font-size: 14px;
	margin-top: 6px;
	display: none;
}

.form-error-msg.is-visible {
	display: block;
}

@media (max-width: 767px) {
	.cart-table-wrap {
		overflow-x: auto;
	}

	.product-detail-box {
		padding: 28px;
	}

	.blog-article {
		padding: 28px 22px;
	}

	.site-page-section {
		padding: 60px 0;
	}
}
