/*
Theme Name: Animal Welfare
Theme URI: https://example.org/animal-welfare
Author: Your NGO
Author URI: https://example.org
Description: A minimalist, fully responsive WordPress theme built for animal welfare NGOs. Features a home page image carousel, photo gallery, staff slider, WooCommerce-powered adoption/fostering listings (no prices), a customizable header/footer with social links, and full internationalization support (English, Romanian, German, Dutch).
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: animal-welfare
Domain Path: /languages
Tags: e-commerce, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, threaded-comments, translation-ready

Animal Welfare is a custom theme built for non-profit animal rescue organizations.
*/

/* ==========================================================================
   0. CSS Custom Properties (Design Tokens)
   ========================================================================== */
:root {
	--aw-accent: #22A89B;
	--aw-accent-dark: #1b877d;
	--aw-accent-light: #e6f5f3;
	--aw-text: #23282d;
	--aw-text-light: #6b7280;
	--aw-bg: #ffffff;
	--aw-bg-alt: #f7f8f9;
	--aw-border: #e5e7eb;
	--aw-header-bg: #ffffff;
	--aw-footer-bg: #1c2226;
	--aw-footer-text: #d5d9dc;
	--aw-radius: 10px;
	--aw-radius-lg: 18px;
	--aw-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
	--aw-shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
	--aw-container: 1200px;
	--aw-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--aw-font-heading: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--aw-transition: 0.25s ease;
}

/* ==========================================================================
   1. Reset & Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--aw-font-body);
	color: var(--aw-text);
	background: var(--aw-bg);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--aw-accent); text-decoration: none; transition: color var(--aw-transition); }
a:hover { color: var(--aw-accent-dark); }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--aw-font-heading);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 0.6em;
	color: var(--aw-text);
}
p { margin: 0 0 1.2em; }
button, input, select, textarea { font-family: inherit; font-size: 1rem; }
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
	border: 0; margin: -1px; padding: 0;
}
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--aw-accent);
	color: #fff;
	padding: 12px 20px;
	z-index: 100000;
}
.skip-link:focus { left: 10px; top: 10px; }

.aw-container {
	max-width: var(--aw-container);
	margin: 0 auto;
	padding: 0 24px;
}
.aw-section { padding: 72px 0; }
.aw-section--alt { background: var(--aw-bg-alt); }
.aw-section-head {
	text-align: center;
	max-width: 680px;
	margin: 0 auto 44px;
}
.aw-eyebrow {
	display: inline-block;
	color: var(--aw-accent);
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	font-size: 0.8rem;
	margin-bottom: 10px;
}
.aw-section-head h2 { font-size: 2rem; }
.aw-section-head p { color: var(--aw-text-light); }

.aw-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 26px;
	border-radius: 999px;
	background: var(--aw-accent);
	color: #fff;
	font-weight: 600;
	border: 2px solid var(--aw-accent);
	cursor: pointer;
	transition: all var(--aw-transition);
	white-space: nowrap;
}
.aw-btn:hover { background: var(--aw-accent-dark); border-color: var(--aw-accent-dark); color: #fff; }
.aw-btn--outline { background: transparent; color: var(--aw-accent); }
.aw-btn--outline:hover { background: var(--aw-accent); color: #fff; }
.aw-btn--ghost-light { background: transparent; color: #fff; border-color: #fff; }
.aw-btn--ghost-light:hover { background: #fff; color: var(--aw-text); }

/* ==========================================================================
   2. Header
   ========================================================================== */
