/*
 * Arnav Infosystem - base stylesheet.
 *
 * Tokens mirror the current production site (Inter, brand blue #0057d9,
 * navy slate scale, orange accent). Header rules are scoped under .header so
 * they out-rank Hello Elementor's reset, which styles bare a / button /
 * [type="button"] / input / select.
 */

@font-face {
	font-family: "Inter";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--ai-primary: #0057d9;
	--ai-primary-dark: #0045ad;
	--ai-secondary: #0f172a;
	--ai-accent: #ff8c1f;
	--ai-text: #0f172a;
	--ai-muted: #64748b;
	--ai-border: #e2e8f0;
	--ai-background: #f8fafc;
	--ai-surface: #ffffff;
	--ai-navy: #020617;
	--ai-deal: #dc2626;
	--ai-whatsapp: #16a34a;

	--ai-container: 80rem;
	--ai-radius: 8px;
	--ai-radius-lg: 10px;
	--ai-radius-pill: 9999px;
	--ai-space-x: clamp(1rem, 0.5rem + 2.5vw, 3rem);
	--ai-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--ai-font-heading: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--ai-footer-navy: #041b4d;
	--ai-footer-raised: #0a2a66;
	--ai-text-sm: clamp(0.875rem, 0.84rem + 0.18vw, 0.9375rem);

	--ai-shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.06);
	--ai-shadow-lg: 0 12px 24px -6px rgba(15, 23, 42, 0.1), 0 4px 8px -4px rgba(15, 23, 42, 0.06);
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal;
}

.screen-reader-text:focus {
	background: var(--ai-surface);
	clip: auto;
	clip-path: none;
	color: var(--ai-text);
	height: auto;
	left: 0.5rem;
	padding: 0.75rem 1rem;
	top: 0.5rem;
	width: auto;
	z-index: 100000;
}

body.has-menu-open {
	overflow: hidden;
}

.ai-icon {
	flex: none;
}

/* ==========================================================================
   Header shell
   ========================================================================== */

.header {
	color: var(--ai-text);
	font-family: var(--ai-font);
	font-size: 16px;
	line-height: 1.5;
	position: sticky;
	top: 0;
	z-index: 50;
}

.admin-bar .header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .header {
		top: 46px;
	}
}

.header a,
.header a:hover,
.header a:focus {
	color: inherit;
	text-decoration: none;
}

.header ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.header p {
	margin: 0;
}

.header :focus-visible {
	outline: 2px solid var(--ai-primary);
	outline-offset: 2px;
}

/* ==========================================================================
   Top bar
   ========================================================================== */

.header .topbar {
	background: var(--ai-secondary);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	color: #f1f5f9;
	display: none;
	font-size: 13px;
	font-weight: 500;
	line-height: 1.333;
}

.header .topbar__inner {
	align-items: center;
	display: flex;
	height: 40px;
	margin-inline: auto;
	max-width: var(--ai-container);
	padding-inline: var(--ai-space-x);
}

.header .topbar__welcome {
	color: #fff;
	display: none;
	white-space: nowrap;
}

.header .topbar__links {
	align-items: center;
	display: flex;
	gap: 16px;
	margin-left: auto;
}

.header .topbar__links a,
.header .topbar__links li > span {
	align-items: center;
	display: inline-flex;
	gap: 4px;
}

.header .topbar__links a:hover {
	color: #fff;
}

.header .topbar__hours {
	display: none;
}

@media (min-width: 768px) {
	.header .topbar {
		display: block;
	}
}

@media (min-width: 1024px) {
	.header .topbar__welcome,
	.header .topbar__hours {
		display: block;
	}
}

/* ==========================================================================
   Main row: logo | Browse Categories | search | actions
   ========================================================================== */

.header .header-main {
	background: var(--ai-surface);
	border-bottom: 1px solid var(--ai-border);
}

.header .header-container {
	align-items: center;
	display: grid;
	gap: 8px 12px;
	grid-template-areas:
		"menu logo actions"
		"search search search"
		"browse browse browse";
	grid-template-columns: 1fr auto 1fr;
	margin-inline: auto;
	max-width: var(--ai-container);
	padding: 6px var(--ai-space-x) 12px;
	position: relative;
}

