/* =====================================================================
   ActiveProvan — Botanical Wellness Theme
   Forest green · cream · gold · organic shapes · elegant motion
   ===================================================================== */

:root {
	--forest:   #10331f;
	--forest-2: #17492c;
	--leaf:     #2f7d4f;
	--leaf-2:   #3f9b62;
	--sage:     #8ba888;
	--olive:    #5c6b34;
	--cream:    #f7f2e7;
	--cream-2:  #efe7d4;
	--beige:    #e7dcc4;
	--gold:     #c69a3e;
	--gold-2:   #dcb256;
	--ink:      #16241b;
	--muted:    #5d6b5c;
	--line:     #e2dccb;
	--white:    #ffffff;

	--serif: "Fraunces", Georgia, "Times New Roman", serif;
	--sans:  "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	--radius: 18px;
	--radius-lg: 28px;
	--shadow-sm: 0 8px 24px rgba(16,51,31,.08);
	--shadow-md: 0 18px 46px rgba(16,51,31,.14);
	--maxw: 1240px;
	--ease: cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }

body {
	margin: 0;
	font-family: var(--sans);
	color: var(--ink);
	background: var(--cream);
	line-height: 1.65;
	font-size: 17px;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; color: var(--forest); letter-spacing: -.01em; margin: 0 0 .5em; }
a { color: var(--leaf); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--forest); }
img { max-width: 100%; height: auto; display: block; }
::selection { background: var(--gold); color: var(--forest); }

