/**
 * Moldova Store global distributor shell: homepage, About, WooCommerce cart,
 * and back-to-top. All page-level rules are scoped away from brand templates.
 */
:root {
	--mds-shell-ink: #17201d;
	--mds-shell-muted: #69716d;
	--mds-shell-cream: #f4f2eb;
	--mds-shell-mint: #dbe8df;
	--mds-shell-green: #243d33;
	--mds-shell-line: rgba(23, 32, 29, 0.14);
	--mds-shell-radius: 28px;
	--mds-shell-max: 1280px;
}

.mds-shell {
	background: #fbfaf7;
	color: var(--mds-shell-ink);
	overflow: clip;
}

/* The glass capsule is the header; its outer layer must not create a bar. */
.site-header {
	position: fixed;
	inset: 0 0 auto;
	background: transparent;
}

/* A fixed header is positioned against the viewport, while WordPress draws
   its admin bar above the document. Keep the complete glass capsule below it. */
.admin-bar .site-header {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

.mds-shell h1,
.mds-shell h2,
.mds-shell h3,
.woocommerce-cart .site-main h1,
.woocommerce-cart .woocommerce h2 {
	font-family: Georgia, 'Times New Roman', serif;
	font-weight: 400;
	letter-spacing: -0.035em;
}

.mds-container {
	width: min(calc(100% - 64px), var(--mds-shell-max));
	margin-inline: auto;
}

.mds-section { padding-block: clamp(88px, 10vw, 150px); }
.mds-eyebrow,
.mds-section-index {
	margin: 0 0 24px;
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.15em;
	line-height: 1.4;
	text-transform: uppercase;
}

.mds-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 13px 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: none;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.mds-button:hover { transform: translateY(-2px); }
.mds-button--primary { background: var(--mds-shell-green); color: #fff; box-shadow: 0 14px 30px rgba(36,61,51,.2); }
.mds-button--glass { background: rgba(255,255,255,.44); border-color: rgba(255,255,255,.7); color: var(--mds-shell-ink); box-shadow: inset 0 1px rgba(255,255,255,.8), 0 12px 30px rgba(23,32,29,.08); backdrop-filter: blur(14px); }
.mds-button--light { background: #f7f4ea; color: var(--mds-shell-ink); }
.mds-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.mds-text-link { color: inherit; font-size: .87rem; font-weight: 650; text-underline-offset: 5px; }

.mds-hero {
	position: relative;
	min-height: min(880px, calc(100svh - 40px));
	box-sizing: border-box;
	padding-block: clamp(130px, 14vw, 200px) 100px;
	background-image: linear-gradient(90deg, rgba(240,235,222,.18), transparent 68%), var(--mds-home-hero-image, url('../images/home-hero-beauty.png'));
	background-position: center;
	background-size: cover;
}

/* Short desktop viewports (including the WordPress admin bar): keep the
   complete hero copy and both CTAs inside the first screen. */
@media (min-width: 1001px) and (max-height: 1000px) {
	.mds-hero {
		min-height: calc(100svh - 32px);
		padding-block: 125px 48px;
	}

	.mds-hero h1 {
		font-size: clamp(4.5rem, 5.8vw, 6.5rem);
	}

	.mds-hero__lead {
		margin-top: 24px;
	}

	.mds-hero .mds-actions {
		margin-top: 24px;
	}

	.mds-hero__visual {
		min-height: 360px;
	}
}
.mds-hero::after { content:'';position:absolute;inset:auto 0 0;height:120px;background:linear-gradient(transparent,#fbfaf7);pointer-events:none; }
.mds-hero__glow { display:none; }
.mds-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(360px,.95fr); align-items: center; gap: 7vw; }
.mds-hero h1 { max-width: 800px; margin: 0; font-size: clamp(3.6rem, 7.2vw, 7.2rem); line-height: .91; }
.mds-hero__lead { max-width: 610px; margin: 32px 0 0; color: #4f5a55; font-size: clamp(1rem,1.3vw,1.22rem); line-height: 1.65; }
.mds-hero__visual { min-height: 480px; }
.mds-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); box-shadow: inset 0 0 50px rgba(255,255,255,.45), 0 30px 80px rgba(40,60,50,.12); backdrop-filter: blur(8px); }
.mds-orbit--one { width: 390px; height: 390px; inset: 10px 0 auto auto; background: linear-gradient(145deg,rgba(255,255,255,.34),rgba(154,184,162,.24)); }
.mds-orbit--two { width: 220px; height: 220px; inset: 260px auto auto 0; background: rgba(241,235,220,.35); }
.mds-hero__glass-card { position: absolute; z-index: 1; display: grid; width: min(330px,78%); inset: 170px 5% auto auto; padding: 26px; border: 1px solid rgba(255,255,255,.76); border-radius: 26px; background: rgba(255,255,255,.36); box-shadow: inset 0 1px rgba(255,255,255,.95), 0 24px 60px rgba(36,61,51,.14); backdrop-filter: blur(20px) saturate(140%); }
.mds-hero__glass-card span { font-size: .68rem; letter-spacing: .13em; }
.mds-hero__glass-card strong { margin-top: 50px; font-family: Georgia,serif; font-size: 1.7rem; font-weight: 400; }
.mds-hero__glass-card small { margin-top: 10px; color: var(--mds-shell-muted); line-height: 1.5; }

.mds-intro { background: #fbfaf7; }
.mds-intro__grid,.mds-about-story__grid { display:grid; grid-template-columns:.65fr 1.35fr; gap:8vw; }
.mds-intro h2,.mds-about-story h2 { max-width: 900px; margin: 0; font-size: clamp(2.5rem,4.7vw,5rem); line-height: 1.04; }
.mds-intro__grid > div > p,.mds-about-story__grid > div:last-child p { max-width: 720px; margin: 32px 0 0; color: var(--mds-shell-muted); font-size: 1.05rem; line-height: 1.8; }

.mds-products { background: var(--mds-shell-cream); }
.mds-section-head { display:flex; align-items:end; justify-content:space-between; gap:48px; margin-bottom:52px; }
.mds-section-head h2 { margin:0; font-size:clamp(2.6rem,4.2vw,4.5rem); }
.mds-section-head > p { max-width:380px; margin:0; color:var(--mds-shell-muted); line-height:1.7; }
.mds-product-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; }
.mds-product-card { overflow:hidden; border:1px solid rgba(255,255,255,.8); border-radius:24px; background:rgba(255,255,255,.56); box-shadow:inset 0 1px #fff,0 16px 40px rgba(42,50,45,.06); }
.mds-product-card__media { display:grid; place-items:center; aspect-ratio: .88; padding:22px; background:linear-gradient(145deg,rgba(255,255,255,.78),rgba(222,225,213,.58)); }
.mds-product-card__media img { width:100%; height:100%; object-fit:contain; }
.mds-product-card__body { padding:22px; }
.mds-product-card__meta { margin:0 0 9px; color:var(--mds-shell-muted); font-size:.67rem; letter-spacing:.1em; text-transform:uppercase; }
.mds-product-card h3 { min-height:2.5em; margin:0; font-size:1.3rem; line-height:1.25; }
.mds-product-card h3 a { color:inherit; text-decoration:none; }
.mds-product-card__bottom { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:22px; }
.mds-product-card__price { font-size:.9rem; font-weight:650; }
.mds-product-card__arrow { display:grid; place-items:center; width:38px; height:38px; border-radius:50%; background:var(--mds-shell-green); color:#fff; text-decoration:none; }
.mds-empty-glass { display:flex; align-items:center; justify-content:center; gap:24px; min-height:240px; padding:38px; border:1px solid rgba(255,255,255,.9); border-radius:var(--mds-shell-radius); background:rgba(255,255,255,.5); box-shadow:inset 0 1px #fff,0 20px 60px rgba(34,48,41,.08); }
.mds-empty-glass > span { font-size:3rem; }.mds-empty-glass h3{margin:0 0 8px;font-size:1.8rem}.mds-empty-glass p{margin:0;color:var(--mds-shell-muted)}

.mds-brands { background:#fbfaf7; }
.mds-brand-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.mds-brand-card { display:flex; min-height:310px; padding:28px; flex-direction:column; justify-content:space-between; border:1px solid var(--mds-shell-line); border-radius:var(--mds-shell-radius); color:inherit; text-decoration:none; }
.mds-brand-card--active { background:var(--mds-shell-green); border-color:transparent; color:#fff; box-shadow:0 30px 70px rgba(36,61,51,.18); }
.mds-brand-card__number,.mds-brand-card > span:last-child { font-size:.7rem; letter-spacing:.11em; text-transform:uppercase; }.mds-brand-card strong{font-family:Georgia,serif;font-size:clamp(1.8rem,2.8vw,3rem);font-weight:400}

.mds-trust { padding-top:0; }.mds-trust__panel,.mds-representation__panel { display:grid; grid-template-columns:.7fr 1.3fr; gap:7vw; padding:clamp(38px,6vw,80px); border:1px solid rgba(255,255,255,.85); border-radius:36px; background:linear-gradient(135deg,rgba(219,232,223,.78),rgba(255,255,255,.55)); box-shadow:inset 0 1px #fff,0 25px 65px rgba(40,60,50,.08); }
.mds-trust h2 { margin:0;font-size:clamp(2.6rem,4vw,4.2rem) }.mds-trust__items{display:grid;gap:0}.mds-trust__items>div{display:grid;grid-template-columns:42px .65fr 1fr;gap:18px;padding:24px 0;border-bottom:1px solid var(--mds-shell-line)}.mds-trust__items>div:first-child{padding-top:0}.mds-trust__items>div:last-child{border:0;padding-bottom:0}.mds-trust__items span{font-size:.68rem}.mds-trust__items h3{margin:0;font-family:inherit;font-size:1rem;font-weight:650;letter-spacing:0}.mds-trust__items p{margin:0;color:var(--mds-shell-muted);font-size:.9rem;line-height:1.6}
.mds-editorial { background:#e9e6dd; }.mds-editorial__grid,.mds-about-editorial__grid{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;gap:0}.mds-editorial__art{min-height:560px;border-radius:34px 0 0 34px;background-image:linear-gradient(135deg,rgba(36,61,51,.08),transparent 50%),var(--mds-home-editorial-image,url('../images/home-editorial-glass.png'));background-position:center;background-size:cover}.mds-editorial__copy{display:flex;align-items:flex-start;justify-content:center;flex-direction:column;padding:clamp(42px,7vw,100px);border-radius:0 34px 34px 0;background:#fff}.mds-editorial__copy h2{margin:0;font-size:clamp(2.5rem,4vw,4.2rem);line-height:1.03}.mds-editorial__copy>p:not(.mds-eyebrow){margin:26px 0 32px;color:var(--mds-shell-muted);line-height:1.75}

.mds-about-hero { padding-block:clamp(160px,18vw,260px) 90px;background:linear-gradient(145deg,#e7eee7,#d5cfc2); }.mds-about-hero__inner{max-width:1120px;text-align:center}.mds-about-hero h1{margin:0;font-size:clamp(3.5rem,7.5vw,7.4rem);line-height:.94}.mds-about-hero__foot{display:flex;align-items:end;justify-content:space-between;gap:30px;max-width:850px;margin:58px auto 0;text-align:start}.mds-about-hero__foot p{max-width:650px;margin:0;color:#4f5954;font-size:1.05rem;line-height:1.7}.mds-about-hero__foot span{display:grid;place-items:center;width:54px;height:54px;border:1px solid rgba(255,255,255,.8);border-radius:50%;background:rgba(255,255,255,.3);backdrop-filter:blur(12px)}
.mds-about-story__media{position:relative;min-height:520px;margin:42px 0 0;overflow:hidden;border-radius:30px;background:#e7e2d7;box-shadow:0 24px 60px rgba(40,60,50,.1)}.mds-about-story__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mds-values{background:var(--mds-shell-green);color:#fff}.mds-values__grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:rgba(255,255,255,.16)}.mds-values article{min-height:330px;padding:30px;background:var(--mds-shell-green)}.mds-values article span{font-size:.67rem}.mds-values article h3{margin:100px 0 16px;font-size:2rem}.mds-values article p{margin:0;color:rgba(255,255,255,.67);font-size:.9rem;line-height:1.7}
.mds-about-editorial{background:#f7f5ef}.mds-about-editorial__visual{position:relative;min-height:650px;overflow:hidden;border-radius:34px 0 0 34px;background:#c6d4c8}.mds-about-editorial__visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.mds-about-editorial__copy{display:flex;justify-content:center;flex-direction:column;padding:clamp(42px,7vw,100px);border-radius:0 34px 34px 0;background:#e7eee7}.mds-about-editorial__copy h2{margin:0;font-size:clamp(2.6rem,4.2vw,4.5rem);line-height:1.02}.mds-about-editorial__copy>p:last-child{margin:28px 0 0;color:var(--mds-shell-muted);line-height:1.75}
.mds-representation__panel{display:block}.mds-representation__grid{display:grid;grid-template-columns:1fr 1fr;gap:7vw}.mds-representation h2{margin:0;font-size:clamp(2.6rem,4.5vw,4.7rem);line-height:1}.mds-representation__grid p{margin:0 0 28px;color:var(--mds-shell-muted);line-height:1.75}.mds-about-cta{padding:clamp(100px,13vw,180px) 0;background:#18231f;color:#fff;text-align:center}.mds-about-cta h2{max-width:900px;margin:0 auto 42px;font-size:clamp(3rem,6vw,6rem);line-height:.96}

/* Native WooCommerce cart: presentational only; controls and form semantics remain WooCommerce-owned. */
body.woocommerce-cart { background:#eeeee8; }
.woocommerce-cart .site-main,.woocommerce-cart main { width:min(calc(100% - 64px),var(--mds-shell-max));min-height:65vh;margin:0 auto;padding:clamp(130px,14vw,190px) 0 120px; }
.mds-cart-page__header { margin-bottom:48px; }
.mds-cart-page__header h1 { margin:0;font-size:clamp(3.2rem,6vw,6rem); }
.woocommerce-cart .entry-content > .woocommerce { width:100%; }.woocommerce-cart .entry-title,.woocommerce-cart .site-main>h1{margin:0 0 48px;font-size:clamp(3.2rem,6vw,6rem)}
.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message,.woocommerce-cart .woocommerce-info,.woocommerce-cart .woocommerce-error{margin:0 0 24px;padding:18px 22px;border:1px solid rgba(255,255,255,.8);border-radius:18px;background:rgba(255,255,255,.55);box-shadow:inset 0 1px #fff;list-style:none}
.woocommerce-cart .woocommerce-cart-form,.woocommerce-cart .cart-collaterals{box-sizing:border-box;border:1px solid rgba(255,255,255,.82);border-radius:28px;background:rgba(255,255,255,.55);box-shadow:inset 0 1px #fff,0 22px 60px rgba(35,49,42,.09);backdrop-filter:blur(18px)}
.woocommerce-cart .woocommerce-cart-form{float:left;width:calc(66% - 14px);padding:clamp(20px,3vw,38px)}.woocommerce-cart .cart-collaterals{float:right;width:calc(34% - 14px);padding:clamp(24px,3vw,38px);position:sticky;top:110px}.woocommerce-cart .woocommerce::after{content:'';display:table;clear:both}
.woocommerce-cart table.shop_table{width:100%;border:0;border-collapse:collapse}.woocommerce-cart table.shop_table th{padding:0 12px 18px;border-bottom:1px solid var(--mds-shell-line);color:var(--mds-shell-muted);font-size:.68rem;letter-spacing:.1em;text-align:start;text-transform:uppercase}.woocommerce-cart table.shop_table td{padding:22px 12px;border-bottom:1px solid var(--mds-shell-line);vertical-align:middle}.woocommerce-cart td.product-thumbnail{width:100px}.woocommerce-cart td.product-thumbnail img{width:84px;height:98px;object-fit:contain;border-radius:14px;background:#f2f0e9}.woocommerce-cart td.product-name a{color:var(--mds-shell-ink);font-family:Georgia,serif;font-size:1.15rem;text-decoration:none}.woocommerce-cart td.product-remove a{display:grid;place-items:center;width:30px;height:30px;border:1px solid var(--mds-shell-line);border-radius:50%;color:var(--mds-shell-muted);font-size:1.1rem;text-decoration:none}.woocommerce-cart .quantity .qty{width:66px;min-height:42px;padding:8px;border:1px solid var(--mds-shell-line);border-radius:999px;background:rgba(255,255,255,.7);color:inherit;text-align:center}.woocommerce-cart .actions{padding:28px 0 0!important;border:0!important}.woocommerce-cart .coupon{display:flex;gap:10px;float:left}.woocommerce-cart .coupon label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.woocommerce-cart .coupon input{min-height:48px;padding:10px 17px;border:1px solid var(--mds-shell-line);border-radius:999px;background:rgba(255,255,255,.7)}.woocommerce-cart button.button,.woocommerce-cart a.button{min-height:48px;padding:12px 20px;border:0;border-radius:999px;background:#dce5de;color:var(--mds-shell-ink);font-weight:650}.woocommerce-cart button[name=update_cart]{float:right}.woocommerce-cart .cart_totals{width:100%!important;float:none!important}.woocommerce-cart .cart_totals h2{margin:0 0 28px;font-size:2.2rem}.woocommerce-cart .cart_totals table th,.woocommerce-cart .cart_totals table td{padding:15px 0;border-bottom:1px solid var(--mds-shell-line);font-size:.92rem}.woocommerce-cart .cart_totals table td{text-align:end}.woocommerce-cart .order-total th,.woocommerce-cart .order-total td{padding-top:24px!important;font-size:1.1rem!important}.woocommerce-cart .wc-proceed-to-checkout{padding:24px 0 0}.woocommerce-cart .wc-proceed-to-checkout .checkout-button{display:flex;width:100%;align-items:center;justify-content:center;box-sizing:border-box;background:var(--mds-shell-green);color:#fff;font-size:1rem;box-shadow:0 15px 30px rgba(36,61,51,.2)}
.woocommerce-cart .wc-empty-cart-message{max-width:760px;margin:0 auto}.woocommerce-cart .cart-empty{padding:55px 30px!important;text-align:center;font-family:Georgia,serif;font-size:clamp(1.8rem,3vw,3rem)}.woocommerce-cart .return-to-shop{text-align:center}.woocommerce-cart .return-to-shop .button{background:var(--mds-shell-green);color:#fff}
.woocommerce-cart .wc-empty-cart-message .cart-empty::before{display:none}

.mds-back-to-top{position:fixed;right:24px;bottom:max(22px,env(safe-area-inset-bottom));z-index:48;display:grid;place-items:center;width:54px;height:54px;padding:0;border:1px solid rgba(255,255,255,.82);border-radius:20px;background:rgba(244,246,242,.68);box-shadow:inset 0 1px #fff,0 14px 38px rgba(20,31,26,.18);color:var(--mds-shell-ink);opacity:0;visibility:hidden;transform:translateY(16px);backdrop-filter:blur(18px) saturate(145%);transition:opacity .22s ease,transform .22s ease,visibility .22s}.mds-back-to-top.is-visible{opacity:1;visibility:visible;transform:none}.mds-back-to-top:hover{transform:translateY(-2px)}.mds-back-to-top:focus-visible{outline:2px solid var(--mds-shell-ink);outline-offset:4px}

@media(max-width:1000px){.mds-product-grid{grid-template-columns:repeat(2,1fr)}.mds-values__grid{grid-template-columns:repeat(2,1fr)}.woocommerce-cart .woocommerce-cart-form,.woocommerce-cart .cart-collaterals{float:none;width:100%}.woocommerce-cart .cart-collaterals{position:static;margin-top:20px}.mds-hero__content{max-width:720px}.mds-hero__visual{min-height:360px}}
@media(max-width:760px){.mds-container,.woocommerce-cart .site-main,.woocommerce-cart main{width:min(calc(100% - 36px),var(--mds-shell-max))}.mds-section{padding-block:78px}.mds-section-head{align-items:flex-start;flex-direction:column;margin-bottom:36px}.mds-intro__grid,.mds-about-story__grid,.mds-trust__panel,.mds-editorial__grid,.mds-about-editorial__grid,.mds-representation__grid{grid-template-columns:1fr}.mds-hero{min-height:auto;padding-block:130px 70px;background-position:66% center}.mds-hero::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(240,235,222,.94),rgba(240,235,222,.78) 60%,rgba(240,235,222,.36))}.mds-hero__grid{grid-template-columns:1fr}.mds-hero h1{font-size:clamp(3.2rem,15vw,5.3rem)}.mds-hero__visual{display:none}.mds-brand-grid{grid-template-columns:1fr}.mds-brand-card{min-height:240px}.mds-trust__items>div{grid-template-columns:32px 1fr}.mds-trust__items p{grid-column:2}.mds-editorial__art{min-height:400px;border-radius:28px 28px 0 0}.mds-editorial__copy{border-radius:0 0 28px 28px}.mds-about-story__media{min-height:440px;margin-top:30px}.mds-about-editorial__visual{min-height:460px;border-radius:28px 28px 0 0}.mds-about-editorial__copy{border-radius:0 0 28px 28px}.woocommerce-cart .product-price{display:none}.woocommerce-cart .woocommerce-cart-form{padding:16px}.mds-back-to-top{right:16px;bottom:max(16px,env(safe-area-inset-bottom));width:50px;height:50px}}
@media(max-width:520px){.mds-about-hero h1{font-size:clamp(2.8rem,12vw,4.2rem);overflow-wrap:break-word}.mds-product-grid,.mds-values__grid{grid-template-columns:1fr}.mds-values article{min-height:260px}.mds-values article h3{margin-top:60px}.mds-actions{align-items:stretch;flex-direction:column}.mds-button{width:100%;box-sizing:border-box}.woocommerce-cart table.shop_table thead{display:none}.woocommerce-cart table.shop_table tr.cart_item{display:grid;grid-template-columns:72px 1fr auto;position:relative;padding:18px 0;border-bottom:1px solid var(--mds-shell-line)}.woocommerce-cart table.shop_table td{padding:5px 8px;border:0}.woocommerce-cart td.product-thumbnail{grid-row:1/4;width:auto}.woocommerce-cart td.product-thumbnail img{width:64px;height:78px}.woocommerce-cart td.product-name{grid-column:2}.woocommerce-cart td.product-quantity{grid-column:2}.woocommerce-cart td.product-subtotal{grid-column:2;font-weight:650}.woocommerce-cart td.product-remove{position:absolute;right:0;top:12px}.woocommerce-cart .actions{display:grid!important;gap:10px}.woocommerce-cart .coupon{display:grid;grid-template-columns:1fr auto;float:none}.woocommerce-cart button[name=update_cart]{float:none;width:100%}.woocommerce-cart .coupon input{min-width:0;width:100%;box-sizing:border-box}.mds-empty-glass{align-items:flex-start;flex-direction:column}.mds-about-hero__foot{align-items:flex-start;flex-direction:column}}

@media(prefers-reduced-motion:reduce){.mds-shell *,.mds-back-to-top{scroll-behavior:auto!important;transition-duration:.01ms!important}}
