/* ==========================================================
   Creations by JEY – main stylesheet
   ========================================================== */
:root {
	--ink: #2b2b2b;
	--cream: #fdfbf3;
	--yellow: #fbe9b7;
	--yellow-d: #f9e08f;
	--blue: #cde8ee;
	--pink: #f7d5d9;
	--pink-d: #f4bfc8;
	--sage: #d3d6bd;
	--radius: 18px;
	--script: 'Pacifico', 'Brush Script MT', cursive;
	--chunky: 'Lilita One', 'Fredoka', sans-serif;
	--body: 'Fredoka', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--cream);
	color: var(--ink);
	font-family: var(--body);
	font-size: 17px;
	line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--chunky); font-weight: 400; line-height: 1.15; }

.jey-container { width: min(1200px, 94%); margin-inline: auto; }
.jey-container.narrow { width: min(800px, 94%); }
.jey-center { text-align: center; }

/* Rainbow pastel letters with ink outline */
.c0, .c1, .c2, .c3 {
	-webkit-text-stroke: 2px var(--ink);
	paint-order: stroke fill;
}
.c0 { color: var(--blue); }
.c1 { color: var(--pink); }
.c2 { color: var(--yellow); }
.c3 { color: var(--sage); }

/* ---------- Announcement bar ---------- */
.jey-announce {
	background: var(--yellow);
	background-image:
		linear-gradient(rgba(255,255,255,.55) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.55) 1px, transparent 1px);
	background-size: 22px 22px;
	text-align: center;
	padding: 12px 10px;
	font-weight: 600;
	letter-spacing: .12em;
	text-transform: uppercase;
	font-size: 14px;
}
.jey-heart-sm { font-size: 22px; vertical-align: middle; margin: 0 10px; }

/* ---------- Header ---------- */
.jey-header { background: var(--cream); position: relative; z-index: 20; }
.jey-header-inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	padding: 6px 0 0;
}
.jey-header-left, .jey-header-right { display: flex; align-items: center; gap: 22px; }
.jey-header-right { justify-content: flex-end; }
.jey-icon-btn {
	background: none; border: 0; cursor: pointer; padding: 4px;
	position: relative; display: inline-flex; text-decoration: none;
}
.jey-cart-count {
	position: absolute; top: -4px; right: -8px;
	background: var(--pink-d); border: 2px solid var(--ink); border-radius: 999px;
	min-width: 22px; height: 22px; font-size: 12px; font-weight: 700;
	display: flex; align-items: center; justify-content: center;
}

.jey-logo { text-align: center; line-height: 1; padding: 10px 0 4px; }
.jey-logo a { text-decoration: none; display: inline-flex; flex-direction: column; align-items: center; }
.jey-logo-img { max-height: 130px; width: auto; }
.jey-logo-script {
	font-family: var(--script);
	font-size: clamp(26px, 4.4vw, 44px);
	color: var(--ink);
	transform: rotate(-3deg);
	margin-bottom: -10px;
}
.jey-logo-big { font-family: var(--chunky); font-size: clamp(60px, 9vw, 104px); letter-spacing: .02em; line-height: 1; }
.jey-logo-big.small { font-size: 56px; }
.jey-logo-big .c0, .jey-logo-big .c1, .jey-logo-big .c2 { -webkit-text-stroke: 3px var(--ink); }
.jey-logo-flourish { margin-top: 2px; }

/* Search panel */
.jey-search-panel { background: var(--yellow); padding: 14px 0; border-block: 2px solid var(--ink); }
.jey-search-panel[hidden] { display: none; }
.jey-search-panel form { display: flex; gap: 10px; }
.jey-search-panel input[type="search"] { flex: 1; }