.aw-site-header {
	background: var(--aw-header-bg);
	border-bottom: 1px solid var(--aw-border);
	position: sticky;
	top: 0;
	z-index: 999;
}
.aw-header-inner {
	max-width: var(--aw-container);
	margin: 0 auto;
	padding: 16px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.aw-branding { display: flex; align-items: center; gap: 12px; }
.aw-branding img.custom-logo { max-height: 48px; width: auto; }
.aw-site-title {
	font-size: 1.35rem;
	font-weight: 800;
	margin: 0;
	color: var(--aw-text);
}
.aw-site-title a { color: inherit; }
.aw-site-description { font-size: 0.8rem; color: var(--aw-text-light); margin: 0; }

.aw-primary-nav { display: flex; align-items: center; gap: 28px; }
.aw-primary-nav ul { display: flex; align-items: center; gap: 28px; }
.aw-primary-nav a {
	color: var(--aw-text);
	font-weight: 600;
	font-size: 0.95rem;
}
.aw-primary-nav a:hover { color: var(--aw-accent); }
.aw-primary-nav .current-menu-item > a { color: var(--aw-accent); }
.aw-primary-nav .menu-item-has-children { position: relative; }
.aw-primary-nav .sub-menu {
	display: none;
	position: absolute;
	top: 100%; left: 0;
	background: #fff;
	box-shadow: var(--aw-shadow-lg);
	border-radius: var(--aw-radius);
	padding: 10px;
	min-width: 200px;
}
.aw-primary-nav .menu-item-has-children:hover .sub-menu,
.aw-primary-nav .menu-item-has-children:focus-within .sub-menu { display: block; }
.aw-primary-nav .sub-menu a { display: block; padding: 8px 12px; border-radius: 6px; }
.aw-primary-nav .sub-menu a:hover { background: var(--aw-accent-light); }

.aw-header-donate .aw-btn { padding: 10px 22px; font-size: 0.9rem; }
.aw-header-actions { display: flex; align-items: center; gap: 18px; }
.aw-header-social { display: flex; gap: 10px; }
.aw-header-social a {
	width: 32px; height: 32px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: var(--aw-bg-alt);
	color: var(--aw-text);
}
.aw-header-social a:hover { background: var(--aw-accent); color: #fff; }
.aw-header-social svg { width: 15px; height: 15px; fill: currentColor; }

.aw-hamburger {
	display: none;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 40px; height: 40px;
	background: transparent;
	border: 1px solid var(--aw-border);
	border-radius: 8px;
	cursor: pointer;
}
.aw-hamburger span {
	display: block;
	width: 20px; height: 2px;
	background: var(--aw-text);
	margin: 0 auto;
	transition: transform var(--aw-transition), opacity var(--aw-transition);
}
.aw-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.aw-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.aw-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   2.5 Language Switcher
   ========================================================================== */
.aw-lang-switcher { position: relative; }
.aw-lang-current {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: transparent;
	border: 1px solid var(--aw-border);
	border-radius: 8px;
	cursor: pointer;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--aw-text);
	transition: all var(--aw-transition);
	white-space: nowrap;
}
.aw-lang-current:hover { border-color: var(--aw-accent); color: var(--aw-accent); }
.aw-lang-icon { flex-shrink: 0; }
.aw-lang-dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	background: #fff;
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius);
	box-shadow: var(--aw-shadow-lg);
	min-width: 130px;
	padding: 6px;
	z-index: 100;
}
.aw-lang-switcher.is-open .aw-lang-dropdown { display: block; }
.aw-lang-option {
	display: block;
	padding: 8px 14px;
	border-radius: 6px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--aw-text);
	text-decoration: none;
	transition: background var(--aw-transition);
}
.aw-lang-option:hover { background: var(--aw-accent-light); }
.aw-lang-option--active { color: var(--aw-accent); background: var(--aw-accent-light); }

/* ==========================================================================
   3. Hero Carousel
   ========================================================================== */