.header .header-menu-toggle { grid-area: menu; justify-self: start; }
.header .site-logo { grid-area: logo; }
.header .browse { grid-area: browse; }
.header .header-search { grid-area: search; }
.header .header-actions { grid-area: actions; justify-self: end; }

@media (min-width: 768px) {
	.header .header-container {
		grid-template-areas: "menu logo search actions";
		grid-template-columns: auto auto 1fr auto;
		padding-block: 6px;
		min-height: 72px;
	}

	.header .browse {
		display: none;
	}
}

@media (min-width: 1024px) {
	.header .header-container {
		grid-template-areas: "logo browse search actions";
		grid-template-columns: auto auto 1fr auto;
	}

	.header .header-container .header-menu-toggle {
		display: none;
	}

	.header .browse {
		display: block;
	}
}

/* Hamburger ------------------------------------------------------------- */

.header .header-menu-toggle,
.header .header-menu-toggle:hover,
.header .header-menu-toggle:focus {
	align-items: center;
	background: none;
	border: 0;
	border-radius: var(--ai-radius);
	color: var(--ai-text);
	cursor: pointer;
	display: inline-flex;
	height: 44px;
	justify-content: center;
	margin: 0;
	padding: 0;
	width: 44px;
}

.header .header-menu-toggle:hover {
	background: #f1f5f9;
}

/* Logo ------------------------------------------------------------------ */

.header .site-logo {
	line-height: 0;
	min-width: 0;
}

.header .site-logo .custom-logo-link {
	display: block;
}

.header .site-logo .custom-logo {
	display: block;
	height: 46px;
	max-width: none;
	width: auto;
}

.header .site-logo__text {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.2;
}

@media (min-width: 768px) {
	.header .site-logo .custom-logo {
		height: 60px;
	}
}

/* Browse Categories ----------------------------------------------------- */

.header .browse {
	position: relative;
}

.header .browse__toggle,
.header .browse__toggle:hover,
.header .browse__toggle:focus {
	align-items: center;
	background: var(--ai-surface);
	border: 1px solid var(--ai-border);
	border-radius: var(--ai-radius-lg);
	color: var(--ai-text);
	display: flex;
	font-size: 15px;
	font-weight: 600;
	gap: 8px;
	height: 44px;
	justify-content: center;
	line-height: 1.43;
	padding: 0 16px;
	white-space: nowrap;
	width: 100%;
}

.header .browse__toggle:hover {
	background: #f8fafc;
}

@media (min-width: 1024px) {
	.header .browse__toggle,
	.header .browse__toggle:hover,
	.header .browse__toggle:focus {
		background: var(--ai-navy);
		border-color: var(--ai-navy);
		color: #fff;
		width: auto;
	}

	.header .browse__toggle:hover {
		background: var(--ai-secondary);
	}
}

/* Dropdown panels (Browse Categories, Account) -------------------------- */

.header .dropdown {
	background: var(--ai-surface);
	border: 1px solid var(--ai-border);
	border-radius: var(--ai-radius-lg);
	box-shadow: var(--ai-shadow-lg);
	color: var(--ai-text);
	position: absolute;
	top: calc(100% + 6px);
	z-index: 60;
}

.header .dropdown[hidden] {
	display: none;
}

.header .browse__panel {
	left: 0;
	max-height: 420px;
	overflow-y: auto;
	width: 100%;
}

@media (min-width: 1024px) {
	.header .browse__panel {
		width: 256px;
	}
}

.header .dropdown__list a {
	align-items: center;
	display: flex;
	font-size: 15px;
	gap: 10px;
	justify-content: space-between;
	line-height: 1.43;
	padding: 8px 16px;
}

.header .dropdown__list a:hover,
.header .dropdown__list a:focus {
	background: #f1f5f9;
}

.header .dropdown__list li:first-child a {
	border-radius: var(--ai-radius-lg) var(--ai-radius-lg) 0 0;
}

.header .dropdown__count {
	color: var(--ai-muted);
	font-size: 13px;
}

