/* House of Appy design layer — brand: ink, white, sky blue #3AADE2 (logo). */

:root {
	--appy-ink: #0f1419;
	--appy-ink-2: #1b232b;
	--appy-muted: #5b6672;
	--appy-sky: #3aade2;
	--appy-sky-deep: #1c7fb3;
	--appy-sky-soft: #eaf6fc;
	--appy-cream: #fbf9f6;
	--appy-sand: #f2ede6;
	--appy-line: rgba(15, 20, 25, 0.1);
	--appy-white: #fff;
	--appy-serif: 'Appy Serif', 'DM Serif Display', Georgia, serif;
	--appy-sans: 'Appy Sans', 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--appy-radius: 22px;
	--appy-radius-lg: 34px;
	--appy-shadow: 0 18px 50px -20px rgba(15, 20, 25, 0.28);
	--appy-shadow-soft: 0 8px 30px -12px rgba(15, 20, 25, 0.18);
	--appy-wrap: min(1240px, calc(100% - 40px));
	--appy-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
body.appy-design {
	background: var(--appy-cream);
	color: var(--appy-ink-2);
	font-family: var(--appy-sans);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.appy-design h1, .appy-design h2, .appy-design h3,
.appy-design .wp-block-post-title, .appy-design .hostinger-ai-page-title {
	font-family: var(--appy-serif);
	font-weight: 400;
	letter-spacing: -0.01em;
	color: var(--appy-ink);
}
.appy-design a { color: inherit; text-underline-offset: 3px; }
.appy-design ::selection { background: var(--appy-sky); color: var(--appy-ink); }
.appy-design :focus-visible { outline: 2px solid var(--appy-sky-deep); outline-offset: 3px; border-radius: 6px; }
.appy-design img { max-width: 100%; height: auto; }
.appy-design main { overflow-x: clip; }

.appy-wrap { width: var(--appy-wrap); margin-inline: auto; }
.appy-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font: 600 12px/1 var(--appy-sans); letter-spacing: 0.18em; text-transform: uppercase;
	color: var(--appy-sky-deep);
}
.appy-eyebrow::before { content: ""; width: 26px; height: 1.5px; background: currentColor; }
.appy-section { padding-block: clamp(64px, 9vw, 120px); }
.appy-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 4vw, 48px); flex-wrap: wrap; }
.appy-section-head h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; margin: 12px 0 0; max-width: 14ch; }
.appy-section-head p { max-width: 42ch; color: var(--appy-muted); margin: 0; font-size: 17px; line-height: 1.6; }
.appy-accent { color: var(--appy-sky-deep); font-style: italic; }

/* ---------- Buttons ---------- */
.appy-btn, .appy-design .wp-element-button, .appy-design .wp-block-button__link,
.appy-design .woocommerce a.button, .appy-design .woocommerce button.button,
.appy-design .woocommerce .button, .appy-design .wc-block-components-button:not(.is-link) {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	padding: 15px 28px; border-radius: 999px; border: 1.5px solid var(--appy-ink);
	background: var(--appy-ink); color: var(--appy-white);
	font: 600 15px/1 var(--appy-sans); letter-spacing: 0.01em; text-decoration: none;
	transition: transform 0.35s var(--appy-ease), background 0.25s, color 0.25s, box-shadow 0.35s var(--appy-ease);
	cursor: pointer;
}
.appy-btn:hover, .appy-design .wp-element-button:hover, .appy-design .wp-block-button__link:hover,
.appy-design .woocommerce a.button:hover, .appy-design .woocommerce button.button:hover,
.appy-design .wc-block-components-button:not(.is-link):hover {
	background: var(--appy-sky); border-color: var(--appy-sky); color: var(--appy-ink);
	transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(28, 127, 179, 0.7);
}
.appy-btn--ghost { background: transparent; color: var(--appy-ink); }
.appy-btn--ghost:hover { background: var(--appy-ink); color: var(--appy-white); border-color: var(--appy-ink); }
.appy-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform 0.35s var(--appy-ease); }
.appy-btn:hover svg { transform: translateX(4px); }

/* ---------- Announcement bar + header ---------- */
.appy-announce {
	background: var(--appy-ink); color: #dbeef8; overflow: hidden; white-space: nowrap;
	font: 500 13px/1 var(--appy-sans); letter-spacing: 0.04em;
}
.appy-announce__track { display: inline-flex; gap: 48px; padding: 11px 0; animation: appy-marquee 38s linear infinite; }
.appy-announce__track span { display: inline-flex; align-items: center; gap: 10px; }
.appy-announce__track span::before { content: "✦"; color: var(--appy-sky); font-size: 11px; }
@keyframes appy-marquee { to { transform: translateX(-50%); } }

