/* All Kleen — component styles on top of theme.json */
:root { --ak-r: 14px; }

/* Header */
.ak-topbar { font-size: 13px; }
.ak-topbar a { color: inherit; font-weight: 600; }
.ak-header { position: sticky; top: 0; z-index: 50; }
.ak-header .wp-block-search__inside-wrapper { border: 1.5px solid var(--wp--preset--color--line); border-radius: 999px; background: var(--wp--preset--color--surface); padding: 3px; }
.ak-header .wp-block-search__input { border: 0; background: transparent; padding: 0.55rem 1rem; font-size: 15px; }
.ak-header .wp-block-search__button { border-radius: 999px; margin: 0; padding: 0.5rem 1.25rem; }
.ak-header .ak-search { flex: 1 1 380px; max-width: 640px; }
.ak-catnav .wp-block-navigation__container { gap: 1.6rem; }
.ak-catnav a { color: var(--wp--preset--color--muted); }
.ak-catnav a:hover { color: var(--wp--preset--color--primary); }
.wp-block-site-logo img { border-radius: 50%; }

/* Hero */
.ak-hero .ak-eyebrow { display: inline-block; background: rgba(155,211,106,.18); color: var(--wp--preset--color--accent); font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.ak-hero p.ak-lede { color: #cfe5d6; font-size: 1.125rem; max-width: 34rem; }
.ak-hero .is-style-outline .wp-block-button__link { border: 1.5px solid rgba(255,255,255,.4); color: #fff; background: transparent; }
.ak-hero .ak-btn-lime .wp-block-button__link { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--primary-dark); }
.ak-collage { max-width: 440px; margin-left: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ak-collage img { box-sizing: border-box; background: #fff; border-radius: var(--ak-r); aspect-ratio: 1; object-fit: contain; padding: 14px; width: 100%; }
.ak-collage img:nth-child(even) { transform: translateY(24px); }

/* Trust strip */
.ak-trust .ak-ico { width: 38px; height: 38px; flex: none; border-radius: 10px; background: var(--wp--preset--color--primary-light); display: grid; place-items: center; font-size: 18px; margin: 0; }
.ak-trust p { margin: 0; line-height: 1.3; }
.ak-trust small { color: var(--wp--preset--color--muted); font-size: 13px; }

/* Category grid */
.ak-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.ak-cat { background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: var(--ak-r); padding: 16px; display: flex; flex-direction: column; text-decoration: none; color: var(--wp--preset--color--contrast); transition: transform .2s, border-color .2s, box-shadow .2s; }
.ak-cat:hover { border-color: var(--wp--preset--color--primary); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,61,36,.08); color: var(--wp--preset--color--contrast); }
.ak-cat__img { aspect-ratio: 4/3; border-radius: 10px; background: var(--wp--preset--color--surface); overflow: hidden; margin-bottom: 12px; display: grid; place-items: center; }
.ak-cat__img img { width: 100%; height: 100%; object-fit: contain; }
.ak-cat__name { font-weight: 600; }
.ak-cat__count { font-size: 13px; color: var(--wp--preset--color--muted); margin-top: 2px; }

/* Product cards (classic loop) */
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; }
.woocommerce ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none !important; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; box-sizing: border-box; background: #fff; border: 1px solid var(--wp--preset--color--line); border-radius: var(--ak-r); padding: 14px !important; display: flex; flex-direction: column; text-align: left; }
.woocommerce ul.products li.product > a:first-child { display: flex; flex-direction: column; flex: 1; text-decoration: none; }
.woocommerce ul.products li.product a img { box-sizing: border-box; width: 100%; height: auto; background: var(--wp--preset--color--surface); border-radius: 10px; aspect-ratio: 1; object-fit: contain; padding: 8%; margin: 0 0 12px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 15px !important; font-weight: 600; line-height: 1.35; color: var(--wp--preset--color--contrast); padding: 0 !important; margin: 0 0 10px; flex: 1; }
.woocommerce ul.products li.product .price { display: block; font-size: 19px !important; font-weight: 700; color: var(--wp--preset--color--contrast) !important; margin: 0 0 12px !important; }
.woocommerce ul.products li.product .button { display: inline-block; align-self: flex-start; background: var(--wp--preset--color--primary-light) !important; color: var(--wp--preset--color--primary-dark) !important; border-radius: 999px !important; font-size: 13px; font-weight: 600; padding: 9px 16px !important; margin: 0 !important; }
.woocommerce ul.products li.product .button:hover { background: var(--wp--preset--color--primary) !important; color: #fff !important; }
.woocommerce ul.products li.product .added_to_cart { font-size: 13px; margin-top: 8px; }
.woocommerce .woocommerce-ordering select { border: 1px solid var(--wp--preset--color--line); border-radius: 999px; padding: 8px 14px; background: #fff; }

/* Who we supply */
.ak-who .wp-block-column { background: var(--wp--preset--color--surface); border-radius: var(--ak-r); padding: 24px; }
.ak-who .ak-emoji { font-size: 28px; margin: 0; }
.ak-who p { color: var(--wp--preset--color--muted); font-size: 14px; }

/* Footer */
.ak-footer a { color: #b9d3c2; text-decoration: none; }
.ak-footer a:hover { color: #fff; }
.ak-footer h4 { color: #fff; font-size: 14px; }

/* Responsive */
@media (max-width: 960px) {
	.woocommerce ul.products, .woocommerce ul.products.columns-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.ak-cats { grid-template-columns: repeat(3, 1fr); }
	.ak-collage { display: none; }
}
@media (max-width: 600px) {
	.woocommerce ul.products { gap: 12px; }
	.woocommerce ul.products li.product { padding: 10px !important; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 14px !important; }
	.ak-cats { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.ak-header .ak-search { order: 3; flex-basis: 100%; max-width: none; }
	.ak-header .ak-account-label { display: none; }
}

/* Returning-visitor cart reminder */
.ak-cartbar { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 100; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; max-width: calc(100% - 32px); background: var(--wp--preset--color--primary-dark); color: #fff; padding: 12px 14px 12px 20px; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.2); font-size: 14px; }
.ak-cartbar[hidden] { display: none; }
.ak-cartbar__btn { background: var(--wp--preset--color--accent); color: var(--wp--preset--color--primary-dark); font-weight: 700; padding: 8px 16px; border-radius: 999px; text-decoration: none; }
.ak-cartbar__link { color: #cfe5d6; }
.ak-cartbar__close { background: none; border: 0; color: #cfe5d6; font-size: 22px; line-height: 1; cursor: pointer; padding: 0 4px; }

/* Cross-sells & related */
.cross-sells h2, .related.products h2, .wp-block-woocommerce-related-products h2 { font-size: var(--wp--preset--font-size--x-large); margin: 2rem 0 1rem; }
