/* ==========================================================================
   A Leaf Foods — theme stylesheet
   Layout language borrowed from Coolmate.me, re-colored & re-worded for a
   food brand. Also themes WooCommerce's default markup directly (no
   woocommerce.css enqueued — see functions.php).
   ========================================================================== */

:root {
	/* Brand orange sampled directly from the A Leaf Foods logo (#FC6A03). */
	--aleaf-primary: #fc6a03;
	--aleaf-primary-dark: #c45202;
	--aleaf-accent: #fc6a03;
	--aleaf-cream: #fff6ee;
	--aleaf-dark: #241c15;
	--aleaf-gray: #6b7280;
	--aleaf-gray-light: #f5efe7;
	--aleaf-border: #eaddd0;
	--aleaf-red: #d9483c;
	--aleaf-white: #ffffff;
	--aleaf-radius: 10px;
	--aleaf-header-h: 76px;
	--aleaf-font: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---- Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--aleaf-font);
	color: var(--aleaf-dark);
	background: var(--aleaf-white);
	font-size: 15px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5 { margin: 0 0 .5em; font-weight: 700; line-height: 1.25; }
p { margin: 0 0 1em; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

.aleaf-icon svg { width: 1.15em; height: 1.15em; vertical-align: -0.2em; }

.screen-reader-text {
	position: absolute !important;
	clip: rect(1px, 1px, 1px, 1px);
	overflow: hidden;
	height: 1px; width: 1px;
}

/* ---- Buttons ------------------------------------------------------------ */
.aleaf-btn, .button, button.button, input[type="submit"], .woocommerce #respond input#submit,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 13px 26px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: .02em;
	border: 2px solid transparent;
	transition: all .18s ease;
	background: var(--aleaf-primary);
	color: var(--aleaf-white);
}
.aleaf-btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover {
	background: var(--aleaf-primary-dark);
	color: var(--aleaf-white);
}
.aleaf-btn--light { background: var(--aleaf-white); color: var(--aleaf-dark); }
.aleaf-btn--light:hover { background: var(--aleaf-cream); color: var(--aleaf-dark); }
.aleaf-btn--dark { background: var(--aleaf-dark); color: var(--aleaf-white); }
.aleaf-btn--dark:hover { background: #000; }
.aleaf-btn--sm { padding: 8px 16px; font-size: 12px; }

/* ==========================================================================
   Header
   ========================================================================== */
.aleaf-topbar { background: var(--aleaf-dark); color: #cfd6d1; font-size: 12.5px; }
.aleaf-topbar__inner { display: flex; align-items: center; justify-content: space-between; height: 36px; }
.aleaf-topbar__menu, .aleaf-topbar__right { display: flex; align-items: center; gap: 18px; }
.aleaf-topbar__menu a, .aleaf-topbar__right a { color: #cfd6d1; }
.aleaf-topbar__menu a:hover, .aleaf-topbar__right a:hover { color: var(--aleaf-white); }
.aleaf-topbar__hotline { display: flex; align-items: center; gap: 6px; color: var(--aleaf-accent) !important; font-weight: 600; }
.aleaf-topbar__list { display: flex; gap: 18px; }

.aleaf-header {
	background: var(--aleaf-white);
	border-bottom: 1px solid var(--aleaf-border);
	position: sticky;
	top: 0;
	z-index: 100;
}
.aleaf-header__inner {
	display: flex;
	align-items: center;
	gap: 24px;
	height: var(--aleaf-header-h);
}
.aleaf-logo__text { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 22px; color: var(--aleaf-primary); }
.aleaf-logo img { max-height: 48px; width: auto; }
.custom-logo-link { display: block; }

.aleaf-primary-nav { flex: 1; }
.aleaf-primary-nav__list { display: flex; gap: 30px; }
.aleaf-primary-nav__list > li { position: relative; }
.aleaf-primary-nav__list > li > a {
	display: block;
	padding: 27px 0;
	font-weight: 700;
	font-size: 14.5px;
	letter-spacing: .01em;
	border-bottom: 2px solid transparent;
}
.aleaf-primary-nav__list > li > a:hover,
.aleaf-primary-nav__list > li.current-menu-item > a { color: var(--aleaf-primary); border-color: var(--aleaf-primary); }

/* dropdown submenus */
.aleaf-primary-nav__list ul {
	position: absolute;
	top: 100%; left: 0;
	background: var(--aleaf-white);
	min-width: 220px;
	box-shadow: 0 12px 28px rgba(0,0,0,.12);
	border-radius: 0 0 8px 8px;
	padding: 8px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all .15s ease;
	z-index: 20;
}
.aleaf-primary-nav__list li:hover > ul { opacity: 1; visibility: visible; transform: translateY(0); }
.aleaf-primary-nav__list ul a { display: block; padding: 10px 18px; font-size: 14px; font-weight: 500; }
.aleaf-primary-nav__list ul a:hover { background: var(--aleaf-cream); color: var(--aleaf-primary); }

.aleaf-header__actions { display: flex; align-items: center; gap: 16px; }
.aleaf-search { display: flex; align-items: center; background: var(--aleaf-gray-light); border-radius: 999px; padding: 8px 6px 8px 18px; width: 260px; }
.aleaf-search__input { flex: 1; border: none; background: transparent; outline: none; font-size: 13.5px; }
.aleaf-search__btn { border: none; background: var(--aleaf-dark); color: #fff; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.aleaf-search-toggle { display: none; border: none; background: none; }

.aleaf-header__icon-link { position: relative; display: flex; }
.aleaf-header__cart .aleaf-cart-count {
	position: absolute; top: -8px; right: -10px;
	background: var(--aleaf-red); color: #fff;
	font-size: 10px; font-weight: 700;
	min-width: 17px; height: 17px; border-radius: 999px;
	display: flex; align-items: center; justify-content: center;
	padding: 0 2px;
}

.aleaf-mobile-toggle { display: none; border: none; background: none; padding: 6px; }
.aleaf-mobile-search { display: none; }

.aleaf-announcement {
	background: var(--aleaf-primary);
	color: #fff;
	text-align: center;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .02em;
	padding: 8px 0;
}

/* Mobile nav drawer */
.aleaf-mobile-nav {
	position: fixed; top: 0; left: -300px; width: 280px; height: 100%;
	background: #fff; z-index: 300; transition: left .25s ease;
	overflow-y: auto;
}
.aleaf-mobile-nav.is-open { left: 0; }
.aleaf-mobile-nav__header { display: flex; align-items: center; justify-content: space-between; padding: 18px; border-bottom: 1px solid var(--aleaf-border); font-weight: 800; }
.aleaf-mobile-nav__header button { border: none; background: none; }
.aleaf-mobile-nav__list a { display: block; padding: 14px 18px; border-bottom: 1px solid var(--aleaf-border); font-weight: 600; }
.aleaf-mobile-nav-overlay {
	position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 290;
	opacity: 0; visibility: hidden; transition: opacity .2s ease;
}
.aleaf-mobile-nav-overlay.is-open { opacity: 1; visibility: visible; }

/* ==========================================================================
   Hero slider
   ========================================================================== */
.aleaf-hero { position: relative; overflow: hidden; background: var(--aleaf-dark); }
.aleaf-hero__track { position: relative; height: 560px; }
.aleaf-hero__slide {
	position: absolute; inset: 0;
	background-size: cover; background-position: center;
	display: flex; align-items: center;
	opacity: 0; visibility: hidden; transition: opacity .5s ease;
}
.aleaf-hero__slide.is-active { opacity: 1; visibility: visible; }
.aleaf-hero__slide::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(36,28,21,.85) 0%, rgba(36,28,21,.35) 55%, rgba(36,28,21,.1) 100%);
}
.aleaf-hero__slide:not([style]) { background: linear-gradient(120deg, var(--aleaf-primary-dark), var(--aleaf-primary)); }
.aleaf-hero__content { position: relative; z-index: 2; max-width: 560px; color: #fff; }
.aleaf-hero__tag {
	display: inline-block; background: rgba(255,255,255,.15); backdrop-filter: blur(4px);
	padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; margin-bottom: 18px;
}
.aleaf-hero__title { font-size: 52px; line-height: 1.08; margin-bottom: 14px; text-wrap: balance; }
.aleaf-hero__subtitle { font-size: 17px; opacity: .92; margin-bottom: 26px; }

.aleaf-hero__nav {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 44px; height: 44px; border-radius: 50%; border: none;
	background: rgba(255,255,255,.85); color: var(--aleaf-dark);
	display: flex; align-items: center; justify-content: center; z-index: 5;
}
.aleaf-hero__nav:hover { background: #fff; }
.aleaf-hero__nav--prev { left: 24px; }
.aleaf-hero__nav--next { right: 24px; }
.aleaf-hero__dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.aleaf-hero__dot { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,.5); padding: 0; }
.aleaf-hero__dot.is-active { background: #fff; width: 22px; border-radius: 5px; }

/* ==========================================================================
   Trust badges
   ========================================================================== */
.aleaf-trust { background: var(--aleaf-cream); border-bottom: 1px solid var(--aleaf-border); }
.aleaf-trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 26px 0; }
.aleaf-trust__item { display: flex; align-items: center; gap: 12px; }
.aleaf-trust__item .aleaf-icon { color: var(--aleaf-primary); flex-shrink: 0; width: 34px; height: 34px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.aleaf-trust__item strong { display: block; font-size: 14px; }
.aleaf-trust__item span { font-size: 12.5px; color: var(--aleaf-gray); }

/* ==========================================================================
   Seasonal campaign banner
   ========================================================================== */
.aleaf-seasonal {
	position: relative;
	background: linear-gradient(120deg, var(--aleaf-dark), #000);
	background-size: cover; background-position: center 30%;
	padding: 90px 0;
	overflow: hidden;
}
.aleaf-seasonal::before {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.3) 60%, rgba(0,0,0,.05) 100%);
}
.aleaf-seasonal__content { position: relative; z-index: 1; max-width: 560px; color: #fff; }
.aleaf-seasonal__content h2 { font-size: 34px; margin-bottom: 10px; }
.aleaf-seasonal__content p { opacity: .9; margin-bottom: 24px; font-size: 15.5px; }

/* ==========================================================================
   Category banners
   ========================================================================== */
.aleaf-categories { padding: 44px 0 10px; }
.aleaf-categories__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.aleaf-category-card {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end;
	height: 300px; border-radius: var(--aleaf-radius); overflow: hidden;
	background: linear-gradient(135deg, var(--aleaf-primary), var(--aleaf-primary-dark));
	background-size: cover; background-position: center;
	padding: 22px; color: #fff;
}
.aleaf-category-card::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(0deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,0) 55%);
	z-index: 0;
}
.aleaf-category-card > * { position: relative; z-index: 1; }
.aleaf-category-card__title { font-weight: 800; font-size: 18px; margin-bottom: 12px; display: block; }
.aleaf-category-card .aleaf-btn { width: fit-content; }

/* ==========================================================================
   Product carousels & cards
   ========================================================================== */
.aleaf-carousel-section { padding: 42px 0; }
.aleaf-carousel-section__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.aleaf-carousel-section__head h2 { font-size: 22px; letter-spacing: .01em; }
.aleaf-view-all { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 13.5px; color: var(--aleaf-primary); }

.aleaf-carousel { position: relative; }
.aleaf-carousel__track {
	display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth;
	padding-bottom: 6px; scrollbar-width: none;
}
.aleaf-carousel__track::-webkit-scrollbar { display: none; }
.aleaf-carousel__item { flex: 0 0 auto; width: 245px; }
.aleaf-carousel__nav {
	position: absolute; top: 40%; transform: translateY(-50%);
	width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--aleaf-border);
	background: #fff; display: flex; align-items: center; justify-content: center; z-index: 5;
	box-shadow: 0 4px 10px rgba(0,0,0,.08);
}
.aleaf-carousel__nav--prev { left: -18px; }
.aleaf-carousel__nav--next { right: -18px; }

.aleaf-product-card, li.product.aleaf-product-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--aleaf-border);
	border-radius: var(--aleaf-radius);
	overflow: hidden;
	transition: box-shadow .2s ease, transform .2s ease;
}
.aleaf-product-card:hover { box-shadow: 0 14px 28px rgba(0,0,0,.09); transform: translateY(-3px); }
.aleaf-product-card__image { position: relative; aspect-ratio: 4/5; background: var(--aleaf-gray-light); overflow: hidden; }
.aleaf-product-card__image img { width: 100%; height: 100%; object-fit: cover; }
.aleaf-badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; gap: 6px; }
.aleaf-badge { font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 4px; color: #fff; letter-spacing: .02em; }
.aleaf-badge--sale { background: var(--aleaf-red); }
.aleaf-badge--bestseller { background: var(--aleaf-dark); }
.aleaf-badge--new { background: #fff; color: var(--aleaf-primary); border: 1.5px solid var(--aleaf-primary); padding: 1.5px 7px; }

.aleaf-product-card__body { padding: 12px 14px 14px; }
.aleaf-product-card__title {
	font-size: 13.5px; font-weight: 600; margin: 0 0 8px;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	min-height: 2.6em;
}
.aleaf-product-card__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.aleaf-price { font-weight: 800; font-size: 15px; color: var(--aleaf-red); }
.aleaf-price--regular { font-weight: 500; font-size: 12.5px; color: var(--aleaf-gray); text-decoration: line-through; }
.aleaf-product-card__price .aleaf-price:only-child { color: var(--aleaf-dark); }

.aleaf-product-card__quickadd {
	position: absolute; left: 14px; right: 14px; bottom: -46px;
	transition: bottom .2s ease;
}
.aleaf-product-card:hover .aleaf-product-card__quickadd { bottom: 14px; }
.aleaf-product-card__quickadd .button,
.aleaf-product-card__quickadd a.button {
	display: block; width: 100%; text-align: center; padding: 10px; font-size: 13px;
}

/* ==========================================================================
   Promo banner
   ========================================================================== */
.aleaf-promo {
	margin: 10px 0 46px;
	background: linear-gradient(120deg, var(--aleaf-primary), var(--aleaf-primary-dark));
	background-size: cover; background-position: center;
	padding: 70px 0;
	color: #fff;
}
.aleaf-promo__content { max-width: 520px; }
.aleaf-promo__content h2 { font-size: 30px; }
.aleaf-promo__content p { opacity: .92; }

/* ==========================================================================
   Rewards / loyalty section
   ========================================================================== */
.aleaf-rewards { background: var(--aleaf-dark); color: #fff; padding: 56px 0; }
.aleaf-rewards__title { text-align: center; font-size: 22px; max-width: 720px; margin: 0 auto 34px; }
.aleaf-rewards__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.aleaf-rewards__item { text-align: center; padding: 22px 14px; background: rgba(255,255,255,.05); border-radius: var(--aleaf-radius); }
.aleaf-rewards__item .aleaf-icon { color: var(--aleaf-accent); width: 40px; height: 40px; }
.aleaf-rewards__item h4 { font-size: 14.5px; margin: 12px 0 6px; }
.aleaf-rewards__item p { font-size: 12.5px; color: #c9beb2; margin: 0; }
.aleaf-rewards__cta { text-align: center; margin-top: 30px; }
.aleaf-rewards__cta .aleaf-btn--dark { background: var(--aleaf-accent); color: var(--aleaf-dark); }
.aleaf-rewards__cta .aleaf-btn--dark:hover { background: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */
.aleaf-newsletter { background: var(--aleaf-cream); padding: 34px 0; border-bottom: 1px solid var(--aleaf-border); }
.aleaf-newsletter__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.aleaf-newsletter__text h3 { margin-bottom: 4px; font-size: 18px; }
.aleaf-newsletter__text p { margin: 0; color: var(--aleaf-gray); font-size: 13.5px; }
.aleaf-newsletter__form { display: flex; gap: 10px; }
.aleaf-newsletter__form input { border: 1px solid var(--aleaf-border); border-radius: 999px; padding: 12px 18px; width: 260px; }
.aleaf-newsletter__form button { border: none; background: var(--aleaf-primary); color: #fff; border-radius: 999px; padding: 12px 24px; font-weight: 700; }

.aleaf-footer { background: #fff; color: var(--aleaf-dark); padding-top: 44px; }
.aleaf-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 40px; }
.aleaf-footer__col--brand .custom-logo-link { display: inline-block; margin-bottom: 14px; }
.aleaf-footer__col--brand .custom-logo-link img,
.aleaf-footer__col--brand img.custom-logo { max-width: 72px; max-height: 72px; width: auto; height: auto; }
.aleaf-footer__col--brand .aleaf-logo__text { margin-bottom: 14px; }
.aleaf-footer__col p { font-size: 13.5px; color: var(--aleaf-gray); margin-bottom: 8px; }
.aleaf-footer__col .widget-title { font-size: 14px; margin-bottom: 16px; }
.aleaf-footer__list li, .aleaf-footer__col ul li { margin-bottom: 10px; }
.aleaf-footer__list a, .aleaf-footer__col ul a { font-size: 13.5px; color: var(--aleaf-gray); }
.aleaf-footer__list a:hover, .aleaf-footer__col ul a:hover { color: var(--aleaf-primary); }
.aleaf-footer__badges li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--aleaf-gray); margin-bottom: 12px; }
.aleaf-footer__badges .aleaf-icon { color: var(--aleaf-primary); }
.aleaf-social { display: flex; gap: 14px; margin-top: 12px; }
.aleaf-social a { font-size: 12.5px; font-weight: 700; color: var(--aleaf-primary); }
.aleaf-legal-notice { background: var(--aleaf-gray-light); border-top: 1px solid var(--aleaf-border); padding: 22px 0; }
.aleaf-legal-notice__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.aleaf-legal-notice__text p { margin: 0 0 4px; font-size: 12px; line-height: 1.6; color: var(--aleaf-gray); }
.aleaf-legal-notice__text p strong { color: var(--aleaf-dark); font-size: 12.5px; }
.aleaf-legal-notice__badge { flex-shrink: 0; }
.aleaf-legal-notice__badge img { max-height: 50px; width: auto; }

.aleaf-footer__bottom { border-top: 1px solid var(--aleaf-border); padding: 18px 0; }
.aleaf-footer__bottom-inner { text-align: center; font-size: 12.5px; color: var(--aleaf-gray); }

/* ==========================================================================
   Generic pages / blog
   ========================================================================== */
.aleaf-page { padding: 44px 0; }
.aleaf-page__title { font-size: 26px; margin-bottom: 24px; }
.aleaf-blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.aleaf-blog-card__thumb { display: block; aspect-ratio: 16/10; border-radius: var(--aleaf-radius); overflow: hidden; background: var(--aleaf-gray-light); margin-bottom: 12px; }
.aleaf-blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.aleaf-blog-card__date { font-size: 12px; color: var(--aleaf-gray); }
.aleaf-blog-card__title { font-size: 16px; margin: 6px 0; }
.aleaf-blog-card__excerpt { font-size: 13.5px; color: var(--aleaf-gray); }
.aleaf-pagination { margin-top: 30px; display: flex; gap: 8px; justify-content: center; }
.aleaf-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border: 1px solid var(--aleaf-border); border-radius: 8px; }
.aleaf-pagination .page-numbers.current { background: var(--aleaf-primary); color: #fff; border-color: var(--aleaf-primary); }

.aleaf-single__header h1 { font-size: 28px; }
.aleaf-single__date { color: var(--aleaf-gray); font-size: 13px; }
.aleaf-single__thumb { margin: 20px 0; border-radius: var(--aleaf-radius); overflow: hidden; }
.aleaf-single__content { max-width: 760px; font-size: 15.5px; }
.aleaf-single__content img { border-radius: var(--aleaf-radius); }

/* ==========================================================================
   WooCommerce — generic theming of the default markup
   ========================================================================== */
.aleaf-shop-wrap { padding: 30px 0 60px; }
.aleaf-breadcrumb { padding: 16px 0; font-size: 13px; color: var(--aleaf-gray); }
.aleaf-breadcrumb a { color: var(--aleaf-gray); }
.aleaf-breadcrumb a:hover { color: var(--aleaf-primary); }

.aleaf-shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.aleaf-shop-sidebar .widget { margin-bottom: 30px; }
.aleaf-shop-sidebar .widget-title { font-size: 14.5px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--aleaf-border); }
.aleaf-shop-sidebar ul li { margin-bottom: 10px; font-size: 13.5px; }
.aleaf-shop-sidebar .price_slider_wrapper .ui-slider { background: var(--aleaf-border); }
.aleaf-shop-sidebar .price_slider_wrapper .ui-slider .ui-slider-range { background: var(--aleaf-primary); }

.woocommerce-result-count, .woocommerce-ordering { font-size: 13.5px; color: var(--aleaf-gray); }
.woocommerce-ordering select { border: 1px solid var(--aleaf-border); border-radius: 8px; padding: 8px 12px; }
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info {
	list-style: none; padding: 14px 18px; border-radius: 8px; background: var(--aleaf-cream);
	border-left: 4px solid var(--aleaf-primary); margin-bottom: 20px; font-size: 13.5px;
}
.woocommerce-error { border-color: var(--aleaf-red); }

ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 24px 0 0; padding: 0; }
ul.products li.product { list-style: none; }

/* Single product page */
body.single-product div.product:not(.aleaf-product-card) {
	display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding: 30px 0;
}
body.single-product div.product:not(.aleaf-product-card) .woocommerce-product-gallery { border-radius: var(--aleaf-radius); overflow: hidden; }
body.single-product div.product:not(.aleaf-product-card) .summary { padding-top: 4px; }
body.single-product div.product:not(.aleaf-product-card) .product_title { font-size: 26px; margin-bottom: 10px; }
body.single-product div.product:not(.aleaf-product-card) p.price, body.single-product div.product:not(.aleaf-product-card) span.price { font-size: 22px; font-weight: 800; color: var(--aleaf-red); }
body.single-product div.product:not(.aleaf-product-card) .woocommerce-product-details__short-description { margin: 16px 0; color: var(--aleaf-gray); font-size: 14px; }
body.single-product div.product:not(.aleaf-product-card) form.cart { display: flex; align-items: center; gap: 14px; margin: 22px 0; }
body.single-product div.product:not(.aleaf-product-card) .quantity input.qty {
	width: 70px; padding: 12px; border: 1px solid var(--aleaf-border); border-radius: 999px; text-align: center;
}
.woocommerce-tabs { grid-column: 1 / -1; margin-top: 20px; border-top: 1px solid var(--aleaf-border); padding-top: 20px; }
.woocommerce-tabs ul.tabs { display: flex; gap: 26px; margin-bottom: 20px; }
.woocommerce-tabs ul.tabs li { font-weight: 700; padding-bottom: 10px; cursor: pointer; color: var(--aleaf-gray); }
.woocommerce-tabs ul.tabs li.active { color: var(--aleaf-dark); border-bottom: 2px solid var(--aleaf-primary); }
.related.products { grid-column: 1 / -1; margin-top: 20px; }
.related.products > h2 { font-size: 20px; }

/* Cart page */
table.shop_table { width: 100%; border-collapse: collapse; margin: 20px 0; }
table.shop_table th, table.shop_table td { padding: 14px 10px; border-bottom: 1px solid var(--aleaf-border); text-align: left; font-size: 13.5px; }
table.shop_table td.product-remove a { color: var(--aleaf-red); font-weight: 800; }
.cart_totals { max-width: 380px; margin-left: auto; background: var(--aleaf-cream); padding: 20px; border-radius: var(--aleaf-radius); }
.cart_totals table { width: 100%; }
.cart_totals .order-total .amount { color: var(--aleaf-red); font-weight: 800; font-size: 18px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; text-align: center; display: block; }

/* Checkout / my account forms */
.form-row { margin-bottom: 16px; }
.form-row label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea {
	width: 100%; padding: 12px 14px; border: 1px solid var(--aleaf-border); border-radius: 8px; font-size: 14px;
}
#customer_details, #order_review_heading { max-width: 100%; }
.woocommerce-checkout-review-order-table { background: var(--aleaf-cream); border-radius: var(--aleaf-radius); padding: 20px; }
.woocommerce-billing-fields, .woocommerce-account .woocommerce-MyAccount-content { max-width: 700px; }
.woocommerce-MyAccount-navigation ul li { margin-bottom: 8px; }
.woocommerce-MyAccount-navigation ul li a { display: block; padding: 10px 14px; border-radius: 8px; }
.woocommerce-MyAccount-navigation ul li.is-active a { background: var(--aleaf-primary); color: #fff; }

/* Star rating */
.star-rating { color: var(--aleaf-accent); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
	.aleaf-categories__grid, ul.products, .aleaf-trust__grid, .aleaf-rewards__grid { grid-template-columns: repeat(2, 1fr); }
	.aleaf-blog-grid { grid-template-columns: repeat(2, 1fr); }
	.aleaf-shop-layout { grid-template-columns: 1fr; }
	.aleaf-shop-sidebar { order: 2; }
	body.single-product div.product:not(.aleaf-product-card) { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
	.aleaf-topbar { display: none; }
	.aleaf-primary-nav, .aleaf-search { display: none; }
	.aleaf-mobile-toggle, .aleaf-search-toggle { display: flex; align-items: center; justify-content: center; }
	.aleaf-mobile-search { display: block; padding: 12px 20px; border-top: 1px solid var(--aleaf-border); }
	.aleaf-mobile-search form { display: flex; background: var(--aleaf-gray-light); border-radius: 999px; padding: 6px 6px 6px 16px; }
	.aleaf-mobile-search input { flex: 1; border: none; background: transparent; outline: none; }
	.aleaf-mobile-search button { border: none; background: var(--aleaf-dark); color: #fff; width: 32px; height: 32px; border-radius: 50%; }
	.aleaf-hero__title { font-size: 34px; }
	.aleaf-hero__track { height: 440px; }
	.aleaf-hero__content { max-width: 90%; padding: 0 10px; }
}

@media (max-width: 640px) {
	ul.products, .aleaf-categories__grid, .aleaf-trust__grid, .aleaf-rewards__grid, .aleaf-blog-grid, .aleaf-footer__grid {
		grid-template-columns: repeat(1, 1fr) !important;
	}
	.aleaf-footer__grid { gap: 26px; }
	.aleaf-newsletter__inner { flex-direction: column; align-items: flex-start; }
	.aleaf-newsletter__form { width: 100%; }
	.aleaf-newsletter__form input { flex: 1; width: auto; }
	.aleaf-hero__title { font-size: 26px; }
	.aleaf-hero__track { height: 380px; }
	body.single-product div.product:not(.aleaf-product-card) form.cart { flex-wrap: wrap; }
}
