/* PawCraft — playful DTC pet gear theme. */
:root {
	--cream: #fff7ec;
	--paper: #ffffff;
	--ink: #22201b;
	--ink-soft: #5b564c;
	--coral: #ff5c38;
	--coral-dark: #e6492a;
	--butter: #ffc94d;
	--mint: #b8e3d2;
	--line: #ece2d3;
	--radius: 20px;
	--radius-lg: 32px;
	--font: ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	background: var(--cream);
	color: var(--ink);
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -0.02em; margin: 0; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px;
	clip: rect(1px, 1px, 1px, 1px); overflow: hidden;
}

/* Buttons */
.pc-btn {
	display: inline-block;
	padding: 0.85em 1.9em;
	border-radius: 999px;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	border: 2px solid transparent;
	cursor: pointer;
	transition: transform 0.15s ease, background 0.15s ease;
}
.pc-btn:hover { transform: translateY(-2px); }
.pc-btn--solid { background: var(--ink); color: var(--cream); }
.pc-btn--solid:hover { background: var(--coral); }
.pc-btn--light { background: var(--paper); color: var(--ink); }
.pc-btn--light:hover { background: var(--butter); }

/* Announcement marquee */
.pc-marquee {
	background: var(--ink);
	color: var(--cream);
	overflow: hidden;
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}
.pc-marquee__track {
	display: flex;
	gap: 2.5rem;
	width: max-content;
	padding: 0.55rem 0;
	animation: pc-marquee 28s linear infinite;
}
.pc-dot { color: var(--butter); }
@keyframes pc-marquee {
	to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
	.pc-marquee__track { animation: none; }
}

/* Header */
.pc-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 247, 236, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.pc-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0.9rem 1.25rem;
	display: flex;
	align-items: center;
	gap: 1.5rem;
}
.pc-logo {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	font-size: 1.4rem;
	font-weight: 800;
	letter-spacing: -0.03em;
	text-decoration: none;
	color: var(--coral);
}
.pc-logo span { color: var(--ink); }
.pc-nav { flex: 1; }
.pc-nav ul, .pc-nav-mobile ul, .pc-footer__nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 1.4rem;
}
.pc-nav a {
	text-decoration: none;
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--ink-soft);
}
.pc-nav a:hover { color: var(--coral); }
.pc-header__actions { display: flex; align-items: center; gap: 1.1rem; }
.pc-icon-link { color: var(--ink); display: inline-flex; }
.pc-cart {
	position: relative;
	display: inline-flex;
	color: var(--ink);
	text-decoration: none;
}
.pc-cart__count {
	position: absolute;
	top: -7px;
	right: -10px;
	background: var(--coral);
	color: #fff;
	font-size: 0.68rem;
	font-weight: 700;
	min-width: 17px;
	height: 17px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	padding: 0 4px;
}

/* Mobile nav */
.pc-nav-toggle {
	display: none;
	flex-direction: column;
	gap: 4px;
	background: none;
	border: 0;
	padding: 6px;
	cursor: pointer;
}
.pc-nav-toggle span {
	width: 22px; height: 2px;
	background: var(--ink);
	border-radius: 2px;
}
.pc-nav-mobile { display: none; padding: 0 1.25rem; }
.pc-nav-mobile ul { flex-direction: column; gap: 0; }
.pc-nav-mobile a {
	display: block;
	padding: 0.8rem 0;
	text-decoration: none;
	font-weight: 600;
	border-bottom: 1px solid var(--line);
}
.pc-nav-mobile.is-open { display: block; }