/* Nav bar */
.jey-nav { background: var(--blue); margin-top: 6px; }
.jey-menu, .jey-menu ul { list-style: none; margin: 0; padding: 0; }
.jey-menu { display: flex; justify-content: center; gap: clamp(18px, 4vw, 56px); flex-wrap: wrap; }
.jey-menu > li { position: relative; }
.jey-menu a {
	display: block; padding: 18px 4px;
	font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
	font-size: 17px; text-decoration: none;
}
.jey-menu a:hover { text-decoration: underline wavy var(--pink-d); text-underline-offset: 6px; }
.jey-menu .menu-item-has-children > a::after { content: ' \2335'; font-size: 11px; }
.jey-menu .sub-menu {
	position: absolute; left: 50%; top: 100%; transform: translateX(-50%);
	background: var(--cream); border: 2px solid var(--ink); border-radius: 14px;
	min-width: 210px; padding: 8px 0; display: none; z-index: 50;
	box-shadow: 4px 4px 0 var(--ink);
}
.jey-menu li:hover > .sub-menu, .jey-menu li:focus-within > .sub-menu { display: block; }
.jey-menu .sub-menu a { padding: 9px 20px; letter-spacing: .06em; font-size: 15px; }

.jey-menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.jey-menu-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 3px; }

/* ---------- Buttons & forms ---------- */
.jey-btn,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit, .woocommerce a.button.alt, .woocommerce button.button.alt,
.woocommerce #payment #place_order, .wp-block-button__link,
.jey-search-panel button, input[type="submit"] {
	display: inline-block;
	background: var(--pink);
	color: var(--ink);
	font-family: var(--chunky);
	font-size: 18px;
	letter-spacing: .04em;
	padding: 12px 28px;
	border: 2.5px solid var(--ink);
	border-radius: 999px;
	box-shadow: 3px 3px 0 var(--ink);
	text-decoration: none;
	cursor: pointer;
	transition: transform .12s, box-shadow .12s, background .12s;
	line-height: 1.2;
}
.jey-btn:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.woocommerce #payment #place_order:hover, input[type="submit"]:hover, .jey-search-panel button:hover {
	background: var(--yellow-d); color: var(--ink);
	transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink);
}
.jey-btn.small { font-size: 15px; padding: 8px 20px; }

input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="password"],
input[type="number"], input[type="url"], textarea, select,
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
	width: 100%;
	padding: 12px 16px;
	font-family: var(--body); font-size: 16px; color: var(--ink);
	background: #fff;
	border: 2.5px solid var(--ink);
	border-radius: 14px;
}
input:focus, textarea:focus, select:focus { outline: 3px solid var(--blue); }

/* ---------- Hero ---------- */
.jey-hero {
	background-color: var(--yellow);
	background-image:
		linear-gradient(rgba(255,255,255,.6) 1.5px, transparent 1.5px),
		linear-gradient(90deg, rgba(255,255,255,.6) 1.5px, transparent 1.5px);
	background-size: 26px 26px;
	padding: 70px 16px 56px;
	margin-top: 12px;
}
.jey-hero-card {
	position: relative;
	width: min(980px, 100%);
	margin: 0 auto;
	background: var(--cream);
	border: 3px solid var(--ink);
	text-align: center;
	padding: 34px 20px 24px;
}
.jey-tape {
	position: absolute; top: -34px; left: 50%; transform: translateX(-50%) rotate(-1deg);
	width: 220px; height: 46px;
	background: #fff;
	background-image: radial-gradient(var(--ink) 2px, transparent 2.5px);
	background-size: 22px 18px;
	border: 3px solid var(--ink);
	clip-path: polygon(0 8%, 4% 0, 8% 10%, 12% 0, 16% 10%, 20% 0, 24% 10%, 28% 0, 32% 10%, 36% 0, 40% 10%, 44% 0, 48% 10%, 52% 0, 56% 10%, 60% 0, 64% 10%, 68% 0, 72% 10%, 76% 0, 80% 10%, 84% 0, 88% 10%, 92% 0, 96% 10%, 100% 0, 100% 92%, 96% 100%, 92% 90%, 88% 100%, 84% 90%, 80% 100%, 76% 90%, 72% 100%, 68% 90%, 64% 100%, 60% 90%, 56% 100%, 52% 90%, 48% 100%, 44% 90%, 40% 100%, 36% 90%, 32% 100%, 28% 90%, 24% 100%, 20% 90%, 16% 100%, 12% 90%, 8% 100%, 4% 90%, 0 92%);
}
.jey-hero-script { font-family: var(--script); font-size: clamp(34px, 6vw, 62px); line-height: 1.2; margin-top: 10px; }
.jey-hero-big {
	position: relative; display: inline-block;
	font-size: clamp(52px, 11vw, 124px);
	margin: 0; letter-spacing: .02em;
}
.jey-hero-big span[class^="c"] { -webkit-text-stroke: 3.5px var(--ink); }
.jey-hero-flourish { display: block; margin: 6px auto 0; }