.aw-carousel {
	position: relative;
	overflow: hidden;
	background: var(--aw-text);
}
.aw-carousel-track { display: flex; transition: transform 0.6s ease; }
.aw-carousel-slide {
	position: relative;
	min-width: 100%;
	height: 62vh;
	min-height: 380px;
	display: flex;
	align-items: center;
}
.aw-carousel-slide img {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
}
.aw-carousel-slide::after {
	content: "";
	position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
}
.aw-carousel-caption {
	position: relative;
	z-index: 2;
	color: #fff;
	max-width: 640px;
	margin: 0 auto;
	padding: 0 24px;
	text-align: center;
}
.aw-carousel-caption h2 {
	color: #fff;
	font-size: clamp(1.8rem, 4vw, 3rem);
	margin-bottom: 0.4em;
}
.aw-carousel-caption p {
	font-size: 1.15rem;
	opacity: 0.95;
}
.aw-carousel-nav {
	position: absolute;
	top: 50%; transform: translateY(-50%);
	z-index: 3;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: rgba(255,255,255,0.2);
	border: 1px solid rgba(255,255,255,0.5);
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	cursor: pointer;
	backdrop-filter: blur(4px);
}
.aw-carousel-nav:hover { background: var(--aw-accent); border-color: var(--aw-accent); }
.aw-carousel-nav--prev { left: 20px; }
.aw-carousel-nav--next { right: 20px; }
.aw-carousel-dots {
	position: absolute;
	bottom: 22px; left: 0; right: 0;
	z-index: 3;
	display: flex; justify-content: center; gap: 8px;
}
.aw-carousel-dots button {
	width: 9px; height: 9px;
	border-radius: 50%;
	background: rgba(255,255,255,0.5);
	border: none;
	padding: 0;
	cursor: pointer;
}
.aw-carousel-dots button.is-active { background: #fff; width: 22px; border-radius: 5px; }

/* ==========================================================================
   4. Intro / About section
   ========================================================================== */
.aw-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.aw-intro img { border-radius: var(--aw-radius-lg); box-shadow: var(--aw-shadow); }
.aw-intro-content h2 { font-size: 2rem; }
.aw-stats { display: flex; gap: 32px; margin-top: 28px; flex-wrap: wrap; }
.aw-stat strong { display: block; font-size: 1.8rem; color: var(--aw-accent); }
.aw-stat span { color: var(--aw-text-light); font-size: 0.9rem; }

/* ==========================================================================
   5. Gallery / Collage
   ========================================================================== */
.aw-gallery-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-auto-rows: 160px;
	gap: 14px;
}
.aw-gallery-item {
	position: relative;
	overflow: hidden;
	border-radius: var(--aw-radius);
}
.aw-gallery-item img {
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.aw-gallery-item:hover img { transform: scale(1.08); }
.aw-gallery-item--big { grid-column: span 2; grid-row: span 2; }
.aw-gallery-caption {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 10px 14px;
	background: linear-gradient(0deg, rgba(0,0,0,0.65), transparent);
	color: #fff;
	font-size: 0.85rem;
	opacity: 0;
	transition: opacity var(--aw-transition);
}
.aw-gallery-item:hover .aw-gallery-caption { opacity: 1; }

/* ==========================================================================
   6. Staff slider
   ========================================================================== */
.aw-staff-slider {
	position: relative;
	overflow: hidden;
	padding: 8px 0 18px;
}
.aw-staff-track {
	display: grid;
	grid-template-columns: 1fr;
}
.aw-staff-card {
	grid-area: 1 / 1;
	justify-self: center;
	width: min(34%, 400px);
	background: var(--aw-bg);
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-lg);
	overflow: hidden;
	text-align: center;
	opacity: 0;
	pointer-events: none;
	transform: scale(0.7);
	transition: transform 0.55s ease, opacity 0.55s ease;
	will-change: transform;
}
.aw-staff-card.is-active {
	transform: translateX(0) scale(1);
	opacity: 1;
	pointer-events: auto;
	z-index: 3;
	box-shadow: 0 14px 34px rgba(0, 0, 0, 0.14);
}
.aw-staff-card.is-active:hover { transform: translateX(0) scale(1.02); }
.aw-staff-card.is-prev,
.aw-staff-card.is-next {
	transform: translateX(0) scale(0.84);
	opacity: 0.6;
	z-index: 2;
	filter: brightness(0.92);
}
.aw-staff-card.is-prev {
	transform: translateX(calc(-100% - 28px)) scale(0.84);
}
.aw-staff-card.is-next {
	transform: translateX(calc(100% + 28px)) scale(0.84);
}
.aw-staff-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.aw-staff-card .aw-staff-info {
	padding: 18px 14px;
	min-height: 92px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.aw-staff-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.aw-staff-card .aw-staff-role { color: var(--aw-accent); font-size: 0.85rem; font-weight: 600; }
.aw-staff-controls { display: flex; justify-content: center; gap: 12px; margin-top: 26px; }
.aw-staff-controls button {
	width: 40px; height: 40px;
	border-radius: 50%;
	border: 1px solid var(--aw-border);
	background: #fff;
	cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.aw-staff-controls button:hover { background: var(--aw-accent); border-color: var(--aw-accent); color: #fff; }

/* ==========================================================================
   7. Pets / WooCommerce
   ========================================================================== */
.aw-pets-cta { text-align: center; margin-top: 36px; }

.aw-pets-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}
.aw-pet-card {
	position: relative;
	display: block;
	border-radius: var(--aw-radius-lg);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--aw-bg-alt);
	text-decoration: none;
}
.aw-pet-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}
.aw-pet-card:hover img {
	transform: scale(1.08);
}
.aw-pet-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.55);
	opacity: 0;
	transition: opacity var(--aw-transition);
	padding: 20px;
}
.aw-pet-card:hover .aw-pet-overlay {
	opacity: 1;
}
.aw-pet-name {
	color: #fff;
	font-size: 1.35rem;
	font-weight: 700;
	text-align: center;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.aw-pets-grid .aw-pet-badge {
	position: absolute; top: 14px; left: 14px;
	background: var(--aw-accent);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 5px 10px;
	border-radius: 999px;
	z-index: 2;
}

.woocommerce ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 28px !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}
.woocommerce ul.products li.product {
	position: relative;
	list-style: none;
	border-radius: var(--aw-radius-lg);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--aw-bg-alt);
	width: 100%;
	float: none;
	margin: 0;
}
.woocommerce ul.products li.product:hover {
	box-shadow: var(--aw-shadow-lg);
}
.woocommerce ul.products li.product a {
	display: block;
	text-decoration: none;
	height: 100%;
}
.woocommerce ul.products li.product a img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	margin: 0;
	transition: transform 0.5s ease;
}
.woocommerce ul.products li.product:hover a img {
	transform: scale(1.08);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	display: none !important;
}
.woocommerce ul.products li.product-category,
.woocommerce ul.products li:empty {
	display: none !important;
}
.woocommerce ul.products li.product .aw-pet-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, 0.55);
	opacity: 0;
	transition: opacity var(--aw-transition);
	padding: 20px;
	pointer-events: none;
}
.woocommerce ul.products li.product:hover .aw-pet-overlay {
	opacity: 1;
}
.woocommerce ul.products li.product .aw-pet-name {
	color: #fff;
	font-size: 1.35rem;
	font-weight: 700;
	text-align: center;
	text-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.aw-pet-badge {
	position: absolute; top: 14px; left: 14px;
	background: var(--aw-accent);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 5px 10px;
	border-radius: 999px;
	z-index: 2;
}
.woocommerce div.product .aw-adopt-actions { margin: 24px 0; display: flex; gap: 14px; flex-wrap: wrap; }
.woocommerce div.product .product_meta,
.woocommerce div.product p.price,
.woocommerce div.product .price,
.woocommerce ul.products li.product .price,
.woocommerce a.add_to_cart_button,
.woocommerce div.product form.cart { display: none !important; }
.woocommerce-breadcrumb { color: var(--aw-text-light); font-size: 0.85rem; margin-bottom: 24px; }

/* Hide Shop page specific elements */
.woocommerce-products-header h1.page-title,
.woocommerce-result-count,
.woocommerce-ordering {
    display: none !important;
}

/* ---------------------------------------------------------------
   Single Product Page
   --------------------------------------------------------------- */
.woocommerce div.product {
    max-width: var(--aw-container);
    margin: 0 auto;
    padding: 48px 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    align-items: flex-start;
}

.woocommerce div.product div.images {
    flex: 1;
    min-width: 320px;
    max-width: 520px;
    position: sticky;
    top: 100px;
}
.woocommerce div.product div.images .woocommerce-product-gallery {
    border-radius: var(--aw-radius-lg);
    overflow: hidden;
    background: var(--aw-bg-alt);
}
.woocommerce div.product div.images .woocommerce-product-gallery__image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.woocommerce div.product div.images .flex-control-thumbs {
    display: flex;
    gap: 12px;
    padding: 12px;
    justify-content: center;
}
.woocommerce div.product div.images .flex-control-thumbs li {
    width: 72px !important;
    flex-shrink: 0;
}
.woocommerce div.product div.images .flex-control-thumbs li img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity var(--aw-transition);
}
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs li img:hover {
    opacity: 1;
}

