/**
 * msaestore — Comprehensive Responsive & Premium Polish Layer
 * Covers: mobile (≤480px, ≤599px, ≤767px), tablet (768–1023px), desktop (≥1024px)
 * Fixes: hero, header, nav, product cards, shop layout, product page,
 *         cart/checkout, footer, trust strip, typography, touch targets,
 *         WhatsApp button, back-to-top stacking, and more.
 */

/* =========================================================================
 * 0. BASE POLISH — applies at all sizes
 * ===================================================================== */

/* Smoother image rendering */
img {
	image-rendering: -webkit-optimize-contrast;
}

/* Premium section spacing */
.msa-section {
	padding-block: var(--msa-section-y);
}

/* Better font rendering on all sizes */
body {
	text-rendering: optimizeLegibility;
	font-feature-settings: "kern" 1, "liga" 1;
}

/* Ensure all interactive elements meet 44px minimum touch target */
.msa-header__action,
.msa-header__burger,
.msa-drawer__close,
.msa-mini-cart__close,
.msa-to-top,
.msa-floating-whatsapp {
	min-width: 44px;
	min-height: 44px;
}

/* Smooth scroll for anchor links */
html {
	scroll-padding-top: calc(var(--msa-header-h) + 16px);
}

/* Focus ring improvements for premium feel */
:focus-visible {
	outline: 2px solid var(--msa-green-700);
	outline-offset: 3px;
	border-radius: 4px;
}

/* =========================================================================
 * 1. HERO SECTION — premium improvements
 * ===================================================================== */

/* Better hero image quality */
.msa-hero__media img {
	object-fit: cover;
	object-position: center top;
}

/* Hero arrow buttons — larger touch target */
.msa-hero__arrow {
	width: 44px;
	height: 44px;
}

/* Hero dots — larger touch target */
.msa-hero__dots button {
	width: 10px;
	height: 10px;
	min-width: 10px;
}

.msa-hero__dots button.is-active {
	width: 28px;
}

/* Premium hero heading */
.msa-hero h1 {
	letter-spacing: -0.02em;
}

/* =========================================================================
 * 2. TRUST STRIP — premium horizontal scroll on mobile
 * ===================================================================== */

@media (max-width: 767px) {
	.msa-trust {
		padding: 12px 0;
	}

	.msa-trust__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.msa-trust__item {
		padding: 10px 8px;
		border: 1px solid var(--msa-line-soft);
		border-radius: var(--msa-radius-sm);
		background: #fff;
		gap: 8px;
	}

	.msa-trust__item strong {
		font-size: 11px;
	}

	.msa-trust__item small {
		font-size: 9px;
	}
}

@media (max-width: 480px) {
	.msa-trust__grid {
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}
}

/* =========================================================================
 * 3. HEADER — mobile refinements
 * ===================================================================== */

/* Better header sticky shadow */
.msa-header.is-stuck {
	box-shadow: 0 4px 16px -8px rgba(10, 77, 43, 0.28);
}

/* Logo image — cap at reasonable size on mobile */
@media (max-width: 767px) {
	.msa-logo__image {
		max-height: 38px;
	}

	.msa-logo__wordmark {
		font-size: 1.1rem;
	}

	/* Burger button — ensure proper touch target */
	.msa-header__burger {
		width: 44px;
		height: 44px;
		border-radius: var(--msa-radius-sm);
	}

	/* Header actions — better spacing */
	.msa-header__actions {
		gap: 2px;
	}

	.msa-header__action {
		padding: 8px 6px;
		min-width: 44px;
		min-height: 44px;
	}

	/* Search bar — full width, better padding */
	.msa-searchform .msa-searchform__input {
		font-size: 16px; /* prevents iOS zoom on input focus */
		padding: 11px 48px 11px 42px;
	}

	/* Badge positioning */
	.msa-header__badge {
		top: -4px;
		right: -4px;
		min-width: 16px;
		height: 16px;
		font-size: 9px;
	}
}