.ap-container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.ap-btn {
	display: inline-flex; align-items: center; gap: .5rem;
	padding: 15px 30px; border-radius: 100px;
	font-family: var(--sans); font-weight: 600; font-size: 15px; letter-spacing: .02em;
	cursor: pointer; border: 1.5px solid transparent; line-height: 1;
	transition: transform .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease);
}
.ap-btn:hover { transform: translateY(-3px); }
.ap-btn--gold { background: linear-gradient(180deg, var(--gold-2), var(--gold)); color: #3a2c05; box-shadow: 0 10px 26px rgba(198,154,62,.36); }
.ap-btn--gold:hover { color: #3a2c05; box-shadow: 0 16px 34px rgba(198,154,62,.5); }
.ap-btn--forest { background: var(--forest); color: var(--cream); }
.ap-btn--forest:hover { background: var(--forest-2); color: var(--white); }
.ap-btn--outline { background: transparent; border-color: var(--forest); color: var(--forest); }
.ap-btn--outline:hover { background: var(--forest); color: var(--cream); }
.ap-btn--ghost { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); color: #fff; backdrop-filter: blur(6px); }
.ap-btn--ghost:hover { background: rgba(255,255,255,.9); color: var(--forest); }

/* ---------- Eyebrow / headings ---------- */
.ap-eyebrow {
	display: inline-flex; align-items: center; gap: .5rem;
	font-family: var(--sans); font-weight: 600; font-size: 12.5px; letter-spacing: .22em; text-transform: uppercase;
	color: var(--leaf);
}
.ap-eyebrow--light { color: var(--gold-2); }
.ap-leaf { color: currentColor; }

.ap-section { padding: 96px 0; position: relative; }
.ap-section--cream { background: var(--cream-2); }
.ap-section--forest { background: var(--forest); color: var(--cream); }
.ap-section--forest .ap-section-title, .ap-section--forest h3 { color: var(--cream); }
.ap-section--forest .ap-eyebrow { color: var(--gold-2); }

.ap-section-head { max-width: 640px; margin: 0 0 52px; }
.ap-section-head[data-align="center"] { margin-left: auto; margin-right: auto; text-align: center; }
.ap-section-title { font-size: clamp(30px, 4vw, 46px); margin-top: 12px; }
.ap-title-left { text-align: left; }
.ap-section-cta { text-align: center; margin-top: 44px; }

/* ---------- Reveal animation (only when JS is on, so content is always visible otherwise) ---------- */
.js .reveal, .js .ap-section-head, .js .ap-product-card { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible, .js .ap-section-head.is-visible, .js .ap-product-card.is-visible { opacity: 1; transform: none; }

/* =====================================================================
   Header
   ===================================================================== */
.ap-announce { background: var(--forest); color: var(--cream); font-size: 13px; letter-spacing: .04em; text-align: center; padding: 9px 0; }
.ap-announce span { opacity: .92; }

.ap-header { position: sticky; top: 0; z-index: 200; background: rgba(247,242,231,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); transition: padding .3s var(--ease), box-shadow .3s var(--ease); }
.ap-header.is-stuck { box-shadow: var(--shadow-sm); }
.ap-header-inner { display: flex; align-items: center; gap: 20px; padding: 16px 24px; transition: padding .3s var(--ease); }
.ap-header.is-stuck .ap-header-inner { padding-top: 10px; padding-bottom: 10px; }

.ap-branding { flex: 0 0 auto; }
.ap-branding img, .ap-logo img { height: 52px; width: auto; transition: height .3s var(--ease); }
.ap-header.is-stuck .ap-branding img { height: 44px; }
.custom-logo-link { display: block; }

.ap-nav { flex: 1 1 auto; display: flex; justify-content: center; }
.ap-menu { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; flex-wrap: wrap; justify-content: center; }
.ap-menu li { position: relative; }
.ap-menu a { display: block; padding: 10px 14px; font-weight: 600; font-size: 14.5px; color: var(--forest); border-radius: 10px; }
.ap-menu a:hover { color: var(--leaf); background: rgba(47,125,79,.08); }
.ap-menu .sub-menu { position: absolute; top: 100%; left: 0; min-width: 210px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-md); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .25s var(--ease); list-style: none; z-index: 50; }
.ap-menu li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(6px); }
.ap-menu .sub-menu a { font-weight: 500; }
.ap-menu-hint { font-size: 11px; color: var(--muted); margin: 6px 0 0; }

.ap-actions { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; }
.ap-icon-btn { position: relative; width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: none; background: transparent; color: var(--forest); font-size: 17px; cursor: pointer; border-radius: 50%; transition: background .25s var(--ease), color .25s var(--ease); }
.ap-icon-btn:hover { background: rgba(47,125,79,.12); color: var(--leaf); }
.ap-badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; background: var(--gold); color: #3a2c05; font-family: var(--sans); font-size: 11px; font-weight: 700; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; }

.ap-burger { display: none; border: none; background: transparent; font-size: 20px; color: var(--forest); cursor: pointer; }

.ap-searchbar { max-height: 0; overflow: hidden; background: var(--cream-2); transition: max-height .4s var(--ease); border-top: 0 solid var(--line); }
.ap-search-open .ap-searchbar { max-height: 120px; border-top: 1px solid var(--line); }
.ap-searchbar .ap-container { padding-top: 16px; padding-bottom: 16px; }
.ap-searchbar form { display: flex; gap: 10px; max-width: 640px; margin: 0 auto; }
.ap-searchbar input[type="search"], .ap-searchbar input.search-field { flex: 1; padding: 14px 20px; border: 1.5px solid var(--line); border-radius: 100px; font-family: var(--sans); font-size: 15px; background: #fff; }
.ap-searchbar button { border: none; background: var(--forest); color: #fff; border-radius: 100px; padding: 0 24px; font-weight: 600; cursor: pointer; }

/* =====================================================================
   Hero
   ===================================================================== */
.ap-hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.ap-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.08); animation: apZoom 18s ease-in-out infinite alternate; }
@keyframes apZoom { to { transform: scale(1); } }
.ap-hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(9,34,20,.92) 0%, rgba(11,44,26,.7) 42%, rgba(16,51,31,.35) 100%); }
.ap-hero-inner { position: relative; z-index: 3; padding: 60px 24px 110px; }
.ap-hero-copy { max-width: 640px; }
.ap-hero-title { font-size: clamp(40px, 6vw, 74px); color: #fff; line-height: 1.02; margin: 18px 0 20px; }
.ap-hero-sub { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255,255,255,.9); max-width: 520px; margin-bottom: 34px; }
.ap-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.ap-hero-trust { list-style: none; display: flex; gap: 26px; flex-wrap: wrap; margin: 40px 0 0; padding: 0; }
.ap-hero-trust li { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: rgba(255,255,255,.92); }
.ap-hero-trust i { color: var(--gold-2); }