.header .dropdown__footer {
	border-top: 1px solid var(--ai-border);
	color: var(--ai-primary);
	display: block;
	font-size: 14px;
	font-weight: 600;
	padding: 10px 16px;
}

.header .dropdown__footer:hover {
	background: #f1f5f9;
	color: var(--ai-primary-dark);
}

/* Search ---------------------------------------------------------------- */

.header .header-search {
	background: #f8fafc;
	border: 1px solid var(--ai-border);
	border-radius: var(--ai-radius-pill);
	box-shadow: var(--ai-shadow-sm);
	display: flex;
	height: 46px;
	margin: 0;
	overflow: hidden;
	width: 100%;
}

.header .header-search__select {
	align-items: center;
	background: #f1f5f9;
	color: var(--ai-muted);
	display: flex;
	flex: none;
	position: relative;
}

.header .header-search__select select {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--ai-muted);
	cursor: pointer;
	font: 500 15px/1.43 var(--ai-font);
	height: 44px;
	margin: 0;
	max-width: 9.5rem;
	padding: 0 30px 0 12px;
	text-overflow: ellipsis;
	width: 7.5rem;
}

.header .header-search__select .ai-icon {
	pointer-events: none;
	position: absolute;
	right: 10px;
}

@media (min-width: 768px) {
	.header .header-search__select select {
		width: 145px;
	}
}

.header .header-search .header-search__input[type="search"] {
	appearance: none;
	-webkit-appearance: none;
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: var(--ai-text);
	flex: 1 1 auto;
	font: 400 15px/1.43 var(--ai-font);
	height: 44px;
	margin: 0;
	min-width: 0;
	padding: 4px 16px;
	width: auto;
}

.header .header-search .header-search__input[type="search"]::placeholder {
	color: var(--ai-muted);
	opacity: 1;
}

.header .header-search .header-search__input[type="search"]:focus,
.header .header-search .header-search__input[type="search"]:focus-visible {
	outline: 2px solid var(--ai-primary);
	outline-offset: -2px;
}

.header .header-search__submit,
.header .header-search__submit:hover,
.header .header-search__submit:focus {
	align-items: center;
	background: var(--ai-primary);
	border: 0;
	border-radius: 0;
	color: #fff;
	cursor: pointer;
	display: inline-flex;
	flex: none;
	height: 44px;
	justify-content: center;
	margin: 0;
	padding: 0;
	width: 48px;
}

.header .header-search__submit:hover {
	background: var(--ai-primary-dark);
}

.header .header-search__submit:focus-visible {
	outline: 2px solid var(--ai-accent);
	outline-offset: -4px;
}

/* Actions --------------------------------------------------------------- */

.header .header-actions {
	align-items: center;
	display: flex;
	gap: 2px;
}

.header .header-actions__item,
.header .header-actions__item:hover,
.header .header-actions__item:focus {
	align-items: center;
	background: none;
	border: 0;
	border-radius: var(--ai-radius);
	color: var(--ai-text);
	cursor: pointer;
	display: inline-flex;
	font-size: 15px;
	font-weight: 500;
	gap: 6px;
	height: 44px;
	justify-content: center;
	line-height: 1.43;
	margin: 0;
	min-width: 44px;
	padding: 0;
	position: relative;
}

@media (min-width: 1024px) {
	.header .header-actions__item,
	.header .header-actions__item:hover,
	.header .header-actions__item:focus {
		height: 36px;
		min-width: 36px;
	}
}

.header .header-actions__item:hover,
.header .header-actions__item[aria-expanded="true"] {
	background: #f1f5f9;
}

.header .header-actions__whatsapp,
.header .header-actions__whatsapp:hover,
.header .header-actions__whatsapp:focus {
	color: var(--ai-whatsapp);
}

.header .header-cart__count {
	align-items: center;
	background: var(--ai-primary);
	border-radius: var(--ai-radius-pill);
	color: #fff;
	display: inline-flex;
	font-size: 10px;
	font-weight: 700;
	height: 16px;
	justify-content: center;
	line-height: 1;
	min-width: 16px;
	padding: 0 4px;
	position: absolute;
	right: 2px;
	top: 2px;
}