/* sparkle dashes */
.jey-sparks, .jey-title-sparks { position: absolute; top: 50%; width: 60px; height: 60px; transform: translateY(-50%); }
.jey-sparks.left { left: -80px; }
.jey-sparks.right { right: -80px; }
.jey-sparks i, .jey-title-sparks i {
	position: absolute; display: block; height: 5px; width: 30px;
	background: var(--ink); border-radius: 5px;
}
.jey-sparks.left i:nth-child(1) { top: 4px;  left: 20px; transform: rotate(50deg); width: 24px; }
.jey-sparks.left i:nth-child(2) { top: 28px; left: 0;    transform: rotate(8deg);  width: 40px; }
.jey-sparks.left i:nth-child(3) { top: 52px; left: 20px; transform: rotate(-50deg); width: 24px; }
.jey-sparks.right i:nth-child(1) { top: 4px;  right: 20px; transform: rotate(-50deg); width: 24px; }
.jey-sparks.right i:nth-child(2) { top: 28px; right: 0;    transform: rotate(-8deg); width: 40px; }
.jey-sparks.right i:nth-child(3) { top: 52px; right: 20px; transform: rotate(50deg); width: 24px; }

/* ---------- Quick tiles ---------- */
.jey-quick {
	display: grid; grid-template-columns: repeat(4, 1fr);
	gap: 22px; padding-block: 36px 20px;
}
.jey-tile, .jey-cat {
	border: 2.5px solid var(--ink);
	border-radius: var(--radius);
	text-decoration: none;
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	text-align: center;
	transition: transform .15s, box-shadow .15s;
}
.jey-tile:hover, .jey-cat:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 5px 6px 0 var(--ink); }
.jey-tile { padding: 22px 10px 18px; min-height: 230px; }
.blue { background: var(--blue); }
.pink { background: var(--pink); }
.yellow { background: var(--yellow); }
.jey-tile-script { font-family: var(--script); font-size: 28px; line-height: 1; margin-top: 6px; }
.jey-tile-big { font-family: var(--chunky); font-size: clamp(30px, 3.4vw, 44px); letter-spacing: .02em; }
.jey-tile-big span[class^="c"] { -webkit-text-stroke: 2px var(--ink); }

/* ---------- Categories ---------- */
.jey-section-title {
	position: relative; display: block; text-align: center;
	font-family: var(--script); font-weight: 400;
	font-size: clamp(34px, 5vw, 56px);
	margin: 40px 0 24px;
}
.jey-title-sparks { left: calc(50% - 250px); width: 40px; height: 40px; }
.jey-title-sparks.r { left: auto; right: calc(50% - 250px); }
.jey-title-sparks i { height: 4px; width: 20px; }
.jey-title-sparks i:nth-child(1) { top: 2px;  left: 8px;  transform: rotate(50deg); }
.jey-title-sparks i:nth-child(2) { top: 18px; left: 0;    transform: rotate(0); width: 26px; }
.jey-title-sparks i:nth-child(3) { top: 34px; left: 8px;  transform: rotate(-50deg); }
.jey-title-sparks.r i:nth-child(1) { left: auto; right: 8px; transform: rotate(-50deg); }
.jey-title-sparks.r i:nth-child(2) { left: auto; right: 0; }
.jey-title-sparks.r i:nth-child(3) { left: auto; right: 8px; transform: rotate(50deg); }

