/**
 * Responsive overrides
 */

@media (max-width: 991.98px) {
	.brand-logos-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.site-nav {
		position: fixed;
		top: var(--header-height);
		left: 0;
		right: 0;
		background: var(--white);
		border-bottom: 1px solid rgba(102, 21, 95, 0.1);
		padding: 1rem;
		transform: translateY(-120%);
		opacity: 0;
		visibility: hidden;
		transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
		box-shadow: var(--shadow);
	}

	.site-nav.open {
		transform: translateY(0);
		opacity: 1;
		visibility: visible;
	}

	.site-nav .nav-list {
		flex-direction: column;
		align-items: stretch;
	}

	.nav-link {
		border-radius: 10px;
	}

	.nav-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.btn-header .btn-label {
		display: none;
	}

	.hero-slider,
	.hero-slide {
		min-height: 420px;
	}

	.float-call {
		bottom: 156px;
	}

	.float-top {
		bottom: 216px;
	}
}

@media (max-width: 575.98px) {
	:root {
		--header-height: 76px;
	}

	.brand-logo {
		max-height: 56px;
	}

	.brand-logos-section {
		padding: 1.75rem 0 1.5rem;
	}

	.brand-logos-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 0.65rem;
	}

	.brand-logo-item {
		min-height: 76px;
		padding: 0.5rem;
	}

	.brand-logo-item img {
		max-height: 52px;
	}

	.hero-slider,
	.hero-slide {
		min-height: 360px;
	}

	.section {
		padding: 3rem 0;
	}

	.cart-table {
		font-size: 0.85rem;
	}

	.float-btn {
		width: 46px;
		height: 46px;
		font-size: 1.15rem;
	}

	.float-whatsapp {
		right: 16px;
		bottom: 88px;
	}

	.float-call {
		right: 16px;
		bottom: 144px;
	}

	.float-top {
		right: 16px;
		bottom: 200px;
	}

	.order-cart-bar {
		bottom: 10px;
		width: calc(100% - 1rem);
		padding: 0.6rem 0.7rem 0.6rem 0.9rem;
		border-radius: 18px;
	}

	.order-cart-bar-inner {
		gap: 0.55rem;
	}

	.order-summary-value {
		font-size: 1.2rem;
	}

	.order-summary-meta {
		font-size: 0.72rem;
		gap: 0.28rem;
	}

	.order-btn-cart,
	.order-btn-checkout {
		min-height: 2.1rem;
		padding: 0.35rem 0.85rem;
		font-size: 0.8rem;
	}

	body:has(#order-cart-bar) {
		padding-bottom: 5.75rem;
	}

	/* Order table: hide thumbs, fit to screen */
	.order-table-wrap .table-responsive {
		overflow-x: visible;
	}

	.order-table {
		width: 100%;
		table-layout: fixed;
		margin-bottom: 0;
	}

	.order-table th,
	.order-table td {
		padding: 0.55rem 0.4rem;
		vertical-align: middle;
	}

	.order-table th:nth-child(1),
	.order-table td:nth-child(1) {
		width: 42%;
	}

	.order-table th:nth-child(2),
	.order-table td:nth-child(2) {
		width: 22%;
	}

	.order-table th:nth-child(3),
	.order-table td:nth-child(3) {
		width: 36%;
	}

	.order-product-row .order-thumb,
	.order-product-row .product-image-trigger {
		display: none !important;
	}

	.order-product-cell {
		gap: 0;
	}

	.order-product-name {
		font-size: 0.8rem;
		line-height: 1.35;
		word-break: break-word;
	}

	.order-table .price-combo {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.1rem;
	}

	.order-table .price-mrp {
		font-size: 0.72rem;
	}

	.order-table .price-off {
		font-size: 0.88rem;
	}

	.order-table .qty-control {
		display: inline-flex;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: flex-end;
		gap: 0.2rem;
		margin-top: 0;
		width: 100%;
		max-width: 100%;
	}

	.order-table .qty-control .btn-add {
		flex: 0 0 auto;
		min-width: 3.5rem;
		width: auto;
		padding: 0.35rem 0.65rem;
		font-size: 0.78rem;
		white-space: nowrap;
	}

	.order-table .qty-control .qty-input {
		flex: 0 0 auto;
		width: 2.15rem;
		min-width: 2.15rem;
		height: 1.85rem;
		padding: 0;
		font-size: 0.78rem;
	}

	.order-table .qty-control .btn-qty {
		flex: 0 0 auto;
		width: 1.85rem;
		min-width: 1.85rem;
		height: 1.85rem;
		padding: 0;
		font-size: 0.68rem;
	}

	.mobile-gallery-note {
		display: block;
		margin: 0.5rem 0 1.75rem;
		padding: 0.85rem 1rem;
		background: var(--brand-mist);
		border: 1px solid rgba(227, 30, 36, 0.18);
		border-radius: 10px;
		font-size: 0.9rem;
		line-height: 1.45;
		color: var(--ink);
		text-align: center;
	}

	.mobile-gallery-note a {
		font-weight: 700;
		text-decoration: underline;
		text-underline-offset: 2px;
	}
}

@media (max-width: 991.98px) and (min-width: 576px) {
	.order-cart-bar {
		padding: 0.7rem 0.95rem;
		border-radius: 999px;
	}

	.order-summary-value {
		font-size: 1.35rem;
	}
}

@media (max-width: 575.98px) {
	.home-notice-marquee-track {
		animation: none !important;
		transform: none !important;
		display: block;
		width: 100%;
	}

	.home-notice-marquee-item {
		display: block;
		font-size: 0.82rem;
		padding: 0.75rem 1rem;
		white-space: normal;
		max-width: 100%;
		min-width: 0;
		text-align: center;
		box-sizing: border-box;
	}

	.home-notice-marquee-item[aria-hidden="true"] {
		display: none !important;
	}
}