.woocommerce div.product div.summary {
    flex: 1;
    min-width: 320px;
    background: var(--aw-bg);
    border-radius: var(--aw-radius-lg);
    padding: 32px;
    box-shadow: var(--aw-shadow);
}
.woocommerce div.product .product_title {
    font-size: 2rem;
    margin-bottom: 12px;
}
.woocommerce div.product .woocommerce-product-details__short-description {
    color: var(--aw-text-light);
    font-size: 1.05rem;
    line-height: 1.65;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--aw-border);
    margin-bottom: 0;
}

.woocommerce div.product .woocommerce-tabs {
    flex: 0 0 100%;
    margin-top: 16px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
    display: flex;
    gap: 8px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    display: none;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 10px 22px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--aw-text-light);
    background: var(--aw-bg-alt);
    border-radius: 999px;
    transition: all var(--aw-transition);
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: #fff;
    background: var(--aw-accent);
    box-shadow: 0 4px 12px rgba(34, 168, 155, 0.3);
}
.woocommerce div.product .woocommerce-tabs .panel {
    background: var(--aw-bg);
    border-radius: var(--aw-radius-lg);
    padding: 28px;
    box-shadow: var(--aw-shadow-lg);
}
.woocommerce div.product .woocommerce-tabs .panel h2 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}
.woocommerce div.product .woocommerce-tabs #tab-description p:last-child {
    margin-bottom: 0;
}

