/* ==========================================================================
   Frizbeee – main stylesheet
   ========================================================================== */

@font-face {
	font-family: "ABeeZee";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/abeezee-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--fz-navy: #222D65;
	--fz-navy-dark: #1A2454;
	--fz-pink: #FFC5E7;
	--fz-pink-soft: #FFE2F3;
	--fz-sky: #9BD4FF;
	--fz-cyan: #03AEEF;
	--fz-price: #2BA4FF;
	--fz-red: #F7465A;
	--fz-text: #212121;
	--fz-muted: #6b6f80;
	--fz-line: #e7e8ef;
	--fz-bg-soft: #f5f4f5;
	--fz-radius: 16px;
	--fz-container: 1200px;
	--fz-gutter: 16px;
	--fz-font-head: "ABeeZee", "Trebuchet MS", system-ui, sans-serif;
	--fz-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--fz-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--fz-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
img, svg, video, picture { max-width: 100%; height: auto; display: block; }
svg.icon { display: inline-block; flex: none; }
a { color: var(--fz-navy); text-decoration: none; }
a:hover { color: var(--fz-cyan); }
:focus-visible { outline: 3px solid var(--fz-cyan); outline-offset: 2px; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.3em; }
hr { border: 0; border-top: 1px solid var(--fz-line); margin: 2em 0; }

h1, h2, h3, h4, h5, h6 {
	font-family: var(--fz-font-head);
	font-weight: 400;
	color: var(--fz-text);
	line-height: 1.25;
	margin: 1.2em 0 .5em;
}
h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: clamp(24px, 3vw, 34px); }
h3 { font-size: clamp(19px, 2.2vw, 24px); }
h4 { font-size: 20px; }
h5 { font-size: 18px; }
h6 { font-size: 16px; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; width: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; margin: 0;
	top: 8px; left: 8px; z-index: 1000; padding: 10px 16px;
	background: #fff; color: var(--fz-navy); border-radius: 8px;
}

.container {
	width: 100%;
	max-width: calc(var(--fz-container) + var(--fz-gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--fz-gutter);
}

/* ---------- Buttons & forms ---------- */
.button, button.button, input[type="submit"], .wp-element-button, .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 26px;
	border: 2px solid var(--fz-navy);
	border-radius: 100px;
	background: var(--fz-navy);
	color: #fff;
	font-family: var(--fz-font-head);
	font-size: 14px;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background-color .2s, border-color .2s, color .2s;
}
.button:hover, button.button:hover, input[type="submit"]:hover, .wp-element-button:hover, .wp-block-button__link:hover {
	background: var(--fz-sky);
	border-color: var(--fz-sky);
	color: var(--fz-navy);
}
.button--arrow::after {
	content: "";
	width: 27px; height: 26px;
	background: url("../img/button-arrow.svg") no-repeat center;
}
.button--arrow:hover::after { filter: invert(1) brightness(.3); }

input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"],
input[type="number"], input[type="tel"], input[type="date"], select, textarea {
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid #d5d8e3;
	border-radius: 10px;
	background: #fff;
	color: var(--fz-text);
	font: inherit;
}
input:focus, select:focus, textarea:focus { border-color: var(--fz-navy); outline: none; box-shadow: 0 0 0 3px rgba(34, 45, 101, .15); }
label { font-weight: 600; }

.icon-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	position: relative;
	width: 44px; height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--fz-text);
	cursor: pointer;
}
.icon-btn:hover { color: var(--fz-navy); background: rgba(255, 255, 255, .45); }

/* ---------- Announcement bar ---------- */
.topbar {
	background: var(--fz-navy);
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	overflow: hidden;
	white-space: nowrap;
}
.topbar__track { display: flex; justify-content: center; }
.topbar__item { margin: 0; padding: 8px 24px; }
.topbar a { color: #fff; }
.topbar--scroll .topbar__track {
	justify-content: flex-start;
	width: max-content;
	animation: fz-marquee 40s linear infinite;
}
.topbar--scroll:hover .topbar__track { animation-play-state: paused; }
@keyframes fz-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
	.topbar--scroll .topbar__track { animation: none; }
	html { scroll-behavior: auto; }
}

/* ---------- Header ---------- */
.site-header {
	position: relative;
	z-index: 50;
	background: var(--fz-pink);
}

