/**
 * Regal Wear — mobile homepage v1.6.126 (ASOS-style product sections)
 */

.rw-mobile-home,
.rw-mobile-wishlist,
.rw-mobile-storefront-chrome {
	--rw-cream: #fdfaf6;
	--rw-mocha: #5c4033;
	--rw-olive: #4a5240;
	--rw-charcoal: #2c2c2c;
	--rw-gold: #c9a96e;
	--rw-sand: #f0ebe3;
	--rw-border: #e8e0d6;
	--rw-muted: #8a7a6a;
	--rw-announce-h: 32px;
	--rw-header-h: 52px;
	background: var(--rw-cream);
	color: var(--rw-charcoal);
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	-webkit-overflow-scrolling: touch;
	padding-bottom: 0;
}

/* Hide theme header on mobile homepage + wishlist */
@media (max-width: 767px) {
	body.regalwear-mobile-homepage #header,
	body.regalwear-mobile-homepage .regal-mega-menu-header,
	body.regalwear-mobile-homepage .ct-header,
	body.regalwear-mobile-homepage #main-container > .hero-section,
	body.regalwear-mobile-wishlist-page #header,
	body.regalwear-mobile-wishlist-page .regal-mega-menu-header,
	body.regalwear-mobile-wishlist-page .regal-mega-menu-mount,
	body.regalwear-mobile-wishlist-page #regal-mega-menu-root,
	body.regalwear-mobile-wishlist-page .ct-header,
	body.regalwear-mobile-storefront-shell #header,
	body.regalwear-mobile-storefront-shell .regal-mega-menu-header,
	body.regalwear-mobile-storefront-shell .regal-mega-menu-mount,
	body.regalwear-mobile-storefront-shell #regal-mega-menu-root,
	body.regalwear-mobile-storefront-shell .ct-header {
		display: none !important;
	}

	body.regalwear-mobile-homepage #main-container,
	body.regalwear-mobile-homepage main,
	body.regalwear-mobile-wishlist-page #main-container,
	body.regalwear-mobile-wishlist-page main#main,
	body.regalwear-mobile-storefront-shell #main-container,
	body.regalwear-mobile-storefront-shell main#main {
		padding-top: 0 !important;
		margin-top: 0 !important;
	}
}

/* Section 1 — Announcement */
.rw-mob-announce {
	position: sticky;
	top: 0;
	z-index: 1000;
	height: var(--rw-announce-h);
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--rw-charcoal);
	color: var(--rw-gold);
	padding: 0 12px;
}

.rw-mob-announce__text {
	margin: 0;
	font-size: 9px;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	text-align: center;
	line-height: 1.35;
	transition: opacity 0.4s ease;
}

/* Section 2 — Header */
.rw-mob-header {
	position: sticky;
	top: var(--rw-announce-h);
	z-index: 999;
	height: var(--rw-header-h);
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 12px;
	background: var(--rw-cream);
	border-bottom: 0.5px solid var(--rw-border);
}

.rw-mob-header__brand {
	display: flex;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: inherit;
	min-width: 0;
}

.rw-mob-header__logo {
	color: var(--rw-gold);
	flex-shrink: 0;
	display: flex;
}

.rw-mob-header__name {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.rw-mob-header__title {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: var(--rw-charcoal);
	line-height: 1.1;
}

.rw-mob-header__tagline {
	font-size: 7px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--rw-gold);
	margin-top: 2px;
}

.rw-mob-header__actions {
	display: flex;
	align-items: center;
	gap: 4px;
	flex-shrink: 0;
}

.rw-mob-header__icon {
	position: relative;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: none;
	background: transparent;
	color: var(--rw-charcoal);
	padding: 0;
	cursor: pointer;
	text-decoration: none;
}

.rw-mobile-menu-btn {
	flex-direction: column;
	gap: 5px;
	padding: 4px;
}

.rw-mobile-menu-btn__bar {
	display: block;
	width: 18px;
	height: 1.5px;
	background: #2c2c2c;
	border-radius: 2px;
}

.rw-mob-header__cart-count {
	position: absolute;
	top: 4px;
	right: 2px;
	min-width: 14px;
	height: 14px;
	padding: 0 3px;
	border-radius: 999px;
	background: var(--rw-olive);
	color: #f5f0e8;
	font-size: 8px;
	line-height: 14px;
	text-align: center;
	font-weight: 600;
}

