/**
 * 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;
	}

	/*
	 * Mobile order list: card rows that fit the screen width.
	 * No horizontal scroll, no price/qty overlap.
	 */
	.order-table-wrap {
		border: none;
		background: transparent;
		box-shadow: none;
	}

	.order-table-wrap .table-responsive {
		overflow: visible;
	}

	.order-table,
	.order-table thead,
	.order-table tbody,
	.order-table tr,
	.order-table th,
	.order-table td {
		display: block;
		width: 100%;
		max-width: 100%;
		border: 0;
		box-sizing: border-box;
	}

	.order-table {
		table-layout: auto;
		margin-bottom: 0;
		min-width: 0 !important;
	}

	.order-table thead {
		display: none;
	}

	.order-table tbody {
		display: flex;
		flex-direction: column;
		gap: 0.65rem;
	}

	.order-table tr.order-product-row {
		display: grid;
		grid-template-columns: minmax(0, 1fr) auto auto;
		grid-template-areas:
			"product product product"
			"price qty total";
		align-items: center;
		column-gap: 0.55rem;
		row-gap: 0.55rem;
		width: 100%;
		margin: 0;
		padding: 0.7rem 0.75rem;
		background: #fff;
		border: 1px solid rgba(0, 0, 0, 0.08);
		border-radius: 12px;
		box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	}

	.order-table tr.order-product-row > td:nth-child(1) {
		grid-area: product;
		width: auto;
		padding: 0;
		overflow: visible;
	}

	.order-table tr.order-product-row > td:nth-child(2) {
		grid-area: price;
		width: auto;
		padding: 0;
		overflow: visible;
	}

	.order-table tr.order-product-row > td:nth-child(3) {
		grid-area: qty;
		width: auto;
		padding: 0;
		overflow: visible;
		justify-self: center;
	}

	.order-table tr.order-product-row > td:nth-child(4) {
		grid-area: total;
		width: auto;
		padding: 0;
		overflow: visible;
		justify-self: end;
		text-align: right;
	}

	.order-product-cell {
		display: flex;
		align-items: center;
		gap: 0.55rem;
		min-width: 0;
	}

	.order-product-row .order-thumb,
	.order-product-row .product-image-trigger {
		display: flex !important;
		align-items: center;
		justify-content: center;
		width: 48px;
		min-width: 48px;
		height: 48px;
		flex-shrink: 0;
		margin: 0;
		border-radius: 8px;
		overflow: hidden;
	}

	.order-product-row .order-thumb img {
		width: 100%;
		height: 100%;
		max-width: 48px;
		max-height: 48px;
		object-fit: contain;
		padding: 0.15rem;
	}

	.order-product-row .product-discount-badge {
		top: 2px;
		right: 2px;
		font-size: 0.55rem;
		padding: 0.1rem 0.22rem;
	}

	.order-product-row .product-image-zoom-hint {
		display: none;
	}

	.order-product-name {
		flex: 1;
		min-width: 0;
		font-size: 0.88rem;
		font-weight: 600;
		line-height: 1.3;
		word-break: break-word;
	}

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

	.order-table .price-mrp,
	.order-table .price-off {
		display: block;
		white-space: nowrap;
		line-height: 1.2;
	}

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

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

	.order-table .qty-control {
		display: inline-flex;
		flex-wrap: nowrap;
		align-items: center;
		justify-content: center;
		gap: 0.28rem;
		margin: 0;
		width: auto;
		max-width: none;
	}

	.order-table .qty-control .btn-qty {
		flex: 0 0 auto;
		width: 2rem;
		min-width: 2rem;
		height: 2rem;
		padding: 0;
		font-size: 0.72rem;
		border-radius: 8px;
	}

	.order-table .qty-control .qty-input {
		flex: 0 0 auto;
		width: 2.4rem;
		min-width: 2.4rem;
		height: 2rem;
		padding: 0;
		font-size: 0.85rem;
		border-radius: 8px;
	}

	.order-line-total-cell {
		text-align: right;
	}

	.order-line-total {
		min-width: 0;
		font-size: 0.9rem;
		font-weight: 700;
	}

	.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;
	}
}