.header .header-cart__count[data-count="0"] {
	display: none;
}

/* Account (link on small screens, "Account v" on desktop) --------------- */

.header .account {
	position: relative;
}

.header .account__label,
.header .account__toggle .ai-icon--chevron {
	display: none;
}

@media (min-width: 1024px) {
	.header .account__toggle,
	.header .account__toggle:hover,
	.header .account__toggle:focus {
		padding: 0 8px;
	}

	.header .account__label,
	.header .account__toggle .ai-icon--chevron {
		display: inline-flex;
	}

	.header .account__toggle .ai-icon--chevron {
		color: var(--ai-muted);
	}
}

.header .account__panel {
	right: 0;
	top: calc(100% + 8px);
	width: 251px;
}

.header .dropdown__head {
	border-bottom: 1px solid var(--ai-border);
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 12px 16px 10px;
}

.header .dropdown__head strong {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.43;
}

.header .dropdown__head span {
	color: var(--ai-muted);
	font-size: 13px;
	line-height: 1.33;
}

.header .dropdown__list--icons {
	padding: 4px;
}

.header .dropdown__list--icons a {
	border-radius: 6px;
	font-size: 14px;
	justify-content: flex-start;
	padding: 8px 12px;
}

.header .dropdown__list--icons .ai-icon {
	color: var(--ai-secondary);
}

.header .dropdown__list--icons .dropdown__sep {
	border-top: 1px solid var(--ai-border);
	margin-top: 4px;
	padding-top: 4px;
}

/* ==========================================================================
   Primary navigation: blue band on desktop, slide-in drawer below 1024px
   ========================================================================== */

.header .primary-navigation {
	background: var(--ai-primary);
	color: #fff;
}

.header .drawer__head,
.header .drawer__tabs {
	display: none;
}

.header .primary-navigation__inner {
	margin-inline: auto;
	max-width: var(--ai-container);
	padding-inline: var(--ai-space-x);
}

.header .primary-menu {
	--ai-nav-gap: clamp(0.5rem, 1.4vw, 2rem);

	align-items: center;
	display: flex;
	gap: var(--ai-nav-gap);
	min-height: 64px;
}

.header .primary-menu a,
.header .primary-menu a:hover,
.header .primary-menu a:focus {
	align-items: center;
	color: rgba(255, 255, 255, 0.9);
	display: inline-flex;
	font-size: 15px;
	font-weight: 600;
	gap: 6px;
	height: 64px;
	line-height: 1.5;
	padding: 0 8px;
	position: relative;
	white-space: nowrap;
}

.header .primary-menu a:hover,
.header .primary-menu a:focus-visible {
	color: #fff;
}

.header .primary-menu a:focus-visible {
	outline: 2px solid #fff;
	outline-offset: -4px;
}

.header .primary-menu > li:not(.ai-nav-deals):not(.ai-nav-quote) > a::after {
	background: var(--ai-accent);
	border-radius: 3px 3px 0 0;
	bottom: 0;
	content: "";
	height: 3px;
	left: 20%;
	opacity: 0;
	position: absolute;
	right: 20%;
	transition: opacity 0.15s ease;
}

.header .primary-menu > li:not(.ai-nav-deals):not(.ai-nav-quote) > a:hover::after,
.header .primary-menu > li:not(.ai-nav-deals):not(.ai-nav-quote) > a:focus-visible::after,
.header .primary-menu .current-menu-item > a::after,
.header .primary-menu .current-menu-ancestor > a::after {
	opacity: 1;
}

/* Deals pill sits against the preceding item, like production. */
.header .primary-menu .ai-nav-deals {
	margin-left: calc(var(--ai-nav-gap) * -1 + 2px);
}

.header .primary-menu .ai-nav-deals a,
.header .primary-menu .ai-nav-deals a:hover,
.header .primary-menu .ai-nav-deals a:focus {
	background: var(--ai-deal);
	border-radius: var(--ai-radius-pill);
	color: #fff;
	font-size: 13px;
	height: auto;
	line-height: 1.33;
	padding: 4px 10px;
}