.ap-hero-blob { position: absolute; border-radius: 47% 53% 62% 38% / 42% 55% 45% 58%; filter: blur(2px); z-index: 2; opacity: .5; }
.ap-hero-blob--1 { width: 420px; height: 420px; right: -90px; top: -80px; background: radial-gradient(circle at 30% 30%, rgba(63,155,98,.5), transparent 70%); animation: apFloat 14s ease-in-out infinite; }
.ap-hero-blob--2 { width: 320px; height: 320px; right: 20%; bottom: -120px; background: radial-gradient(circle at 30% 30%, rgba(198,154,62,.4), transparent 70%); animation: apFloat 11s ease-in-out infinite reverse; }
@keyframes apFloat { 50% { transform: translate(-24px, 24px) rotate(12deg); } }

.ap-hero-wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; z-index: 4; background: var(--cream); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,90 L0,40 C240,90 480,0 720,20 C960,40 1200,90 1440,45 L1440,90 Z'/%3E%3C/svg%3E") bottom/100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath d='M0,90 L0,40 C240,90 480,0 720,20 C960,40 1200,90 1440,45 L1440,90 Z'/%3E%3C/svg%3E") bottom/100% 100% no-repeat; }

/* =====================================================================
   Shop by Benefit
   ===================================================================== */
.ap-benefit-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.ap-benefit-card { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 30px 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-align: center; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); }
.ap-benefit-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--sage); }
.ap-benefit-ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(160deg, #eef6ee, #d9ecdd); color: var(--leaf); font-size: 24px; transition: transform .4s var(--ease); }
.ap-benefit-card:hover .ap-benefit-ico { transform: rotate(-8deg) scale(1.08); background: linear-gradient(160deg, var(--leaf), var(--forest-2)); color: #fff; }
.ap-benefit-name { font-family: var(--serif); font-weight: 600; font-size: 15.5px; color: var(--forest); }

/* =====================================================================
   Product grid / cards (WooCommerce)
   ===================================================================== */
.ap-product-grid, ul.products { list-style: none; margin: 0 !important; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.woocommerce ul.products li.product, .ap-product-card { margin: 0 !important; width: auto !important; text-align: left; }
.ap-product-card-inner { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.ap-product-card:hover .ap-product-card-inner { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.ap-product-media { position: relative; background: var(--cream-2); overflow: hidden; aspect-ratio: 1/1; }
.ap-product-media a { display: block; height: 100%; }
.ap-product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ap-product-card:hover .ap-product-media img { transform: scale(1.06); }
.ap-product-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; gap: 6px; }
.ap-product-cat { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--leaf); font-weight: 700; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .ap-product-body h2, .ap-product-body .woocommerce-loop-product__title { font-family: var(--serif) !important; font-size: 19px !important; font-weight: 600; color: var(--forest); padding: 0 !important; margin: 2px 0 4px !important; }
.ap-product-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding-top: 8px; }
.woocommerce ul.products li.product .price { color: var(--forest); font-family: var(--sans); font-weight: 700; font-size: 18px; margin: 0; }
.woocommerce ul.products li.product .price del { color: var(--muted); font-weight: 400; font-size: 14px; margin-right: 6px; }
.woocommerce ul.products li.product .price ins { text-decoration: none; }

.woocommerce ul.products li.product .button, .woocommerce a.button, .woocommerce button.button, .woocommerce .button {
	background: var(--forest) !important; color: var(--cream) !important; border-radius: 100px !important;
	padding: 11px 20px !important; font-family: var(--sans) !important; font-weight: 600 !important; font-size: 13.5px !important;
	border: none !important; transition: background .3s var(--ease), transform .3s var(--ease) !important; margin: 0 !important; cursor: pointer;
}
.woocommerce ul.products li.product .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--leaf) !important; transform: translateY(-2px); }
.woocommerce ul.products li.product .added_to_cart { margin-left: 8px; font-size: 12px; }

.ap-sale, .woocommerce span.onsale { position: absolute; top: 14px; left: 14px; z-index: 4; background: var(--gold); color: #3a2c05; font-family: var(--sans); font-weight: 700; font-size: 12px; letter-spacing: .04em; padding: 6px 12px; border-radius: 100px; min-height: auto; line-height: 1; margin: 0; }

/* Wishlist */
.ap-card-wish { position: absolute; top: 12px; right: 12px; z-index: 5; }
.ap-wishlist-btn { width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); color: var(--leaf); font-size: 16px; cursor: pointer; display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease); }
.ap-wishlist-btn:hover { background: #fff; transform: scale(1.1); }
.ap-wishlist-btn.is-active { color: #c0392b; }
.ap-wishlist-btn.ap-pop { animation: apPop .3s var(--ease); }
@keyframes apPop { 50% { transform: scale(1.35); } }
.ap-single-wish { display: inline-block; margin-left: 12px; vertical-align: middle; }

.ap-empty { color: var(--muted); font-style: italic; text-align: center; padding: 30px; }

/* =====================================================================
   Categories
   ===================================================================== */
.ap-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ap-cat-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 260px; display: flex; align-items: flex-end; box-shadow: var(--shadow-sm); }
.ap-cat-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s var(--ease); }
.ap-cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,34,20,.85), rgba(10,34,20,.05) 70%); }
.ap-cat-card:hover .ap-cat-img { transform: scale(1.08); }
.ap-cat-body { position: relative; z-index: 2; padding: 26px; color: #fff; }
.ap-cat-name { display: block; font-family: var(--serif); font-size: 23px; font-weight: 600; }
.ap-cat-count { font-size: 13px; opacity: .85; }

/* =====================================================================
   Why ActiveProvan
   ===================================================================== */
.ap-why { background-image: radial-gradient(circle at 15% 20%, rgba(63,155,98,.12), transparent 40%); }
.ap-why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.ap-why-card { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 34px 26px; backdrop-filter: blur(4px); transition: transform .35s var(--ease), background .35s var(--ease); }
.ap-why-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); }
.ap-why-ico { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(160deg, var(--gold-2), var(--gold)); color: var(--forest); font-size: 24px; margin-bottom: 18px; }
.ap-why-card h3 { color: var(--cream); font-size: 20px; margin-bottom: 8px; }
.ap-why-card p { color: rgba(247,242,231,.8); font-size: 15px; margin: 0; }