.appy-design .site-header { position: sticky; top: 0; z-index: 50; }
.admin-bar.appy-design .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.appy-design .site-header { top: 0; } }
.appy-header {
	background: rgba(251, 249, 246, 0.82);
	backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px);
	border-bottom: 1px solid transparent;
	transition: box-shadow 0.4s var(--appy-ease), border-color 0.4s;
}
.appy-scrolled .appy-header { border-color: var(--appy-line); box-shadow: 0 10px 30px -22px rgba(15, 20, 25, 0.45); }
.appy-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; transition: padding 0.4s var(--appy-ease); }
.appy-scrolled .appy-header__inner { padding-block: 8px; }
.appy-header .wp-block-site-logo img { width: 58px !important; height: auto; transition: width 0.4s var(--appy-ease); }
.appy-scrolled .appy-header .wp-block-site-logo img { width: 46px !important; }
.appy-brand { display: flex; align-items: center; gap: 12px; }
.appy-brand .wp-block-site-title { font: 400 24px/1 var(--appy-serif); margin: 0; letter-spacing: 0; }
.appy-brand .wp-block-site-title a { text-decoration: none; color: var(--appy-ink); }
.appy-header__tools { display: flex; align-items: center; gap: 8px; }
.appy-header .wp-block-navigation { font: 500 15px/1 var(--appy-sans); gap: 6px; }
.appy-header .wp-block-navigation-item__content { padding: 10px 12px; border-radius: 999px; transition: background 0.25s, color 0.25s; text-decoration: none; }
.appy-header .wp-block-navigation-item:hover > .wp-block-navigation-item__content { background: var(--appy-sky-soft); color: var(--appy-sky-deep); }
.appy-header .wp-block-navigation__submenu-container {
	border: 1px solid var(--appy-line) !important; border-radius: 18px; padding: 10px !important;
	background: var(--appy-white) !important; box-shadow: var(--appy-shadow); min-width: 230px !important;
}
.appy-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 11px 14px; border-radius: 12px; font-weight: 500; }
.appy-header .wp-block-navigation .wp-block-navigation__submenu-icon { margin-left: 2px; }
.appy-header .wc-block-mini-cart__button, .appy-header .wc-block-customer-account a {
	width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; padding: 0;
	transition: background 0.25s;
}
.appy-header .wc-block-mini-cart__button:hover, .appy-header .wc-block-customer-account a:hover { background: var(--appy-sky-soft); }
.appy-header .wc-block-mini-cart__badge { background: var(--appy-sky); color: var(--appy-ink); font-weight: 700; }
.appy-design .wp-block-navigation__responsive-container.is-menu-open { background: var(--appy-cream) !important; padding: 28px; }
.appy-design .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font: 400 26px/1.2 var(--appy-serif); }
.appy-design .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font: 500 16px/1.4 var(--appy-sans); color: var(--appy-muted); }

/* ---------- Hero ---------- */
.appy-hero { position: relative; padding: clamp(36px, 6vw, 80px) 0 clamp(60px, 8vw, 110px); isolation: isolate; }
.appy-hero::before {
	content: ""; position: absolute; inset: -10% -20% auto auto; width: 60vw; height: 60vw; max-width: 820px; max-height: 820px; z-index: -1;
	background: radial-gradient(circle at 40% 40%, rgba(58, 173, 226, 0.22), rgba(58, 173, 226, 0) 62%);
}
.appy-hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.appy-hero h1 { font-size: clamp(46px, 6.6vw, 92px); line-height: 0.98; margin: 18px 0 22px; }
.appy-hero__lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.65; color: var(--appy-muted); max-width: 46ch; margin: 0 0 32px; }
.appy-hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.appy-hero__proof { display: flex; gap: 28px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--appy-line); flex-wrap: wrap; }
.appy-hero__proof div { display: grid; gap: 4px; }
.appy-hero__proof strong { font: 400 28px/1 var(--appy-serif); color: var(--appy-ink); }
.appy-hero__proof span { font-size: 13px; color: var(--appy-muted); }
.appy-hero__media { position: relative; }
.appy-hero__frame {
	position: relative; border-radius: 260px 260px var(--appy-radius-lg) var(--appy-radius-lg); overflow: hidden;
	aspect-ratio: 4 / 4.6; box-shadow: var(--appy-shadow); background: var(--appy-sand);
}
.appy-hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform: scale(1.04); transition: transform 1.6s var(--appy-ease); }
.appy-hero__media:hover .appy-hero__frame img { transform: scale(1.08); }

/* Floating glass cards */
.appy-float {
	position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px;
	padding: 13px 18px 13px 13px; border-radius: 18px;
	background: rgba(255, 255, 255, 0.78); border: 1px solid rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	box-shadow: var(--appy-shadow-soft); animation: appy-float 6s ease-in-out infinite;
	font-size: 13px; line-height: 1.3; color: var(--appy-muted); max-width: 240px;
}
.appy-float strong { display: block; color: var(--appy-ink); font-size: 14px; }
.appy-float__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--appy-sky-soft); color: var(--appy-sky-deep); }
.appy-float__icon svg { width: 21px; height: 21px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.appy-float--a { left: -34px; top: 22%; }
.appy-float--b { right: -26px; bottom: 16%; animation-delay: -3s; }
@keyframes appy-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.appy-badge {
	position: absolute; right: 6%; top: -26px; z-index: 3; width: 118px; height: 118px; border-radius: 50%;
	background: var(--appy-sky); display: grid; place-items: center; box-shadow: var(--appy-shadow-soft);
}
.appy-badge svg.appy-badge__ring { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); animation: appy-spin 18s linear infinite; }
.appy-badge text { font: 700 10.5px var(--appy-sans); letter-spacing: 0.2em; fill: var(--appy-ink); text-transform: uppercase; }
.appy-badge__paw { width: 34px; height: 34px; fill: var(--appy-ink); }
@keyframes appy-spin { to { transform: rotate(360deg); } }

