/*
Theme Name: The Hunnie House
Theme URI: https://hunniehouse.com
Description: Interim brand theme for The Hunnie House (child of Twenty Twenty-Five). Black, honey gold and cream, built around the shop's bee logo.
Author: The Hunnie House
Template: twentytwentyfive
Version: 1.4.0
Requires at least: 6.7
Text Domain: hunniehouse
*/

/* ---------- honey drips (glossy vector art, tiles seamlessly; droplets fall in a slow loop) ----------
   The drips live on their own zero-height strips placed BETWEEN sections on the homepage:
     .hh-drip-strip--top     under the header, hanging into the black hero
     .hh-drip-strip--bottom  under the hero, hanging over the products section
     .hh-drip-strip--gold    under the gold "Shop Small" section, hanging over the black custom-orders section
   They don't use any section's ::before/::after, so they never collide with custom CSS on those sections
   (e.g. the hero's star field). Layering: strips sit at z-index 1 and come BEFORE the section they hang
   over, so that section's own content (also z-index 1, later in the page) paints on top of the honey.   */
.hh-drip-strip { position: relative; height: 0; margin: 0 !important; z-index: 1; pointer-events: none; }
.hh-drip-strip::before { content: ""; position: absolute; left: 0; right: 0; top: 0; pointer-events: none; background-repeat: repeat-x; }
.hh-drip-strip--top::before    { height: 200px; background-image: url("assets/images/honey-drip-top.svg");    background-size: 1000px 200px; }
.hh-drip-strip--bottom::before { height: 228px; background-image: url("assets/images/honey-drip-bottom.svg"); background-size: 1000px 228px; }
.hh-drip-strip--gold::before   { top: -4px; height: 226px; background-image: url("assets/images/honey-drip-gold.svg"); background-size: 1000px 226px; background-position: 300px 0; }
/* room for the honey above each section's content */
.hh-drip { padding-top: calc(var(--wp--preset--spacing--60, 3rem) + 70px) !important; }
.hh-drip-strip--bottom + * { padding-top: calc(var(--wp--preset--spacing--60, 3rem) + 110px) !important; }
.hh-drip-strip--bottom + * > * { position: relative; z-index: 2; }               /* products section text above the honey */
.hh-drip-strip--gold + * { padding-top: calc(var(--wp--preset--spacing--70, 4rem) + 90px) !important; }
@media (prefers-reduced-motion: reduce) {                                       /* same art, no falling droplets */
	.hh-drip-strip--top::before    { background-image: url("assets/images/honey-drip-top-still.svg"); }
	.hh-drip-strip--bottom::before { background-image: url("assets/images/honey-drip-bottom-still.svg"); }
	.hh-drip-strip--gold::before   { background-image: url("assets/images/honey-drip-gold-still.svg"); }
	.woocommerce ul.products li.product, .wc-block-grid__product, .woocommerce ul.products li.product img, .wc-block-grid__product img { transition: none !important; }
}

/* ---------- honeycomb texture on gold sections ---------- */
.hh-honeycomb {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='98' viewBox='0 0 56 98'%3E%3Cpath fill='none' stroke='%23D98E04' stroke-opacity='.28' stroke-width='2' d='M28 66L0 50V16L28 0l28 16v34L28 66zm0 32V66m28-16l28 16M0 50L-28 66'/%3E%3C/svg%3E");
	background-size: 56px 98px;
}

/* ---------- hero glow behind the logo ---------- */
.hh-hero { background-image: radial-gradient(circle at 30% 45%, rgba(245, 176, 0, .28), rgba(14, 11, 7, 0) 55%); }
.hh-hero-logo img { filter: drop-shadow(0 18px 40px rgba(245, 176, 0, .25)); }

/* ---------- header ---------- */
.hh-header { position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 0 var(--wp--preset--color--honey); }
.hh-header .wp-block-navigation a { font-family: var(--wp--preset--font-family--display); letter-spacing: .02em; }
.hh-header .wp-block-navigation a:hover { color: var(--wp--preset--color--honey) !important; }

/* ---------- buttons: a little bounce ---------- */
.wp-element-button, .wp-block-button__link { transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.wp-element-button:hover, .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(217, 142, 4, .35); }

/* ---------- product cards ---------- */
.woocommerce ul.products li.product, .wc-block-grid__product {
	background: #fff; border: 3px solid var(--wp--preset--color--honey); border-radius: 22px; padding: 14px !important; text-align: center;
}
.woocommerce ul.products li.product .price { color: var(--wp--preset--color--amber) !important; font-weight: 800; }

/* product cards: lift with a warm gold glow on hover */
.woocommerce ul.products li.product, .wc-block-grid__product { transition: transform .22s ease, box-shadow .22s ease; overflow: hidden; }
.woocommerce ul.products li.product img, .wc-block-grid__product img { transition: transform .35s ease, filter .35s ease; border-radius: 14px; }
.woocommerce ul.products li.product:hover, .wc-block-grid__product:hover {
	transform: translateY(-6px);
	box-shadow: 0 0 0 2px var(--wp--preset--color--honey), 0 14px 30px rgba(217, 135, 0, .38), 0 0 34px rgba(255, 200, 60, .45);
}
.woocommerce ul.products li.product:hover img, .wc-block-grid__product:hover img { transform: scale(1.04); filter: saturate(1.08) brightness(1.03); }

/* no cream gaps between full-width sections, header and footer */
.wp-site-blocks > * { margin-block-start: 0 !important; }
main > section + section { margin-block-start: 0 !important; }

/* script accent text */
.hh-script { font-family: var(--wp--preset--font-family--script) !important; font-weight: 400 !important; }

@media (max-width: 781px) {
	.hh-hero .wp-block-columns { text-align: center; }
	.hh-hero .wp-block-buttons { justify-content: center; }
	.hh-drip { padding-top: calc(var(--wp--preset--spacing--50, 2rem) + 46px) !important; }
	.hh-drip-strip--top::before    { height: 120px; background-size: 600px 120px; }
	.hh-drip-strip--bottom::before { height: 137px; background-size: 600px 137px; }
	.hh-drip-strip--gold::before   { height: 136px; background-size: 600px 136px; background-position: 180px 0; }
	.hh-drip-strip--bottom + * { padding-top: calc(var(--wp--preset--spacing--50, 2rem) + 70px) !important; }
	.hh-drip-strip--gold + * { padding-top: calc(var(--wp--preset--spacing--60, 3rem) + 60px) !important; }
	.has-text-align-right { text-align: center !important; }
}
@media (max-width: 600px) {
	/* keep logo, title, menu and cart on one row */
	.hh-header > .wp-block-group { flex-wrap: nowrap !important; gap: .5rem; }
	.hh-header .wp-block-site-logo img { width: 46px !important; }
	.hh-header .wp-block-site-title { font-size: 1.15rem !important; white-space: nowrap; }
	.hh-header .wp-block-navigation__responsive-container-open, .hh-header .wc-block-mini-cart__button { padding: 4px; }
}