.woocommerce #reviews { margin-top: 0; }
.woocommerce #reviews #comments h2 {
    font-size: 1.1rem;
}
.woocommerce #reviews #comments ol.commentlist {
    padding: 0;
}

.woocommerce div.product .related.products {
    flex: 0 0 100%;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--aw-border);
}
.woocommerce div.product .related.products h2 {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 32px;
}
.woocommerce div.product .related.products ul.products {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
}
.woocommerce div.product .related.products ul.products li.product {
    background: var(--aw-bg);
    border: 1px solid var(--aw-border);
    border-radius: var(--aw-radius-lg);
    overflow: hidden;
    transition: box-shadow var(--aw-transition), transform var(--aw-transition);
    list-style: none;
}
.woocommerce div.product .related.products ul.products li.product:hover {
    box-shadow: var(--aw-shadow-lg);
    transform: translateY(-4px);
}
.woocommerce div.product .related.products ul.products li.product img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.woocommerce div.product .related.products ul.products li.product .woocommerce-loop-product__title {
    padding: 16px 18px;
    font-size: 1rem;
    margin: 0;
}
.woocommerce div.product .related.products ul.products li.product .aw-pet-badge {
    position: absolute; top: 10px; left: 10px;
    background: var(--aw-accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 4px 10px;
    border-radius: 999px;
    z-index: 2;
}

.aw-shop-intro { text-align: center; max-width: 680px; margin: 0 auto 44px; }

/* ---------------------------------------------------------------
   Pet listing (aw_pet CPT) — archive / single
   --------------------------------------------------------------- */
.aw-pets-grid .aw-pet-card { box-shadow: var(--aw-shadow); transition: box-shadow var(--aw-transition), transform var(--aw-transition); }
.aw-pets-grid .aw-pet-card:hover { box-shadow: var(--aw-shadow-lg); transform: translateY(-4px); }

.aw-pet-single {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}
.aw-pet-single-media {
	border-radius: var(--aw-radius-lg);
	overflow: hidden;
	background: var(--aw-bg-alt);
}
.aw-pet-single-media img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.aw-pet-single-info {
	background: var(--aw-bg);
	border-radius: var(--aw-radius-lg);
	padding: 36px;
	box-shadow: var(--aw-shadow);
}
.aw-pet-single-head {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	flex-wrap: wrap;
}
.aw-pet-single-head h1 { font-size: 2.2rem; margin: 0; flex: 1; }
.aw-pet-single-head .aw-pet-badge { position: static; align-self: center; flex-shrink: 0; }
.aw-pet-details {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 0;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}
.aw-pet-details li {
	font-size: 0.92rem;
	margin: 0;
	padding: 6px 14px;
	background: var(--aw-bg-alt);
	border-radius: 999px;
	margin-right: 8px;
}
.aw-pet-detail-label {
	font-weight: 600;
	color: var(--aw-text-light);
	text-transform: uppercase;
	font-size: 0.75rem;
	letter-spacing: 0.04em;
}
.aw-pet-lead {
	color: var(--aw-text-light);
	font-size: 1.08rem;
	line-height: 1.7;
	margin: 24px 0 0;
}
.aw-pet-actions {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	margin-top: 28px;
}
.aw-fundraiser {
	margin-top: 28px;
	padding: 24px 24px 26px;
	background: #fff;
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius-lg);
	box-shadow: var(--aw-shadow);
}
.aw-fundraiser-progress {
	height: 10px;
	background: #eceff1;
	border-radius: 999px;
	overflow: hidden;
	margin-bottom: 14px;
}
.aw-fundraiser-bar {
	display: block;
	height: 100%;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--aw-accent), var(--aw-accent-dark));
	transition: width 0.6s ease;
}
.aw-fundraiser-stats {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}
.aw-fundraiser-raised {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--aw-text);
	line-height: 1.15;
}
.aw-fundraiser-raised small {
	display: block;
	font-size: 0.72rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--aw-text-light);
	margin-top: 3px;
}
.aw-fundraiser-goal {
	font-size: 0.85rem;
	color: var(--aw-text-light);
	white-space: nowrap;
}
.aw-fundraiser-goal strong { color: var(--aw-text); }
.aw-fundraiser-note { font-size: 0.92rem; color: var(--aw-text-light); margin: 0 0 16px; }
.aw-pet-single-description {
	grid-column: 1 / -1;
	max-width: 760px;
	margin: 48px auto 0;
	padding-top: 40px;
	border-top: 1px solid var(--aw-border);
}
.aw-pet-single-description h2 { font-size: 1.6rem; margin-bottom: 18px; }
.aw-pet-related { margin-top: 72px; }

