/* =========================================================
   MAWLID WEAR — Design Tokens
   ========================================================= */
:root {
	--mw-primary: #0B5D3B;   /* Deep Mawlid Green */
	--mw-accent:  #087A4B;   /* Emerald */
	--mw-white:   #FFFFFF;
	--mw-cream:   #F5F1E8;
	--mw-charcoal:#171717;
	--mw-sage:    #DCE9E1;

	--mw-font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	--mw-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

	--mw-container: 1280px;
	--mw-gap: 20px;
}

/* =========================================================
   Reset & base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body {
	margin: 0;
	width: 100%;
	max-width: 100%;
	font-family: var(--mw-font-body);
	color: var(--mw-charcoal);
	background: var(--mw-white);
	font-size: 15px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
	font-family: var(--mw-font-display);
	font-weight: 600;
	letter-spacing: -0.015em;
	margin: 0 0 0.4em;
	color: var(--mw-charcoal);
}
h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 600; }
h2 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
h3 { font-size: 0.95rem; font-weight: 600; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--mw-primary); outline-offset: 2px; }

.mw-container { max-width: var(--mw-container); margin: 0 auto; padding: 0 24px; }
.mw-eyebrow {
	font-size: 0.7rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: #767671;
	margin-bottom: 0.8em;
}

/* Signature motif — thin 8-point star, used sparingly as a divider/watermark */
.mw-motif { width: 28px; height: 28px; color: var(--mw-primary); }

/* =========================================================
   Buttons
   ========================================================= */
.mw-btn {
	display: inline-block;
	padding: 15px 34px;
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	border: 1px solid var(--mw-charcoal);
	background: transparent;
	color: var(--mw-charcoal);
	transition: background 0.25s ease, color 0.25s ease, opacity 0.2s ease;
}
.mw-btn--dark { background: var(--mw-primary); border-color: var(--mw-primary); color: var(--mw-white); }
.mw-btn--dark:hover { background: var(--mw-accent); border-color: var(--mw-accent); }
.mw-btn--block { display: block; width: 100%; text-align: center; }
.mw-btn--link { border: none; text-align: center; text-decoration: underline; text-underline-offset: 4px; margin-top: 12px; }
.mw-btn--disabled { opacity: 0.4; cursor: not-allowed; }

/* =========================================================
   Announcement + Header
   ========================================================= */
.mw-announcement {
	background: var(--mw-charcoal);
	color: var(--mw-cream);
	text-align: center;
	font-size: 0.78rem;
	letter-spacing: 0.04em;
	padding: 9px 12px;
}

.mw-header { border-bottom: 1px solid var(--mw-sage); background: var(--mw-white); position: sticky; top: 0; z-index: 40; transition: box-shadow 0.3s ease; }
.mw-header.is-scrolled { box-shadow: 0 2px 16px rgba(0,0,0,0.06); }
.mw-header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 24px; transition: padding 0.3s ease; }
.mw-header.is-scrolled .mw-header__row { padding: 11px 24px; }

.mw-logo__text { font-family: var(--mw-font-display); font-size: 1.5rem; letter-spacing: 0.02em; color: var(--mw-primary); transition: font-size 0.3s ease; }
.mw-header.is-scrolled .mw-logo__text { font-size: 1.25rem; }

.mw-nav__list { display: flex; gap: 34px; }
.mw-nav__list a {
	position: relative;
	font-size: 0.82rem;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 6px 0;
}
.mw-nav__list a::after {
	content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
	background: var(--mw-primary); transform: scaleX(0); transform-origin: right;
	transition: transform 0.3s ease;
}
.mw-nav__list a:hover::after { transform: scaleX(1); transform-origin: left; }

.mw-nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 4px; }
.mw-nav-toggle span { width: 22px; height: 1.5px; background: var(--mw-charcoal); }

.mw-cart-link { position: relative; display: inline-flex; }
.mw-cart-count {
	position: absolute; top: -8px; right: -10px;
	background: var(--mw-primary); color: var(--mw-white);
	font-size: 0.65rem; width: 17px; height: 17px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
}
.mw-cart-link { border: none; background: none; padding: 0; color: inherit; }

/* =========================================================
   Mini-cart drawer
   ========================================================= */
.mw-cart-drawer-overlay {
	position: fixed; inset: 0; background: rgba(23,23,23,0.4);
	opacity: 0; visibility: hidden; transition: opacity 0.25s ease;
	z-index: 90;
}
.mw-cart-drawer-overlay.is-open { opacity: 1; visibility: visible; }