.jey-cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; padding-bottom: 20px; }
.jey-cat { padding: 20px 8px 16px; min-height: 190px; gap: 8px; }
.jey-cat-icon svg { width: 62px; height: 62px; }
.jey-cat-label { font-weight: 600; font-size: 21px; line-height: 1.15; }

/* ---------- Pages ---------- */
.jey-main { padding-block: 40px 60px; }
.jey-page-title { font-family: var(--script); font-size: clamp(38px, 6vw, 64px); text-align: center; margin: 0 0 28px; }
.jey-page-content { font-size: 18px; }
.jey-featured, .jey-page-content.jey-container { padding-bottom: 30px; }
.jey-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.jey-card {
	background: #fff; border: 2.5px solid var(--ink); border-radius: var(--radius);
	padding: 18px; box-shadow: 4px 4px 0 var(--blue);
}
.jey-card h2 { font-size: 24px; margin: 12px 0 8px; }
.jey-card h2 a { text-decoration: none; }
.jey-card img { border-radius: 12px; }
.jey-meta { text-align: center; opacity: .7; }

/* ---------- WooCommerce ---------- */
.woocommerce-breadcrumb { font-size: 14px; margin-bottom: 18px !important; opacity: .8; }
.woocommerce-products-header__title.page-title { font-family: var(--script); font-size: clamp(38px, 6vw, 60px); text-align: center; font-weight: 400; }
.woocommerce .woocommerce-result-count { font-size: 15px; }
.woocommerce .woocommerce-ordering select { width: auto; padding: 8px 14px; }

