/* ==========================================================================
   Starrysugr: main stylesheet
   Palette diambil dari kemasan StarryCheese.
   ========================================================================== */

:root {
	/* Pink kemasan StarryCheese */
	--pink-bg: #f993c8;      /* latar foto kemasan */
	--pink-bag: #ee6cb0;     /* warna pouch */
	--magenta: #d6337f;      /* tombol & aksen (kontras AA dgn putih) */
	--magenta-600: #c22a72;
	--magenta-700: #b01f64;
	--plum: #8a1450;         /* judul / teks gelap bernuansa pink */
	--plum-900: #6e0f40;
	--cream: #ffe3a6;        /* krem tulisan "cheese" */
	--cream-200: #ffd9ec;    /* section pink muda */
	--cream-50: #fff0f7;     /* latar halaman */
	--white: #ffffff;
	--ink: #4a0f2e;
	--muted: #7a4a62;
	--line: #f9c6df;

	--font-display: "Fredoka", "Nunito", system-ui, sans-serif;
	--font-serif: "DM Serif Display", Georgia, serif;
	--font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;

	--radius: 22px;
	--radius-sm: 12px;
	--shadow: 0 18px 40px -18px rgba(176, 31, 100, .45);
	--shadow-sm: 0 6px 18px -8px rgba(176, 31, 100, .3);
	--container: 1180px;
	--header-h: 74px;
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ink);
	background: var(--cream-50);
	-webkit-font-smoothing: antialiased;
}
img, svg, picture { display: block; max-width: 100%; height: auto; }
a { color: var(--magenta-600); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--plum); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; color: var(--plum); margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--cream); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 780px; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--plum); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }
.icon { width: 1.2em; height: 1.2em; fill: currentColor; flex-shrink: 0; }
.small { font-size: .875rem; }