/* Mobile menu drawer (v1.6.127 — custom header; Blocksy header hidden) */
.rw-mob-menu-overlay {
	position: fixed;
	inset: 0;
	background: rgba(44, 44, 44, 0.45);
	z-index: 99998;
	opacity: 0;
	transition: opacity 0.3s ease;
	pointer-events: none;
}

.rw-mob-menu-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
}

.rw-mob-menu {
	position: fixed;
	top: 0;
	right: 0;
	width: min(280px, 88vw);
	height: 100vh;
	height: 100dvh;
	background: var(--rw-cream);
	z-index: 99999;
	padding: 0;
	overflow-y: auto;
	box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
	transform: translateX(100%);
	transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
	-webkit-overflow-scrolling: touch;
}

.rw-mob-menu.is-open {
	transform: translateX(0);
}

.rw-mob-menu__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 16px 12px;
	border-bottom: 0.5px solid var(--rw-border);
	position: sticky;
	top: 0;
	background: var(--rw-cream);
	z-index: 1;
}

.rw-mob-menu__title {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 14px;
	color: var(--rw-charcoal);
	letter-spacing: 0.04em;
}

.rw-mob-menu__close {
	width: 36px;
	height: 36px;
	border: none;
	background: transparent;
	color: var(--rw-charcoal);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}

.rw-mob-menu__list {
	list-style: none;
	margin: 0;
	padding: 12px 0 24px;
}

.rw-mob-menu__link {
	display: block;
	padding: 12px 20px;
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rw-mocha);
	text-decoration: none;
	border-bottom: 0.5px solid rgba(232, 224, 214, 0.6);
}

.rw-mob-menu__link:hover,
.rw-mob-menu__link:focus-visible {
	color: var(--rw-charcoal);
	background: rgba(240, 235, 227, 0.5);
}

body.mobile-menu-open {
	overflow: hidden;
}

@media (max-width: 767px) {
	body.mobile-menu-open .primary-menu-wrap,
	body.mobile-menu-open nav.main-navigation,
	body.mobile-menu-open #site-navigation,
	body.mobile-menu-open .ct-primary-menu {
		display: block !important;
		position: fixed !important;
		top: 0 !important;
		right: 0 !important;
		width: 280px !important;
		height: 100vh !important;
		background: #fdfaf6 !important;
		z-index: 99999 !important;
		padding: 60px 24px 24px !important;
		overflow-y: auto !important;
		box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15) !important;
	}
}

/* Section 3 — Hero (ASOS full-bleed) */
.rw-mob-hero {
	width: 100vw !important;
	max-width: 100vw !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	height: calc(100vh - var(--rw-header-h) - var(--rw-announce-h)) !important;
	height: calc(100dvh - var(--rw-header-h) - var(--rw-announce-h)) !important;
	margin-top: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	position: relative !important;
	background: #3a3530;
}

.rw-mob-hero__track {
	width: 100% !important;
	height: 100% !important;
}

.rw-mob-hero__slide {
	width: 100% !important;
	height: 100% !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.6s ease;
}

.rw-mob-hero__slide.is-active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}

.rw-mob-hero__img,
.rw-mob-hero__slide img,
.rw-mob-hero__slide .wp-post-image {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	object-position: center top !important;
	display: block !important;
}

.rw-mob-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0) 100%);
	pointer-events: none;
}

.rw-mob-hero__content {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 16px 14px 44px;
	text-align: center;
	z-index: 2;
}

@keyframes heroIn {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.hero-content.hero-content--in,
.rw-mob-hero__slide.is-active .hero-content {
	animation: heroIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.rw-mob-hero__badge {
	font-size: 8px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--rw-gold);
	margin: 0 0 8px;
}

.rw-mob-hero__title {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	font-weight: 400;
	color: var(--rw-cream);
	margin: 0 0 8px;
	line-height: 1.2;
}

.rw-mob-hero__sub {
	font-size: 10px;
	color: rgba(253, 250, 246, 0.82);
	margin: 0 0 12px;
	line-height: 1.45;
}

.rw-mob-hero__actions {
	display: flex;
	gap: 8px;
	justify-content: center;
	flex-wrap: wrap;
}

.rw-mob-hero__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 16px;
	border-radius: 2px;
	font-size: 8px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	min-width: 96px;
	border: 0.5px solid transparent;
}

.rw-mob-hero__btn--solid {
	background: var(--rw-cream);
	color: var(--rw-charcoal);
	border-color: var(--rw-cream);
}