.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0 0 30px; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product {
	float: none; width: auto; margin: 0;
	background: #fff; border: 2.5px solid var(--ink); border-radius: var(--radius);
	padding: 14px 14px 18px; text-align: center; position: relative;
	transition: transform .15s, box-shadow .15s;
}
.woocommerce ul.products li.product:nth-child(4n+1) { box-shadow: 4px 4px 0 var(--blue); }
.woocommerce ul.products li.product:nth-child(4n+2) { box-shadow: 4px 4px 0 var(--pink); }
.woocommerce ul.products li.product:nth-child(4n+3) { box-shadow: 4px 4px 0 var(--yellow); }
.woocommerce ul.products li.product:nth-child(4n+4) { box-shadow: 4px 4px 0 var(--sage); }
.woocommerce ul.products li.product:hover { transform: translateY(-4px) rotate(-.5deg); }
.woocommerce ul.products li.product img { border-radius: 12px; margin-bottom: 12px; border: 2px solid var(--ink); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--chunky); font-size: 20px; padding: 4px 0; }
.woocommerce ul.products li.product .price { color: var(--ink); font-weight: 600; font-size: 18px; display: block; margin-bottom: 10px; }
.woocommerce ul.products li.product .price del { opacity: .5; }
.woocommerce ul.products li.product .price ins { text-decoration: none; background: var(--yellow); padding: 0 6px; border-radius: 6px; }
.woocommerce ul.products li.product .button { font-size: 15px; padding: 9px 20px; margin-top: 4px; }
.woocommerce span.onsale {
	background: var(--pink-d); color: var(--ink); border: 2.5px solid var(--ink);
	font-family: var(--chunky); min-width: 3.4em; min-height: 3.4em; line-height: 3em;
	top: -12px; left: -12px; right: auto; margin: 0; box-shadow: 2px 2px 0 var(--ink);
}
.woocommerce .star-rating span::before { color: #e9b949; }

/* single product */
.woocommerce div.product div.images img { border: 2.5px solid var(--ink); border-radius: var(--radius); }
.woocommerce div.product .product_title { font-size: clamp(30px, 4vw, 44px); }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--ink); font-weight: 700; font-size: 26px; }
.woocommerce div.product form.cart .button { font-size: 20px; }
.woocommerce .quantity .qty { width: 80px; padding: 11px 8px; border: 2.5px solid var(--ink); border-radius: 14px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 20px; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before { border-bottom: 2.5px solid var(--ink); }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
	background: var(--blue); border: 2.5px solid var(--ink); border-radius: 14px 14px 0 0; margin: 0 6px 0 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active { background: var(--pink); border-bottom-color: var(--pink); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--ink); font-weight: 600; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.related.products > h2, .upsells.products > h2 { font-family: var(--script); font-weight: 400; text-align: center; font-size: 42px; }

/* notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	background: var(--blue) !important; color: var(--ink) !important;
	border: 2.5px solid var(--ink) !important; border-radius: 14px !important; border-top-width: 2.5px !important;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--ink) !important; }
.woocommerce-error { background: var(--pink) !important; }

/* cart / checkout */
.woocommerce table.shop_table { border: 2.5px solid var(--ink); border-radius: var(--radius); overflow: hidden; border-collapse: separate; background: #fff; }
.woocommerce table.shop_table th { background: var(--yellow); font-family: var(--chunky); font-weight: 400; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-color: rgba(43,43,43,.25); }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #order_review,
.woocommerce-checkout #payment { background: var(--cream); }
.woocommerce-checkout #payment { border: 2.5px solid var(--ink); border-radius: var(--radius); }
.woocommerce-checkout #payment div.payment_box { background: var(--blue); color: var(--ink); border-radius: 12px; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color: var(--blue); }
.woocommerce-checkout h3, .woocommerce-cart h2 { font-size: 30px; }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-MyAccount-navigation li a {
	display: block; padding: 10px 16px; margin-bottom: 8px; text-decoration: none; font-weight: 600;
	background: var(--blue); border: 2.5px solid var(--ink); border-radius: 12px;
}
.woocommerce-MyAccount-navigation li.is-active a { background: var(--pink); }

/* ---------- Footer ---------- */
.jey-footer { background: var(--blue); border-top: 3px solid var(--ink); margin-top: 40px; }
.jey-footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-block: 44px 20px; }
.jey-footer .jey-logo-script { font-size: 36px; margin-bottom: -6px; }
.jey-footer h4 { font-size: 22px; margin: 0 0 12px; }
.jey-footer ul { list-style: none; margin: 0; padding: 0; }
.jey-footer li { margin-bottom: 6px; }
.jey-footer a { font-weight: 500; }
.jey-socials a { margin-right: 14px; }
.jey-copy { text-align: center; padding: 16px; background: var(--yellow); border-top: 2.5px solid var(--ink); font-weight: 500; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
	.jey-cats { grid-template-columns: repeat(3, 1fr); }
	.woocommerce ul.products { grid-template-columns: repeat(3, 1fr); }
	.jey-sparks.left { left: -56px; } .jey-sparks.right { right: -56px; }
	.jey-title-sparks { display: none; }
}
@media (max-width: 800px) {
	.jey-menu-toggle { display: block; }
	.jey-header-left { gap: 8px; }
	.jey-header-right { gap: 12px; }
	.jey-nav { display: none; }
	.jey-nav.open { display: block; }
	.jey-menu { flex-direction: column; gap: 0; text-align: center; }
	.jey-menu a { padding: 14px 4px; }
	.jey-menu .sub-menu { position: static; transform: none; box-shadow: none; border: 0; background: rgba(255,255,255,.5); display: none; }
	.jey-menu li.sub-open > .sub-menu { display: block; }
	.jey-quick { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.jey-tile { min-height: 190px; }
	.jey-footer-inner { grid-template-columns: 1fr; text-align: center; }
	.jey-sparks { display: none; }
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 480px) {
	body { font-size: 16px; }
	.jey-announce { font-size: 11px; letter-spacing: .06em; }
	.jey-cats { grid-template-columns: repeat(2, 1fr); }
	.jey-hero { padding: 54px 10px 36px; }
}