.mw-cart-drawer {
	position: fixed; top: 0; right: -420px; width: 100%; max-width: 420px; height: 100%;
	background: var(--mw-white); z-index: 91; display: flex; flex-direction: column;
	transition: right 0.3s ease; box-shadow: -8px 0 24px rgba(0,0,0,0.08);
}
.mw-cart-drawer.is-open { right: 0; }
.mw-cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--mw-sage); }
.mw-cart-drawer__head h3 { margin: 0; }
.mw-cart-drawer__close { background: none; border: none; font-size: 1.6rem; line-height: 1; color: var(--mw-charcoal); }
.mw-cart-drawer__body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.mw-cart-drawer__empty { color: #888; text-align: center; margin-top: 40px; }
.mw-cart-drawer__item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--mw-sage); align-items: center; }
.mw-cart-drawer__item img { width: 60px; height: 74px; object-fit: cover; background: var(--mw-sage); flex-shrink: 0; }
.mw-cart-drawer__item-info { flex: 1; min-width: 0; }
.mw-cart-drawer__item-info p { margin: 0 0 3px; font-size: 0.9rem; }
.mw-cart-drawer__item-meta { font-size: 0.78rem; color: #888; }
.mw-cart-drawer__item-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.mw-cart-drawer__item-row .mw-qty-input { width: 60px; padding: 6px 8px; font-size: 0.85rem; }
.mw-cart-drawer__remove { background: none; border: none; color: #999; font-size: 1.1rem; padding: 0 4px; }
.mw-cart-drawer__remove:hover { color: #b91c1c; }
.mw-cart-drawer__footer { padding: 20px 24px; border-top: 1px solid var(--mw-sage); }
.mw-cart-drawer__footer .mw-cart-summary__row { font-size: 1rem; }
.mw-cart-drawer__footer .mw-btn { margin-bottom: 10px; }
.mw-cart-drawer__just-added { background: var(--mw-sage); padding: 10px 14px; font-size: 0.85rem; margin-bottom: 16px; }
@media (max-width: 480px) { .mw-cart-drawer { max-width: 100%; right: -100%; } }

/* =========================================================
   Hero — full-bleed, photography-led, minimal overlay
   ========================================================= */
.mw-hero { position: relative; background: var(--mw-cream); }
.mw-hero__track { position: relative; width: 100%; aspect-ratio: 16/9; overflow: hidden; background: var(--mw-sage); }

.mw-hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 0.6s ease; }
.mw-hero__slide.is-active { opacity: 1; visibility: visible; pointer-events: auto; }

.mw-hero__media { position: absolute; inset: 0; width: 100%; height: 100%; }
.mw-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.mw-hero__media-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.mw-hero__media-placeholder .mw-motif { width: 64px; height: 64px; color: var(--mw-primary); opacity: 0.4; }

.mw-hero__caption {
	position: absolute; left: 0; bottom: 0; padding: 32px 40px;
	background: rgba(255,255,255,0.88);
	max-width: 420px; z-index: 1;
}
.mw-hero__title { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 500; letter-spacing: -0.01em; line-height: 1.15; margin: 0 0 14px; }
.mw-hero__price { font-size: 1rem; color: var(--mw-charcoal); margin-bottom: 16px; }
.mw-hero__link { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; border-bottom: 1px solid var(--mw-charcoal); padding-bottom: 2px; }
.mw-hero__link span { display: inline-block; transition: transform 0.2s ease; }
.mw-hero__link:hover span { transform: translateX(4px); }

.mw-hero__dots {
	position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%);
	display: flex; gap: 8px; z-index: 2;
}
.mw-hero__dot { width: 7px; height: 7px; border-radius: 50%; border: none; background: rgba(255,255,255,0.6); padding: 0; }
.mw-hero__dot.is-active { background: var(--mw-white); }

.mw-hero__arrow {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
	width: 38px; height: 38px; border-radius: 50%; border: none;
	background: rgba(255,255,255,0.85); display: flex; align-items: center; justify-content: center;
	color: var(--mw-charcoal); transition: background 0.2s ease;
}
.mw-hero__arrow:hover { background: var(--mw-white); }
.mw-hero__arrow svg { width: 18px; height: 18px; }
.mw-hero__arrow--prev { left: 16px; }
.mw-hero__arrow--next { right: 16px; }

@media (max-width: 700px) {
	.mw-hero__track { aspect-ratio: 4/5; }
	.mw-hero__caption { padding: 24px; max-width: none; right: 0; }
	.mw-hero__arrow { display: none; } /* swipe is the primary interaction on mobile */
}

/* =========================================================
   Scroll reveal
   ========================================================= */
.mw-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.mw-reveal.is-visible { opacity: 1; transform: none; }

.mw-divider { display: flex; justify-content: center; padding: 40px 0; }
.mw-divider__motif { width: 34px; height: 34px; color: var(--mw-sage); }

/* =========================================================
   Sections
   ========================================================= */
.mw-section { padding: 80px 0; }
.mw-section--cream { background: var(--mw-cream); }
.mw-section__head { text-align: center; margin-bottom: 48px; }
.mw-page-head { padding: 56px 0 24px; border-bottom: 1px solid var(--mw-sage); }
.mw-term-desc { color: #666; max-width: 600px; margin-top: 10px; }

/* Category grid */
.mw-cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--mw-gap); }
.mw-cat-card { text-align: center; }
.mw-cat-card__frame {
	aspect-ratio: 1; background: var(--mw-sage); display: flex; align-items: center; justify-content: center;
	margin-bottom: 14px; transition: background 0.25s ease; overflow: hidden;
}
.mw-cat-card__frame img { width: 100%; height: 100%; object-fit: cover; }
.mw-cat-card:hover .mw-cat-card__frame { background: var(--mw-primary); }
.mw-cat-card:hover .mw-cat-card__frame img { opacity: 0.85; }
.mw-cat-card:hover .mw-cat-card__frame .mw-motif { color: var(--mw-white); }
.mw-cat-card h3 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 500; color: var(--mw-charcoal); }
@media (max-width: 900px) { .mw-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Product grid & card */
.mw-product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; }
@media (max-width: 1000px) { .mw-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .mw-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; } }