@media (max-width: 480px) {
	.msa-header__inner {
		gap: 8px 8px;
		padding-block: 8px;
	}

	.msa-header__action {
		padding: 6px 4px;
		min-width: 40px;
	}
}

/* =========================================================================
 * 4. ANNOUNCEMENT BAR — mobile marquee-style
 * ===================================================================== */

@media (max-width: 767px) {
	.msa-announce {
		font-size: 11px;
	}

	.msa-announce__inner {
		justify-content: center;
		padding-block: 2px;
	}

	.msa-announce__list {
		gap: 14px;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}

	.msa-announce__item {
		gap: 4px;
	}
}

@media (max-width: 480px) {
	.msa-announce {
		font-size: 10px;
	}

	.msa-announce__item:nth-child(n+3) {
		display: none;
	}
}

/* =========================================================================
 * 5. NAVIGATION / DRAWER
 * ===================================================================== */

/* Mobile drawer — wider on small phones */
@media (max-width: 480px) {
	.msa-drawer {
		width: 94vw;
	}
}

/* Drawer nav links — better touch targets */
.msa-drawer__nav .msa-nav__link {
	padding: 14px 4px;
	min-height: 48px;
}

/* Drawer categories — better touch targets */
.msa-drawer__cats a {
	min-height: 44px;
	padding: 10px 8px;
}

/* =========================================================================
 * 6. PRODUCT CARDS — premium polish & mobile grid
 * ===================================================================== */

/* Better card hover effect */
.msa-product-card {
	border-radius: var(--msa-radius-lg);
	transition: transform 240ms var(--msa-ease),
		box-shadow 240ms var(--msa-ease),
		border-color 240ms var(--msa-ease);
}

.msa-product-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px -12px rgba(10, 77, 43, 0.18);
	border-color: var(--msa-green-100);
}

/* Product card image — consistent aspect ratio */
.msa-product-card__media {
	aspect-ratio: 1 / 1;
	border-radius: var(--msa-radius-sm);
	overflow: hidden;
}

/* Product card title — better readability */
.msa-product-card__title {
	font-size: 12.5px;
	line-height: 1.45;
	margin: 10px 0 6px;
}

/* Price — clearer */
.msa-product-card__price {
	font-size: 14px;
	font-weight: 700;
}

/* Wishlist toggle — better touch target */
.msa-wishlist-toggle {
	width: 32px;
	height: 32px;
}

@media (max-width: 1023px) {
	.msa-products-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 12px;
	}
}

@media (max-width: 767px) {
	.msa-products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.msa-product-card {
		padding: 10px;
	}

	.msa-product-card__title {
		font-size: 12px;
	}

	.msa-product-card__price {
		font-size: 13px;
		margin: 4px 0 8px;
	}

	/* Wishlist toggle on mobile — right spot */
	.msa-wishlist-toggle {
		width: 30px;
		height: 30px;
		inset-block-start: 6px;
		inset-inline-end: 6px;
	}

	/* Sale badge on mobile */
	.msa-sale-badge {
		font-size: 9px;
		padding: 2px 5px;
	}
}

@media (max-width: 480px) {
	.msa-products-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.msa-product-card {
		padding: 8px;
	}

	.msa-product-card__title {
		font-size: 11px;
	}

	.msa-product-card__price {
		font-size: 12px;
	}
}

/* =========================================================================
 * 7. SHOP PAGE — layout, filters, toolbar
 * ===================================================================== */