/* Hero */
.pc-hero {
	position: relative;
	max-width: 1280px;
	margin: 1.25rem auto 0;
	padding: 0 1.25rem;
}
.pc-hero__media { border-radius: var(--radius-lg); overflow: hidden; }
.pc-hero__img { width: 100%; height: clamp(320px, 55vw, 560px); object-fit: cover; }
.pc-hero__panel {
	position: absolute;
	left: 3rem;
	bottom: 3rem;
	max-width: 460px;
	background: var(--paper);
	border-radius: var(--radius-lg);
	padding: 2rem 2.2rem;
	box-shadow: 0 20px 50px rgba(34, 32, 27, 0.18);
}
.pc-hero__eyebrow {
	margin: 0 0 0.5rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--coral);
}
.pc-hero__title { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.pc-hero__sub { color: var(--ink-soft); margin: 0.8rem 0 1.4rem; }

/* Category tiles */
.pc-cats {
	max-width: 1200px;
	margin: 2.5rem auto 0;
	padding: 0 1.25rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
}
.pc-cat-tile {
	position: relative;
	border-radius: var(--radius-lg);
	overflow: hidden;
	text-decoration: none;
}
.pc-cat-tile__img {
	width: 100%;
	height: clamp(200px, 30vw, 340px);
	object-fit: cover;
	transition: transform 0.4s ease;
}
.pc-cat-tile:hover .pc-cat-tile__img { transform: scale(1.05); }
.pc-cat-tile__label {
	position: absolute;
	left: 1.5rem;
	bottom: 1.5rem;
	background: var(--paper);
	border-radius: 999px;
	padding: 0.6rem 1.4rem;
	font-weight: 700;
	box-shadow: 0 6px 18px rgba(34, 32, 27, 0.15);
}

/* Sections + carousel */
.pc-section { max-width: 1200px; margin: 4rem auto 0; padding: 0 1.25rem; }
.pc-section__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.4rem;
}
.pc-section__head h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
.pc-link { font-weight: 700; color: var(--coral); text-decoration: none; white-space: nowrap; }
.pc-link:hover { color: var(--coral-dark); }

.pc-carousel { position: relative; }
.pc-carousel__track {
	list-style: none;
	margin: 0;
	padding: 0.25rem;
	display: flex;
	gap: 1.1rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}
.pc-carousel__track::-webkit-scrollbar { display: none; }
.pc-carousel__nav { display: flex; gap: 0.5rem; justify-content: flex-end; margin-top: 0.9rem; }
.pc-carousel__btn {
	width: 42px; height: 42px;
	border-radius: 999px;
	border: 1px solid var(--line);
	background: var(--paper);
	font-size: 1.05rem;
	cursor: pointer;
	transition: background 0.15s ease;
}
.pc-carousel__btn:hover { background: var(--butter); }