/* =====================================================================
   Ingredients
   ===================================================================== */
.ap-ing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ap-ing-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.ap-ing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ap-ing-img { display: block; aspect-ratio: 4/3; overflow: hidden; background: var(--cream-2); }
.ap-ing-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ap-ing-card:hover .ap-ing-img img { transform: scale(1.08); }
.ap-ing-body { padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.ap-ing-name { font-family: var(--serif); font-size: 20px; font-weight: 600; color: var(--forest); }
.ap-ing-latin { color: var(--muted); font-size: 13px; }
.ap-ing-more { margin-top: 8px; font-weight: 600; font-size: 13px; color: var(--leaf); display: inline-flex; align-items: center; gap: 6px; }
.ap-ing-card:hover .ap-ing-more i { transform: translateX(4px); }
.ap-ing-more i { transition: transform .3s var(--ease); }

/* Ingredient single */
.ap-ing-archive-hero { background: var(--forest); color: #fff; padding: 80px 0 64px; text-align: center; }
.ap-ing-archive-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 54px); margin: 14px 0 12px; }
.ap-ing-archive-hero p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto; }
.ap-ing-single { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; padding: 20px 0 30px; }
.ap-ing-single-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.ap-ing-title { font-size: clamp(32px, 4vw, 48px); }
.ap-ing-latin-lg { color: var(--muted); font-size: 18px; margin-top: -8px; }
.ap-ing-info-box { margin-top: 26px; background: var(--cream-2); border-left: 4px solid var(--leaf); padding: 22px 24px; border-radius: 12px; }
.ap-ing-info-box h3 { font-size: 18px; display: flex; align-items: center; gap: 8px; color: var(--forest); }
.ap-ing-info-box small { color: var(--muted); }
.ap-related-ing { padding: 60px 0; }