/* ==========================================================================
   8. Donations page
   ========================================================================== */
.aw-donate-hero {
	background: var(--aw-accent);
	color: #fff;
	text-align: center;
	padding: 90px 24px;
}
.aw-donate-hero h1 { color: #fff; font-size: 2.4rem; }
.aw-donate-hero p { font-size: 1.15rem; opacity: 0.95; max-width: 620px; margin: 0 auto; }
.aw-donate-options {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 40px;
}
.aw-donate-card {
	border: 2px solid var(--aw-border);
	border-radius: var(--aw-radius-lg);
	padding: 32px 24px;
	text-align: center;
	transition: border-color var(--aw-transition), transform var(--aw-transition);
}
.aw-donate-card:hover { border-color: var(--aw-accent); transform: translateY(-4px); }
.aw-donate-card strong { display: block; font-size: 1.8rem; color: var(--aw-accent); margin-bottom: 6px; }
.aw-donate-content { max-width: 780px; margin: 0 auto; }

/* ==========================================================================
   9. Footer
   ========================================================================== */
.aw-site-footer { background: var(--aw-footer-bg); color: var(--aw-footer-text); padding-top: 60px; }
.aw-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid rgba(255,255,255,0.1);
}
.aw-footer-brand .aw-site-title, .aw-footer-brand .aw-site-title a { color: #fff; }
.aw-footer-brand p { color: var(--aw-footer-text); font-size: 0.92rem; margin-top: 14px; }
.aw-footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.aw-footer-col ul li { margin-bottom: 10px; }
.aw-footer-col a { color: var(--aw-footer-text); font-size: 0.92rem; }
.aw-footer-col a:hover { color: var(--aw-accent); }
.aw-footer-social { display: flex; gap: 10px; margin-top: 16px; }
.aw-footer-social a {
	width: 34px; height: 34px;
	display: flex; align-items: center; justify-content: center;
	border-radius: 50%;
	background: rgba(255,255,255,0.08);
	color: #fff;
}
.aw-footer-social a:hover { background: var(--aw-accent); }
.aw-footer-social svg { width: 15px; height: 15px; fill: currentColor; }
.aw-footer-bottom {
	display: flex; justify-content: space-between; align-items: center;
	padding: 22px 0; font-size: 0.85rem; color: rgba(255,255,255,0.6);
	flex-wrap: wrap; gap: 10px;
}
.aw-footer-bottom a { color: rgba(255,255,255,0.6); }
.aw-footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   10. Widgets, comments, misc content pages
   ========================================================================== */
.aw-page-header { text-align: center; padding: 56px 24px 0; }
.aw-page-header h1 { font-size: 2.2rem; }
.aw-content-narrow { max-width: 780px; margin: 0 auto; }
.aw-widget-area .widget { margin-bottom: 30px; }
.aw-widget-area .widget h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.04em; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
input[type="search"] {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid var(--aw-border);
	border-radius: var(--aw-radius);
	margin-bottom: 14px;
}
.comment-form textarea { min-height: 130px; }

/* ==========================================================================
   11. Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.aw-gallery-grid { grid-template-columns: repeat(3, 1fr); }
	.aw-staff-card { width: min(46%, 360px); }
	.aw-pets-grid { grid-template-columns: repeat(2, 1fr); }
	/* Adjusted grid for smaller screens */
	.woocommerce ul.products { grid-template-columns: repeat(2, 1fr) !important; gap: 24px !important; }
	.woocommerce div.product .related.products ul.products { grid-template-columns: repeat(2, 1fr) !important; }
	.aw-footer-grid { grid-template-columns: 1fr 1fr; }
	.aw-donate-options { grid-template-columns: 1fr; }
}