/* Buttons --------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55em;
	font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
	padding: .85em 1.6em; border-radius: 999px; border: 2px solid transparent;
	text-decoration: none; cursor: pointer; line-height: 1.1;
	transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { font-size: .95rem; padding: .6em 1.2em; }
.btn-lg { font-size: 1.2rem; padding: 1em 2em; }
.btn-primary { background: var(--magenta); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--magenta-700); color: var(--white); }
.btn-cream { background: var(--cream); color: var(--plum); box-shadow: 0 10px 0 -4px var(--magenta-700); }
.btn-cream:hover { background: var(--white); color: var(--plum); }
.btn-ghost { color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: var(--white); color: var(--magenta-700); }
.btn-outline { color: var(--magenta-700); border-color: var(--magenta); background: var(--white); }
.btn-outline:hover { background: var(--magenta); color: var(--white); }

/* Eyebrow & headings ---------------------------------------------------- */
.eyebrow {
	display: inline-block; font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
	letter-spacing: .12em; font-size: .82rem; color: var(--cream); margin-bottom: .9rem;
}
.eyebrow-dark { color: var(--magenta); }
.section-title { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.lead { font-size: 1.12rem; color: var(--muted); }

/* Header ---------------------------------------------------------------- */
.site-header {
	position: sticky; top: 0; z-index: 100; height: var(--header-h);
	background: rgba(255, 240, 247, .92); backdrop-filter: saturate(160%) blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { margin-right: auto; }
.wordmark { font-family: var(--font-serif); font-size: 2rem; color: var(--magenta); text-decoration: none; line-height: 1; letter-spacing: -.01em; }
.wordmark:hover { color: var(--plum); }
.wordmark-light { color: var(--white); }
.custom-logo { max-height: 52px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav .menu { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.primary-nav .menu a { font-family: var(--font-display); font-weight: 500; color: var(--plum); text-decoration: none; position: relative; }
.primary-nav .menu a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 3px; border-radius: 2px; background: var(--magenta); transition: right .25s ease; }
.primary-nav .menu a:hover::after, .primary-nav .menu .current-menu-item a::after { right: 0; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
	position: absolute; left: 10px; width: 24px; height: 3px; border-radius: 2px; background: var(--plum); transition: transform .25s ease, top .25s ease;
}
.nav-toggle-bar { top: 50%; margin-top: -1.5px; }
.nav-toggle-bar::before, .nav-toggle-bar::after { content: ""; left: 0; }
.nav-toggle-bar::before { top: -8px; }
.nav-toggle-bar::after { top: 8px; }
.nav-open .nav-toggle-bar { background: transparent; }
.nav-open .nav-toggle-bar::before { top: 0; transform: rotate(45deg); }
.nav-open .nav-toggle-bar::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 900px) {
	.nav-toggle { display: block; }
	.primary-nav {
		position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 18px;
		background: var(--cream-50); padding: 24px 20px 32px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
		transform: translateY(-120%); visibility: hidden; transition: transform .3s ease, visibility .3s;
	}
	.admin-bar .primary-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .primary-nav { transform: none; visibility: visible; }
	.primary-nav .menu { flex-direction: column; gap: 4px; }
	.primary-nav .menu a { display: block; padding: 10px 4px; font-size: 1.15rem; }
	.header-cta { width: 100%; }
}

/* Decorative doodles ---------------------------------------------------- */
.doodle { position: absolute; color: var(--white); opacity: .8; pointer-events: none; width: 54px; }
.doodle-hero-1 { top: 8%; left: 3%; transform: rotate(-24deg); width: 62px; }
.doodle-hero-2 { bottom: 8%; right: 46%; transform: rotate(18deg); width: 48px; opacity: .6; }
.doodle-comp { top: 24px; right: 28px; transform: rotate(16deg); color: var(--cream); opacity: .55; }
.doodle-cta { top: 50%; left: 6%; transform: translateY(-50%) rotate(-20deg); width: 70px; opacity: .5; }

/* Hero ------------------------------------------------------------------ */
.hero {
	position: relative; overflow: hidden; color: var(--ink);
	background: linear-gradient(180deg, var(--pink-bg) 0%, #fb9fd4 100%);
	padding: clamp(48px, 8vw, 96px) 0 clamp(64px, 9vw, 110px);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; }
.hero-title {
	color: var(--plum); font-size: clamp(2.1rem, 5.4vw, 4.1rem); line-height: 1.05; margin-bottom: 1.2rem;
	text-shadow: 0 4px 0 rgba(255, 255, 255, .55);
}
.hero .eyebrow { background: var(--white); color: var(--magenta); padding: .45em 1em; border-radius: 999px; box-shadow: var(--shadow-sm); }
.hero-text { font-size: 1.15rem; max-width: 34em; color: var(--ink); }
.hero .btn-ghost { color: var(--plum); border-color: var(--plum); }
.hero .btn-ghost:hover { background: var(--plum); color: var(--white); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.8rem 0 1.6rem; }
.hero-badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badges li {
	display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: .95rem;
	background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.8); color: var(--plum); padding: .45em .95em; border-radius: 999px;
}
.hero-badges .icon { color: var(--magenta); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card {
	position: relative; width: min(560px, 100%);
	animation: float 6s ease-in-out infinite;
	/* foto berlatar pink yang sama → tepinya dilebur ke latar hero */
	-webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 4%, #000 90%, transparent);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 4%, #000 90%, transparent);
	mask-composite: intersect;
}
.hero-card img { width: 100%; aspect-ratio: 1000 / 997; }
.sticker {
	position: absolute; left: 0; bottom: 8%; width: 132px; height: 132px; border-radius: 50%;
	background: var(--magenta); color: var(--white); display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center; font-family: var(--font-display); font-weight: 600; font-size: .82rem; line-height: 1.15;
	box-shadow: var(--shadow); transform: rotate(-12deg); border: 3px dashed var(--cream);
}
.sticker span { font-size: 2rem; color: var(--cream); line-height: 1; margin-bottom: 2px; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 900px) {
	.hero-grid { grid-template-columns: 1fr; text-align: center; }
	.hero-text { margin-left: auto; margin-right: auto; }
	.hero-actions, .hero-badges { justify-content: center; }
	.hero-visual { margin-top: 12px; }
	.doodle-hero-1, .doodle-hero-2 { display: none; }
	.sticker { width: 108px; height: 108px; font-size: .72rem; left: 4%; }
	.sticker span { font-size: 1.6rem; }
}

/* Marquee --------------------------------------------------------------- */
.marquee { background: var(--magenta); color: var(--white); overflow: hidden; padding: 16px 0; border-block: 4px solid var(--cream); }
.marquee-track { display: flex; gap: 28px; width: max-content; animation: marquee 28s linear infinite; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; white-space: nowrap; }
.marquee-track b { color: var(--cream); font-weight: 700; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Sections -------------------------------------------------------------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-cream { background: var(--cream-200); }

/* Product --------------------------------------------------------------- */
.product-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.product-main { border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.product-main img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity .25s ease; }
.product-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.product-thumbs button {
	width: 84px; padding: 0; border: 3px solid transparent; border-radius: var(--radius-sm); overflow: hidden;
	background: var(--white); cursor: pointer; box-shadow: var(--shadow-sm); transition: border-color .2s ease;
}
.product-thumbs button img { aspect-ratio: 1; object-fit: cover; }
.product-thumbs button.is-active, .product-thumbs button:hover { border-color: var(--magenta); }

.price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--magenta); margin: .4rem 0 1.2rem; }
.price .price-label { display: block; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.spec-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 1.6rem 0 2rem; }
.spec-list div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 16px; }
.spec-list dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.spec-list dd { margin: 2px 0 0; font-family: var(--font-display); font-weight: 600; color: var(--plum); font-size: 1.1rem; }
.buy-buttons { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 900px) {
	.product-grid { grid-template-columns: 1fr; }
	.product-gallery { max-width: 460px; margin: 0 auto; width: 100%; }
}

/* Features -------------------------------------------------------------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature {
	background: var(--white); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm);
	border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.feature-icon {
	display: inline-grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; margin-bottom: 18px;
	background: var(--magenta); color: var(--cream); transform: rotate(-6deg);
}
.feature-icon .icon { width: 28px; height: 28px; }
.feature h3 { font-size: 1.25rem; }
.feature p { color: var(--muted); margin: 0; font-size: .98rem; }
@media (max-width: 1000px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* Composition ----------------------------------------------------------- */
.composition-card {
	position: relative; overflow: hidden; background: var(--magenta-700); color: var(--white);
	border-radius: calc(var(--radius) * 1.4); padding: clamp(36px, 6vw, 72px);
}
.composition-card .section-title { color: var(--white); }
.composition-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 1.4rem 0 1.6rem; }
.composition-cols h3 { color: var(--cream); font-size: 1.2rem; }
.composition-cols p { color: rgba(255,255,255,.88); margin: 0; }
.allergen { background: rgba(255,255,255,.1); border-left: 4px solid var(--cream); padding: 12px 16px; border-radius: 8px; }
.composition-card .small { color: rgba(255,255,255,.7); margin: 0; }
@media (max-width: 700px) { .composition-cols { grid-template-columns: 1fr; } }