/* Desktop — sticky filter sidebar */
@media (min-width: 1024px) {
	.msa-shop-layout {
		grid-template-columns: 240px minmax(0, 1fr);
		gap: 28px;
		align-items: start;
	}

	.msa-shop-filters {
		position: sticky;
		top: calc(var(--msa-header-h) + var(--msa-nav-h) + 16px);
		max-height: calc(100vh - var(--msa-header-h) - var(--msa-nav-h) - 40px);
		overflow-y: auto;
	}
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
	.msa-shop-layout {
		grid-template-columns: 200px minmax(0, 1fr);
		gap: 20px;
	}

	.msa-products-grid--archive {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Mobile shop — filters as collapsible, full grid */
@media (max-width: 767px) {
	.msa-shop-layout {
		display: block;
	}

	.msa-shop-filters {
		margin-bottom: 16px;
		border-radius: var(--msa-radius-lg);
		padding: 14px;
	}

	.msa-products-grid--archive {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.msa-shop-toolbar {
		flex-wrap: wrap;
		gap: 8px;
		margin-bottom: 12px;
		padding: 8px 10px;
	}

	.msa-shop-toolbar select {
		font-size: 12px;
		padding: 8px 24px 8px 9px;
		height: 36px;
	}

	/* Category banner on mobile */
	.msa-category-banner {
		grid-template-columns: 1fr;
		min-height: auto;
		padding: 20px 20px 0;
	}

	.msa-category-banner h1 {
		font-size: clamp(1.6rem, 5vw, 2.4rem);
		margin: 8px 0 6px;
	}

	.msa-category-banner img {
		height: 180px;
		object-fit: cover;
		object-position: center top;
	}

	/* Subcategory chips scroll on mobile */
	.msa-subcategory-chips {
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		padding-bottom: 2px;
		margin: 0 0 14px;
	}

	.msa-subcategory-chips::-webkit-scrollbar {
		display: none;
	}

	.msa-subcategory-chips a {
		flex-shrink: 0;
		padding: 7px 11px;
		font-size: 11px;
	}
}

/* =========================================================================
 * 8. CATEGORY GRID — homepage
 * ===================================================================== */

@media (max-width: 1023px) {
	.msa-category-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 12px;
	}
}

@media (max-width: 767px) {
	.msa-category-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 8px;
	}

	.msa-category-card {
		padding: 14px 8px;
		gap: 4px;
	}

	.msa-category-card span {
		width: 44px;
		height: 44px;
	}

	.msa-category-card strong {
		font-size: 11px;
	}

	.msa-category-card small {
		font-size: 10px;
	}
}

@media (max-width: 480px) {
	.msa-category-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 6px;
	}

	.msa-category-card {
		padding: 10px 6px;
	}

	.msa-category-card span {
		width: 38px;
		height: 38px;
	}

	.msa-category-card strong {
		font-size: 10px;
		line-height: 1.3;
	}
}

/* =========================================================================
 * 9. SINGLE PRODUCT PAGE
 * ===================================================================== */

/* Desktop — 2-col layout with breathing room */
@media (min-width: 1024px) {
	.msa-single-product__grid {
		grid-template-columns: 1.1fr 1fr;
		gap: 48px;
	}

	.msa-single-product {
		padding: 24px;
		border-radius: 24px;
	}
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
	.msa-single-product__grid {
		grid-template-columns: 1fr 1fr;
		gap: 28px;
	}

	.msa-single-product {
		padding: 20px;
	}

	.msa-gallery-zoom img {
		height: 340px;
	}
}

/* Mobile product page */
@media (max-width: 767px) {
	.msa-product-page {
		padding: 12px 0 90px; /* extra bottom for buybar */
	}

	.msa-single-product__grid {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.msa-single-product {
		padding: 12px;
		border-radius: 16px;
	}

	/* Gallery */
	.msa-gallery-zoom img {
		height: 300px;
	}

	.msa-product-gallery__thumbs {
		gap: 6px;
		margin-top: 8px;
	}

	.msa-gallery-thumb {
		width: 54px;
		height: 54px;
	}

	/* Summary area */
	.msa-single-product .summary {
		margin-top: 16px;
	}

	.msa-single-product .summary .price {
		font-size: 22px;
	}

	/* Cart row — stack on very small */
	.msa-single-product .summary .cart {
		gap: 8px;
	}

	/* Trust strip in product */
	.msa-product-trust {
		grid-template-columns: 1fr 1fr;
		gap: 10px;
		padding: 14px;
	}

	.msa-product-trust span {
		font-size: 10px;
	}

	/* Related products */
	.related.products ul.products,
	.upsells.products ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 10px !important;
	}

	/* Mobile buybar improvements */
	.msa-mobile-buybar {
		padding: 10px 16px 12px;
		gap: 10px;
	}

	.msa-mobile-buybar .price {
		font-size: 15px;
		font-weight: 700;
	}

	.msa-mobile-buybar .msa-btn {
		min-width: 0;
		flex: 1;
		font-size: 13px;
		padding: 10px 14px;
	}
}