.rw-mob-hero__btn--outline {
	background: transparent;
	color: var(--rw-cream);
	border-color: rgba(253, 250, 246, 0.75);
}

.rw-mob-hero__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 12px;
	display: flex;
	justify-content: center;
	gap: 6px;
	z-index: 3;
}

.rw-mob-hero__dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	border: none;
	padding: 0;
	background: rgba(253, 250, 246, 0.3);
	cursor: pointer;
}

.rw-mob-hero__dot.is-active {
	background: var(--rw-gold);
}

/* Section 4 — Pills */
.rw-mob-pills-wrap {
	background: var(--rw-cream);
	border-bottom: 0.5px solid var(--rw-border);
	padding: 8px 10px;
}

.rw-mob-pills {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}

.rw-mob-pills::-webkit-scrollbar {
	display: none;
}

.rw-mob-pills.is-hint {
	animation: rwPillHint 1.2s ease 0.3s 1;
}

@keyframes rwPillHint {
	0%,
	100% {
		transform: translateX(0);
	}
	50% {
		transform: translateX(-18px);
	}
}

.rw-mob-pill {
	flex-shrink: 0;
	border: 0.5px solid var(--rw-gold);
	border-radius: 20px;
	padding: 4px 10px;
	font-size: 9px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--rw-mocha);
	background: transparent;
	text-decoration: none;
	white-space: nowrap;
}

.rw-mob-pill.is-active {
	background: var(--rw-olive);
	border-color: var(--rw-olive);
	color: #f5f0e8;
}

/* Sections 5–10 — Product grids */
.rw-mob-section {
	background: var(--rw-cream);
	padding: 14px 0 0;
}

.rw-mob-section__inner {
	padding: 0 10px;
}

.rw-mob-section-hdr {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	margin-bottom: 8px;
	gap: 8px;
}

.rw-mob-section-h2 {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 14px;
	font-weight: 400;
	color: var(--rw-charcoal);
	margin: 0 0 2px;
	letter-spacing: 0.01em;
	line-height: 1.25;
}

.rw-mob-section-kw {
	font-size: 9px;
	color: var(--rw-muted);
	font-style: italic;
	letter-spacing: 0.03em;
	margin: 0;
	line-height: 1.35;
}

.rw-mob-view-all {
	font-size: 9px;
	color: var(--rw-mocha);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	border-bottom: 0.5px solid var(--rw-gold);
	white-space: nowrap;
	margin-top: 3px;
	flex-shrink: 0;
}

.rw-mob-prod-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 6px;
	margin-bottom: 16px;
}

.rw-mob-divider {
	height: 0.5px;
	background: var(--rw-border);
	margin: 4px 10px 12px;
}

/* Product card */
.rw-mob-card {
	background: #f8f5f2;
	border-radius: 4px;
	overflow: hidden;
}

.rw-mob-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.rw-mob-card__img {
	position: relative;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #ede8e2;
}

.rw-mob-card__photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	transition: transform 0.4s ease;
	display: block;
}

.rw-mob-card:active .rw-mob-card__photo {
	transform: scale(1.03);
}

.rw-mob-card__badge {
	position: absolute;
	top: 7px;
	left: 7px;
	background: var(--rw-charcoal);
	color: var(--rw-cream);
	font-size: 8px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 2px 6px;
	border-radius: 1px;
	z-index: 1;
}

.rw-mob-card__wish {
	position: absolute;
	top: 7px;
	right: 7px;
	width: 26px;
	height: 26px;
	background: rgba(253, 250, 246, 0.92);
	border: 0.5px solid rgba(0, 0, 0, 0.08);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--rw-charcoal);
	transition: all 0.2s;
	z-index: 2;
	padding: 0;
}

.rw-mob-card__wish.wishlisted,
.rw-mob-card__wish.active {
	background: #fff;
	color: #8b1a1a;
}

.rw-mob-card__img-link {
	display: block;
	width: 100%;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.rw-mob-card__info {
	display: block;
	padding: 6px 7px 8px;
	color: inherit;
	text-decoration: none;
}

.rw-mob-card__brand {
	font-size: 8px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rw-muted);
	margin-bottom: 2px;
}