/* Product card */
.pc-card {
	flex: 0 0 min(240px, 68vw);
	scroll-snap-align: start;
	background: var(--paper);
	border-radius: var(--radius);
	overflow: hidden;
	border: 1px solid var(--line);
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.pc-card:hover { box-shadow: 0 14px 34px rgba(34, 32, 27, 0.12); transform: translateY(-3px); }
.pc-card__media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pc-card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.pc-card__title { font-size: 0.98rem; font-weight: 600; }
.pc-card__title a { text-decoration: none; }
.pc-card__title a:hover { color: var(--coral); }
.pc-card__price { font-weight: 800; }
.pc-card__add {
	margin-top: auto;
	align-self: flex-start;
	font-size: 0.85rem;
	font-weight: 700;
	text-decoration: none;
	color: var(--coral);
	border-bottom: 2px solid currentColor;
	padding-bottom: 1px;
}

/* Editorial banner */
.pc-editorial {
	max-width: 1280px;
	margin: 4.5rem auto 0;
	padding: 0 1.25rem;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 1.25rem;
	align-items: stretch;
}
.pc-editorial__media { border-radius: var(--radius-lg); overflow: hidden; }
.pc-editorial__img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.pc-editorial__panel {
	background: var(--mint);
	border-radius: var(--radius-lg);
	padding: clamp(1.8rem, 4vw, 3.5rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	gap: 1rem;
}
.pc-editorial__panel h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
.pc-editorial__panel p { margin: 0; color: var(--ink-soft); }

/* Reviews */
.pc-reviews { max-width: 1200px; margin: 4.5rem auto 0; padding: 0 1.25rem; }
.pc-reviews__title { text-align: center; font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 1.6rem; }
.pc-reviews__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
}
.pc-review {
	margin: 0;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 1.6rem;
}
.pc-review p { margin: 0 0 1rem; font-size: 1.02rem; }
.pc-review footer { font-weight: 700; color: var(--coral); font-size: 0.9rem; }

/* Newsletter */
.pc-newsletter {
	max-width: 1200px;
	margin: 4.5rem auto 0;
	padding: 0 1.25rem 5rem;
}
.pc-newsletter__inner {
	background: var(--ink);
	color: var(--cream);
	border-radius: var(--radius-lg);
	padding: clamp(2rem, 5vw, 3.5rem);
	text-align: center;
}
.pc-newsletter__inner h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.pc-newsletter__inner p { color: #cfc6b6; max-width: 46ch; margin: 0.8rem auto 1.6rem; }
.pc-newsletter__form {
	display: flex;
	gap: 0.6rem;
	justify-content: center;
	flex-wrap: wrap;
}
.pc-newsletter__form input {
	padding: 0.85em 1.3em;
	border-radius: 999px;
	border: 0;
	min-width: min(320px, 100%);
	font-size: 1rem;
	font-family: inherit;
}
.pc-newsletter__form .pc-btn--solid { background: var(--coral); }
.pc-newsletter__form .pc-btn--solid:hover { background: var(--coral-dark); }

/* Footer */
.pc-footer { background: var(--paper); border-top: 1px solid var(--line); }
.pc-footer__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 3rem 1.25rem 2rem;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 2rem;
}
.pc-footer__logo { font-size: 1.3rem; font-weight: 800; color: var(--coral); }
.pc-footer__brand p { color: var(--ink-soft); max-width: 34ch; }
.pc-footer__nav ul { flex-direction: column; gap: 0.6rem; }
.pc-footer__nav a { text-decoration: none; color: var(--ink-soft); font-weight: 600; }
.pc-footer__nav a:hover { color: var(--coral); }
.pc-footer__meta { color: var(--ink-soft); font-size: 0.9rem; }
.pc-footer__meta a { color: inherit; }

/* Generic page */
.pc-page { max-width: 1200px; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
.pc-page__title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 1.2rem; }
.pc-page__title a { text-decoration: none; }

/* ---------- WooCommerce ---------- */
.woocommerce ul.products,
.woocommerce-page ul.products {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
	gap: 1.25rem;
}
.woocommerce ul.products li.product {
	float: none;
	width: auto !important;
	margin: 0 !important;
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	padding: 0 0 1.1rem;
	text-align: left;
}
.woocommerce ul.products li.product a { text-decoration: none; }
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 1rem !important;
	padding: 0.9rem 1.1rem 0.2rem;
	color: var(--ink);
}
.woocommerce ul.products li.product .price {
	padding: 0 1.1rem;
	font-weight: 800;
	color: var(--ink);
	font-size: 1rem;
}
.woocommerce ul.products li.product .price del { color: var(--ink-soft); font-weight: 400; }
.woocommerce ul.products li.product .button,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce #respond input#submit {
	display: inline-block;
	margin: 0.7rem 1.1rem 0;
	padding: 0.6em 1.4em;
	background: var(--ink);
	color: var(--cream) !important;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.88rem;
	border: 0;
	transition: background 0.15s ease;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover {
	background: var(--coral);
	color: #fff !important;
}
.woocommerce span.onsale {
	background: var(--coral);
	border-radius: 999px;
	padding: 0.35em 1em;
	min-height: 0;
	line-height: 1.4;
	top: 0.8em;
	left: 0.8em;
	right: auto;
	margin: 0;
}
.woocommerce div.product .price { color: var(--ink); font-weight: 800; }
.woocommerce div.product p.price, .woocommerce div.product span.price { font-size: 1.4rem; }
.woocommerce div.product form.cart .button { margin: 0; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	border-top-color: var(--coral);
	border-radius: 12px;
	background: var(--paper);
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--coral); }
.woocommerce .quantity .qty {
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 0.5em;
}
.woocommerce a.added_to_cart { color: var(--coral); font-weight: 700; }
.woocommerce nav.woocommerce-pagination ul { border: 0; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	border-radius: 10px;
	font-weight: 600;
}
.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
	background: var(--ink);
	color: var(--cream);
}
/* WooCommerce blocks (cart/checkout) inherit theme colors where possible */
.wp-block-button__link, .wc-block-components-button {
	border-radius: 999px !important;
}

/* Responsive */
@media (max-width: 860px) {
	.pc-nav { display: none; }
	.pc-nav-toggle { display: flex; }
	.pc-header__inner { gap: 0.9rem; }
	.pc-hero__panel {
		position: static;
		margin: -4.5rem 1rem 0;
		box-shadow: 0 14px 34px rgba(34, 32, 27, 0.15);
	}
	.pc-editorial { grid-template-columns: 1fr; }
	.pc-reviews__grid { grid-template-columns: 1fr; }
	.pc-footer__inner { grid-template-columns: 1fr; gap: 1.5rem; }
}
@media (max-width: 560px) {
	.pc-cats { grid-template-columns: 1fr; }
}