/* Steps ----------------------------------------------------------------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.steps li { position: relative; background: var(--white); border-radius: var(--radius); padding: 34px 28px 28px; box-shadow: var(--shadow-sm); }
.step-num {
	display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
	background: var(--cream); color: var(--plum); font-family: var(--font-display); font-weight: 700; font-size: 1.5rem;
	border: 3px solid var(--plum); margin-bottom: 16px;
}
.steps h3 { font-size: 1.25rem; }
.steps p { color: var(--muted); margin: 0; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* FAQ ------------------------------------------------------------------- */
.faq-wrap { max-width: 860px; }
.faq-list { display: grid; gap: 14px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 24px; transition: box-shadow .2s ease; }
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--magenta); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1.12rem; }
.faq-item summary::after {
	content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
	background: var(--cream-200); color: var(--magenta); font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--magenta); color: var(--white); }
.faq-item p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Posts ----------------------------------------------------------------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.post-card-media img, .post-card-placeholder { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-card-placeholder { display: grid; place-items: center; background: var(--magenta); color: var(--cream); }
.post-card-placeholder .doodle { position: static; width: 40px; }
.post-card-body { padding: 22px 24px 26px; }
.post-date { font-size: .82rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.post-card-title { font-size: 1.25rem; margin: .4rem 0 .6rem; }
.post-card-title a { color: var(--plum); text-decoration: none; }
.post-card-title a:hover { color: var(--magenta); }
.post-card p { color: var(--muted); font-size: .96rem; margin: 0; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

.pagination { margin-top: 40px; }
.pagination .nav-links { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); text-decoration: none; font-weight: 700; color: var(--plum); }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--magenta); color: var(--white); border-color: var(--magenta); }