.site-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	min-height: 120px;
	padding-top: 8px;
	padding-bottom: 8px;
}
.site-header__left { display: flex; align-items: center; gap: 8px; min-width: 0; }
.site-header__right { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.site-header__brand { text-align: center; }
.site-logo { display: inline-block; }
.site-logo__img { width: auto; height: 155px; max-width: 300px; object-fit: contain; }
.site-logo__text { font-family: var(--fz-font-head); font-size: 32px; color: var(--fz-navy); }


.cart-count {
	position: absolute;
	top: -2px; right: -4px;
	min-width: 22px; height: 22px;
	padding: 0 5px;
	border-radius: 11px;
	background: var(--fz-red);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 22px;
	text-align: center;
}

.search-panel { background: #fff; border-top: 1px solid rgba(34, 45, 101, .08); box-shadow: 0 8px 20px rgba(34, 45, 101, .08); }
.search-panel .container { padding-top: 16px; padding-bottom: 16px; }
.search-form { display: flex; gap: 8px; max-width: 720px; margin: 0 auto; }
.search-form .search-field { border-radius: 100px; padding-left: 20px; }
.search-submit {
	flex: none;
	width: 48px; height: 48px;
	border: 0; border-radius: 50%;
	background: var(--fz-navy); color: #fff; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
}
.search-submit:hover { background: var(--fz-cyan); }

/* Off-canvas menu */
.offcanvas[hidden] { display: none; }
.offcanvas { position: fixed; inset: 0; z-index: 100; }
.offcanvas__backdrop { position: absolute; inset: 0; background: rgba(15, 20, 50, .5); animation: fz-fade .2s; }
.offcanvas__panel {
	position: absolute;
	top: 0; bottom: 0; left: 0;
	width: min(340px, 88vw);
	padding: 20px;
	overflow-y: auto;
	background: var(--fz-navy);
	color: #fff;
	animation: fz-slide .25s ease-out;
}
.offcanvas__head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.offcanvas__head .site-logo__img { height: 70px; }
.offcanvas__head .icon-btn { color: #fff; }
.offcanvas-menu { list-style: none; margin: 0; padding: 0; }
.offcanvas-menu a {
	display: block;
	padding: 12px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
	color: #fff;
	text-transform: uppercase;
	font-size: 15px;
}
.offcanvas-menu .sub-menu { list-style: none; padding-left: 16px; margin: 0; }
.offcanvas-menu .sub-menu a { text-transform: none; font-size: 14px; opacity: .85; }
@keyframes fz-fade { from { opacity: 0; } }
@keyframes fz-slide { from { transform: translateX(-100%); } }

/* ---------- Generic sections ---------- */
.section { padding: 48px 0; }
.section-title { margin: 0 0 28px; font-size: clamp(24px, 3vw, 34px); }

/* ---------- Hero slider ---------- */
.hero { background: var(--fz-sky); padding: 28px 0; }
.slider { position: relative; }
.slider__track {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	border-radius: var(--fz-radius);
	aspect-ratio: var(--ratio, 1920 / 820);
	background: rgba(255, 255, 255, .35);
}
.slider__track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; }
.slide a, .slide picture { display: block; height: 100%; }
.slide__img { width: 100%; height: 100%; object-fit: cover; }
.slider__btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 48px; height: 48px;
	border: 0; border-radius: 50%;
	background: rgba(255, 255, 255, .85);
	color: var(--fz-navy);
	cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 14px rgba(0, 0, 0, .12);
}
.slider__btn:hover { background: #fff; }
.slider__btn--prev { left: 14px; }
.slider__btn--next { right: 14px; }
.slider__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.slider__dots button {
	width: 10px; height: 10px; padding: 0;
	border: 0; border-radius: 5px;
	background: rgba(255, 255, 255, .7);
	cursor: pointer;
	transition: width .2s;
}
.slider__dots button[aria-selected="true"] { width: 28px; background: var(--fz-navy); }

/* Text banner fallback */
.hero--banner { background: var(--fz-pink-soft); }
.hero-banner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px; }
.hero-banner__title { font-family: var(--fz-font-head); font-size: clamp(32px, 5vw, 56px); line-height: 1.1; color: var(--fz-navy); margin-bottom: 16px; }

/* ---------- Category circles ---------- */
.home-cats { background: var(--fz-sky); padding-top: 12px; }
.cat-circles {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 28px 20px;
	list-style: none;
	margin: 0;
	padding: 0;
}
.cat-circles a { display: flex; flex-direction: column; align-items: center; gap: 12px; color: var(--fz-text); text-align: center; }
.cat-circles__img {
	display: block;
	width: 100%;
	max-width: 170px;
	aspect-ratio: 1;
	border-radius: 50%;
	overflow: hidden;
	background: #fff;
	box-shadow: 0 6px 18px rgba(34, 45, 101, .12);
	transition: transform .2s;
}
.cat-circles__img img { width: 100%; height: 100%; object-fit: contain; }
.cat-circles a:hover .cat-circles__img { transform: translateY(-4px) scale(1.03); }
.cat-circles__name { font-family: var(--fz-font-head); font-size: 14px; }

/* ---------- Gift promo ---------- */
.gift { background: var(--fz-pink); }
.gift__card {
	display: grid;
	grid-template-columns: 1fr 1fr;
	align-items: center;
	overflow: hidden;
	border-radius: 24px;
	background: #fff;
}
.gift__text { padding: 40px; text-align: center; }
.gift__title { margin: 0 0 16px; font-size: clamp(30px, 4vw, 44px); line-height: 1.2; }
.gift__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Content pages ---------- */
.content-wrap { padding-top: 24px; padding-bottom: 64px; }
.content-wrap.has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; }
.site-main > .entry, .entry-content { max-width: 100%; }
.content-wrap:not(.content-wrap--wide):not(.has-sidebar) .entry { max-width: 860px; margin: 0 auto; }
.entry-title, .page-title { margin: 8px 0 24px; text-align: center; }
.entry-meta { color: var(--fz-muted); font-size: 14px; text-align: center; }
.entry-thumb { margin: 0 0 32px; }
.entry-thumb img { border-radius: var(--fz-radius); width: 100%; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content img { border-radius: 8px; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.5em; }
.entry-content th, .entry-content td { padding: 10px; border: 1px solid var(--fz-line); text-align: left; }
.entry-content blockquote { margin: 1.5em 0; padding: 16px 24px; border-left: 4px solid var(--fz-sky); background: var(--fz-pink-soft); border-radius: 0 12px 12px 0; }
.alignwide { max-width: 100%; }
.alignleft { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, figcaption { color: var(--fz-muted); font-size: 14px; text-align: center; }

.breadcrumbs { font-size: 14px; color: var(--fz-muted); margin: 0 0 16px; }
.breadcrumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; }
.breadcrumbs a { color: var(--fz-muted); }
.breadcrumbs a:hover { color: var(--fz-navy); }

.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.card { overflow: hidden; border: 1px solid var(--fz-line); border-radius: var(--fz-radius); background: #fff; }
.card__thumb img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__body { padding: 20px; }
.card__title { margin: 0 0 6px; font-size: 20px; }
.card .entry-meta { text-align: left; }

.pagination, .woocommerce-pagination { margin-top: 40px; }
.nav-links, .woocommerce-pagination ul.page-numbers {
	display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
	list-style: none; margin: 0; padding: 0; border: 0;
}
.page-numbers {
	display: inline-flex; align-items: center; justify-content: center;
	min-width: 42px; height: 42px; padding: 0 10px;
	border-radius: 21px; border: 1px solid var(--fz-line);
	color: var(--fz-navy);
}
.page-numbers.current, a.page-numbers:hover { background: var(--fz-navy); border-color: var(--fz-navy); color: #fff; }

.post-navigation .nav-links { justify-content: space-between; margin-top: 40px; }
.post-navigation .nav-label { display: block; font-size: 14px; color: var(--fz-muted); text-transform: uppercase; }

.sidebar .widget { margin-bottom: 32px; }
.widget-title { font-size: 20px; margin: 0 0 12px; }
.sidebar ul { list-style: none; padding: 0; }
.sidebar li { padding: 4px 0; }

.comments { max-width: 860px; margin: 48px auto 0; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 16px 0; border-bottom: 1px solid var(--fz-line); }
.comment-author img { float: left; margin-right: 12px; border-radius: 50%; }

.error-404 { text-align: center; max-width: 640px; margin: 0 auto; padding: 40px 0; }
.error-404 .search-form { margin: 24px auto; }

/* ---------- Footer ---------- */
.site-footer {
	margin-top: 32px;
	padding-top: 110px;
	background: url("../img/footer-pattern.svg") repeat-x top left / auto 85px, var(--fz-navy);
	color: #fff;
	font-size: 15px;
}
.home .site-footer, .woocommerce-page .site-footer { margin-top: 0; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 32px; }
.footer-col__title { margin: 0 0 14px; color: #fff; font-size: 18px; }
.footer-menu { list-style: none; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 8px; }
.footer-menu a { color: #fff; opacity: .9; font-size: 14px; }
.footer-menu a:hover { opacity: 1; color: var(--fz-sky); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0 28px; font-size: 14px; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #fff; text-decoration: underline; }
.payment-logos { max-height: 32px; width: auto; }

.to-top {
	position: fixed;
	right: 24px; bottom: 24px;
	z-index: 40;
	display: inline-flex; align-items: center; justify-content: center;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: #222;
	color: #fff;
	opacity: 0;
	visibility: hidden;
	transition: .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--fz-navy); color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.site-header__inner { min-height: 84px; }
	.site-logo__img { height: 88px; max-width: 170px; }
	.cat-circles { grid-template-columns: repeat(4, 1fr); }
	.content-wrap.has-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.site-header__left { gap: 4px; }
	.site-logo__img { height: 83px; max-width: 160px; }
	.section { padding: 32px 0; }
	.hero { padding: 16px 0; }
	.slider__track { border-radius: 12px; }
	.slider__track.has-mobile { aspect-ratio: 1; }
	.slider__btn { width: 36px; height: 36px; }
	.slider__btn--prev { left: 6px; }
	.slider__btn--next { right: 6px; }
	.hero-banner, .gift__card { grid-template-columns: 1fr; }
	.gift__text { padding: 28px 20px; }
	.cat-circles { grid-template-columns: repeat(3, 1fr); gap: 20px 12px; }
	.cat-circles__name { font-size: 14px; }
	.footer-cols { grid-template-columns: repeat(2, 1fr); }
	.site-footer { padding-top: 90px; }
	.site-header__inner { gap: 4px; }
	.icon-btn { width: 40px; height: 40px; }
}
@media (max-width: 340px) {
	.cat-circles { grid-template-columns: repeat(2, 1fr); }
}