/* ---------- Ribbon (sky marquee) ---------- */
.appy-ribbon { background: var(--appy-sky); color: var(--appy-ink); overflow: hidden; white-space: nowrap; transform: rotate(-1.2deg); margin: 0 -2vw; box-shadow: 0 10px 30px -18px rgba(28, 127, 179, 0.9); }
.appy-ribbon__track { display: inline-flex; gap: 46px; padding: 18px 0; animation: appy-marquee 30s linear infinite; font: 400 clamp(20px, 2.2vw, 28px)/1 var(--appy-serif); }
.appy-ribbon__track span { display: inline-flex; align-items: center; gap: 46px; }
.appy-ribbon__track span::after { content: "✦"; font-size: 0.6em; }

/* ---------- Bento categories ---------- */
.appy-bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 150px; gap: 16px; }
.appy-tile {
	position: relative; overflow: hidden; border-radius: var(--appy-radius); background: var(--appy-sand);
	display: block; color: var(--appy-white) !important; text-decoration: none; isolation: isolate;
	box-shadow: var(--appy-shadow-soft); transition: transform 0.6s var(--appy-ease), box-shadow 0.6s var(--appy-ease);
}
.appy-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--appy-ease); }
.appy-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 20, 25, 0) 40%, rgba(15, 20, 25, 0.72) 100%); }
.appy-tile:hover { transform: translateY(-6px); box-shadow: var(--appy-shadow); }
.appy-tile:hover img { transform: scale(1.07); }
.appy-tile__body { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.appy-tile__body h3 { color: var(--appy-white) !important; font-size: clamp(24px, 2.4vw, 34px); line-height: 1; margin: 0 0 6px; }
.appy-tile__body p { margin: 0; font-size: 14px; opacity: 0.88; }
.appy-tile__arrow { flex: none; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--appy-ink); display: grid; place-items: center; transition: background 0.3s, transform 0.5s var(--appy-ease); }
.appy-tile__arrow svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.appy-tile:hover .appy-tile__arrow { background: var(--appy-sky); transform: rotate(-45deg); }
.appy-tile--a { grid-column: span 5; grid-row: span 4; }
.appy-tile--b { grid-column: span 4; grid-row: span 2; }
.appy-tile--c { grid-column: span 3; grid-row: span 2; }
.appy-tile--d { grid-column: span 3; grid-row: span 2; }
.appy-tile--e { grid-column: span 4; grid-row: span 2; }

/* ---------- Style chips (Collection) ---------- */
.appy-styles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.appy-style {
	position: relative; padding: 28px 24px 24px; border-radius: var(--appy-radius); background: var(--appy-white);
	border: 1px solid var(--appy-line); text-decoration: none; overflow: hidden;
	transition: transform 0.5s var(--appy-ease), border-color 0.3s, box-shadow 0.5s var(--appy-ease);
}
.appy-style:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--appy-shadow-soft); }
.appy-style__num { font: 400 15px/1 var(--appy-serif); color: var(--appy-sky-deep); }
.appy-style h3 { font-size: 30px; margin: 36px 0 8px; }
.appy-style p { margin: 0; color: var(--appy-muted); font-size: 14.5px; line-height: 1.55; }
.appy-style::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--appy-sky-soft); transition: transform 0.6s var(--appy-ease); z-index: 0; }
.appy-style:hover::after { transform: scale(1.5); }
.appy-style > * { position: relative; z-index: 1; }

/* ---------- Products (shortcode + blocks) ---------- */
.appy-design ul.products { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; margin: 0 !important; padding: 0; }
.appy-design ul.products::before, .appy-design ul.products::after { display: none !important; }
.appy-design ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; padding: 0; text-align: left; position: relative; }
.appy-design ul.products li.product a img,
.appy-design .wc-block-components-product-image img,
.appy-design .wc-block-grid__product-image img {
	border-radius: var(--appy-radius); aspect-ratio: 4 / 5; object-fit: cover; background: var(--appy-sand);
	margin: 0 0 14px !important; transition: transform 0.9s var(--appy-ease), box-shadow 0.6s var(--appy-ease);
}
.appy-design ul.products li.product:hover a img,
.appy-design .wc-block-product:hover .wc-block-components-product-image img { transform: translateY(-4px); box-shadow: var(--appy-shadow); }
.appy-design ul.products li.product .woocommerce-loop-product__title,
.appy-design .wc-block-components-product-title, .appy-design .wp-block-post-title a {
	font: 500 15.5px/1.4 var(--appy-sans) !important; color: var(--appy-ink); padding: 0 !important; margin: 0 0 6px !important; text-decoration: none;
}
.appy-design ul.products li.product .price, .appy-design .wc-block-components-product-price,
.appy-design .wp-block-woocommerce-product-price { font: 400 20px/1 var(--appy-serif) !important; color: var(--appy-ink) !important; }
.appy-design ul.products li.product .button { margin-top: 14px; padding: 12px 18px; font-size: 14px; background: transparent; color: var(--appy-ink); }
.appy-design ul.products li.product .button:hover { background: var(--appy-ink); color: var(--appy-white); border-color: var(--appy-ink); }
.appy-design .onsale { display: none !important; } /* No crossed-out prices in this shop. */
.appy-empty-note { padding: 40px; border-radius: var(--appy-radius); background: var(--appy-white); border: 1px dashed rgba(28, 127, 179, 0.4); text-align: center; color: var(--appy-muted); }