/* CTA band -------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; background: var(--pink-bag); color: var(--white); padding: clamp(64px, 8vw, 96px) 0; text-align: center; }
.cta-inner h2 { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.2rem); text-shadow: 0 4px 0 var(--magenta-700); }
.cta-inner p { max-width: 36em; margin: 0 auto 2rem; font-size: 1.12rem; color: var(--white); font-weight: 600; }

/* Inner pages ----------------------------------------------------------- */
.page-hero { background: var(--magenta); color: var(--white); padding: clamp(48px, 7vw, 88px) 0; }
.page-hero .page-title { color: var(--white); font-size: clamp(2rem, 4.4vw, 3.2rem); margin: 0; }
.page-hero .eyebrow a { color: inherit; }
.page-404 .lead { color: rgba(255,255,255,.9); margin: 1rem 0 1.8rem; }
.entry-thumb { margin: 0 0 2rem; border-radius: var(--radius); overflow: hidden; }
.entry-content { font-size: 1.08rem; }
.entry-content h2 { font-size: 1.8rem; margin-top: 2em; }
.entry-content h3 { font-size: 1.4rem; margin-top: 1.6em; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content blockquote { margin: 1.6em 0; padding: 1em 1.4em; border-left: 5px solid var(--magenta); background: var(--cream-200); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; }
.entry-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 3rem 0; padding: 22px 26px; background: var(--cream-200); border-radius: var(--radius); }
.entry-cta p { margin: 0; }
.post-nav .nav-links { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-display); font-weight: 600; }
.empty-state { text-align: center; }
.search-form { display: flex; gap: 8px; justify-content: center; }
.search-field { padding: 12px 18px; border-radius: 999px; border: 2px solid var(--line); font: inherit; min-width: 0; }
.search-submit { padding: 12px 20px; border-radius: 999px; border: 0; background: var(--magenta); color: var(--white); font-family: var(--font-display); font-weight: 600; cursor: pointer; }

/* Footer ---------------------------------------------------------------- */
.site-footer { background: var(--plum-900); color: rgba(255,255,255,.78); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand p { max-width: 26em; margin-top: 14px; }
.footer-title { color: var(--cream); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .1em; }
.footer-menu, .contact-list, .socials { list-style: none; margin: 0; padding: 0; }
.footer-menu li, .contact-list li { margin-bottom: 10px; }
.contact-list li { display: flex; align-items: center; gap: 10px; }
.contact-list .icon { color: var(--cream); }
.site-footer a { color: rgba(255,255,255,.88); text-decoration: none; }
.site-footer a:hover { color: var(--cream); }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1); }
.socials a:hover { background: var(--magenta); color: var(--white); }
.admin-hint { font-size: .85rem; font-style: italic; opacity: .75; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.12); margin-top: 56px; padding-top: 22px; padding-bottom: 26px; font-size: .9rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* WooCommerce: header cart ------------------------------------------- */
.header-cart { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--plum); background: var(--white); border: 1px solid var(--line); text-decoration: none; }
.header-cart:hover { color: var(--magenta); border-color: var(--magenta); }
.header-cart .icon { width: 22px; height: 22px; }
.cart-count {
	position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
	background: var(--magenta); color: var(--white); font-size: .72rem; font-weight: 700; line-height: 20px; text-align: center;
}
.cart-count.is-empty { display: none; }

/* WooCommerce: landing-page buy box ------------------------------------ */
.buy-box { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); margin-bottom: 1.4rem; }
.qty-field { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.qty-field label { font-family: var(--font-display); font-weight: 600; color: var(--plum); }
.qty-stepper { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--cream-50); }
.qty-stepper input {
	width: 56px; text-align: center; border: 0; background: transparent; font: 700 1.1rem var(--font-display); color: var(--plum); padding: 8px 0;
	-moz-appearance: textfield; appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 42px; height: 42px; border: 0; background: transparent; color: var(--magenta); font-size: 1.4rem; font-weight: 700; cursor: pointer; }
.qty-btn:hover { background: var(--cream-200); }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.buy-actions .btn { width: 100%; }
.buy-actions .btn-cream { box-shadow: none; border-color: var(--magenta); color: var(--magenta-700); }
.btn.is-loading { opacity: .65; pointer-events: none; }
.buy-status:empty { display: none; }
.buy-status { margin: 12px 0 0; color: var(--magenta-700); font-weight: 700; }
.buy-buttons-alt { align-items: center; }
.buy-alt-label { color: var(--muted); font-size: .92rem; font-weight: 600; }
.stock-out { padding: 14px 18px; border-radius: var(--radius-sm); background: var(--cream-200); color: var(--plum); font-weight: 700; }
.price del { color: var(--muted); font-size: .6em; margin-right: .3em; }
.price ins { text-decoration: none; }
@media (max-width: 480px) { .buy-actions { grid-template-columns: 1fr; } }

