/*
Theme Name: My Custom Theme
Theme URI: https://example.com
Author: Megan
Description: A custom WordPress theme built from scratch.
Version: 0.02
*/

:root {
	--ink: #253a2e;
	--muted: #68776c;
	--paper: #fbf8f1;
	--cream: #f3eee2;
	--leaf: #486b4d;
	--lime: #d7e17c;
	--line: #dedfd3;
	--serif: 'Playfair Display', Georgia, serif;
	--sans: 'DM Sans', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.announcement-bar { min-height: 34px; padding: 7px 16px; background: var(--ink); color: #fffdf6; text-align: center; font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; }
.site-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; min-height: 84px; padding: 0 7.2%; border-bottom: 1px solid rgba(37, 58, 46, .12); background: var(--paper); }
.site-brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 23px; font-weight: 600; }
.brand-mark { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--leaf); border-radius: 50%; color: var(--leaf); font-family: var(--serif); font-size: 21px; font-style: italic; }
.primary-navigation, .menu-list { display: flex; align-items: center; gap: 34px; }
.menu-list { margin: 0; padding: 0; list-style: none; }
.menu-list a, .header-cart { font-size: 12px; font-weight: 600; }
.menu-list a:hover, .header-cart:hover, .text-link:hover { color: var(--leaf); }
.header-cart { display: inline-flex; align-items: center; gap: 8px; }
.header-cart span { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 10px; }
.menu-toggle { display: none; }
.home-page { overflow: hidden; }
.hero-section { position: relative; display: grid; grid-template-columns: 1fr 1fr; min-height: 570px; padding: 54px 7.2% 66px; align-items: center; }
.hero-copy { position: relative; z-index: 1; max-width: 510px; padding: 16px 0 32px; animation: arrive .7s ease-out both; }
.eyebrow { margin: 0 0 17px; color: var(--leaf); font-size: 10px; font-weight: 700; letter-spacing: 1.8px; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
.hero-copy h1 { margin-bottom: 22px; font-family: var(--serif); font-size: clamp(56px, 6vw, 82px); font-weight: 500; line-height: .99; }
.hero-copy h1 em { color: var(--leaf); font-weight: 500; }
.hero-description { max-width: 355px; margin-bottom: 26px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.button { display: inline-flex; min-height: 49px; align-items: center; justify-content: center; gap: 22px; padding: 0 22px; font-size: 11px; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: #fffdf6; }
.button-dark:hover { background: var(--leaf); }
.hero-note { margin: 19px 0 0; color: var(--muted); font-family: var(--serif); font-size: 13px; font-style: italic; }
.hero-art { position: relative; min-height: 430px; overflow: hidden; background: #e8ebd9; }
.hero-art::before { position: absolute; right: -4%; bottom: -23%; left: -4%; height: 53%; border-radius: 50% 50% 0 0; background: #c1cda9; content: ''; }
.sun-disc { position: absolute; top: 12%; right: 17%; width: 155px; aspect-ratio: 1; border-radius: 50%; background: #f1cd85; }
.hero-vase { position: absolute; bottom: 12%; z-index: 1; width: 95px; height: 185px; border-radius: 44% 44% 18% 18% / 27% 27% 13% 13%; background: #718066; box-shadow: inset -15px 0 rgba(37, 58, 46, .1); }
.hero-vase::before { position: absolute; top: -18px; left: 33px; width: 30px; height: 30px; border-radius: 5px 5px 0 0; background: inherit; content: ''; }
.vase-one { right: 21%; }
.vase-two { right: 48%; bottom: 10%; width: 79px; height: 143px; background: #d2a078; transform: rotate(-5deg); }
.hero-candle { position: absolute; right: 13%; bottom: 13%; z-index: 1; width: 62px; height: 86px; background: #f9f2dd; box-shadow: inset -8px 0 #e8dcc3; }
.hero-candle::after { position: absolute; right: 0; bottom: 13px; left: 0; height: 22px; background: #b2a77e; content: ''; }
.hero-candle span { position: absolute; top: -12px; left: 30px; width: 2px; height: 13px; background: var(--ink); }
.hero-stem { position: absolute; top: 7%; z-index: 2; width: 2px; height: 190px; background: #617957; transform-origin: bottom; }
.hero-stem::before, .hero-stem::after { position: absolute; width: 37px; height: 14px; border-radius: 100% 0 100% 0; background: #7d966a; content: ''; }
.hero-stem::before { top: 28px; left: -34px; transform: rotate(18deg); }
.hero-stem::after { top: 67px; left: 2px; transform: rotate(-14deg) scaleX(-1); }
.stem-one { right: 37%; transform: rotate(17deg); }
.stem-two { right: 11%; top: 17%; height: 147px; transform: rotate(-20deg); }
.hero-art-label { position: absolute; right: 16px; bottom: 14px; z-index: 2; font-size: 9px; font-weight: 700; letter-spacing: 1.4px; }
.hero-index { position: absolute; bottom: 27px; left: 7.2%; color: var(--muted); font-size: 9px; letter-spacing: 1px; }
.category-section, .featured-section { padding: 82px 7.2%; }
.category-section { background: #f2f0e7; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 27px; }
.section-heading .eyebrow { margin-bottom: 9px; }
.section-heading h2 { margin-bottom: 0; font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1.2; }
.text-link { padding-bottom: 5px; border-bottom: 1px solid var(--leaf); font-size: 11px; font-weight: 700; white-space: nowrap; }
.text-link span { margin-left: 9px; }
.category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.category-tile { position: relative; display: flex; min-height: 224px; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 23px 26px; transition: transform .2s ease; }
.category-tile:hover { transform: translateY(-3px); }
.category-scent { background: #dce4d1; }
.category-soak { background: #ead7c5; }
.category-number { position: relative; z-index: 1; font-size: 10px; font-weight: 700; }
.category-symbol { position: absolute; top: 7px; right: 32px; color: rgba(72, 107, 77, .34); font-family: var(--serif); font-size: 150px; line-height: 1; }
.category-soak .category-symbol { color: rgba(147, 102, 73, .3); font-size: 174px; }
.category-tile-copy { position: relative; z-index: 1; display: grid; gap: 5px; }
.category-tile-copy span:first-child { font-family: var(--serif); font-size: 25px; }
.category-tile-copy span:last-child { color: #58675b; font-size: 11px; }
.tile-arrow { position: absolute; right: 24px; bottom: 26px; z-index: 1; font-size: 19px; }
.featured-section { padding-top: 77px; }
.featured-section .products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 25px; margin: 0 !important; padding: 0 !important; }
.featured-section .products::before, .featured-section .products::after { display: none !important; }
.featured-section .products li.product { float: none !important; width: auto !important; margin: 0 !important; }
.featured-section .products li.product a img { width: 100%; aspect-ratio: 4 / 4.7; margin: 0 0 13px !important; object-fit: cover; }
.featured-section .products li.product .woocommerce-loop-product__title { padding: 0 !important; color: var(--ink); font-family: var(--serif); font-size: 18px !important; font-weight: 500; }
.featured-section .products li.product .price { color: var(--leaf) !important; font-size: 12px !important; }
.featured-section .products li.product .button { min-height: 38px; margin-top: 4px; padding: 0 13px; background: var(--ink); color: white; font-size: 10px; }
.shop-notice { padding: 28px; background: var(--cream); color: var(--muted); text-align: center; }
.ritual-band { display: flex; min-height: 365px; flex-direction: column; align-items: center; justify-content: center; padding: 56px 20px; background: var(--leaf); color: #fffdf6; text-align: center; }
.ritual-mark { display: grid; width: 43px; height: 43px; margin-bottom: 24px; place-items: center; border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%; font-family: var(--serif); font-size: 25px; font-style: italic; }
.ritual-band .eyebrow { color: var(--lime); }
.ritual-band h2 { margin-bottom: 25px; font-family: var(--serif); font-size: 42px; font-weight: 500; line-height: 1.15; }
.button-light { background: var(--paper); color: var(--ink); }
.site-footer { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 24px; padding: 34px 7.2%; background: #f2f0e7; }
.footer-brand { font-size: 19px; }
.site-footer > p { margin: 0; color: var(--muted); font-family: var(--serif); font-size: 14px; font-style: italic; }
.footer-links { display: flex; grid-column: 1 / -1; align-items: center; justify-content: space-between; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: 10px; }
.footer-menu { display: flex; gap: 19px; margin: 0; padding: 0; list-style: none; }
.woocommerce-page main, .single-product main { min-height: 55vh; padding: 48px 7.2%; }
.woocommerce-page .woocommerce-breadcrumb { color: var(--muted); font-size: 11px; }
.woocommerce-page .woocommerce ul.products li.product a img { aspect-ratio: 4 / 4.7; object-fit: cover; }
.woocommerce-page .woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--ink); font-family: var(--serif); font-size: 18px; }
.woocommerce-page .woocommerce ul.products li.product .price { color: var(--leaf); }
.woocommerce-page .woocommerce a.button, .woocommerce-page .woocommerce button.button, .woocommerce-page .woocommerce input.button { border-radius: 0; background: var(--ink); color: white; }
.woocommerce-page .woocommerce a.button:hover, .woocommerce-page .woocommerce button.button:hover { background: var(--leaf); color: white; }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 760px) {
	.site-header { min-height: 70px; padding: 0 6%; }
	.site-brand { font-size: 21px; }
	.menu-toggle { display: flex; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--line); background: transparent; }
	.menu-toggle span { width: 17px; height: 1px; background: var(--ink); }
	.primary-navigation { position: absolute; top: 100%; right: 0; left: 0; display: none; align-items: stretch; gap: 18px; padding: 19px 6% 24px; border-bottom: 1px solid var(--line); background: var(--paper); }
	.primary-navigation.is-open { display: flex; flex-direction: column; }
	.menu-list { align-items: stretch; flex-direction: column; gap: 15px; }
	.hero-section { grid-template-columns: 1fr; gap: 23px; padding: 41px 6% 59px; }
	.hero-copy { padding: 0; }
	.hero-copy h1 { font-size: 60px; }
	.hero-art { min-height: 320px; }
	.sun-disc { width: 120px; }
	.hero-vase { transform: scale(.83); transform-origin: bottom; }
	.hero-index { bottom: 22px; left: 6%; }
	.category-section, .featured-section { padding: 58px 6%; }
	.section-heading { align-items: start; flex-direction: column; gap: 14px; }
	.section-heading h2 { font-size: 30px; }
	.category-grid { grid-template-columns: 1fr; gap: 12px; }
	.category-tile { min-height: 190px; }
	.featured-section .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 21px 13px; }
	.featured-section .products li.product .button { font-size: 9px; }
	.ritual-band { min-height: 330px; }
	.ritual-band h2 { font-size: 35px; }
	.site-footer { grid-template-columns: 1fr; padding: 30px 6%; }
	.footer-links { grid-column: auto; align-items: start; flex-direction: column; gap: 13px; }
	.woocommerce-page main, .single-product main { padding: 35px 6%; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