.header .primary-menu .ai-nav-deals a:hover {
	background: #b91c1c;
}

.header .primary-menu .ai-nav-quote {
	margin-left: auto;
}

.header .primary-menu .ai-nav-quote a,
.header .primary-menu .ai-nav-quote a:hover,
.header .primary-menu .ai-nav-quote a:focus {
	border: 1px solid transparent;
	border-radius: var(--ai-radius);
	color: #fff;
	font-size: 12.8px;
	font-weight: 500;
	gap: 4px;
	height: 28px;
	line-height: 1.5;
	padding: 0 10px;
}

.header .primary-menu .ai-nav-quote a:hover {
	background: rgba(255, 255, 255, 0.14);
}

.header .primary-menu .ai-nav-quote .ai-icon {
	height: 14px;
	width: 14px;
}

@media (min-width: 1024px) and (max-width: 1199px) {
	.header .primary-menu {
		gap: 0.25rem;
	}

	.header .primary-menu a {
		padding: 0 6px;
	}

	.header .primary-menu .ai-icon {
		display: none;
	}

	.header .primary-menu .ai-nav-deals {
		margin-left: 0;
	}
}

/* Below 1024px: navigation becomes an off-canvas drawer (only when JS can open it). */
@media (max-width: 1023px) {
	.header .primary-navigation__inner {
		padding-inline: 0;
	}

	.header .primary-menu {
		align-items: stretch;
		display: block;
		min-height: 0;
	}

	.js .header .primary-navigation {
		background: var(--ai-surface);
		bottom: 0;
		color: var(--ai-text);
		display: flex;
		flex-direction: column;
		left: 0;
		max-width: 85vw;
		position: fixed;
		top: 0;
		transform: translateX(-100%);
		transition: transform 0.2s ease, visibility 0.2s;
		visibility: hidden;
		width: 332px;
		z-index: 70;
	}

	.js .header .primary-navigation.is-open {
		transform: none;
		visibility: visible;
	}

	.js .header .primary-navigation__inner {
		flex: 1 1 auto;
		overflow-y: auto;
		width: 100%;
	}

	.js .header .drawer__head {
		align-items: center;
		border-bottom: 1px solid var(--ai-border);
		display: flex;
		flex: none;
		height: 60px;
		justify-content: space-between;
		padding: 0 12px 0 16px;
	}

	.header .drawer__title {
		font-size: 15px;
		font-weight: 500;
	}

	.header .drawer__close,
	.header .drawer__close:hover,
	.header .drawer__close:focus {
		align-items: center;
		background: none;
		border: 0;
		border-radius: var(--ai-radius);
		color: var(--ai-muted);
		cursor: pointer;
		display: inline-flex;
		height: 44px;
		justify-content: center;
		padding: 0;
		width: 44px;
	}

	.header .drawer__close:hover {
		background: #f1f5f9;
	}

	.header .primary-menu a,
	.header .primary-menu a:hover,
	.header .primary-menu a:focus {
		border-bottom: 1px solid var(--ai-border);
		color: var(--ai-text);
		display: flex;
		font-size: 17px;
		font-weight: 500;
		gap: 14px;
		height: 53px;
		padding: 0 16px;
		white-space: normal;
	}

	.header .primary-menu a:hover {
		background: #f8fafc;
		color: var(--ai-primary);
	}

	.header .primary-menu .ai-icon {
		color: var(--ai-muted);
		height: 20px;
		width: 20px;
	}

	.header .primary-menu > li > a::after {
		display: none;
	}

	.header .primary-menu .current-menu-item > a {
		color: var(--ai-primary);
	}

	.header .primary-menu .ai-nav-deals {
		margin-left: 0;
	}

	.header .primary-menu .ai-nav-deals a,
	.header .primary-menu .ai-nav-deals a:hover,
	.header .primary-menu .ai-nav-deals a:focus {
		background: none;
		border-radius: 0;
		color: var(--ai-text);
		font-size: 17px;
		height: 53px;
		line-height: 1.5;
		padding: 0 16px;
	}

	.header .primary-menu .ai-nav-quote {
		margin: 16px;
	}

	.header .primary-menu .ai-nav-quote a,
	.header .primary-menu .ai-nav-quote a:hover,
	.header .primary-menu .ai-nav-quote a:focus {
		background: var(--ai-primary);
		border: 0;
		border-radius: var(--ai-radius);
		color: #fff;
		font-size: 14px;
		font-weight: 600;
		height: 44px;
		justify-content: center;
		padding: 0 16px;
	}

	.header .primary-menu .ai-nav-quote a:hover {
		background: var(--ai-primary-dark);
	}

	.header .primary-menu .ai-nav-quote .ai-icon {
		color: #fff;
		height: 16px;
		width: 16px;
	}

	.js .header .drawer__tabs {
		border-top: 1px solid var(--ai-border);
		display: grid;
		flex: none;
		grid-template-columns: repeat(3, 1fr);
	}

	.header .drawer__tabs a {
		align-items: center;
		color: var(--ai-muted);
		display: flex;
		flex-direction: column;
		font-size: 12px;
		font-weight: 500;
		gap: 4px;
		padding: 10px 4px;
	}

	.header .drawer__tabs a:hover {
		color: var(--ai-primary);
	}

	.header .header-overlay {
		background: rgba(2, 6, 23, 0.4);
		inset: 0;
		position: fixed;
		z-index: 65;
	}

	.header .header-overlay[hidden] {
		display: none;
	}
}

