/*
Theme Name:   Tiny Scribblz
Theme URI:    https://tinyscribblz.com
Description:  Tiny Scribblz bookstore theme (child theme of Blocksy). Brand colours, Shop dropdown built from your categories, book filters with a phone-friendly filter panel, homepage sections, WhatsApp button and coupon nudge. Settings: Appearance → Customize → Tiny Scribblz.
Author:       Tiny Scribblz
Template:     blocksy
Version:      1.1.3
Requires PHP: 7.4
Text Domain:  tinyscribblz
*/

/* ============ Base ============ */
body {
	font-family: var(--ts-body-font);
	background-color: var(--ts-bg);
	color: #3F4A6B;
}
h1, h2, h3, h4, h5, h6,
.entry-title, .page-title, .product_title,
.woocommerce-loop-product__title {
	font-family: var(--ts-heading-font) !important;
	--theme-font-family: var(--ts-heading-font);
	color: var(--ts-navy);
	font-weight: 600;
	letter-spacing: -.01em;
}
a { text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--ts-blue); outline-offset: 2px; }

/* Buttons: friendly pills */
.button, button.button, .wp-element-button, .wp-block-button__link,
.single_add_to_cart_button, .checkout-button, #place_order,
input[type="submit"], .wpcf7-submit {
	border-radius: 999px !important;
	font-weight: 800 !important;
	min-height: 46px;
}
.wp-block-button.is-style-outline .wp-block-button__link {
	background: #fff;
	color: var(--ts-navy);
	border: 2px solid var(--ts-navy);
}