/* "Added to cart" toast */
.cart-toast {
	position: fixed; left: 50%; bottom: 24px; z-index: 200; width: min(440px, calc(100% - 32px));
	transform: translate(-50%, 20px); opacity: 0; transition: transform .25s ease, opacity .25s ease;
	background: var(--white); border: 2px solid var(--magenta); border-radius: var(--radius); padding: 18px 46px 18px 20px; box-shadow: var(--shadow);
}
.cart-toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.cart-toast-msg { margin: 0 0 12px; font-family: var(--font-display); font-weight: 600; color: var(--plum); }
.cart-toast-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cart-toast-close { position: absolute; top: 8px; right: 10px; width: 32px; height: 32px; border: 0; background: none; font-size: 1.5rem; color: var(--muted); cursor: pointer; }

/* WooCommerce: pages ---------------------------------------------------- */
.starrysugr-wide .container.narrow { max-width: var(--container); }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.wc-block-components-button:not(.is-link), .wp-element-button.wc-block-components-button {
	background: var(--magenta); color: var(--white); border-radius: 999px; font-family: var(--font-display); font-weight: 600;
	padding: .8em 1.5em; border: 0; transition: background-color .2s ease;
}
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,
.wc-block-components-button:not(.is-link):hover { background: var(--magenta-700); color: var(--white); }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { background: var(--magenta); color: var(--white); opacity: .5; }
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order { width: 100%; font-size: 1.15rem; padding: 1em; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner {
	border-radius: var(--radius-sm); background: var(--white); border-top-color: var(--magenta); color: var(--ink);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--magenta); }
.woocommerce-message .button { float: right; }
.woocommerce .woocommerce-message .button { margin-left: 12px; }
.woocommerce ul.products li.product .price, .woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--magenta); font-family: var(--font-display); font-weight: 700; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-display); color: var(--plum); font-size: 1.15rem; }
.woocommerce ul.products li.product a img { border-radius: var(--radius); }
.woocommerce span.onsale { background: var(--magenta); }
.woocommerce div.product .product_title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.woocommerce div.product div.images img { border-radius: var(--radius); }
.woocommerce .quantity .qty { border: 2px solid var(--line); border-radius: 999px; padding: .55em .4em; font-weight: 700; width: 4.2em; }
.woocommerce table.shop_table { border-radius: var(--radius); background: var(--white); border-color: var(--line); overflow: hidden; }
.woocommerce table.shop_table th { font-family: var(--font-display); color: var(--plum); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: var(--line); }
.woocommerce a.remove { color: var(--magenta) !important; }
.woocommerce a.remove:hover { background: var(--magenta); color: var(--white) !important; }
.woocommerce .cart-collaterals .cart_totals h2, .woocommerce-checkout h3, #order_review_heading { font-size: 1.5rem; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
	border: 2px solid var(--line); border-radius: var(--radius-sm); padding: .65em .9em; background: var(--white); font: inherit;
}
.select2-container--default .select2-selection--single { height: auto; }
.woocommerce form .form-row input.input-text:focus, .woocommerce form .form-row textarea:focus { border-color: var(--magenta); outline: none; }
.woocommerce form .form-row label { font-weight: 700; color: var(--plum); }
.woocommerce-checkout #payment { background: var(--cream-200); border-radius: var(--radius); }
.woocommerce-checkout #payment div.payment_box { background: var(--white); color: var(--ink); }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--white); }
.woocommerce form.checkout_coupon, .woocommerce form.login, .woocommerce form.register { border-color: var(--line); border-radius: var(--radius); background: var(--white); }
.woocommerce-order-overview, .woocommerce ul.order_details { background: var(--white); border-radius: var(--radius); padding: 20px; }
.wc-block-components-totals-item__value, .wc-block-components-product-price { color: var(--plum); }
.wc-block-components-text-input input, .wc-block-components-combobox .wc-block-components-combobox-control input { border-radius: var(--radius-sm) !important; }

/* Floating WhatsApp ----------------------------------------------------- */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
	display: grid; place-items: center; background: #25d366; color: var(--white); box-shadow: 0 10px 24px -6px rgba(0,0,0,.35);
	transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.08); color: var(--white); }
.wa-float .icon { width: 32px; height: 32px; }

/* Reveal on scroll ------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* WordPress core classes ------------------------------------------------ */
.alignleft { float: left; margin: .3em 1.4em 1em 0; }
.alignright { float: right; margin: .3em 0 1em 1.4em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { font-size: .88rem; color: var(--muted); text-align: center; margin-top: .5em; }
.sticky, .bypostauthor, .gallery-caption { }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
}