@media (min-width: 782px) {
	.aw-mobile-donate { display: none; }
}

@media (max-width: 782px) {
	.aw-primary-nav { display: none; }
	.aw-header-donate { display: none; }
	.aw-hamburger { display: flex; }
	.aw-header-social { display: none; }

	.aw-primary-nav.is-open {
		display: block;
		position: fixed;
		inset: 0;
		top: 73px;
		background: #fff;
		z-index: 998;
		padding: 24px;
		overflow-y: auto;
	}
	.aw-primary-nav.is-open ul { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
	.aw-primary-nav.is-open ul li { width: 100%; }
	.aw-primary-nav.is-open a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--aw-border); width: 100%; }
	.aw-primary-nav.is-open .sub-menu { display: block; position: static; box-shadow: none; padding-left: 16px; }
	.aw-primary-nav.is-open .aw-mobile-donate { margin-top: 16px; color: white }
	.aw-primary-nav.is-open .aw-mobile-social { display: flex; gap: 10px; margin-top: 20px; }

	.aw-intro { grid-template-columns: 1fr; }
	.aw-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
	.aw-staff-card { width: min(78%, 420px); }
	.aw-staff-card.is-prev,
	.aw-staff-card.is-next { opacity: 0; }
	/* Adjusted grid for smaller screens */
	.woocommerce ul.products { grid-template-columns: 1fr !important; gap: 20px !important; }
	.aw-pets-grid { grid-template-columns: 1fr; gap: 20px; }
	.woocommerce div.product { flex-direction: column; padding: 24px 16px; gap: 24px; }
	.woocommerce div.product div.images { max-width: 100%; position: static; min-width: 0; }
	.woocommerce div.product div.summary { min-width: 0; padding: 20px; }
	.woocommerce div.product .woocommerce-tabs ul.tabs { overflow-x: auto; gap: 0; }
	.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 10px 16px; font-size: 0.9rem; white-space: nowrap; }
	.woocommerce div.product .woocommerce-tabs .panel { padding: 20px; }
	.woocommerce div.product .related.products ul.products { grid-template-columns: 1fr !important; }
	.aw-pet-single { grid-template-columns: 1fr; gap: 24px; }
	.aw-pet-single-info { padding: 24px; }
	.aw-pet-single-description { margin-top: 32px; }
	.aw-footer-grid { grid-template-columns: 1fr; }
	.aw-carousel-slide { height: 52vh; min-height: 320px; }
}

@media (max-width: 480px) {
	.aw-gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }
	.aw-gallery-item--big { grid-column: span 2; grid-row: span 1; }
	.aw-staff-card { width: min(82%, 400px); }
	/* Already 1fr from above, but ensure gap is consistent */
	.woocommerce ul.products { grid-template-columns: 1fr !important; gap: 20px !important; }
	.woocommerce div.product div.images { min-width: 0; }
	.woocommerce div.product div.summary { padding: 16px; }
	.woocommerce div.product .woocommerce-tabs .panel { padding: 16px; }
	.aw-section { padding: 48px 0; }
	.aw-donate-hero { padding: 60px 20px; }
}