/* Single product */
.appy-design.single-product .woocommerce-product-gallery img,
.appy-design .wc-block-product-gallery img,
.appy-design .wp-block-woocommerce-product-image-gallery img { border-radius: var(--appy-radius); }
.appy-design.single-product .product_title, .appy-design.single-product .wp-block-post-title { font-size: clamp(32px, 3.4vw, 46px); line-height: 1.08; }
.appy-design.single-product .price, .appy-design.single-product .wp-block-woocommerce-product-price { font: 400 30px/1 var(--appy-serif) !important; color: var(--appy-ink) !important; }
.appy-design .variations select, .appy-design .quantity input.qty, .appy-design .wc-block-components-text-input input, .appy-design select {
	border: 1px solid var(--appy-line); border-radius: 14px; padding: 12px 14px; background: var(--appy-white); font-family: var(--appy-sans);
}
.appy-design .woocommerce-tabs ul.tabs li, .appy-design .wc-tabs li { border-radius: 999px !important; border: 1px solid var(--appy-line) !important; background: var(--appy-white) !important; margin-right: 8px !important; }
.appy-design .woocommerce-tabs ul.tabs li.active { background: var(--appy-ink) !important; }
.appy-design .woocommerce-tabs ul.tabs li.active a { color: var(--appy-white) !important; }
.appy-design .woocommerce-tabs ul.tabs::before, .appy-design .woocommerce-tabs ul.tabs li::before, .appy-design .woocommerce-tabs ul.tabs li::after { display: none !important; }

/* Category thumbnails (shop page) */
.appy-design ul.products li.product-category a img { aspect-ratio: 1; }
.appy-design ul.products li.product-category h2 { font: 400 22px/1.1 var(--appy-serif) !important; }
.appy-design ul.products li.product-category mark { background: none; color: var(--appy-muted); font-size: 14px; }

/* ---------- Story ---------- */
.appy-story { background: var(--appy-ink); color: #cfd8df; border-radius: var(--appy-radius-lg); overflow: hidden; display: grid; grid-template-columns: 1fr 1.1fr; position: relative; }
.appy-story__img { min-height: 520px; position: relative; }
.appy-story__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.appy-story__text { padding: clamp(36px, 6vw, 80px); display: flex; flex-direction: column; justify-content: center; }
.appy-story__text h2 { color: var(--appy-white) !important; font-size: clamp(34px, 4vw, 52px); line-height: 1.05; margin: 16px 0 20px; }
.appy-story__text p { font-size: 17px; line-height: 1.7; margin: 0 0 16px; }
.appy-story .appy-eyebrow { color: var(--appy-sky); }
.appy-story .appy-btn { background: var(--appy-sky); border-color: var(--appy-sky); color: var(--appy-ink); align-self: flex-start; margin-top: 12px; }
.appy-story .appy-btn:hover { background: var(--appy-white); border-color: var(--appy-white); }
.appy-story__paw { position: absolute; right: 30px; top: 30px; width: 64px; opacity: 0.08; fill: var(--appy-white); }

/* ---------- Size guide steps ---------- */
.appy-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.appy-step { background: var(--appy-white); border-radius: var(--appy-radius); padding: 30px 26px; border: 1px solid var(--appy-line); position: relative; }
.appy-step::before { counter-increment: step; content: "0" counter(step); position: absolute; right: 24px; top: 20px; font: 400 54px/1 var(--appy-serif); color: var(--appy-sky-soft); }
.appy-step__icon { width: 54px; height: 54px; border-radius: 16px; background: var(--appy-sky-soft); color: var(--appy-sky-deep); display: grid; place-items: center; margin-bottom: 22px; }
.appy-step__icon svg { width: 26px; height: 26px; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.appy-step h3 { font-size: 24px; margin: 0 0 8px; }
.appy-step p { margin: 0; color: var(--appy-muted); line-height: 1.6; font-size: 15px; }

/* ---------- Features ---------- */
.appy-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--appy-line); border-radius: var(--appy-radius); background: var(--appy-white); overflow: hidden; }
.appy-feature { padding: 30px 26px; display: flex; gap: 16px; align-items: flex-start; }
.appy-feature + .appy-feature { border-left: 1px solid var(--appy-line); }
.appy-feature svg { flex: none; width: 30px; height: 30px; stroke: var(--appy-sky-deep); fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.appy-feature strong { display: block; font-size: 15.5px; color: var(--appy-ink); margin-bottom: 4px; }
.appy-feature span { font-size: 14px; color: var(--appy-muted); line-height: 1.5; }

/* ---------- Gallery strip ---------- */
.appy-gallery { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.appy-gallery figure { margin: 0; border-radius: var(--appy-radius); overflow: hidden; aspect-ratio: 4 / 5; position: relative; }
.appy-gallery figure:nth-child(even) { transform: translateY(34px); }
.appy-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--appy-ease), filter 0.6s; filter: saturate(0.95); }
.appy-gallery figure:hover img { transform: scale(1.06); filter: saturate(1.1); }