@media (min-width: 1024px) {
	.header .header-overlay {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.js .header .primary-navigation,
	.header .primary-menu > li > a::after {
		transition: none;
	}
}

/* ==========================================================================
   Floating WhatsApp
   ========================================================================== */

.whatsapp-float,
.whatsapp-float:hover,
.whatsapp-float:focus {
	align-items: center;
	background: var(--ai-whatsapp);
	border-radius: var(--ai-radius-pill);
	bottom: 24px;
	box-shadow: var(--ai-shadow-lg);
	color: #fff;
	display: inline-flex;
	height: 48px;
	justify-content: center;
	position: fixed;
	right: 24px;
	text-decoration: none;
	width: 48px;
	z-index: 40;
}

.whatsapp-float:hover {
	background: #15803d;
}

.whatsapp-float:focus-visible {
	outline: 2px solid var(--ai-primary);
	outline-offset: 3px;
}

/* Below 1024px the fixed tab bar (~63px) sits at the bottom; keep the button above it. */
@media (max-width: 1023px) {
	.whatsapp-float,
	.whatsapp-float:hover,
	.whatsapp-float:focus {
		bottom: 80px;
		right: 16px;
	}
}

/* ==========================================================================
   Footer (compact layout)
   ========================================================================== */

.footer {
	background: var(--ai-footer-navy);
	color: #e2e8f0;
	font-family: var(--ai-font);
	font-size: 14px;
	line-height: 1.5;
	padding-bottom: 64px; /* room for the mobile tab bar */
}

.footer a,
.footer a:hover,
.footer a:focus {
	color: inherit;
	text-decoration: none;
}

.footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer p,
.footer h2,
.footer h3 {
	margin: 0;
}

.footer :focus-visible {
	outline: 2px solid var(--ai-accent);
	outline-offset: 2px;
}

.footer .footer__section {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-block: 18px;
}

.footer .footer__section:first-child {
	border-top: 0;
	padding-block: 26px 22px;
}

.footer .footer__section--tight {
	padding-block: 14px;
}

.footer .footer__inner {
	margin-inline: auto;
	max-width: var(--ai-container);
	padding-inline: var(--ai-space-x);
}

/* Headings ---------------------------------------------------------------- */

.footer .footer__title {
	color: #fff;
	font-family: var(--ai-font-heading);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.footer .footer__subtitle {
	color: #94a3b8;
	font-family: var(--ai-font-heading);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.3;
	text-transform: uppercase;
}

/* Columns: the details elements stay open at every width, so headings are static */

.footer .footer__col {
	min-width: 0;
}

.footer .footer__summary {
	align-items: center;
	cursor: default;
	display: flex;
	list-style: none;
	pointer-events: none;
	user-select: none;
}

.footer .footer__summary::-webkit-details-marker {
	display: none;
}

.footer .footer__summary .ai-icon {
	display: none;
}

.footer .footer__list {
	margin-top: 10px;
}

.footer .footer__list li {
	margin-bottom: 4px;
}

.footer .footer__list li:last-child {
	margin-bottom: 0;
}

.footer .footer__list--tight {
	margin-top: 6px;
}

.footer .footer__list a,
.footer .footer__contact a,
.footer .footer__pills a {
	font-size: 13.5px;
	line-height: 1.5;
}

.footer .footer__list a:hover,
.footer .footer__contact a:not(.footer__whatsapp):hover {
	color: var(--ai-accent);
}

/* Main columns: 2-up on phones (Support and Contact full width), 4-up on desktop */

.footer .footer__grid {
	display: grid;
	gap: 20px 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer .footer__grid > .footer__col:nth-child(3),
.footer .footer__grid > .footer__col--contact {
	grid-column: 1 / -1;
}

/* Support links: two columns inside the column (single column only below 340px) */
.footer .footer__grid > .footer__col:nth-child(3) .footer__list {
	column-gap: 20px;
	columns: 2;
}

.footer .footer__grid > .footer__col:nth-child(3) .footer__list li {
	break-inside: avoid;
}

@media (max-width: 339px) {
	.footer .footer__grid > .footer__col:nth-child(3) .footer__list {
		columns: 1;
	}
}

/* Contact ----------------------------------------------------------------- */

.footer .footer__contact {
	margin-top: 10px;
}

.footer .footer__contact a:not(.footer__whatsapp),
.footer .footer__contact p {
	align-items: center;
	display: flex;
	font-size: 13.5px;
	gap: 8px;
	line-height: 1.5;
	margin-bottom: 4px;
	overflow-wrap: anywhere;
}

.footer .footer__contact .ai-icon {
	flex: none;
}

.footer .footer__whatsapp,
.footer .footer__whatsapp:hover,
.footer .footer__whatsapp:focus {
	align-items: center;
	background: var(--ai-whatsapp);
	border-radius: var(--ai-radius);
	color: #fff;
	display: inline-flex;
	font-size: 13px;
	font-weight: 600;
	gap: 8px;
	height: 38px;
	line-height: 1.2;
	margin-top: 6px;
	padding: 0 14px;
}

.footer .footer__whatsapp:hover {
	background: #15803d;
}

/* Trust cards -------------------------------------------------------------- */

.footer .footer__trust {
	display: grid;
	gap: 10px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer .footer__card {
	align-items: center;
	background: var(--ai-footer-raised);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	display: flex;
	gap: 10px;
	min-height: 58px;
	padding: 10px 12px;
}

.footer .footer__card .ai-icon {
	color: var(--ai-accent);
	flex: none;
	height: 20px;
	width: 20px;
}

.footer .footer__card-title {
	color: #fff;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.25;
}

.footer .footer__card-text {
	color: #94a3b8;
	font-size: 12px;
	line-height: 1.3;
}

/* Popular searches ---------------------------------------------------------- */

.footer .footer__popular {
	display: grid;
	gap: 14px 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 10px;
}

/* India coverage and brands share one band (stacked on phones and tablets) ---- */

.footer .footer__duo {
	align-items: start;
	display: grid;
	gap: 14px 40px;
	grid-template-columns: minmax(0, 1fr);
}

.footer .footer__cities {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 20px;
	margin-top: 8px;
}

.footer .footer__cities li {
	font-size: 13.5px;
	line-height: 1.5;
}

.footer .footer__pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 8px;
}

.footer .footer__pills a,
.footer .footer__pills a:hover,
.footer .footer__pills a:focus {
	align-items: center;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: var(--ai-radius-pill);
	display: inline-flex;
	font-size: 12.5px;
	font-weight: 500;
	line-height: 1.2;
	min-height: 30px;
	padding: 5px 11px;
}

.footer .footer__pills a:hover {
	background: var(--ai-footer-raised);
	border-color: rgba(255, 255, 255, 0.3);
	color: #fff;
}

/* Payments and trust badges: one utility row --------------------------------- */

.footer .footer__utility {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
}

.footer .footer__payments,
.footer .footer__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.footer .footer__payments li,
.footer .footer__badges li {
	align-items: center;
	background: var(--ai-footer-raised);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: var(--ai-radius-pill);
	color: #cbd5e1;
	display: flex;
	font-size: 12px;
	font-weight: 500;
	gap: 6px;
	line-height: 1.2;
	min-height: 30px;
	padding: 5px 10px;
}

.footer .footer__badges .ai-icon {
	color: var(--ai-accent);
}

.footer .footer__copy {
	color: #64748b;
	font-size: 12.5px;
	line-height: 1.3;
	padding-block: 0;
	padding-right: 72px; /* keeps the floating WhatsApp button clear of the text */
}

.footer .footer__section:last-child {
	padding-block: 14px;
}

/* Tablet ------------------------------------------------------------------- */

@media (min-width: 640px) {
	.footer .footer__popular {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.footer .footer__trust {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (min-width: 640px) and (max-width: 1023px) {
	/* Three tracks: Server Solutions, Networking and Contact; Support spans the full row. */
	.footer .footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer .footer__trust {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer .footer__popular {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Desktop ------------------------------------------------------------------- */

@media (min-width: 1024px) {
	.footer {
		padding-bottom: 0;
	}

	.footer .footer__section:first-child {
		padding-block: 30px 26px;
	}

	.footer .footer__grid {
		gap: 32px;
		grid-template-columns: 0.9fr 1.1fr 1.7fr 1.2fr;
	}

	.footer .footer__grid > .footer__col:nth-child(3),
	.footer .footer__grid > .footer__col--contact {
		grid-column: auto;
	}

	.footer .footer__trust {
		gap: 14px;
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.footer .footer__popular {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.footer .footer__duo {
		grid-template-columns: auto minmax(0, 1fr);
		justify-content: space-between;
	}

	.footer .footer__col--brands .footer__pills,
	.footer .footer__col--brands .footer__summary {
		justify-content: flex-end;
	}

	.footer .footer__utility {
		justify-content: space-between;
	}
}

/* ==========================================================================
   Mobile tab bar
   ========================================================================== */

.tabbar {
	background: var(--ai-surface);
	border-top: 1px solid var(--ai-border);
	bottom: 0;
	display: flex;
	font-family: var(--ai-font);
	justify-content: space-around;
	left: 0;
	padding: 8px 0;
	position: fixed;
	right: 0;
	z-index: 40;
}

.tabbar .tabbar__item,
.tabbar .tabbar__item:hover,
.tabbar .tabbar__item:focus {
	align-items: center;
	color: var(--ai-muted);
	display: flex;
	flex-direction: column;
	font-size: 12px;
	font-weight: 500;
	gap: 2px;
	line-height: 1.33;
	min-width: 44px;
	padding: 4px 12px;
	text-decoration: none;
}

.tabbar .tabbar__item.is-active,
.tabbar .tabbar__item:hover {
	color: var(--ai-primary);
}

.tabbar :focus-visible {
	outline: 2px solid var(--ai-primary);
	outline-offset: -2px;
}

@media (min-width: 1024px) {
	.tabbar {
		display: none;
	}
}


/* ==========================================================================
   Phase 4D polish (matches the production header)
   ========================================================================== */

/* Mobile: 56px top row, 5px/10px rhythm -> 167px header like production. */
@media (max-width: 767px) {
	.header .header-container {
		padding: 5px var(--ai-space-x) 10px;
	}

	.header .header-search {
		margin-top: -3px;
	}

	.header .browse {
		margin-top: 2px;
	}
}

@media (min-width: 1024px) {
	.header .header-actions {
		gap: 4px;
	}

	/* Production: no border on the dark Browse Categories button, 14px chevrons. */
	.header .browse__toggle,
	.header .browse__toggle:hover,
	.header .browse__toggle:focus {
		border-width: 0;
	}

	.header .browse__toggle .ai-icon--chevron,
	.header .account__toggle .ai-icon--chevron {
		height: 14px;
		width: 14px;
	}
}