@media (max-width: 480px) {
	.msa-gallery-zoom img {
		height: 260px;
	}

	.msa-single-product .summary .price {
		font-size: 20px;
	}

	.msa-product-trust {
		grid-template-columns: 1fr 1fr;
	}

	.msa-product-trust span small {
		font-size: 9px;
	}
}

/* =========================================================================
 * 10. CART PAGE
 * ===================================================================== */

@media (max-width: 1023px) {
	.msa-cart-bottom {
		flex-direction: column;
	}

	.cart_totals {
		width: 100%;
		max-width: 100%;
	}
}

@media (max-width: 767px) {
	.msa-cart-page {
		padding: 20px 0 48px;
	}

	/* Cart table scrollable */
	.msa-cart-table-wrap {
		border-radius: var(--msa-radius-sm);
		-webkit-overflow-scrolling: touch;
	}

	.msa-cart-table {
		min-width: 580px;
	}

	.msa-cart-table .product-name img {
		width: 46px;
	}

	/* Cart totals */
	.cart_totals {
		margin-top: 16px;
		padding: 16px;
	}

	.cart_totals h2 {
		font-size: 16px;
	}

	/* Proceed button — full width */
	.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
		width: 100%;
		justify-content: center;
		font-size: 15px;
		padding: 13px 20px;
	}
}

/* =========================================================================
 * 11. CHECKOUT PAGE
 * ===================================================================== */

@media (min-width: 768px) and (max-width: 1023px) {
	.msa-checkout-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.msa-order-summary {
		position: static;
	}
}

@media (max-width: 767px) {
	.msa-checkout-page {
		padding: 16px 0 48px;
	}

	.msa-checkout-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.msa-checkout-fields,
	.msa-order-summary {
		padding: 16px;
	}

	.msa-order-summary {
		position: static;
	}

	/* Checkout steps */
	.msa-checkout-steps {
		gap: 4px;
		margin: 14px 0 20px;
	}

	.msa-checkout-steps button,
	.msa-checkout-steps span {
		padding: 9px 4px;
		font-size: 10px;
	}

	/* Place order button */
	.woocommerce #payment #place_order {
		width: 100%;
		font-size: 15px;
		padding: 14px 20px;
	}

	/* Form fields — prevent iOS zoom */
	.woocommerce-checkout input[type="text"],
	.woocommerce-checkout input[type="email"],
	.woocommerce-checkout input[type="tel"],
	.woocommerce-checkout select,
	.woocommerce-checkout textarea {
		font-size: 16px;
	}
}

/* =========================================================================
 * 12. HERO — mobile improvements
 * ===================================================================== */

@media (max-width: 767px) {
	.msa-hero {
		padding: 10px 0 0;
	}

	.msa-hero__track {
		border-radius: var(--msa-radius-lg);
	}

	.msa-hero__slide {
		grid-template-columns: 1fr;
		min-height: 480px;
		padding: 24px 20px 56px;
		gap: 0;
	}

	.msa-hero__copy {
		max-width: 100%;
	}

	.msa-hero h1 {
		font-size: clamp(2rem, 7vw, 2.8rem);
		margin: 12px 0 10px;
		line-height: 1.05;
	}

	.msa-hero p {
		font-size: var(--msa-fs-base);
		margin: 0 0 18px;
	}

	.msa-hero__media {
		order: -1;
		height: 200px;
	}

	.msa-hero__media img {
		max-height: 200px;
		object-fit: cover;
	}

	/* CTA buttons in hero — full width on mobile */
	.msa-hero__copy .msa-btn {
		width: 100%;
		justify-content: center;
		padding: 13px 20px;
		font-size: 14px;
	}

	/* Hero arrows — hidden on small mobile, rely on swipe */
	.msa-hero__arrow {
		display: none;
	}

	/* Hero dots — more visible */
	.msa-hero__dots {
		bottom: 16px;
	}

	.msa-hero__dots button {
		width: 7px;
		height: 7px;
	}

	.msa-hero__dots button.is-active {
		width: 22px;
	}
}

