/**
 * Mobile / responsive polish — match ora-us.com mobile chrome.
 */

html {
	-webkit-text-size-adjust: 100%;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

.ora-header__bar {
	padding-inline: 0;
}

/* Touch targets */
.ora-search,
.ora-cart,
.ora-menu-toggle,
.ora-icon-btn {
	min-width: 44px;
	min-height: 44px;
}

.ora-search,
.ora-cart {
	align-items: center;
	justify-content: center;
}

@media (max-width: 1023px) {
	.ora-header__bar {
		min-height: var(--ora-header-height, 72px);
		padding: 0.5rem 0;
	}

	.ora-logo img {
		width: auto;
		height: 40px;
		max-width: min(96px, 42vw);
		max-height: 40px;
		object-fit: contain;
	}

	.ora-header__actions {
		gap: 0.45rem;
	}

	.ora-section {
		padding: calc(var(--ora-section-pad-y) / 2) 0;
	}

	.ora-hero + .ora-section,
	.ora-home > .ora-section:first-of-type {
		padding-top: var(--ora-section-pad-y);
	}

	.ora-home > .ora-section:last-of-type {
		padding-bottom: var(--ora-section-pad-y);
	}

	.ora-section__head {
		margin-bottom: var(--ora-space-5, 1.25rem);
	}

	.ora-section__title {
		font-size: clamp(1.45rem, 6.5vw, 2rem);
		padding-inline: 0.25rem;
	}

	.ora-product-grid {
		grid-template-columns: 1fr 1fr;
		gap: 1.25rem 0.75rem;
	}

	.ora-pcard__title {
		font-size: 0.86rem;
	}

	.ora-pcard__price {
		font-size: 0.85rem;
	}

	.ora-btn--outline {
		width: 100%;
		padding-inline: 0.5rem;
		font-size: 0.78rem;
	}

	.ora-family-grid {
		gap: 1.75rem;
	}

	.ora-split {
		padding: 1.5rem 0;
	}

	.ora-split__media img {
		max-height: 220px;
	}

	.ora-about__media {
		max-width: 100%;
		padding: var(--ora-space-4, 1rem);
	}

	.ora-about__media img {
		max-width: min(240px, 68vw);
	}

	.ora-benefits__grid {
		grid-template-columns: 1fr 1fr;
		gap: var(--ora-space-4, 1rem) var(--ora-space-3, 0.75rem);
	}

	.ora-benefit {
		padding: var(--ora-space-5, 1.25rem) var(--ora-space-3, 0.75rem);
	}

	.ora-benefit__icon {
		width: 3rem;
		height: 3rem;
	}

	.ora-benefit__icon svg {
		width: 24px;
		height: 24px;
	}

	.ora-benefit__title {
		font-size: 0.95rem;
	}

	.ora-benefit__text {
		font-size: 0.875rem;
	}


	.ora-about-intro__secondary {
		position: static;
		width: 70%;
		margin: -2.5rem 0 0 auto;
		display: block;
	}

	.ora-about-intro__media {
		padding-bottom: 0.5rem;
	}

	.ora-contact__form-wrap {
		padding: 1.25rem;
	}

	.ora-footer__legal-inner {
		flex-direction: column;
		align-items: center;
		gap: 0.75rem;
		text-align: center;
	}

	.ora-footer__legal p {
		text-align: center;
	}

	.ora-footer__legal-links,
	.ora-footer__legal-nav {
		justify-content: center;
	}
}

@media (max-width: 560px) {
	.ora-product-grid {
		grid-template-columns: 1fr;
	}

	.ora-benefits__grid {
		grid-template-columns: 1fr 1fr;
		gap: var(--ora-space-3, 0.75rem) var(--ora-space-2, 0.5rem);
	}

	.ora-benefit {
		padding: var(--ora-space-4, 1rem) var(--ora-space-2, 0.5rem);
		gap: var(--ora-space-2, 0.5rem);
	}

	.ora-benefit__icon {
		width: 2.75rem;
		height: 2.75rem;
		margin-bottom: 0;
	}

	.ora-benefit__title {
		font-size: 0.875rem;
	}

	.ora-benefit__text {
		font-size: 0.8125rem;
		max-width: none;
	}

	.ora-container {
		width: min(calc(100% - (2 * var(--ora-gutter))), var(--ora-container));
		max-width: var(--ora-container);
	}
}

/* Auth / account shells */
.ora-auth {
	padding: clamp(2rem, 5vw, 3.5rem) 0;
}

.ora-auth__card {
	width: min(100%, 440px);
	margin: 0 auto;
	padding: clamp(1.35rem, 3vw, 2rem);
	background: var(--ora-wash);
	border-radius: 12px;
}

.ora-auth__card h1 {
	margin: 0 0 0.35rem;
	font-size: clamp(1.5rem, 4vw, 1.85rem);
}

.ora-auth__card .ora-auth__lead {
	margin: 0 0 1.25rem;
	color: var(--ora-muted);
}

.ora-auth__card .woocommerce-form-login,
.ora-auth__card .woocommerce-form-register,
.ora-auth__card form.login,
.ora-auth__card form.register {
	margin: 0;
}

.ora-auth__card .woocommerce-form-row,
.ora-auth__card .form-row {
	margin-bottom: 0.85rem;
}

.ora-auth__card input.input-text,
.ora-auth__card input[type="text"],
.ora-auth__card input[type="email"],
.ora-auth__card input[type="password"] {
	width: 100%;
	min-height: 46px;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--ora-border);
	border-radius: 8px;
	font: inherit;
}

.ora-auth__card button.button,
.ora-auth__card .woocommerce-button {
	width: 100%;
	min-height: 46px;
	border: 0;
	border-radius: 999px;
	background: var(--ora-magenta);
	color: #fff;
	font-weight: 600;
	cursor: pointer;
}

.ora-auth__switch {
	margin-top: 1.25rem;
	text-align: center;
	font-size: 0.95rem;
}

/* Signup page: show register column only */
.ora-auth-page--signup .ora-auth__wc .u-column1,
.ora-auth-page--signup .ora-auth__wc .col-1 {
	display: none !important;
}

.ora-auth-page--signup .ora-auth__wc .u-column2,
.ora-auth-page--signup .ora-auth__wc .col-2,
.ora-auth-page--signup .ora-auth__wc .u-columns {
	width: 100% !important;
	float: none !important;
	display: block !important;
}

.ora-content {
	max-width: 720px;
	font-size: 1rem;
	line-height: 1.7;
	color: var(--ora-text);
}

.ora-content h2,
.ora-content h3 {
	margin-top: 1.75rem;
	line-height: 1.25;
}

.ora-content p + p {
	margin-top: 1rem;
}

/* Woo account / cart spacing on small screens */
.woocommerce-account .woocommerce,
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
	padding-block: 1.5rem;
}

@media (max-width: 782px) {
	.woocommerce table.shop_table,
	.woocommerce table.shop_table_responsive {
		font-size: 0.9rem;
	}

	.woocommerce ul.products {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 1rem;
	}

	.woocommerce ul.products::before,
	.woocommerce ul.products::after {
		display: none !important;
	}

	.woocommerce ul.products li.product {
		width: auto !important;
		float: none !important;
		margin: 0 !important;
	}
}

@media (max-width: 560px) {
	.woocommerce ul.products {
		grid-template-columns: 1fr !important;
	}
}