/* ============ Announcement bar ============ */
.ts-announce {
	background: var(--ts-navy);
	color: #fff;
	text-align: center;
	font-size: 14px;
	font-weight: 700;
	padding: 9px 16px;
	line-height: 1.4;
}
.ts-announce a { color: #fff; text-decoration: none; }

/* ============ Shop dropdown (desktop) ============ */
@media (min-width: 1000px) {
	header .ts-shop-menu { position: static; }
	header .ts-shop-menu > .sub-menu {
		--dropdown-width: 880px;
		width: min(880px, 94vw) !important;
		left: 50% !important;
		right: auto !important;
		margin-left: calc(min(880px, 94vw) / -2) !important;
		display: grid !important;
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
		align-items: start;
		gap: 0 36px;
		padding: 26px 32px 18px !important;
		background: #fff !important;
		border-radius: 0 0 22px 22px !important;
		box-shadow: 0 24px 48px rgba(27, 43, 90, .18) !important;
		z-index: 60;
	}
	header .ts-shop-menu > .sub-menu > li {
		width: auto !important;
		display: flex !important;
		flex-direction: column !important;
		align-items: stretch !important;
		justify-content: flex-start !important;
		min-width: 0;
	}
	header .ts-shop-menu > .sub-menu > li > a { width: 100%; justify-content: flex-start !important; }
	header .ts-shop-menu > .sub-menu > .ts-col > a {
		font-size: 12px !important;
		font-weight: 800 !important;
		letter-spacing: 1px;
		text-transform: uppercase !important;
		white-space: nowrap;
		color: var(--ts-pink-dark) !important;
		padding: 0 0 10px !important;
		border-bottom: 1px solid #F1E4CF;
		margin-bottom: 6px;
		pointer-events: none;
	}
	header .ts-shop-menu .ts-col > .sub-menu {
		position: static !important;
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
		box-shadow: none !important;
		background: transparent !important;
		width: auto !important;
		padding: 0 !important;
		margin: 0 !important;
		display: block !important;
		pointer-events: auto !important;
	}
	header .ts-shop-menu .ts-col-cats > .sub-menu { columns: 2; column-gap: 28px; }
	header .ts-shop-menu .ts-col > .sub-menu > li { break-inside: avoid; display: block !important; width: auto !important; }
	header .ts-shop-menu .ts-col > .sub-menu a {
		padding: 6px 0 !important;
		font-weight: 700;
		font-size: 15px !important;
		line-height: 1.35 !important;
		color: var(--ts-navy) !important;
		white-space: nowrap;
		text-transform: none !important;
		letter-spacing: 0 !important;
	}
	header .ts-shop-menu .ts-col > .sub-menu a:hover { color: var(--ts-pink-dark) !important; }
	header .ts-shop-menu .ts-sub > a {
		padding-left: 14px !important;
		border-left: 2px solid #F1E4CF;
		font-weight: 600 !important;
		font-size: .92em;
		color: #5A6380 !important;
	}
	header .ts-shop-menu .ts-col .ct-toggle-dropdown-desktop,
	header .ts-shop-menu .ts-col .ct-toggle-dropdown-desktop-ghost,
	header .ts-shop-menu .ts-col > a > svg { display: none !important; }
	header .ts-shop-menu .ts-mega-foot,
	header .ts-shop-menu .ts-mega-all {
		grid-row: 2;
		border-top: 1px solid #F1E4CF;
		margin-top: 14px !important;
		padding-top: 4px;
	}
	header .ts-shop-menu .ts-mega-foot { grid-column: 1 / 3; }
	header .ts-shop-menu .ts-mega-all { grid-column: 3; text-align: right; }
	header .ts-shop-menu .ts-mega-foot > a { color: var(--ts-pink-dark) !important; font-weight: 800; }
	header .ts-shop-menu .ts-mega-all > a { font-weight: 800; justify-content: flex-end; }
}
/* Phone menu: sub-categories slightly indented */
.ts-sub > a { padding-left: 14px !important; opacity: .85; }

/* ============ Shop page: filter panel ============ */
.ts-filters {
	background: #fff;
	border-radius: 22px;
	padding: 22px;
	box-shadow: 0 6px 18px rgba(27, 43, 90, .06);
	font-size: 15px;
}
.ts-filters__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.ts-filters__title { font-family: var(--ts-heading-font); font-size: 22px; font-weight: 600; color: var(--ts-navy); flex: 1; }
.ts-filters__clear { font-weight: 800; color: var(--ts-pink-dark); text-decoration: none; }
.ts-fgroup { border: 0; margin: 0; padding: 14px 0; border-top: 1px solid #F1E4CF; min-width: 0; }
.ts-fgroup legend { font-weight: 800; color: var(--ts-navy); padding: 0; margin-bottom: 8px; font-size: 16px; float: left; width: 100%; }
.ts-fgroup legend + * { clear: both; }
.ts-fgroup--plain { padding-top: 12px; }
.ts-checkbox { display: flex; align-items: center; gap: 10px; min-height: 36px; cursor: pointer; color: var(--ts-navy); }
.ts-checkbox input { width: 18px; height: 18px; accent-color: var(--ts-pink); margin: 0; flex: none; }
.ts-checkbox input:checked + span { font-weight: 800; }
.ts-fsub { padding-left: 26px; }
.ts-fscroll { max-height: 260px; overflow-y: auto; }
.ts-fgroup--chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ts-chipbox { position: relative; cursor: pointer; }
.ts-chipbox input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.ts-chipbox span {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
	border-radius: 20px; border: 2px solid #F1E4CF; background: #fff;
	font-weight: 800; color: var(--ts-navy);
}
.ts-chipbox input:checked + span { background: var(--ts-navy); border-color: var(--ts-navy); color: #fff; }
.ts-chipbox input:focus-visible + span { outline: 3px solid var(--ts-blue); outline-offset: 2px; }
.ts-filters__foot { padding-top: 14px; border-top: 1px solid #F1E4CF; display: flex; gap: 10px; }
.ts-clear-btn {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center;
	min-height: 50px; padding: 0 20px; border-radius: 999px; border: 2px solid var(--ts-navy);
	color: var(--ts-navy); font-weight: 800; text-decoration: none; background: #fff;
}
.ts-apply { flex: 1; }
.ts-apply { min-height: 50px; border: 0; border-radius: 999px;
	background: var(--ts-pink); color: #fff; font: inherit; font-weight: 800; font-size: 16px; cursor: pointer;
}
.ts-filters--sidebar.ts-js .ts-filters__foot { display: none; } /* desktop updates as you tick */
.ts-drawer__close { border: 0; background: var(--ts-cream); width: 40px; height: 40px; border-radius: 20px; font-size: 24px; line-height: 1; cursor: pointer; color: var(--ts-navy); }

/* Chips above the books */
.ts-shopbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 18px; width: 100%; }
.ts-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ts-chip {
	display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 8px 0 16px;
	border-radius: 20px; background: #FFE3EE; color: var(--ts-navy); font-weight: 800; text-decoration: none;
}
.ts-chip span { width: 26px; height: 26px; border-radius: 13px; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; }
.ts-chip:hover span { background: var(--ts-pink); color: #fff; }
.ts-chips__clear { font-weight: 800; color: var(--ts-pink-dark); margin-left: 6px; }
.ts-filter-btn {
	display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px;
	border-radius: 22px; border: 2px solid var(--ts-navy); background: #fff; color: var(--ts-navy);
	font: inherit; font-weight: 800; cursor: pointer;
}
.ts-filter-btn__n { background: var(--ts-pink); color: #fff; border-radius: 10px; min-width: 20px; height: 20px; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }
.ts-no-filter-widget .ts-filter-btn { display: inline-flex; }

/* Slide-in panel */
.ts-drawer { position: fixed; inset: 0; z-index: 99999; }
.ts-drawer[hidden] { display: none; }
.ts-drawer__shade { position: absolute; inset: 0; background: rgba(27, 43, 90, .45); opacity: 0; transition: opacity .25s; }
.ts-drawer__panel {
	position: absolute; top: 0; bottom: 0; left: 0; width: min(380px, 88vw);
	background: #fff; overflow-y: auto; transform: translateX(-100%); transition: transform .25s;
	-webkit-overflow-scrolling: touch;
}
.ts-drawer.is-open .ts-drawer__shade { opacity: 1; }
.ts-drawer.is-open .ts-drawer__panel { transform: none; }
.ts-drawer .ts-filters { box-shadow: none; border-radius: 0; min-height: 100%; padding-bottom: 0; }
.ts-drawer .ts-filters__foot { position: sticky; bottom: 0; background: #fff; padding: 12px 0 16px; }
html.ts-drawer-open { overflow: hidden; }

@media (max-width: 999px) {
	.ts-filter-btn { display: inline-flex; }
	.widget_ts_filters { display: none; } /* on phones the filters live in the slide-in panel */
}

/* ============ Book cards ============ */
ul.products li.product { position: relative; }
ul.products li.product figure, ul.products li.product .ct-media-container {
	border-radius: 16px; overflow: hidden; background: var(--ts-cream);
}
.ts-badge {
	position: absolute; top: 12px; left: 12px; z-index: 3;
	background: var(--ts-blue); color: #fff; font-size: 12px; font-weight: 800;
	padding: 4px 12px; border-radius: 12px; pointer-events: none;
}
ul.products li.product .woocommerce-loop-product__title { font-size: 17px; line-height: 1.3; }
ul.products li.product .price { font-family: var(--ts-heading-font); font-size: 20px; font-weight: 600; color: var(--ts-navy); }
.onsale { border-radius: 12px !important; background: var(--ts-gold) !important; color: var(--ts-navy) !important; font-weight: 800 !important; }

/* ============ Product page ============ */
.single-product .product_title { font-size: clamp(28px, 4vw, 40px); }
.single-product .summary .price { font-family: var(--ts-heading-font); font-size: 30px; color: var(--ts-navy); }
.single-product .stock { font-weight: 800; color: var(--ts-pink-dark) !important; }
.ts-wa-btn {
	display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 18px;
	min-height: 48px; padding: 0 22px; border-radius: 999px;
	background: #E7F8EE; color: #128C4A; font-weight: 800; text-decoration: none;
}
.ts-wa-btn:hover { background: #25D366; color: #fff; }

/* ============ Cart ============ */
.ts-promo {
	background: #FFF3D6; color: #6B5212; border-radius: 14px;
	padding: 12px 16px; margin: 0 0 16px; font-weight: 700; font-size: 15px;
}
.ts-promo .amount { font-weight: 800; }

/* ============ Homepage sections ============ */
.ts-home-page .hero-section, .ts-home-page .entry-header { display: none; }
.ts-band { box-sizing: border-box; overflow-x: clip; margin-top: 0 !important; margin-bottom: 0 !important; padding: var(--ts-sec, 40px) 20px; }
@media (max-width: 600px) { .ts-band { padding-top: calc(var(--ts-sec, 40px) * .7); padding-bottom: calc(var(--ts-sec, 40px) * .7); } }
/* No extra gaps around homepage sections */
.ts-home-page [data-vertical-spacing] { padding-top: 0 !important; padding-bottom: 0 !important; }
.ts-home-page .entry-content > .ts-band,
.ts-home-page .entry-content > * + .ts-band { margin-block: 0 !important; }
.ts-band .ts-wrap > *:first-child { margin-top: 0; }
.ts-band .ts-wrap > *:last-child { margin-bottom: 0; }
.ts-band .wp-block-columns { margin-bottom: 0; }
.ts-band h2 { margin-top: 0; }
.ts-new ul.products { margin-bottom: 0; }
.ts-new__more, .ts-cats__more { margin-bottom: 0 !important; }
.ts-band > .ts-wrap { max-width: var(--theme-normal-container-max-width, 1290px); margin: 0 auto; }
/* Full-width banner option */
.ts-sliderband--full { padding: 0 !important; }
.ts-sliderband--full > .ts-wrap { max-width: none; }
.ts-sliderband--full .ts-slider { border-radius: 0; }
.ts-band h2 { font-size: clamp(26px, 3.6vw, 38px); margin: 0 0 18px; }
.ts-kicker { font-weight: 800; color: var(--ts-pink-dark); text-transform: uppercase; letter-spacing: 1px; font-size: 14px; margin: 0 0 8px; }
.ts-lead { font-size: 18px; margin-top: -10px; }
.ts-hero { background: var(--ts-cream); }
.ts-hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.05; margin: 0 0 16px; }
.ts-hero .wp-block-columns { align-items: center; gap: 40px; }
.ts-hero__img img { width: 100%; height: auto; }
.ts-cream { background: var(--ts-cream); }
.ts-dark { background: var(--ts-navy); color: #C9D2EA; }
.ts-dark h2, .ts-dark h3 { color: #fff; }
.ts-why h3 { font-size: 20px; margin: 0 0 6px; color: var(--ts-gold) !important; }
.ts-pinkband { background: #FFE3EE; }
.ts-pinkband .wp-block-columns { align-items: center; }
.ts-pinkband h2 { margin-bottom: 6px; }
.ts-right .wp-block-buttons { justify-content: flex-end; }
.ts-review { background: #fff; border-radius: 22px; padding: 24px; box-shadow: 0 6px 18px rgba(27, 43, 90, .07); }
.ts-review__text { font-size: 17px; color: var(--ts-navy); }
.ts-review__who { font-weight: 800; margin: 0; }
.ts-placeholder { border: 3px dashed #E8CFA6; border-radius: 20px; padding: 40px 20px; text-align: center; font-weight: 800; color: #8A6A2E; }

/* Banner slider */
.ts-sliderband { padding-top: 20px !important; }
.ts-slider { position: relative; border-radius: 22px; overflow: hidden; background: var(--ts-cream); }
.ts-slider, .ts-slider * { box-sizing: border-box; }
.ts-slider__track { display: flex; width: 100%; transition: transform .5s ease; will-change: transform; }
.ts-slider__slide { flex: 0 0 100%; width: 100%; min-width: 100%; max-width: 100%; margin: 0 !important; padding: 0; }
.ts-slider__slide a { display: block; height: 100%; }
.ts-slider__img { display: block; width: 100% !important; max-width: none !important; height: auto; aspect-ratio: var(--ts-ratio, auto); object-fit: cover; margin: 0 !important; }
@media (prefers-reduced-motion: reduce) { .ts-slider__track { transition: none; } }
/* Banner height set in the dashboard */
@media (min-width: 601px) { .ts-slider.has-h .ts-slider__img { aspect-ratio: auto; height: var(--ts-bh) !important; } }
@media (max-width: 600px) { .ts-slider.has-hm .ts-slider__img { aspect-ratio: auto; height: var(--ts-bhm) !important; } }
.ts-slider__btn {
	position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 22px;
	border: 0; background: rgba(255, 255, 255, .85); color: var(--ts-navy); font-size: 30px; line-height: 1;
	cursor: pointer; box-shadow: 0 4px 12px rgba(27, 43, 90, .2); display: flex; align-items: center; justify-content: center; padding: 0 0 4px;
}
.ts-slider__btn--prev { left: 14px; }
.ts-slider__btn--next { right: 14px; }
.ts-slider__dots { position: absolute; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 4px; }
.ts-slider__dots button { width: 24px; height: 24px; border: 0; background: transparent; padding: 0; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ts-slider__dots button::before { content: ""; width: 10px; height: 10px; border-radius: 5px; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 1px rgba(27, 43, 90, .25); transition: width .2s; }
.ts-slider__dots button[aria-current="true"]::before { width: 24px; background: #fff; }
@media (max-width: 600px) {
	.ts-slider { border-radius: 14px; }
	.ts-slider__btn { width: 34px; height: 34px; font-size: 24px; }
	.ts-slider__btn--prev { left: 6px; } .ts-slider__btn--next { right: 6px; }
}

/* Shop by age */
.ts-age-tiles { display: grid; grid-template-columns: repeat(var(--ts-cols, 4), minmax(0, 1fr)); gap: 18px; }
.ts-age-tile { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--ts-navy); }
.ts-age-tile img { width: 100%; height: auto; border-radius: 24px; transition: transform .2s; }
.ts-age-tile:hover img { transform: translateY(-4px); }
.ts-age-tile__label { font-family: var(--ts-heading-font); font-size: 22px; font-weight: 600; }
.ts-age-tile__desc { font-size: 14px; color: #5A6380; }

/* Shop by category */
.ts-cats { display: grid; grid-template-columns: repeat(var(--ts-cols, 3), minmax(0, 1fr)); gap: 18px; }
.ts-cats__more { text-align: center; margin: 20px 0 0; font-weight: 800; }
.ts-cat {
	background: var(--ts-cat-bg, #FFE3EE); border-radius: 22px; padding: 20px 22px;
	display: flex; flex-direction: column; gap: 4px; min-height: 104px;
}
.ts-cat__img { display: block; }
.ts-cat__img img { display: block; width: 100%; height: auto; max-height: 220px; object-fit: contain; border-radius: 14px; margin-bottom: 8px; }
.ts-cat__name { font-weight: 800; font-size: 18px; color: var(--ts-navy); text-decoration: none; }
.ts-cat__name::after { content: ""; }
.ts-cat__desc { font-size: 14px; color: #5A6380; }
.ts-cat--big { grid-row: span 2; padding: 26px; }
.ts-cat--big .ts-cat__name { font-size: 22px; }
.ts-cat__subs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.ts-cat--big .ts-cat__subs { flex-direction: column; align-items: flex-start; }
.ts-cat__subs a { background: #fff; border-radius: 16px; padding: 7px 14px; font-weight: 800; font-size: 15px; color: var(--ts-navy); text-decoration: none; }
.ts-cat__subs a:hover { color: var(--ts-pink-dark); }
.ts-cat__all { margin-top: auto; padding-top: 16px; font-weight: 800; color: var(--ts-pink-dark); text-decoration: none; }
.ts-cat--all { background: var(--ts-navy); color: #fff; font-weight: 800; font-size: 18px; align-items: center; justify-content: center; text-decoration: none; }
.ts-cat--all:hover { color: #fff; background: #24376f; }
.ts-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 22px; }
.ts-pills__label { font-weight: 800; color: var(--ts-navy); margin-right: 6px; }
.ts-pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 22px; background: #fff; border: 2px solid #F1E4CF; font-weight: 800; color: var(--ts-navy); text-decoration: none; }
.ts-pill:hover { border-color: var(--ts-pink); }
.ts-new__more { text-align: center; margin-top: 18px; font-weight: 800; }

/* ============ Forms (Contact Form 7, Talent Wall) ============ */
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 input[type="tel"],
.wpcf7 input[type="number"], .wpcf7 select, .wpcf7 textarea {
	border-radius: 14px !important; border: 2px solid #F1E4CF !important; background: #fff !important;
	min-height: 48px; font-size: 16px;
}
.wpcf7 input:focus, .wpcf7 select:focus, .wpcf7 textarea:focus { border-color: var(--ts-pink) !important; }
.ts-contact { display: flex; flex-direction: column; gap: 8px; }


/* ============ Talent Wall page (art wall gallery with hearts) ============ */
.art-wall .gallery {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px 22px;
	margin: 0 !important;
}
.art-wall .gallery br { display: none; }
.art-wall .gallery .gallery-item {
	display: flex !important;
	flex-direction: column;
	align-items: stretch;
	width: auto !important;
	max-width: none !important;
	min-width: 0;
	margin: 0 !important;
	padding: 12px !important;
	float: none !important;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 6px 18px rgba(27, 43, 90, .08);
	text-align: center;
}
.art-wall .gallery-icon,
.art-wall .gallery-icon a {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0 !important;
}
.art-wall .gallery-icon img {
	display: block;
	width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	background: #fff;
	border: 1px solid #F1E4CF !important;
	border-radius: 14px;
	padding: 0 !important;
}
.art-wall .gallery-caption {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	margin: 10px 0 0 !important;
	padding: 0 !important;
	max-width: none !important;
	font-size: 14px;
	line-height: 1.45;
	text-align: center !important;
	color: #5A6380;
	background: none !important;
	border: 0 !important;
	position: static !important;
}
.art-wall .gallery-caption strong,
.art-wall .gallery-caption b { color: var(--ts-navy); font-size: 16px; }
.art-wall .gallery #loadMore,
.art-wall #loadMore {
	grid-column: 1 / -1;
	justify-self: center;
	border-radius: 999px;
	min-height: 48px;
	padding: 0 28px;
	font-weight: 800;
}
.ts-heart {
	position: relative;
	z-index: 5;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 72px;
	min-height: 44px;
	margin: 8px auto 0;
	padding: 8px 18px;
	border: 2px solid #f3c6d3;
	border-radius: 22px;
	background: #fff;
	color: #999;
	font: inherit;
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: transparent;
	user-select: none;
	transition: all .15s ease;
}
.ts-heart * { pointer-events: none; }
.ts-heart:hover { border-color: var(--ts-pink-dark); color: var(--ts-pink-dark); background: #fff0f5; }
.ts-heart:active { transform: scale(.94); }
.ts-heart.is-liked { color: var(--ts-pink-dark) !important; border-color: var(--ts-pink-dark) !important; background: #fff0f5 !important; }
@media (max-width: 999px) {
	.art-wall .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.art-wall .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
	.art-wall .gallery .gallery-item { padding: 8px !important; border-radius: 16px; }
	.art-wall .gallery-caption { font-size: 13px; }
	.art-wall .gallery-caption strong, .art-wall .gallery-caption b { font-size: 14px; }
}


/* ============ Customer reviews ============ */
.ts-revs { position: relative; }
.ts-revs__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 6px 2px 12px; }
.ts-revs__track::-webkit-scrollbar { display: none; }
.ts-rev {
	flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; margin: 0;
	background: #fff; border-radius: 22px; padding: 26px 24px; box-shadow: 0 6px 18px rgba(27, 43, 90, .07);
	display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
}
.ts-rev__img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.ts-rev__text { margin: 0; padding: 0; border: 0; font-size: 16px; line-height: 1.6; color: var(--ts-navy); font-style: normal; }
.ts-rev__text::before { content: "“"; display: block; font-family: var(--ts-heading-font); font-size: 44px; line-height: .6; color: var(--ts-pink); margin-bottom: 6px; }
.ts-rev__who { margin-top: auto; font-weight: 800; color: var(--ts-navy); }
.ts-revs__btn {
	position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 22px;
	border: 1px solid #F1E4CF; background: #fff; color: var(--ts-navy); font-size: 28px; line-height: 1; cursor: pointer;
	box-shadow: 0 4px 12px rgba(27, 43, 90, .12); display: flex; align-items: center; justify-content: center; padding: 0 0 4px;
}
.ts-revs__btn--prev { left: -18px; } .ts-revs__btn--next { right: -18px; }
@media (max-width: 999px) { .ts-rev { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 600px) {
	.ts-rev { flex-basis: 86%; padding: 22px 18px; }
	.ts-revs__btn { display: none; }
}

/* ============ Footer (Tiny Scribblz) ============ */
.ts-has-footer #footer, .ts-has-footer .ct-footer { display: none !important; }
.ts-foot { background: var(--ts-foot-bg, #6F747E); color: #fff; font-size: 16px; }
.ts-foot a { color: #fff; text-decoration: none; }
.ts-foot a:hover { color: var(--ts-gold); }
.ts-foot__in { max-width: var(--theme-normal-container-max-width, 1290px); margin: 0 auto; padding: 56px 20px 24px; }
.ts-foot__cols { display: grid; grid-template-columns: 1.4fr 1fr .9fr .9fr; gap: 36px; }
.ts-foot__h { font-family: var(--ts-heading-font) !important; font-size: 20px !important; color: #fff !important; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.ts-foot__addr { margin: 0; line-height: 1.75; }
.ts-foot__mail { display: inline-block; padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .7); margin-bottom: 18px; }
.ts-foot__phone { display: block; font-weight: 800; font-size: 19px; }
.ts-foot__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.ts-foot__btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px;
	border-radius: 999px; background: #F6C47E; color: #fff !important; font-weight: 800;
}
.ts-foot__btn:hover { background: var(--ts-gold); }
.ts-foot__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .2); }
.ts-foot__copy { margin: 0; color: rgba(255, 255, 255, .8); }
.ts-foot__social { display: flex; gap: 10px; }
.ts-foot__social a { width: 46px; height: 46px; border-radius: 23px; border: 1px solid rgba(255, 255, 255, .35); display: flex; align-items: center; justify-content: center; }
.ts-foot__social a:hover { background: #fff; color: var(--ts-foot-bg, #6F747E); }
@media (max-width: 999px) { .ts-foot__cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
	.ts-foot__cols { grid-template-columns: 1fr; gap: 28px; }
	.ts-foot__in { padding-top: 40px; }
	.ts-foot__bottom { flex-direction: column-reverse; align-items: flex-start; }
}

/* ============ Tablets & phones ============ */
@media (max-width: 999px) {
	.ts-age-tiles, .ts-cats { grid-template-columns: repeat(min(var(--ts-cols, 3), 3), minmax(0, 1fr)); }
	.ts-cat--big { grid-row: auto; grid-column: 1 / -1; }
	.ts-cat--big .ts-cat__subs { flex-direction: row; }
	.ts-right .wp-block-buttons { justify-content: flex-start; }
}
@media (max-width: 600px) {
	.ts-announce { font-size: 12px; padding: 8px 12px; }
	.ts-age-tiles { gap: 12px; }
	.ts-age-tile__label { font-size: clamp(13px, 4.2vw, 18px); }
	.ts-age-tiles, .ts-cats { grid-template-columns: repeat(var(--ts-cols-m, 2), minmax(0, 1fr)); }
	.ts-cat { padding: 8px 8px 10px; min-height: 0; border-radius: 14px; gap: 2px; }
	.ts-cat__img img { border-radius: 10px; margin-bottom: 6px; }
	.ts-cat__name { font-size: 13px; line-height: 1.25; }
	.ts-cat__desc { display: none; }
	.ts-cats[style*="--ts-cols-m:3"] .ts-cat__subs, .ts-cats[style*="--ts-cols-m:4"] .ts-cat__subs { display: none; }
	.ts-hero .wp-block-buttons .wp-block-button { flex: 1 1 100%; }
	.ts-hero .wp-block-button__link { width: 100%; box-sizing: border-box; justify-content: center; }
	.ts-cats { gap: 8px; }
	.ts-shopbar { gap: 8px; }
}