@media (max-width: 480px) {
	.msa-hero__slide {
		min-height: 440px;
		padding: 20px 16px 52px;
	}

	.msa-hero h1 {
		font-size: clamp(1.8rem, 6.5vw, 2.4rem);
	}

	.msa-hero__media {
		height: 170px;
	}

	.msa-hero__media img {
		max-height: 170px;
	}
}

/* =========================================================================
 * 13. PROMO BANNER — homepage
 * ===================================================================== */

@media (max-width: 1023px) {
	.msa-promo {
		grid-template-columns: 1fr;
	}

	.msa-promo > div {
		padding: 28px 32px;
	}

	.msa-promo img {
		height: 240px;
		order: -1;
	}
}

@media (max-width: 767px) {
	.msa-promo > div {
		padding: 22px 20px;
	}

	.msa-promo h2 {
		font-size: clamp(1.5rem, 5vw, 2rem);
	}

	.msa-promo img {
		height: 200px;
	}
}

/* =========================================================================
 * 14. NEWSLETTER — homepage
 * ===================================================================== */

@media (max-width: 767px) {
	.msa-newsletter {
		padding: 32px 0;
	}

	.msa-newsletter .msa-container {
		display: block;
	}

	.msa-newsletter h2 {
		font-size: clamp(1.4rem, 4.5vw, 1.8rem);
		margin: 8px 0 14px;
	}

	.msa-newsletter__form {
		display: grid;
		grid-template-columns: 1fr auto;
		gap: 8px;
		width: 100%;
		margin-top: 16px;
	}

	.msa-newsletter__form input {
		font-size: 15px;
	}
}

@media (max-width: 480px) {
	.msa-newsletter__form {
		grid-template-columns: 1fr;
	}

	.msa-newsletter__form .msa-btn {
		width: 100%;
	}
}

/* =========================================================================
 * 15. SECTION HEADINGS — mobile sizes
 * ===================================================================== */

@media (max-width: 767px) {
	.msa-section__head {
		margin-bottom: 16px;
		gap: 8px 14px;
	}

	.msa-section__title {
		font-size: 1.1rem;
	}

	.msa-section__title::before {
		height: 18px;
	}
}

/* =========================================================================
 * 16. FOOTER — mobile single column
 * ===================================================================== */

@media (max-width: 1023px) {
	.msa-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 24px;
	}

	.msa-footer__brand {
		grid-column: 1 / -1;
	}

	.msa-footer__top {
		padding-block: 32px 24px;
	}
}

@media (max-width: 599px) {
	.msa-footer__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.msa-footer__top {
		padding-block: 28px 20px;
	}

	.msa-footer__title {
		margin-bottom: 10px;
	}

	.msa-footer__list {
		gap: 7px;
	}

	.msa-footer__bottom-inner {
		justify-content: center;
		text-align: center;
		gap: 10px;
	}

	.msa-footer__legal {
		justify-content: center;
		gap: 12px;
	}

	.msa-payments {
		justify-content: center;
	}

	.msa-socials {
		justify-content: center;
	}
}

/* =========================================================================
 * 17. FLOATING WHATSAPP & BACK-TO-TOP — stacking on mobile
 * ===================================================================== */

/* WhatsApp button */
.msa-floating-whatsapp {
	right: 16px;
	bottom: 80px;
	width: 52px;
	height: 52px;
	box-shadow: 0 4px 16px rgba(37, 211, 102, 0.42);
}

/* On mobile with buybar active, move WhatsApp higher */
.msa-product-page .msa-floating-whatsapp {
	bottom: 110px;
}

/* Back to top — don't overlap WhatsApp */
.msa-to-top {
	right: 16px;
	bottom: 140px;
}