.rw-mob-card__name {
	font-size: 10px;
	color: var(--rw-charcoal);
	line-height: 1.35;
	margin-bottom: 4px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rw-mob-card__price {
	font-size: 12px !important;
	color: #5c4033 !important;
	font-weight: 500 !important;
	margin-top: 2px !important;
}

.rw-mob-card__price .woocommerce-Price-amount {
	font-size: inherit;
	color: inherit;
}

.rw-mob-card__sizes {
	display: flex;
	gap: 3px;
	margin: 4px 0 !important;
	flex-wrap: wrap;
}

.rw-sz {
	font-size: 8px;
	border: 0.5px solid #d4c9be;
	padding: 2px 5px;
	color: #666;
	border-radius: 2px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

/* Section 11 — Trending */
.rw-mob-trending {
	background: var(--rw-olive);
	padding: 14px 10px;
}

.rw-mob-trending__title {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 13px;
	font-weight: 400;
	color: #f5f0e8;
	margin: 0 0 10px;
	line-height: 1.3;
}

.rw-mob-trending__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 6px;
}

.rw-mob-trending__chip {
	border: 0.5px solid rgba(249, 240, 232, 0.3);
	border-radius: 20px;
	padding: 4px 10px;
	font-size: 9px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #f5f0e8;
	text-decoration: none;
	text-align: center;
	line-height: 1.35;
}

/* Section 12 — SEO block */
.rw-mob-seo {
	background: var(--rw-sand);
	border-left: 2px solid var(--rw-gold);
	padding: 14px 12px;
	margin: 0;
}

.rw-mob-seo__title {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 11px;
	font-weight: 500;
	color: var(--rw-charcoal);
	margin: 0 0 8px;
	line-height: 1.4;
}

.rw-mob-seo__text {
	font-size: 10px;
	color: var(--rw-mocha);
	line-height: 1.7;
	margin: 0;
}

/* Section 13 — Brand promise */
.rw-mob-promise {
	background: var(--rw-cream);
	border-top: 0.5px solid var(--rw-border);
	padding: 14px 10px;
}

.rw-mob-promise__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.rw-mob-promise__item {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.rw-mob-promise__icon {
	width: 24px;
	height: 24px;
	border: 0.5px solid var(--rw-gold);
	border-radius: 50%;
	padding: 5px;
	color: var(--rw-olive);
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	margin-bottom: 6px;
}

.rw-mob-promise__name {
	font-size: 9px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rw-charcoal);
	line-height: 1.3;
}

.rw-mob-promise__sub {
	font-size: 8px;
	color: var(--rw-muted);
	margin-top: 2px;
	line-height: 1.35;
}

/* Section 14 — Journal */
.rw-mob-journal {
	background: var(--rw-cream);
	padding: 14px 10px 20px;
}

.rw-mob-journal__title {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 13px;
	font-weight: 400;
	color: var(--rw-charcoal);
	margin: 0 0 10px;
	line-height: 1.3;
}

.rw-mob-journal__scroll {
	display: flex;
	gap: 8px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding-bottom: 4px;
}

.rw-mob-journal__scroll::-webkit-scrollbar {
	display: none;
}

.rw-mob-journal__card {
	flex: 0 0 130px;
	min-width: 130px;
}

.rw-mob-journal__link {
	display: block;
	text-decoration: none;
	color: inherit;
}

.rw-mob-journal__media {
	aspect-ratio: 16 / 9;
	border-radius: 4px;
	overflow: hidden;
	background: var(--rw-border);
	margin-bottom: 6px;
}

.rw-mob-journal__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rw-mob-journal__badge {
	font-size: 8px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--rw-gold);
	display: block;
	margin-bottom: 4px;
}

.rw-mob-journal__post-title {
	font-size: 10px;
	font-weight: 500;
	color: var(--rw-charcoal);
	margin: 0 0 4px;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rw-mob-journal__meta {
	font-size: 8px;
	color: var(--rw-muted);
	margin: 0;
}

/* Scroll reveal */
.rw-mobile-section {
	opacity: 0;
	transform: translateY(16px);
	transition: opacity 0.5s ease, transform 0.5s ease;
}

.rw-mobile-section.rw-visible {
	opacity: 1;
	transform: translateY(0);
}

.rw-mob-hero.rw-mobile-section,
.rw-mob-announce + .rw-mob-header {
	opacity: 1;
	transform: none;
}

@media (min-width: 768px) {
	.rw-mobile-home {
		display: none !important;
	}
}

.regalwear-seo-content {
	display: none;
	padding: 60px 40px;
	background: #f9f9f9;
}

.regalwear-seo-content__inner {
	max-width: 900px;
	margin: 0 auto;
}