/* =====================================================================
   Science
   ===================================================================== */
.ap-science-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ap-science-media { position: relative; }
.ap-science-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; aspect-ratio: 4/3.4; object-fit: cover; }
.ap-science-badge { position: absolute; right: -18px; bottom: -18px; width: 92px; height: 92px; border-radius: 50%; background: linear-gradient(160deg, var(--gold-2), var(--gold)); color: var(--forest); display: grid; place-items: center; font-size: 32px; box-shadow: var(--shadow-md); animation: apFloat 8s ease-in-out infinite; }
.ap-science-list { list-style: none; padding: 0; margin: 20px 0 30px; }
.ap-science-list li { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-weight: 500; }
.ap-science-list i { width: 26px; height: 26px; border-radius: 50%; background: #e0efe2; color: var(--leaf); display: grid; place-items: center; font-size: 12px; }

/* =====================================================================
   Reviews
   ===================================================================== */
.ap-review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ap-review-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 30px; }
.ap-stars { color: var(--gold-2); margin-bottom: 14px; letter-spacing: 3px; }
.ap-review-card blockquote { margin: 0 0 18px; font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.55; color: var(--cream); }
.ap-review-card figcaption strong { display: block; color: #fff; }
.ap-review-card figcaption span { color: var(--sage); font-size: 13px; }
.ap-demo-note { text-align: center; color: rgba(255,255,255,.5); font-size: 12px; margin-top: 28px; }

/* =====================================================================
   Journal
   ===================================================================== */
.ap-journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ap-journal-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.ap-journal-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.ap-journal-img { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: var(--cream-2); }
.ap-journal-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ap-journal-card:hover .ap-journal-img img { transform: scale(1.06); }
.ap-journal-cat { position: absolute; top: 14px; left: 14px; background: rgba(16,51,31,.85); color: var(--cream); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; padding: 6px 12px; border-radius: 100px; backdrop-filter: blur(4px); }
.ap-journal-cat.ap-static { position: static; display: inline-block; background: var(--leaf); }
.ap-journal-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ap-journal-date { font-size: 12px; color: var(--muted); letter-spacing: .05em; }
.ap-journal-body h3 { font-size: 20px; margin: 0; }
.ap-journal-body h3 a { color: var(--forest); }
.ap-journal-body h3 a:hover { color: var(--leaf); }
.ap-journal-body p { color: var(--muted); font-size: 15px; margin: 0; }
.ap-read-more { margin-top: auto; font-weight: 600; font-size: 13.5px; color: var(--leaf); display: inline-flex; align-items: center; gap: 7px; }
.ap-read-more i { transition: transform .3s var(--ease); }
.ap-read-more:hover i { transform: translateX(5px); }

/* =====================================================================
   Newsletter
   ===================================================================== */
.ap-newsletter { position: relative; margin: 0; padding: 90px 0; background: linear-gradient(135deg, var(--forest) 0%, var(--forest-2) 100%); color: var(--cream); overflow: hidden; }
.ap-news-blob { position: absolute; width: 500px; height: 500px; right: -140px; top: -160px; border-radius: 47% 53% 62% 38% / 42% 55% 45% 58%; background: radial-gradient(circle at 40% 40%, rgba(63,155,98,.4), transparent 70%); animation: apFloat 16s ease-in-out infinite; }
.ap-news-inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; text-align: center; }
.ap-news-title { color: var(--cream); font-size: clamp(28px, 4vw, 42px); }
.ap-news-text { color: rgba(247,242,231,.85); margin-bottom: 28px; }
.ap-news-form { display: flex; gap: 12px; max-width: 520px; margin: 0 auto; }
.ap-news-form input { flex: 1; padding: 16px 22px; border: none; border-radius: 100px; font-family: var(--sans); font-size: 15px; }
.ap-news-fine { font-size: 12px; color: rgba(247,242,231,.55); margin-top: 18px; }