/* When buybar is active */
.msa-product-page .msa-to-top {
	bottom: 170px;
}

@media (max-width: 767px) {
	.msa-floating-whatsapp {
		right: 14px;
		bottom: 76px;
		width: 48px;
		height: 48px;
	}

	.msa-to-top {
		right: 14px;
		bottom: 134px;
		width: 40px;
		height: 40px;
	}
}

/* =========================================================================
 * 18. MINI CART DRAWER — mobile
 * ===================================================================== */

@media (max-width: 767px) {
	.msa-mini-cart {
		width: 94vw;
	}

	.msa-mini-cart__head {
		padding: 14px 16px;
	}

	.msa-mini-cart__items {
		padding: 6px 14px 14px;
	}

	.msa-mini-cart__foot {
		padding: 14px 16px 18px;
	}

	/* Mini cart actions — full width */
	.msa-mini-cart__actions .msa-btn {
		font-size: 13px;
		padding: 11px 16px;
	}
}

/* =========================================================================
 * 19. TESTIMONIALS — mobile
 * ===================================================================== */

@media (max-width: 767px) {
	.msa-testimonials__grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.msa-testimonials__grid article {
		padding: 16px;
	}
}

/* =========================================================================
 * 20. TYPOGRAPHY — responsive sizes
 * ===================================================================== */

@media (max-width: 767px) {
	h1 { font-size: clamp(1.6rem, 5.5vw, 2.25rem); }
	h2 { font-size: clamp(1.3rem, 4.5vw, 1.75rem); }
	h3 { font-size: clamp(1.1rem, 3.5vw, 1.375rem); }

	/* Page titles */
	.msa-page-heading h1,
	.msa-cart-page h1,
	.msa-checkout-page h1,
	.msa-narrow-page h1 {
		font-size: clamp(1.5rem, 5vw, 2rem);
	}
}

/* =========================================================================
 * 21. MY ACCOUNT — mobile
 * ===================================================================== */

@media (max-width: 767px) {
	.woocommerce-account .woocommerce {
		display: block;
		padding: 14px;
	}

	.woocommerce-account .woocommerce-MyAccount-navigation {
		margin-bottom: 16px;
	}

	/* Account cards — 2 col on mobile */
	.msa-account-cards {
		grid-template-columns: 1fr 1fr;
	}

	.msa-account-login__forms {
		grid-template-columns: 1fr;
	}

	.msa-account-form-grid,
	.msa-address-grid {
		grid-template-columns: 1fr;
	}
}

/* =========================================================================
 * 22. ABOUT / CONTACT PAGES — mobile
 * ===================================================================== */

@media (max-width: 767px) {
	.msa-about-grid,
	.msa-contact-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.msa-about-stats {
		grid-template-columns: 1fr 1fr;
	}

	.msa-about-cta {
		flex-direction: column;
		align-items: flex-start;
		padding: 20px;
		gap: 16px;
	}

	.msa-about-cta h2 {
		font-size: 24px;
	}

	.msa-about-cta .msa-btn {
		width: 100%;
		justify-content: center;
	}

	.msa-values-grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}
}

@media (max-width: 480px) {
	.msa-about-stats {
		grid-template-columns: 1fr;
	}
}

/* =========================================================================
 * 23. COOKIE BANNER — mobile
 * ===================================================================== */

@media (max-width: 650px) {
	.msa-cookie-banner {
		display: grid;
		gap: 12px;
		right: 8px;
		bottom: 8px;
		left: 8px;
		padding: 14px 16px;
		border-radius: 14px;
	}

	.msa-cookie-banner__actions {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 8px;
	}

	.msa-cookie-banner__actions .msa-btn {
		width: 100%;
		justify-content: center;
		padding: 10px 12px;
	}
}

/* =========================================================================
 * 24. GENERAL BUTTONS — touch-friendly
 * ===================================================================== */