.mw-product-card { display: block; }
.mw-product-card__link { display: block; }
.mw-product-card__image { position: relative; aspect-ratio: 3/4; background: var(--mw-sage); overflow: hidden; margin-bottom: 14px; }
.mw-product-card__img-main, .mw-product-card__img-hover { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.45s ease, transform 0.5s ease; }
.mw-product-card__img-hover { position: absolute; inset: 0; opacity: 0; }
.mw-product-card:hover .mw-product-card__image.has-hover-image .mw-product-card__img-main { opacity: 0; }
.mw-product-card:hover .mw-product-card__img-hover { opacity: 1; transform: scale(1.04); }
.mw-product-card:hover .mw-product-card__image:not(.has-hover-image) .mw-product-card__img-main { transform: scale(1.04); }
.mw-product-card__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.mw-product-card__placeholder .mw-motif { width: 48px; height: 48px; color: var(--mw-primary); opacity: 0.5; }
.mw-badge {
	position: absolute; top: 12px; left: 12px; background: var(--mw-primary); color: var(--mw-white);
	font-size: 0.65rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px;
}
.mw-product-card__body h3 { font-size: 0.95rem; font-weight: 500; margin-bottom: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mw-product-card__price { font-size: 0.9rem; color: var(--mw-charcoal); }
.mw-price--old { text-decoration: line-through; color: #999; margin-right: 8px; font-size: 0.85em; }

/* Inline quick-add on product cards */
.mw-quick-add { margin-top: 10px; }
.mw-quick-add__row { display: flex; gap: 6px; min-width: 0; margin-top: 6px; }
.mw-qty-input--sm { width: 46px; padding: 7px 6px; font-size: 0.8rem; text-align: center; flex-shrink: 0; }
.mw-quick-add__btn {
	flex: 1; min-width: 0; border: 1px solid var(--mw-charcoal); background: transparent; color: var(--mw-charcoal);
	font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
	padding: 0 6px; transition: background 0.2s ease, color 0.2s ease;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mw-quick-add__btn:hover { background: var(--mw-primary); border-color: var(--mw-primary); color: var(--mw-white); }
.mw-quick-add__btn:disabled { opacity: 0.5; }
.mw-quick-add__message { font-size: 0.7rem; margin: 6px 0 0; min-height: 0; }
.mw-quick-add__oos { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.06em; color: #999; margin: 10px 0 0; }
.mw-price--sale { color: var(--mw-primary); font-weight: 600; }

/* =========================================================
   Shop layout (archive)
   ========================================================= */
.mw-shop-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.mw-shop-filters h4 { text-transform: uppercase; font-size: 0.78rem; letter-spacing: 0.08em; margin-bottom: 14px; }
.mw-filter-list li { margin-bottom: 10px; }
.mw-filter-list a { font-size: 0.92rem; color: #555; }
.mw-filter-list a.is-active, .mw-filter-list a:hover { color: var(--mw-primary); font-weight: 600; }
.mw-pagination { margin-top: 48px; display: flex; gap: 16px; justify-content: center; }
@media (max-width: 800px) { .mw-shop-layout { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================
   Single product
   ========================================================= */
.mw-product-page__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; }
.mw-product-gallery__main { aspect-ratio: 3/4; background: var(--mw-sage); overflow: hidden; margin-bottom: 12px; }
.mw-product-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.mw-product-gallery__thumbs { display: flex; gap: 10px; }
.mw-thumb { width: 70px; height: 70px; object-fit: cover; cursor: pointer; opacity: 0.7; border: 1px solid transparent; }
.mw-thumb:hover { opacity: 1; border-color: var(--mw-primary); }

.mw-product-info__price { font-size: 1.3rem; margin-bottom: 16px; }
.mw-product-info__short { color: #444; font-size: 1rem; margin-bottom: 24px; }
.mw-product-info__desc { color: #444; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--mw-sage); }
.mw-product-info__desc h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 12px; color: #888; }
.mw-option-group { margin-bottom: 22px; }
.mw-option-group label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; font-weight: 600; }

/* Size selector — a clean square grid instead of elongated pills */
.mw-size-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.mw-size-btn {
	min-width: 44px; height: 44px; padding: 0 12px;
	border: 1px solid #d8d8d3; border-radius: 6px; background: var(--mw-white);
	font-size: 0.85rem; font-weight: 500; color: var(--mw-charcoal);
	transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.mw-size-btn:hover { border-color: var(--mw-charcoal); }
.mw-size-btn.is-selected { border-color: var(--mw-charcoal); background: var(--mw-charcoal); color: var(--mw-white); }
.mw-size-grid--sm .mw-size-btn { min-width: 32px; height: 32px; padding: 0 8px; font-size: 0.72rem; border-radius: 5px; }

/* Color selector — real swatches with a visible selection ring, not text pills */
.mw-swatch-group { display: flex; flex-wrap: wrap; gap: 10px; }
.mw-swatch {
	width: 32px; height: 32px; border-radius: 50%;
	border: 1px solid rgba(0,0,0,0.15);
	padding: 0; transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.mw-swatch:hover { transform: scale(1.08); }
.mw-swatch.is-selected { box-shadow: 0 0 0 2px var(--mw-white), 0 0 0 3.5px var(--mw-charcoal); }
.mw-swatch--text {
	width: auto; height: 34px; border-radius: 17px; padding: 0 14px;
	background: var(--mw-white); border: 1px solid #d8d8d3; box-shadow: none;
	font-size: 0.78rem; font-weight: 500; color: var(--mw-charcoal);
}
.mw-swatch--text.is-selected { border-color: var(--mw-charcoal); background: var(--mw-charcoal); color: var(--mw-white); box-shadow: none; }
.mw-swatch-selected-label { font-size: 0.8rem; color: #666; margin: 10px 0 0; }
.mw-swatch-group--sm .mw-swatch { width: 22px; height: 22px; }
.mw-swatch-group--sm .mw-swatch--text { height: 24px; padding: 0 9px; font-size: 0.68rem; }

.mw-qty-input { width: 90px; padding: 10px 12px; border: 1px solid #ccc; font-size: 0.9rem; }
.mw-sku { font-size: 0.8rem; color: #999; margin-top: 20px; }
.mw-form-message { font-size: 0.85rem; margin-top: 12px; min-height: 1.2em; }
.mw-form-message.is-success { color: var(--mw-primary); }
.mw-form-message.is-error { color: #b91c1c; }
@media (max-width: 800px) { .mw-product-page__grid { grid-template-columns: minmax(0, 1fr); gap: 30px; } }

/* =========================================================
   Cart
   ========================================================= */
.mw-cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; align-items: start; }
.mw-cart-table-wrap { width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.mw-cart-table { width: 100%; border-collapse: collapse; }
.mw-cart-table th { text-align: left; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: #888; padding-bottom: 14px; border-bottom: 1px solid var(--mw-sage); font-weight: 600; }
.mw-cart-table td { padding: 18px 10px 18px 0; border-bottom: 1px solid var(--mw-sage); vertical-align: middle; }
.mw-cart-row__product { display: flex; gap: 14px; align-items: center; min-width: 0; }
.mw-cart-row__product img { width: 64px; height: 80px; object-fit: cover; background: var(--mw-sage); flex-shrink: 0; }
.mw-cart-row__product p { margin: 0; overflow-wrap: anywhere; }
.mw-cart-row__meta { font-size: 0.8rem; color: #888; }
.mw-remove-btn { border: none; background: none; font-size: 1.2rem; color: #999; line-height: 1; }
.mw-remove-btn:hover { color: #b91c1c; }
.mw-cart-summary { background: var(--mw-cream); padding: 28px; }
.mw-cart-summary__row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 1.05rem; }
.mw-cart-summary__note { font-size: 0.78rem; color: #888; margin-bottom: 18px; }
.mw-cart-empty { text-align: center; padding: 60px 0; }
@media (max-width: 800px) { .mw-cart-layout { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
	.mw-cart-table:not(.mw-order-table) th:nth-child(2), .mw-cart-table:not(.mw-order-table) td:nth-child(2) { display: none; } /* hide Price column on the cart page — Total already covers it */
	.mw-cart-row__product img { width: 48px; height: 60px; }
	.mw-cart-table td { padding: 14px 6px 14px 0; }
	.mw-qty-input { width: 56px; }
}

/* =========================================================
   Checkout
   ========================================================= */
.mw-checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; }
.mw-checkout-form h3 { margin-bottom: 22px; }
.mw-field-row { display: flex; gap: 18px; margin-bottom: 16px; }
.mw-field-row .mw-field { flex: 1; }
.mw-field label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; font-weight: 600; color: #555; }
.mw-field input { width: 100%; padding: 12px 14px; border: 1px solid #ccc; font-size: 0.92rem; font-family: inherit; }
.mw-field input:focus { border-color: var(--mw-primary); }
.mw-checkout-secure { font-size: 0.8rem; color: #888; margin-top: 14px; }
.mw-checkout-summary { background: var(--mw-cream); padding: 28px; }
.mw-checkout-line { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 8px 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.mw-checkout-totals { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(0,0,0,0.1); }
.mw-checkout-totals__row { display: flex; justify-content: space-between; font-size: 0.88rem; padding: 6px 0; color: #555; }
.mw-checkout-totals__row--total { border-top: 1px solid rgba(0,0,0,0.1); margin-top: 6px; padding-top: 12px; font-size: 1.05rem; color: var(--mw-charcoal); }
.mw-checkout-note { font-size: 0.78rem; color: var(--mw-primary); margin: 12px 0 0; min-height: 1em; }
@media (max-width: 800px) { .mw-checkout-layout { grid-template-columns: minmax(0, 1fr); } .mw-field-row { flex-direction: column; gap: 16px; } }

/* =========================================================
   Order received
   ========================================================= */
.mw-order-received { text-align: center; max-width: 560px; margin: 0 auto; }
.mw-order-received__motif { width: 44px; height: 44px; margin: 0 auto 20px; }
.mw-order-ref { font-size: 0.95rem; color: #555; }

/* =========================================================
   Newsletter band
   ========================================================= */
.mw-newsletter { background: var(--mw-cream); padding: 48px 0; border-top: 1px solid var(--mw-sage); border-bottom: 1px solid var(--mw-sage); }
.mw-newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.mw-newsletter__text h3 { color: var(--mw-charcoal); font-size: 1rem; margin: 0; text-transform: none; letter-spacing: normal; font-weight: 500; }
.mw-newsletter__text .mw-eyebrow { margin-bottom: 6px; }
.mw-newsletter__form { display: flex; gap: 0; border-bottom: 1px solid var(--mw-charcoal); min-width: 340px; }
.mw-newsletter__form input {
	flex: 1; padding: 10px 0; border: none; background: transparent;
	color: var(--mw-charcoal); font-size: 0.88rem;
}
.mw-newsletter__form input::placeholder { color: #999; }
.mw-newsletter__form input:focus { outline: none; }
.mw-newsletter__form button {
	background: none; border: none; padding: 10px 4px; font-size: 0.72rem;
	text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; color: var(--mw-charcoal);
}
.mw-newsletter__form button:hover { color: var(--mw-primary); }
#mw-newsletter-message { text-align: center; color: var(--mw-primary); font-size: 0.8rem; max-width: var(--mw-container); margin: 10px auto 0; padding: 0 24px; }
#mw-newsletter-message.is-error { color: #b91c1c; }
@media (max-width: 700px) { .mw-newsletter__inner { flex-direction: column; text-align: center; } .mw-newsletter__form { width: 100%; min-width: 0; } }

/* =========================================================
   Footer
   ========================================================= */
.mw-footer { background: var(--mw-white); color: #555; padding: 60px 0 0; margin-top: 0; }
.mw-footer__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 32px; padding-bottom: 44px; border-bottom: 1px solid var(--mw-sage); }
.mw-footer__motif { color: var(--mw-primary); margin-bottom: 14px; opacity: 0.5; }
.mw-footer__name { font-size: 1.05rem; font-weight: 600; color: var(--mw-charcoal); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.03em; }
.mw-footer__tag { font-size: 0.82rem; color: #888; }
.mw-footer h4 { color: var(--mw-charcoal); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 16px; font-weight: 600; }
.mw-footer__list li { margin-bottom: 10px; }
.mw-footer__list a { font-size: 0.82rem; color: #767671; }
.mw-footer__list a:hover { color: var(--mw-charcoal); }
.mw-footer__bottom { display: flex; justify-content: space-between; padding: 20px 0; font-size: 0.72rem; color: #999; }
@media (max-width: 800px) { .mw-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); } .mw-footer__bottom { flex-direction: column; gap: 8px; } }
@media (max-width: 600px) { .mw-footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 420px) { .mw-footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* =========================================================
   Family Bundles / Mosque Orders landing pages
   ========================================================= */
.mw-bundle-hero { position: relative; background: var(--mw-cream); color: var(--mw-charcoal); padding: 90px 0 70px; overflow: hidden; text-align: center; border-bottom: 1px solid var(--mw-sage); }
.mw-bundle-hero__inner { max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.mw-bundle-hero .mw-eyebrow { color: var(--mw-primary); }
.mw-bundle-hero h1 { color: var(--mw-charcoal); }
.mw-bundle-hero__sub { color: #555; font-size: 1.02rem; }
.mw-bundle-hero__motif { position: absolute; width: 300px; height: 300px; color: var(--mw-sage); opacity: 0.5; top: -60px; right: -60px; }

.mw-bundle-benefits { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; text-align: center; }
.mw-bundle-benefit .mw-motif { width: 34px; height: 34px; margin: 0 auto 16px; }
.mw-bundle-benefit h3 { margin-bottom: 10px; }
.mw-bundle-benefit p { color: #666; font-size: 0.92rem; }
@media (max-width: 800px) { .mw-bundle-benefits { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

.mw-inquiry-layout { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.mw-inquiry-intro h2 { margin-bottom: 14px; }
.mw-inquiry-intro p { color: #555; }
.mw-inquiry-form-wrap { background: var(--mw-white); padding: 32px; }
.mw-inquiry-form .mw-field, .mw-contact-form .mw-field { margin-bottom: 16px; }
.mw-inquiry-form textarea, .mw-contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #ccc; font-family: inherit; font-size: 0.92rem; resize: vertical; }
.mw-field-group-label { margin: 22px 0 12px; padding-top: 18px; border-top: 1px solid var(--mw-sage); }
.mw-field-group-label label { display: block; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; color: #555; margin-bottom: 4px; }
.mw-field-hint { font-size: 0.8rem; color: #888; margin: 0; }
.mw-inquiry-form input[type="file"] { width: 100%; padding: 9px 0; font-size: 0.82rem; }
.mw-inquiry-thanks { text-align: center; padding: 40px 20px; }
.mw-inquiry-thanks .mw-motif { width: 40px; height: 40px; margin: 0 auto 16px; }

.mw-contact-list { margin-top: 28px; }
.mw-contact-list li { padding: 16px 0; border-top: 1px solid var(--mw-sage); display: flex; flex-direction: column; gap: 4px; }
.mw-contact-list li:last-child { border-bottom: 1px solid var(--mw-sage); }
.mw-contact-list__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: #999; font-weight: 600; }
.mw-contact-list a { font-size: 0.95rem; color: var(--mw-charcoal); }
.mw-contact-list a:hover { color: var(--mw-primary); }
.mw-contact-list .mw-whatsapp-inline { margin-top: 0; }

@media (max-width: 800px) { .mw-inquiry-layout { grid-template-columns: minmax(0, 1fr); } .mw-inquiry-form-wrap { padding: 24px; } }
@media (max-width: 900px) {
	.mw-nav-toggle { display: flex; }
	.mw-nav { position: fixed; top: 0; left: -100%; width: 80%; height: 100%; background: var(--mw-white); padding: 90px 30px; transition: left 0.3s ease; z-index: 50; }
	.mw-nav.is-open { left: 0; }
	.mw-nav__list { flex-direction: column; gap: 22px; }
}

/* =========================================================
   WhatsApp floating button
   ========================================================= */
.mw-whatsapp-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 60;
	width: 52px; height: 52px; border-radius: 50%; background: #25D366; color: var(--mw-white);
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 6px 18px rgba(0,0,0,0.2); transition: transform 0.2s ease;
}
.mw-whatsapp-float:hover { transform: scale(1.08); }
.mw-whatsapp-float svg { width: 26px; height: 26px; }
@media (max-width: 700px) { .mw-whatsapp-float { right: 14px; bottom: 14px; width: 48px; height: 48px; } .mw-whatsapp-float svg { width: 24px; height: 24px; } }
.mw-whatsapp-inline {
	display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
	font-size: 0.8rem; color: #128C4A; font-weight: 500;
}
.mw-whatsapp-inline svg { width: 18px; height: 18px; }
.mw-whatsapp-inline:hover { text-decoration: underline; }

/* =========================================================
   Social icons (footer)
   ========================================================= */
.mw-social-icons { display: flex; gap: 12px; margin-top: 18px; }
.mw-social-icons a {
	width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--mw-sage);
	display: flex; align-items: center; justify-content: center; color: var(--mw-charcoal);
	transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.mw-social-icons a:hover { background: var(--mw-primary); border-color: var(--mw-primary); color: var(--mw-white); }
.mw-social-icons svg { width: 15px; height: 15px; }

/* =========================================================
   Long-form content pages (About, Shipping & Returns, Privacy Policy)
   ========================================================= */
.mw-prose-layout { max-width: 760px; margin: 0 auto; }
.mw-prose { color: #444; font-size: 0.98rem; line-height: 1.75; }
.mw-prose h3 { margin-top: 2.2em; margin-bottom: 0.6em; font-size: 1.05rem; color: var(--mw-charcoal); }
.mw-prose h3:first-child { margin-top: 0; }
.mw-prose p { margin-bottom: 1.2em; }
.mw-prose ul { margin: 0 0 1.2em; padding-left: 1.3em; list-style: disc; }
.mw-prose li { margin-bottom: 0.5em; }
.mw-prose a { color: var(--mw-primary); text-decoration: underline; text-underline-offset: 3px; }
.mw-prose__lead { font-size: 1.15rem; color: var(--mw-charcoal); margin-bottom: 1.6em; }
.mw-prose__note { font-size: 0.85rem; color: #888; border-top: 1px solid var(--mw-sage); padding-top: 20px; margin-top: 2.4em; }

/* =========================================================
   FAQ accordion
   ========================================================= */
.mw-faq-layout { max-width: 760px; margin: 0 auto; }
.mw-faq-group { margin-bottom: 40px; }
.mw-faq-group__title { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--mw-primary); margin-bottom: 14px; font-weight: 600; }
.mw-faq-item { border-bottom: 1px solid var(--mw-sage); }
.mw-faq-item summary {
	list-style: none; cursor: pointer; padding: 16px 28px 16px 0; position: relative;
	font-size: 0.96rem; font-weight: 500; color: var(--mw-charcoal);
}
.mw-faq-item summary::-webkit-details-marker { display: none; }
.mw-faq-item summary::after {
	content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
	font-size: 1.3rem; font-weight: 400; color: var(--mw-primary); transition: transform 0.2s ease;
}
.mw-faq-item[open] summary::after { content: '\2212'; }
.mw-faq-item__body { padding: 0 28px 18px 0; color: #555; font-size: 0.92rem; line-height: 1.65; }
.mw-faq-item__body a { color: var(--mw-primary); text-decoration: underline; text-underline-offset: 3px; }
.mw-faq-cta { text-align: center; padding: 30px 0; }
.mw-faq-cta p { margin-bottom: 14px; color: #666; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