/* ---------- FAQ ---------- */
.appy-faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.appy-faq details { border-bottom: 1px solid var(--appy-line); padding: 6px 0; }
.appy-faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font: 500 18px/1.35 var(--appy-sans); color: var(--appy-ink); }
.appy-faq summary::-webkit-details-marker { display: none; }
.appy-faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--appy-sky-soft); color: var(--appy-sky-deep); font-size: 20px; transition: transform 0.4s var(--appy-ease), background 0.3s; }
.appy-faq details[open] summary::after { transform: rotate(45deg); background: var(--appy-sky); color: var(--appy-ink); }
.appy-faq details p { margin: 0 0 18px; color: var(--appy-muted); line-height: 1.7; max-width: 62ch; }

/* ---------- CTA band ---------- */
.appy-cta { position: relative; overflow: hidden; border-radius: var(--appy-radius-lg); background: var(--appy-sky); padding: clamp(40px, 7vw, 90px); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 30px; align-items: center; }
.appy-cta h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1; margin: 0; }
.appy-cta p { margin: 16px 0 0; font-size: 17px; color: var(--appy-ink-2); max-width: 44ch; }
.appy-cta__actions { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.appy-cta .appy-btn:hover { background: var(--appy-white); border-color: var(--appy-white); color: var(--appy-ink); }
.appy-cta::before, .appy-cta::after { content: ""; position: absolute; border-radius: 50%; border: 1.5px solid rgba(15, 20, 25, 0.12); }
.appy-cta::before { width: 420px; height: 420px; right: -120px; top: -180px; }
.appy-cta::after { width: 260px; height: 260px; right: 60px; bottom: -170px; }

/* ---------- Footer ---------- */
.appy-footer { background: var(--appy-ink); color: #aeb9c2; padding: clamp(56px, 7vw, 90px) 0 28px; margin-top: clamp(60px, 8vw, 110px); }
.appy-footer a { color: #dbe3e9; text-decoration: none; transition: color 0.2s; }
.appy-footer a:hover { color: var(--appy-sky); }
.appy-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.appy-footer__brand p { line-height: 1.7; max-width: 34ch; margin: 18px 0 0; }
.appy-footer__brand .wp-block-site-logo img { width: 74px !important; filter: invert(1); }
.appy-footer h4 { font: 600 12px/1 var(--appy-sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--appy-sky); margin: 0 0 20px; }
.appy-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.appy-footer .wp-block-navigation { display: block; font-size: 15px; }
.appy-footer .wp-block-navigation__container { display: grid !important; gap: 12px; }
.appy-footer__bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13.5px; }
.appy-footer__big { font: 400 clamp(60px, 13vw, 190px)/0.85 var(--appy-serif); color: rgba(255, 255, 255, 0.05); margin: 40px 0 -10px; white-space: nowrap; letter-spacing: -0.02em; user-select: none; }

/* ---------- Floating back-to-top ---------- */
.appy-top {
	position: fixed; right: 22px; bottom: 22px; z-index: 60; width: 52px; height: 52px; border-radius: 50%;
	border: 0; background: var(--appy-ink); color: var(--appy-white); display: grid; place-items: center; cursor: pointer;
	box-shadow: var(--appy-shadow); opacity: 0; transform: translateY(16px) scale(0.9); transition: opacity 0.4s, transform 0.5s var(--appy-ease), background 0.25s;
}
.appy-top:not([hidden]).is-visible { opacity: 1; transform: none; }
.appy-top:hover { background: var(--appy-sky); color: var(--appy-ink); }
.appy-top svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Generic pages ---------- */
.appy-design .hostinger-ai-page-title { font-size: clamp(40px, 5vw, 64px) !important; }
.appy-contact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 40px; }
.appy-contact__card { background: var(--appy-white); border: 1px solid var(--appy-line); border-radius: var(--appy-radius); padding: 28px 24px; }
.appy-contact__card h3 { font-size: 24px; margin: 18px 0 6px; }
.appy-contact__card p { margin: 0; color: var(--appy-muted); line-height: 1.6; }
.appy-contact__card a { color: var(--appy-sky-deep); font-weight: 600; }

/* ---------- Reveal on scroll ---------- */
.appy-js .appy-reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--appy-ease), transform 0.9s var(--appy-ease); transition-delay: var(--appy-delay, 0s); }
.appy-js .appy-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.appy-design ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.appy-features { grid-template-columns: repeat(2, 1fr); }
	.appy-feature:nth-child(3) { border-left: 0; }
	.appy-feature:nth-child(n+3) { border-top: 1px solid var(--appy-line); }
	.appy-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.appy-hero__grid, .appy-story, .appy-faq, .appy-cta { grid-template-columns: 1fr; }
	.appy-hero__media { max-width: 520px; margin: 18px auto 0; width: 100%; }
	.appy-float--a { left: -6px; }
	.appy-float--b { right: -6px; }
	.appy-bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 210px; }
	.appy-tile--a { grid-column: span 2; grid-row: span 2; }
	.appy-tile--b, .appy-tile--c, .appy-tile--d, .appy-tile--e { grid-column: span 1; grid-row: span 1; }
	.appy-styles, .appy-steps { grid-template-columns: repeat(2, 1fr); }
	.appy-gallery { grid-template-columns: repeat(3, 1fr); }
	.appy-gallery figure:nth-child(n+4) { display: none; }
	.appy-story__img { min-height: 340px; }
	.appy-cta__actions { justify-content: flex-start; }
	.appy-contact { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	:root { --appy-wrap: calc(100% - 32px); --appy-radius: 18px; --appy-radius-lg: 26px; }
	.appy-design ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
	.appy-brand .wp-block-site-title { display: none; }
	.appy-hero h1 { font-size: 44px; }
	.appy-hero__proof { gap: 20px; }
	.appy-float { max-width: 200px; padding: 10px 14px 10px 10px; font-size: 12px; }
	.appy-float--a { top: 8%; }
	.appy-badge { width: 92px; height: 92px; top: -18px; }
	.appy-bento { grid-auto-rows: 170px; gap: 12px; }
	.appy-tile__body { left: 16px; right: 16px; bottom: 14px; }
	.appy-tile__body p { display: none; }
	.appy-tile__arrow { width: 38px; height: 38px; }
	.appy-styles { grid-template-columns: 1fr 1fr; gap: 12px; }
	.appy-style { padding: 20px 18px; }
	.appy-style h3 { font-size: 24px; margin-top: 22px; }
	.appy-steps, .appy-features { grid-template-columns: 1fr; }
	.appy-feature + .appy-feature { border-left: 0; border-top: 1px solid var(--appy-line); }
	.appy-gallery { grid-template-columns: repeat(2, 1fr); }
	.appy-gallery figure:nth-child(n+3) { display: none; }
	.appy-gallery figure:nth-child(even) { transform: translateY(20px); }
	.appy-footer__grid { grid-template-columns: 1fr; gap: 32px; }
	.appy-top { right: 16px; bottom: 16px; width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
	.appy-design *, .appy-design *::before, .appy-design *::after { animation: none !important; transition: none !important; }
	.appy-js .appy-reveal { opacity: 1; transform: none; }
}

/* WordPress "flow" layout adds top margins between children; not wanted inside these layouts. */
.appy-header__inner > *, .appy-brand > *, .appy-header__tools > *,
.appy-footer__grid > *, .appy-footer__grid > * > *, .appy-footer .appy-wrap > * { margin-block: 0 !important; }
.appy-footer__big { margin-top: 40px !important; }
.appy-footer__bottom { margin-top: 56px !important; }
.appy-header__tools .wc-block-mini-cart, .appy-header__tools .wp-block-woocommerce-customer-account { display: flex; align-items: center; }

/* Hero frame: keep the dog above the fold. */
.appy-hero__frame { aspect-ratio: auto; height: min(68vh, 600px); min-height: 420px; }
.appy-hero__frame img { object-position: 50% 78%; }
@media (max-width: 900px) { .appy-hero__frame { height: min(62vh, 520px); min-height: 360px; } }

/* Buttons keep their own colours inside links-inherit rules. */
.appy-design a.appy-btn { color: var(--appy-white); }
.appy-design a.appy-btn--ghost { color: var(--appy-ink); }
.appy-design a.appy-btn:hover, .appy-design .appy-story a.appy-btn, .appy-design .appy-cta a.appy-btn:hover { color: var(--appy-ink); }
.appy-design a.appy-btn--ghost:hover { color: var(--appy-white); }
.appy-hero__frame img { object-position: 50% 55%; }

/* Hero entrance: CSS only, so the first screen never waits for JavaScript. */
.appy-rise { animation: appy-rise 0.9s var(--appy-ease) both; animation-delay: var(--appy-delay, 0s); }
@keyframes appy-rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Footer logo on a light disc instead of inverting the illustration. */
.appy-footer__brand .wp-block-site-logo img { filter: none; background: var(--appy-cream); border-radius: 50%; padding: 6px; }
/* Legal withdrawal link (always printed by Appy Core): blend it into the dark footer. */
.appy-design .appy-withdrawal-footer { margin: 0 !important; padding: 0 0 26px; background: var(--appy-ink); }
.appy-design .appy-withdrawal-footer a { color: var(--appy-sky); }
.appy-design .appy-footer { padding-bottom: 14px; }

/* Hero text is never hidden: slide only, no fade (best for first paint / LCP). */
@keyframes appy-rise { from { transform: translateY(18px); } to { transform: none; } }

@media (max-width: 600px) {
	.appy-tile__body h3 { font-size: 21px; }
	.appy-tile__body > div { min-width: 0; }
	.appy-tile__arrow { width: 32px; height: 32px; }
	.appy-tile__arrow svg { width: 15px; height: 15px; }
	.appy-tile--a .appy-tile__body h3 { font-size: 28px; }
}
@media (max-width: 600px) {
	.appy-tile__body h3 { white-space: nowrap; font-size: 20px; }
	.appy-tile:not(.appy-tile--a) .appy-tile__arrow { display: none; }
}

/* backdrop-filter makes the header the containing block of the fixed mobile menu: drop it while the menu is open. */
.appy-header:has(.wp-block-navigation__responsive-container.is-menu-open),
.site-header:has(.wp-block-navigation__responsive-container.is-menu-open) .appy-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--appy-cream); }
.appy-design .wp-block-navigation__responsive-container.is-menu-open { position: fixed; inset: 0; height: 100dvh; overflow-y: auto; z-index: 100; }
.appy-design .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start; gap: 14px; padding-top: 24px; }
.appy-design .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { align-items: flex-start; gap: 14px; }
.appy-header .is-menu-open .wp-block-navigation__submenu-container {
	border: 0 !important; box-shadow: none; background: transparent !important; padding: 4px 0 8px 14px !important;
	border-left: 2px solid var(--appy-sky-soft) !important; border-radius: 0; min-width: 0 !important; align-items: flex-start !important;
}
.appy-header .is-menu-open .wp-block-navigation-item { align-items: flex-start !important; text-align: left; }
.appy-header .is-menu-open .wp-block-navigation-item__content { padding: 6px 0 !important; }
.appy-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 7px 0 !important; }