@media (max-width: 767px) {
	.msa-btn--lg {
		min-height: 50px;
		padding: 14px 28px;
		font-size: var(--msa-fs-md);
	}

	.msa-btn {
		min-height: 44px;
	}

	/* WooCommerce buttons — touch target */
	.woocommerce a.button,
	.woocommerce button.button,
	.woocommerce input.button {
		min-height: 44px;
		padding: 11px 20px;
	}
}

/* =========================================================================
 * 25. FORM FIELDS — prevent iOS zoom (font-size ≥ 16px)
 * ===================================================================== */

@media (max-width: 767px) {
	input[type="text"],
	input[type="email"],
	input[type="tel"],
	input[type="url"],
	input[type="password"],
	input[type="search"],
	input[type="number"],
	input[type="date"],
	select,
	textarea {
		font-size: 16px;
	}

	.msa-searchform .msa-searchform__input {
		font-size: 16px;
	}
}

/* =========================================================================
 * 26. HORIZONTAL SCROLL PREVENTION
 * ===================================================================== */

@media (max-width: 767px) {
	body,
	#msa-page,
	.msa-container {
		max-width: 100%;
		overflow-x: hidden;
	}
}

/* =========================================================================
 * 27. TABLET IMPROVEMENTS (768–1023px)
 * ===================================================================== */

@media (min-width: 768px) and (max-width: 1023px) {
	/* Nav bar hidden on tablet — drawer used */
	.msa-navbar {
		display: none;
	}

	/* Products — 3 columns on tablet */
	.msa-products-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.msa-products-grid--archive {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	/* Category grid — 3 columns */
	.msa-category-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	/* Trust strip — 3 columns */
	.msa-trust__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	/* Hero — 2 column but smaller */
	.msa-hero__slide {
		min-height: 420px;
		padding: 28px 36px;
	}

	.msa-hero h1 {
		font-size: clamp(2rem, 4.5vw, 3.2rem);
	}

	/* Footer — 2 column */
	.msa-footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

/* =========================================================================
 * 28. DESKTOP REFINEMENTS (≥1024px)
 * ===================================================================== */

@media (min-width: 1024px) {
	/* Products — 4 columns on wide desktop for archives, 5 for homepage */
	.msa-products-grid--archive {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.msa-products-grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	/* Category grid — 5 columns */
	.msa-category-grid {
		grid-template-columns: repeat(5, 1fr);
	}

	/* Trust strip — 5 columns */
	.msa-trust__grid {
		grid-template-columns: repeat(5, 1fr);
	}
}

/* =========================================================================
 * 29. PREMIUM MICRO-ANIMATIONS & POLISH
 * ===================================================================== */

/* Button ripple feel on click */
.msa-btn:active {
	transform: translateY(1px) scale(0.99);
}

/* Card smooth image zoom */
.msa-product-card__media img {
	transition: transform 320ms var(--msa-ease);
}

.msa-product-card:hover .msa-product-card__media img {
	transform: scale(1.06);
}

/* Post card image zoom */
.msa-post-card:hover .msa-post-card__media img {
	transform: scale(1.04);
}

/* Section link arrow animation */
.msa-section__link:hover .msa-icon {
	transform: translateX(4px);
}

/* Drawer close button feedback */
.msa-drawer__close:active,
.msa-mini-cart__close:active {
	transform: scale(0.95);
}

/* WhatsApp float pulse */
@keyframes msa-wa-pulse {
	0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.42); }
	50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.68); }
}

.msa-floating-whatsapp {
	animation: msa-wa-pulse 2.5s ease infinite;
}

.msa-floating-whatsapp:hover {
	animation: none;
	box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

/* =========================================================================
 * 30. PRINT STYLES
 * ===================================================================== */

@media print {
	.msa-header,
	.msa-navbar,
	.msa-footer,
	.msa-floating-whatsapp,
	.msa-to-top,
	.msa-cookie-banner,
	.msa-mobile-buybar,
	.msa-drawer,
	.msa-mini-cart,
	.msa-overlay {
		display: none !important;
	}

	body {
		font-size: 12pt;
		color: #000;
	}

	a {
		color: #000;
		text-decoration: underline;
	}
}