/* =====================================================================
   Footer
   ===================================================================== */
.ap-footer { background: #0c281a; color: rgba(247,242,231,.8); }
.ap-footer-top { display: grid; grid-template-columns: 1.4fr 2fr; gap: 60px; padding: 72px 24px 54px; }
.ap-footer-brand img { height: 56px; margin-bottom: 18px; filter: brightness(1.05); }
.ap-footer-about { font-size: 15px; max-width: 340px; }
.ap-socials { display: flex; gap: 12px; margin-top: 22px; }
.ap-socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); color: var(--cream); display: grid; place-items: center; transition: background .3s var(--ease), transform .3s var(--ease); }
.ap-socials a:hover { background: var(--gold); color: var(--forest); transform: translateY(-3px); }
.ap-footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.ap-footer-col .widget-title, .ap-footer .widget-title { color: var(--cream); font-family: var(--serif); font-size: 18px; margin-bottom: 16px; }
.ap-foot-menu { list-style: none; padding: 0; margin: 0; }
.ap-foot-menu li { margin-bottom: 10px; }
.ap-foot-menu a { color: rgba(247,242,231,.78); font-size: 14.5px; }
.ap-foot-menu a:hover { color: var(--gold-2); }
.ap-contact { font-size: 14.5px; margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.ap-contact i { color: var(--gold-2); }
.ap-pay-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ap-pay-badges span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font-size: 11px; padding: 6px 11px; border-radius: 6px; letter-spacing: .04em; }
.ap-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.ap-footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding: 22px 24px; font-size: 12.5px; color: rgba(247,242,231,.55); }
.ap-footer-bottom em { color: var(--gold-2); font-style: italic; }
.ap-disclaimer { max-width: 520px; text-align: right; }

/* =====================================================================
   Interior pages / blog / WooCommerce
   ===================================================================== */