/* ===================== Winter banner ===================== */
.appy-winter-wrap { padding-top: clamp(56px, 7vw, 96px); }
.appy-winter {
	position: relative; overflow: hidden; isolation: isolate; border-radius: var(--appy-radius-lg);
	display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(24px, 4vw, 56px);
	padding: clamp(32px, 5vw, 72px); color: #dbeaf3;
	background:
		radial-gradient(120% 90% at 85% 10%, rgba(58, 173, 226, 0.55), rgba(58, 173, 226, 0) 55%),
		radial-gradient(80% 70% at 0% 100%, rgba(28, 127, 179, 0.5), rgba(28, 127, 179, 0) 60%),
		linear-gradient(135deg, #0f1c26 0%, #0f1419 55%, #10283a 100%);
	box-shadow: 0 40px 80px -40px rgba(15, 20, 25, 0.6);
}
.appy-winter::after {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.06) 50%, transparent 65%);
	background-size: 250% 100%; animation: appy-sweep 9s ease-in-out infinite;
}
@keyframes appy-sweep { 0%, 100% { background-position: 120% 0; } 50% { background-position: -20% 0; } }
.appy-chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: rgba(58, 173, 226, 0.16); border: 1px solid rgba(58, 173, 226, 0.4); color: #bfe6f7; font: 600 12px/1 var(--appy-sans); letter-spacing: 0.12em; text-transform: uppercase; }
.appy-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--appy-sky); box-shadow: 0 0 0 4px rgba(58, 173, 226, 0.25); animation: appy-pulse 2s ease-in-out infinite; }
@keyframes appy-pulse { 50% { box-shadow: 0 0 0 8px rgba(58, 173, 226, 0); } }
.appy-winter h2 { color: #fff !important; font-size: clamp(38px, 5vw, 66px); line-height: 1; margin: 20px 0 18px; }
.appy-winter .appy-accent { color: var(--appy-sky); }
.appy-winter p { font-size: 17px; line-height: 1.65; max-width: 42ch; margin: 0 0 28px; color: #b9cad6; }
.appy-winter__ctas { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.appy-design a.appy-btn--light { background: #fff; border-color: #fff; color: var(--appy-ink); }
.appy-design a.appy-btn--light:hover { background: var(--appy-sky); border-color: var(--appy-sky); color: var(--appy-ink); }
.appy-design a.appy-winter__link { color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(58, 173, 226, 0.7); text-underline-offset: 5px; }
.appy-winter__stats { display: flex; gap: 32px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.appy-winter__stats div { display: grid; gap: 4px; }
.appy-winter__stats strong { font: 400 26px/1 var(--appy-serif); color: #fff; }
.appy-winter__stats span { font-size: 13px; color: #8fa6b6; }
.appy-winter__visual { position: relative; min-height: 460px; }
.appy-winter__photo { position: absolute; inset: 0 12% 0 8%; border-radius: 200px 200px 28px 28px; overflow: hidden; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.7); border: 6px solid rgba(255, 255, 255, 0.08); }
.appy-winter__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.03); transition: transform 1.4s var(--appy-ease); }
.appy-winter:hover .appy-winter__photo img { transform: scale(1.08); }
.appy-winter__peek { position: absolute; inset: 0; pointer-events: none; }
.appy-design a.appy-peek {
	pointer-events: auto; position: absolute; display: flex; align-items: center; gap: 12px; width: 236px; padding: 9px 14px 9px 9px;
	border-radius: 18px; background: rgba(255, 255, 255, 0.92); color: var(--appy-ink); text-decoration: none;
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, 0.55);
	animation: appy-float 7s ease-in-out infinite; transition: box-shadow 0.4s;
}
.appy-design a.appy-peek:hover { box-shadow: 0 26px 50px -18px rgba(58, 173, 226, 0.8); }
.appy-peek__img { flex: none; width: 58px; height: 58px; border-radius: 12px; overflow: hidden; background: var(--appy-sand); }
.appy-peek__img img { width: 100% !important; height: 100% !important; object-fit: cover; margin: 0 !important; border-radius: 0 !important; }
.appy-peek__txt { display: grid; gap: 4px; min-width: 0; }
.appy-peek__txt strong { font: 600 13px/1.25 var(--appy-sans); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.appy-peek__txt em { font: 400 17px/1 var(--appy-serif); font-style: normal; color: var(--appy-sky-deep); }
.appy-peek--1 { left: -4%; top: 8%; }
.appy-peek--2 { right: -2%; top: 40%; animation-delay: -2.4s !important; }
.appy-peek--3 { left: 4%; bottom: 6%; animation-delay: -4.6s !important; }
.appy-winter__flakes { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.appy-winter__flakes i { position: absolute; top: -10px; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.8); animation: appy-snow linear infinite; }
.appy-winter__flakes i:nth-child(1) { left: 5%; animation-duration: 11s; }
.appy-winter__flakes i:nth-child(2) { left: 14%; width: 4px; height: 4px; animation-duration: 8s; animation-delay: -3s; }
.appy-winter__flakes i:nth-child(3) { left: 23%; animation-duration: 13s; animation-delay: -6s; }
.appy-winter__flakes i:nth-child(4) { left: 31%; width: 3px; height: 3px; animation-duration: 9s; animation-delay: -1s; }
.appy-winter__flakes i:nth-child(5) { left: 42%; animation-duration: 12s; animation-delay: -8s; }
.appy-winter__flakes i:nth-child(6) { left: 51%; width: 4px; height: 4px; animation-duration: 10s; animation-delay: -4s; }
.appy-winter__flakes i:nth-child(7) { left: 60%; animation-duration: 14s; animation-delay: -2s; }
.appy-winter__flakes i:nth-child(8) { left: 68%; width: 3px; height: 3px; animation-duration: 8.5s; animation-delay: -5s; }
.appy-winter__flakes i:nth-child(9) { left: 77%; animation-duration: 11.5s; animation-delay: -7s; }
.appy-winter__flakes i:nth-child(10) { left: 85%; width: 5px; height: 5px; animation-duration: 9.5s; animation-delay: -9s; }
.appy-winter__flakes i:nth-child(11) { left: 92%; width: 3px; height: 3px; animation-duration: 12.5s; animation-delay: -3.5s; }
.appy-winter__flakes i:nth-child(12) { left: 97%; animation-duration: 10.5s; animation-delay: -6.5s; }
@keyframes appy-snow { from { transform: translate3d(0, -10px, 0); } to { transform: translate3d(-30px, 760px, 0); opacity: 0.2; } }

/* ===================== Mobile tab bar ===================== */
.appy-tabbar { display: none; }
@media (max-width: 782px) {
	.appy-tabbar {
		display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 70; left: 12px; right: 12px;
		bottom: calc(10px + env(safe-area-inset-bottom)); padding: 8px; border-radius: 22px;
		background: rgba(15, 20, 25, 0.92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
		box-shadow: 0 18px 40px -16px rgba(15, 20, 25, 0.7);
	}
	.appy-design .appy-tabbar a { display: grid; justify-items: center; gap: 4px; padding: 8px 4px; border-radius: 15px; color: #9fb0bd; text-decoration: none; font: 600 11px/1 var(--appy-sans); transition: background 0.25s, color 0.25s; }
	.appy-design .appy-tabbar a.is-active { background: rgba(58, 173, 226, 0.18); color: #fff; }
	.appy-tabbar a.is-active svg { stroke: var(--appy-sky); }
	.appy-tabbar svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
	body.appy-design { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
	.appy-top { bottom: calc(96px + env(safe-area-inset-bottom)); }
	.appy-header .wp-block-woocommerce-customer-account { display: none !important; }
}

/* ===================== Swipe rails (mobile) ===================== */
@media (max-width: 782px) {
	.appy-rail { margin-inline: -16px; }
	.appy-design .appy-rail ul.products {
		display: grid !important; grid-auto-flow: column; grid-auto-columns: 62%; grid-template-columns: none !important;
		overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 16px 18px !important; gap: 14px !important;
		-webkit-overflow-scrolling: touch; scrollbar-width: none;
	}
	.appy-rail ul.products::-webkit-scrollbar { display: none; }
	.appy-rail ul.products li.product { scroll-snap-align: start; }
	.appy-styles { display: grid; grid-auto-flow: column; grid-auto-columns: 70%; grid-template-columns: none !important; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -16px; padding: 4px 16px 18px; scrollbar-width: none; }
	.appy-styles::-webkit-scrollbar { display: none; }
	.appy-style { scroll-snap-align: start; }
}

/* ===================== Winter banner: tablet & mobile ===================== */
@media (max-width: 900px) {
	.appy-winter { grid-template-columns: 1fr; }
	.appy-winter__visual { min-height: 420px; }
	.appy-winter__photo { inset: 0 10%; }
}
@media (max-width: 600px) {
	.appy-winter { padding: 28px 20px 24px; }
	.appy-winter h2 { font-size: 38px; }
	.appy-winter__visual { min-height: 380px; margin-top: 4px; }
	.appy-winter__photo { inset: 0 6%; border-radius: 160px 160px 22px 22px; }
	.appy-design a.appy-peek { width: 196px; padding: 7px 10px 7px 7px; gap: 9px; }
	.appy-peek__img { width: 46px; height: 46px; }
	.appy-peek--1 { left: -6px; top: 6%; }
	.appy-peek--2 { right: -6px; top: 44%; }
	.appy-design a.appy-peek--3 { display: none; }
	.appy-winter__stats { gap: 24px; }
}
@media (prefers-reduced-motion: reduce) { .appy-winter__flakes { display: none; } }