.ap-page { padding: 48px 24px 80px; }
.ap-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 22px; }
.ap-breadcrumb a { color: var(--leaf); }
.ap-breadcrumb span { margin: 0 6px; opacity: .5; }
.ap-page-head { margin-bottom: 36px; }
.ap-page-title { font-size: clamp(30px, 4vw, 46px); }
.ap-blog-layout { display: grid; grid-template-columns: 1fr 300px; gap: 46px; align-items: start; }
.ap-blog-main .ap-journal-grid { grid-template-columns: repeat(2, 1fr); }
.ap-sidebar .widget { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.ap-sidebar .widget-title { font-size: 18px; margin-bottom: 14px; }
.ap-sidebar ul { list-style: none; padding: 0; margin: 0; }
.ap-sidebar li { padding: 7px 0; border-bottom: 1px solid var(--line); }
.ap-sidebar a { color: var(--ink); }

.ap-single-post, .ap-static-page { max-width: 820px; margin: 0 auto; }
.ap-single-head { text-align: center; margin-bottom: 26px; }
.ap-single-head h1 { font-size: clamp(30px, 4.4vw, 50px); margin: 14px 0 10px; }
.ap-single-meta { color: var(--muted); font-size: 14px; }
.ap-single-thumb { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 34px; box-shadow: var(--shadow-sm); }
.ap-single-content { font-size: 17.5px; line-height: 1.8; }
.ap-single-content p { margin: 0 0 1.3em; }
.ap-single-content h2, .ap-single-content h3 { margin-top: 1.6em; }
.ap-pagination { margin-top: 40px; }
.ap-pagination .page-numbers { display: inline-flex; }
.ap-pagination a, .ap-pagination span { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; margin: 0 4px; border-radius: 10px; background: #fff; border: 1px solid var(--line); color: var(--forest); font-weight: 600; }
.ap-pagination .current { background: var(--forest); color: #fff; }

/* WooCommerce generic polish */
.ap-shop-wrap { padding: 40px 24px 80px; }
.woocommerce .woocommerce-result-count { color: var(--muted); }
.woocommerce .woocommerce-ordering select, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce-page table.cart td.actions .coupon .input-text { border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 14px; font-family: var(--sans); }
.woocommerce div.product .product_title { font-family: var(--serif); font-size: clamp(28px, 3.6vw, 42px); color: var(--forest); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--forest); font-weight: 700; font-size: 26px; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { border-bottom-color: var(--leaf); }
.woocommerce #respond input#submit, .woocommerce-page .button, .woocommerce .single_add_to_cart_button { background: var(--forest) !important; color: var(--cream) !important; border-radius: 100px !important; padding: 14px 30px !important; font-weight: 600 !important; border: none !important; }
.woocommerce .single_add_to_cart_button:hover { background: var(--leaf) !important; }
.woocommerce .quantity .qty { border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 8px; }
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top-color: var(--leaf); border-radius: 10px; }
.woocommerce-message::before, .woocommerce-info::before { color: var(--leaf); }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { color: var(--forest); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--forest); color: #fff; }
.woocommerce table.shop_table { border-radius: var(--radius); }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce .cart_totals { border-radius: var(--radius); }

/* 404 */
.ap-404 { text-align: center; padding: 90px 24px 110px; }
.ap-404-leaf { font-size: 60px; color: var(--sage); display: inline-block; margin-bottom: 10px; animation: apFloat 6s ease-in-out infinite; }
.ap-404 h1 { font-size: clamp(32px, 5vw, 56px); }
.ap-404 .ap-hero-cta { justify-content: center; margin-top: 24px; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1080px) {
	.ap-benefit-grid { grid-template-columns: repeat(3, 1fr); }
	.ap-product-grid, ul.products { grid-template-columns: repeat(3, 1fr); }
	.ap-ing-grid, .ap-why-grid { grid-template-columns: repeat(2, 1fr); }
	.ap-cat-grid, .ap-journal-grid, .ap-review-grid { grid-template-columns: repeat(2, 1fr); }
	.ap-footer-top { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 900px) {
	.ap-nav { position: fixed; inset: 0 0 0 auto; width: min(84vw, 340px); background: var(--cream); flex-direction: column; justify-content: flex-start; padding: 90px 26px 30px; transform: translateX(105%); transition: transform .4s var(--ease); z-index: 190; box-shadow: var(--shadow-md); overflow-y: auto; }
	.ap-menu-open .ap-nav { transform: none; }
	.ap-menu { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
	.ap-menu a { padding: 14px 12px; border-radius: 10px; font-size: 16px; }
	.ap-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; background: transparent; padding: 0 0 0 12px; }
	.ap-burger { display: inline-flex; order: -1; }
	.ap-branding { flex: 1; }
	.ap-menu-open::after { content: ""; position: fixed; inset: 0; background: rgba(10,34,20,.5); z-index: 180; }
	.ap-blog-layout { grid-template-columns: 1fr; }
	.ap-science-inner, .ap-ing-single { grid-template-columns: 1fr; gap: 34px; }
	.ap-science-media { order: -1; }
}

@media (max-width: 680px) {
	body { font-size: 16px; }
	.ap-section { padding: 66px 0; }
	.ap-hero { min-height: 78vh; }
	.ap-hero-trust { gap: 16px; }
	.ap-benefit-grid { grid-template-columns: repeat(2, 1fr); }
	.ap-product-grid, ul.products { grid-template-columns: repeat(2, 1fr); gap: 16px; }
	.ap-ing-grid, .ap-why-grid, .ap-cat-grid, .ap-journal-grid, .ap-review-grid { grid-template-columns: 1fr; }
	.ap-blog-main .ap-journal-grid { grid-template-columns: 1fr; }
	.ap-footer-cols { grid-template-columns: 1fr 1fr; }
	.ap-news-form { flex-direction: column; }
	.ap-news-form input { text-align: center; }
	.ap-footer-bottom-inner { flex-direction: column; text-align: center; }
	.ap-disclaimer { text-align: center; }
	.ap-hero-cta .ap-btn { flex: 1; justify-content: center; }
}

@media (max-width: 420px) {
	.ap-product-grid, ul.products { grid-template-columns: 1fr; }
	.ap-footer-cols { grid-template-columns: 1fr; }
}
