/* Dragon Lair child theme — stage 1: foundations. Mobile first. */

@font-face {
	font-family: "Figtree";
	src: url("../fonts/figtree.woff2") format("woff2-variations"), url("../fonts/figtree.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Bricolage Grotesque";
	src: url("../fonts/bricolage-grotesque.woff2") format("woff2-variations"), url("../fonts/bricolage-grotesque.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}

html:root {
	--dl-brown: #3C3024;
	--dl-green: #556B1B;
	--dl-green-dark: #46601A;
	--dl-lime: #A9C22B;
	--dl-ground: #F7F3EF;
	--dl-sand: #EFE8DD;
	--dl-ink: #2A1E1E;
	--dl-muted: #5C5048;
	--dl-line: #E5DDD2;
	--dl-line-strong: #D6CCBE;
	--dl-radius: 14px;
	--dl-font: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
	--dl-font-head: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
	--dl-tabbar-h: 64px;

	/* Kadence's palette, so its buttons, links and forms match. */
	--global-palette1: #556B1B;
	--global-palette2: #46601A;
	--global-palette3: #2A1E1E;
	--global-palette4: #2A1E1E;
	--global-palette5: #5C5048;
	--global-palette6: #8B7A69;
	--global-palette7: #EFE8DD;
	--global-palette8: #F7F3EF;
	--global-palette9: #FFFFFF;
	--global-palette-highlight: #46601A;
	--global-palette-highlight-alt: #2F4210;
	--global-palette-btn-bg: #556B1B;
	--global-palette-btn-bg-hover: #46601A;
	--global-palette-btn: #FFFFFF;
	--global-palette-btn-hover: #FFFFFF;
	--global-body-font-family: var(--dl-font);
	--global-heading-font-family: var(--dl-font-head);
}

body.dl-theme {
	background: var(--dl-ground);
	color: var(--dl-ink);
	font-family: var(--dl-font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-text-size-adjust: 100%;
}
.dl-theme h1, .dl-theme h2, .dl-theme h3, .dl-theme h4 {
	font-family: var(--dl-font-head);
	color: var(--dl-ink);
	letter-spacing: -0.01em;
}
.dl-theme a { color: var(--dl-green-dark); }
.dl-theme a:hover { color: #2F4210; }
.dl-theme :focus-visible { outline: 3px solid var(--dl-lime); outline-offset: 2px; }

/* Kadence's own header, footer and phone drawer are replaced by ours. */
body.dl-theme #masthead,
body.dl-theme #colophon,
body.dl-theme #mobile-drawer { display: none !important; }

.dl-wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; box-sizing: border-box; }
.dl-icon { flex: none; display: block; }
.dl-icon-btn {
	width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit;
	display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; cursor: pointer;
}
.dl-icon-btn:hover { background: var(--dl-sand); color: inherit; }

/* ------------------------------------------------------------------ Header */

.dl-header { background: #FFFFFF; color: var(--dl-brown); position: relative; z-index: 50; }
.dl-topbar { display: none; background: var(--dl-green); color: #FFFFFF; font-size: 14px; }
.dl-topbar .dl-wrap { display: flex; gap: 8px; align-items: center; padding-top: 8px; padding-bottom: 8px; }

.dl-masthead { border-bottom: 4px solid var(--dl-lime); }
.dl-masthead-row { display: flex; align-items: center; gap: 4px; padding-top: 6px; padding-bottom: 6px; }
.dl-menu-btn { margin-left: -10px; }
.dl-logo { flex: 1; display: flex; align-items: center; text-decoration: none; min-width: 0; }
.dl-logo-img { display: block; height: 50px; width: auto; max-width: 100%; }
.dl-logo-text { font-family: var(--dl-font-head); font-weight: 800; font-size: 22px; color: var(--dl-brown); }

.dl-search-desktop { display: none; }
.dl-tools { display: flex; align-items: center; gap: 4px; margin-right: -10px; }
.dl-account-link { display: none; }
.dl-cart-btn {
	position: relative; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
	color: var(--dl-brown); text-decoration: none; border-radius: 10px;
}
.dl-cart-btn .dl-cart-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.dl-cart-btn .dl-cart-count {
	position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box;
	border-radius: 9px; background: var(--dl-lime); color: var(--dl-ink); font-size: 11px; font-weight: 800;
	display: flex; align-items: center; justify-content: center; line-height: 1;
}
.dl-cart-count.is-empty { display: none !important; }

.dl-search { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 6px 0 14px; border-radius: 12px; background: var(--dl-ground); border: 1px solid var(--dl-line-strong); color: var(--dl-muted); box-sizing: border-box; }
.dl-search:focus-within { border-color: var(--dl-green); box-shadow: 0 0 0 2px rgba(85,107,27,.18); }
.dl-search input[type="search"] { flex: 1; min-width: 0; height: 44px; border: 0 !important; background: transparent !important; box-shadow: none !important; font: inherit; color: var(--dl-ink); padding: 0 !important; outline: none; }
.dl-search-go { height: 36px; padding: 0 14px; border: 0; border-radius: 9px; background: var(--dl-green); color: #FFFFFF; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; }
.dl-search-panel { padding: 10px 0 12px; border-top: 1px solid var(--dl-line); background: #FFFFFF; }

.dl-catbar { display: none; background: var(--dl-brown); }
.dl-catbar-row { display: flex; align-items: center; gap: 28px; overflow-x: auto; scrollbar-width: none; }
.dl-catbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; }
.dl-catbar-help { margin-left: auto !important; gap: 20px !important; }
.dl-catbar a { display: block; padding: 12px 0; color: #F7F3EF; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.dl-catbar-help a { color: #D9CFC5; }
.dl-catbar a:hover, .dl-catbar .current-menu-item > a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 4px; }

@media (min-width: 900px) {
	.dl-topbar { display: block; }
	.dl-menu-btn, .dl-search-btn, .dl-search-panel { display: none !important; }
	.dl-masthead { border-bottom: 0; }
	.dl-masthead-row { gap: 32px; padding-top: 16px; padding-bottom: 16px; padding-left: 32px; padding-right: 32px; }
	.dl-wrap { padding-left: 32px; padding-right: 32px; }
	.dl-logo { flex: none; }
	.dl-logo-img { height: 84px; }
	.dl-search-desktop { display: block; flex: 1; max-width: 620px; }
	.dl-tools { margin-left: auto; margin-right: 0; gap: 18px; }
	.dl-account-link { display: inline-flex; align-items: center; gap: 6px; color: var(--dl-brown); font-weight: 600; font-size: 15px; text-decoration: none; }
	.dl-cart-btn { width: auto; height: 46px; padding: 0 16px; gap: 8px; background: var(--dl-lime); color: var(--dl-ink); font-weight: 800; }
	.dl-cart-btn:hover { background: #B8D13A; color: var(--dl-ink); }
	.dl-cart-btn .dl-cart-label { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
	.dl-cart-btn .dl-cart-count { position: static; background: none; font-size: 15px; min-width: 0; padding: 0; height: auto; }
	.dl-cart-btn .dl-cart-count::before { content: "("; } .dl-cart-btn .dl-cart-count::after { content: ")"; }
	.dl-catbar { display: block; border-top: 4px solid var(--dl-lime); }
}

/* ------------------------------------------------------------------ Phone menu drawer */

.dl-drawer { position: fixed; inset: 0; z-index: 1000; }
.dl-drawer[hidden] { display: none; }
.dl-drawer-scrim { position: absolute; inset: 0; background: rgba(42,30,30,.45); }
.dl-drawer-panel {
	position: absolute; top: 0; left: 0; bottom: 0; width: min(340px, 88vw); background: #FFFFFF;
	display: flex; flex-direction: column; box-shadow: 8px 0 24px rgba(42,30,30,.18);
	transform: translateX(0); transition: transform .22s ease;
}
.dl-drawer.is-entering .dl-drawer-panel { transform: translateX(-100%); }
.dl-drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px 8px 16px; border-bottom: 4px solid var(--dl-lime); }
.dl-logo-sm .dl-logo-img { height: 44px; }
.dl-drawer-body { flex: 1; overflow-y: auto; padding: 14px 16px 24px; overscroll-behavior: contain; }
.dl-drawer-sales {
	margin-top: 14px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px;
	background: #FBF1DE; color: #6B4A12 !important; font-weight: 700; text-decoration: none;
}
.dl-drawer-sales span { flex: 1; }
.dl-drawer-label { margin: 18px 0 6px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dl-muted); }
.dl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dl-chip {
	min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--dl-line-strong); background: #FFFFFF;
	display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; color: var(--dl-ink) !important; text-decoration: none;
}
.dl-chip:hover { border-color: var(--dl-green); }
.dl-drawer-list { list-style: none; margin: 0; padding: 0; }
.dl-drawer-list a {
	display: flex; align-items: center; justify-content: space-between; min-height: 52px; padding: 0 4px;
	border-bottom: 1px solid #EFE8DD; color: var(--dl-ink) !important; text-decoration: none; font-weight: 600;
}
.dl-drawer-list a::after { content: ""; width: 8px; height: 8px; border-right: 2px solid #8B7A69; border-top: 2px solid #8B7A69; transform: rotate(45deg); margin-right: 6px; }
.dl-drawer-list-light a { font-weight: 500; }
.dl-drawer-account { margin-top: 16px; display: flex; align-items: center; gap: 10px; min-height: 48px; color: var(--dl-brown) !important; font-weight: 700; text-decoration: none; }
.dl-drawer-foot { padding: 12px 16px; background: var(--dl-green); color: #FFFFFF; font-size: 14px; }
body.dl-drawer-open { overflow: hidden; }

/* ------------------------------------------------------------------ Footer */

.dl-footer { background: var(--dl-brown); color: #E9DFD6; margin-top: 40px; }
.dl-footer a { color: #E9DFD6; }
.dl-footer a:hover { color: #FFFFFF; }
.dl-footer-row { display: grid; gap: 24px; padding-top: 28px; padding-bottom: 20px; }
.dl-footer-contact p { margin: 10px 0 0; line-height: 1.7; }
.dl-logo-footer { display: inline-flex; background: #FFFFFF; border-radius: 10px; padding: 6px 10px; flex: none; }
.dl-logo-footer .dl-logo-img { height: 48px; }
.dl-logo-footer .dl-logo-text { font-size: 18px; }
.dl-footer-head { margin: 0 0 6px; font-weight: 700; color: #FFFFFF; }
.dl-footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.dl-footer-list a { display: inline-block; padding: 6px 0; text-decoration: none; }
.dl-footer-legal { padding-top: 14px; padding-bottom: 18px; border-top: 1px solid rgba(233,223,214,.2); font-size: 14px; color: #CDBFB2; }
@media (min-width: 900px) {
	.dl-footer-row { grid-template-columns: 2fr 1fr; }
}

/* ------------------------------------------------------------------ Phone tab bar */

.dl-tabbar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; height: var(--dl-tabbar-h);
	padding-bottom: env(safe-area-inset-bottom); box-sizing: content-box;
	background: #FFFFFF; border-top: 1px solid var(--dl-line); display: flex;
}
.dl-tabbar a {
	flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
	color: var(--dl-muted); text-decoration: none; font-size: 12px; font-weight: 600;
}
.dl-tabbar a.is-current { color: var(--dl-green); }
.dl-tabbar .dl-cart-count { display: inline; }
.dl-tabbar .dl-cart-count::before { content: "("; } .dl-tabbar .dl-cart-count::after { content: ")"; }
body.dl-theme { padding-bottom: calc(var(--dl-tabbar-h) + env(safe-area-inset-bottom)); }
/* Checkout needs the room (and has its own Place order button). */
body.dl-theme.woocommerce-checkout .dl-tabbar { display: none; }
body.dl-theme.woocommerce-checkout { padding-bottom: 0; }
@media (min-width: 900px) {
	.dl-tabbar { display: none; }
	body.dl-theme { padding-bottom: 0; }
}

/* ------------------------------------------------------------------ Badges */

.dl-badges { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.dl-badge { display: inline-flex; align-items: center; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.5; }
.dl-badge-live { background: #E8F0D9; color: #3E5420; }
.dl-badge-frozen { background: #E3EDF7; color: #21476E; }
.dl-badge-dried { background: #F3E6CF; color: #6B4A12; }
.dl-badge-complete-diet { background: #F6E3DE; color: #7A3326; }
.dl-badge-supplement { background: #ECE6F3; color: #4B3A6B; }
.woocommerce ul.products li.product { position: relative; }
.dl-badges-card { position: absolute; top: 8px; left: 8px; z-index: 2; pointer-events: none; }
.dl-badges-single { margin-bottom: 8px; }

/* ------------------------------------------------------------------ Motion */

@media (prefers-reduced-motion: reduce) {
	.dl-drawer-panel { transition: none; }
}

/* ================================================================== Stage 2: home page */

.dl-home { padding-bottom: 8px; }
.dl-btn {
	display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px;
	border-radius: 12px; font-weight: 800; text-decoration: none; font-size: 16px; line-height: 1.2; text-align: center;
}
.dl-btn-lime { background: var(--dl-lime); color: var(--dl-ink) !important; }
.dl-btn-lime:hover { background: #B8D13A; }
.dl-btn-ghost { border: 1px solid rgba(255,255,255,.65); color: #FFFFFF !important; font-weight: 600; }
.dl-btn-ghost:hover { background: rgba(255,255,255,.12); }

/* Hero: photo with the text over a dark fade (phone); text beside "This week" (desktop). */
.dl-home-top { padding: 0 0 8px; }
.dl-home-top-grid { padding-left: 0; padding-right: 0; display: grid; gap: 16px; }
.dl-hero { position: relative; overflow: hidden; background: var(--dl-brown); min-height: 480px; display: flex; flex-direction: column; justify-content: flex-end; }
.dl-hero-media { position: absolute; inset: 0; }
.dl-hero-media.is-empty { background: linear-gradient(135deg, #556B1B, #3C3024); }
.dl-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dl-hero-text {
	position: relative; padding: 110px 16px 20px; color: #FFFFFF;
	background: linear-gradient(180deg, rgba(42,30,30,0) 0%, rgba(42,30,30,.6) 30%, rgba(42,30,30,.9) 60%);
}
.dl-eyebrow { margin: 0 0 4px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--dl-lime); }
.dl-theme .dl-hero h1 { color: #FFFFFF; font-size: 30px; line-height: 1.1; margin: 0 0 8px; }
.dl-hero-sub { margin: 0 0 14px; font-size: 15px; line-height: 1.45; color: #EFE7DF; max-width: 30em; }
.dl-hero-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.dl-hero-btns .dl-btn-lime { flex: 1 1 auto; }

.dl-thisweek { background: var(--dl-brown); color: #F7F3EF; border-radius: 16px; padding: 18px 16px; margin: 0 16px; }
.dl-theme .dl-thisweek h2 { color: #FFFFFF; font-size: 22px; margin: 0 0 12px; }
.dl-thisweek-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; font-size: 15px; }
.dl-thisweek-list li { display: flex; gap: 10px; }
.dl-thisweek-list .dl-icon { color: var(--dl-lime); margin-top: 2px; }
.dl-thisweek-list strong { color: #FFFFFF; }
.dl-thisweek-list > li > div > strong:first-child { display: block; }
.dl-thisweek .dld-delivery-areas { list-style: none; margin: 2px 0 0; padding: 0; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; font-size: 14px; }
.dl-thisweek .dld-delivery-areas li { display: contents; }
.dl-thisweek .dld-delivery-areas .dl-da-day, .dl-thisweek .dld-da-day { color: #FFFFFF; font-weight: 600; }
.dl-thisweek .dld-ship-status { display: inline; }
.dl-thisweek .dld-ship-dot { display: inline-block; margin-right: 6px; }
.dl-thisweek-check { border-top: 1px solid rgba(247,243,239,.18); padding-top: 12px; }
.dl-thisweek .dld-checker label { display: block; font-size: 14px; color: #F7F3EF; margin-bottom: 4px; }
.dl-thisweek .dld-checker label strong { color: #FFFFFF; }
.dl-thisweek .dld-checker p { margin: 6px 0 0 !important; flex-wrap: nowrap !important; }
.dl-thisweek .dld-checker input[type="text"] {
	flex: 1; max-width: none !important; min-width: 0; height: 46px; border: 0; border-radius: 10px; padding: 0 12px;
	font: inherit; background: #FFFFFF; color: var(--dl-ink);
}
.dl-thisweek .dld-checker .button {
	height: 46px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--dl-lime) !important;
	color: var(--dl-ink) !important; font: inherit; font-weight: 800; cursor: pointer;
}
.dl-thisweek .dld-checker-result { font-size: 14px; }
.dl-thisweek .dld-checker-result:not(:empty) { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #FFFFFF; color: var(--dl-ink); }
.dl-thisweek .dld-checker-result p { margin: 0 0 4px; font-weight: 700; }
.dl-thisweek .dld-checker-result ul { margin: 0; padding-left: 18px; }

/* Sections */
.dl-home-section { padding: 22px 0 6px; }
.dl-row-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 12px; }
.dl-theme .dl-home-section h2 { font-size: 22px; line-height: 1.2; margin: 0 0 12px; }
.dl-theme .dl-row-head h2 { margin: 0; }
.dl-row-head a { font-size: 14px; font-weight: 600; white-space: nowrap; }

/* Cross-fade stacks (animal circles, category tiles, hero). */
.dl-fade { position: relative; display: block; overflow: hidden; }
.dl-fade { background: repeating-linear-gradient(135deg, #E6DFD3 0 10px, #EDE7DC 10px 20px); }
.dl-fade img, .dl-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.6s ease; }
.dl-fade img.is-on, .dl-hero-media img.is-on { opacity: 1; }
.dl-fade.is-empty { display: flex; align-items: center; justify-content: center; }
.dl-ph-label { font-size: 12px; color: var(--dl-muted); text-align: center; padding: 6px; }

/* Shop by animal: a sideways row of circles on phones, 2 rows of 5 on desktop. */
.dl-scroll-row { display: flex; gap: 14px; overflow-x: auto; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; list-style: none; scroll-snap-type: x proximity; }
.dl-scroll-row::-webkit-scrollbar { display: none; }
.dl-animals > li { flex: none; width: 92px; scroll-snap-align: start; }
.dl-animals a { display: block; text-align: center; color: var(--dl-ink) !important; text-decoration: none; font-weight: 700; font-size: 13px; line-height: 1.25; }
.dl-circle { width: 92px; height: 92px; border-radius: 50%; border: 3px solid var(--dl-green); box-sizing: border-box; margin-bottom: 6px; }
.dl-animals a.is-pet .dl-circle { border-color: #8B7A69; }
.dl-animals a:hover .dl-circle { border-color: var(--dl-lime); }

/* Shop by category */
.dl-cat-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dl-cat-tiles a { display: block; background: #FFFFFF; border: 1px solid var(--dl-line); border-radius: var(--dl-radius); overflow: hidden; color: var(--dl-ink) !important; text-decoration: none; height: 100%; }
.dl-cat-tiles a:hover { border-color: var(--dl-green); }
.dl-tile-photo { height: 96px; }
.dl-tile-name { display: block; padding: 10px 12px; font-weight: 700; font-size: 15px; line-height: 1.3; }
.dl-tile-name .dl-badges { display: flex; margin-top: 6px; gap: 4px; }
.dl-tile-name .dl-badge { font-size: 11px; padding: 1px 7px; }

/* Best sellers: WooCommerce cards, sideways on phones */
.dl-popular ul.products {
	display: flex !important; gap: 12px; overflow-x: auto; margin: 0 -16px !important; padding: 0 16px 6px !important;
	scrollbar-width: none; scroll-snap-type: x proximity; grid-template-columns: none !important;
}
.dl-popular ul.products::before, .dl-popular ul.products::after { display: none !important; }
.dl-popular ul.products li.product { flex: none; width: 160px !important; margin: 0 !important; scroll-snap-align: start; }

/* Why */
.dl-why { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.dl-why li { background: #FFFFFF; border: 1px solid var(--dl-line); border-radius: var(--dl-radius); padding: 14px; font-size: 15px; color: var(--dl-muted); }
.dl-why strong { display: block; color: var(--dl-ink); font-size: 16px; margin-bottom: 2px; }

@media (min-width: 600px) {
	.dl-cat-tiles { grid-template-columns: repeat(4, 1fr); }
	.dl-why { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
	.dl-home-top { padding: 24px 0 8px; }
	.dl-home-top-grid { padding-left: 32px; padding-right: 32px; grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); gap: 24px; align-items: stretch; }
	.dl-hero { border-radius: 20px; min-height: 460px; }
	.dl-hero-text { padding: 140px 36px 32px; }
	.dl-theme .dl-hero h1 { font-size: 46px; line-height: 1.05; max-width: 15em; }
	.dl-hero-sub { font-size: 18px; }
	.dl-hero-btns .dl-btn-lime { flex: none; }
	.dl-btn { min-height: 52px; padding: 0 22px; }
	.dl-thisweek { margin: 0; padding: 26px; display: flex; flex-direction: column; }
	.dl-theme .dl-thisweek h2 { font-size: 26px; }
	.dl-thisweek-check { margin-top: auto; }
	.dl-home-section { padding: 44px 0 4px; }
	.dl-theme .dl-home-section h2 { font-size: 30px; }
	.dl-scroll-row { overflow: visible; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); row-gap: 26px; column-gap: 24px; }
	.dl-animals > li { width: auto; }
	.dl-circle { width: 100%; max-width: 150px; height: auto; aspect-ratio: 1; border-width: 4px; margin: 0 auto 10px; }
	.dl-animals a { font-size: 16px; }
	.dl-tile-photo { height: 150px; }
	.dl-tile-name { font-size: 17px; padding: 12px 14px 14px; }
	.dl-popular ul.products { display: grid !important; grid-template-columns: repeat(4, 1fr) !important; overflow: visible; margin: 0 !important; padding: 0 !important; gap: 20px; }
	.dl-popular ul.products li.product { width: auto !important; }
	.dl-why { grid-template-columns: repeat(4, 1fr); gap: 20px; }
	.dl-why li { padding: 22px; }
}

@media (prefers-reduced-motion: reduce) {
	.dl-fade img, .dl-hero-media img { transition: none; }
}

/* ================================================================== Stage 3: shop pages */

.dl-btn-green { background: var(--dl-green); color: #FFFFFF !important; border: 0; cursor: pointer; }
.dl-btn-green:hover { background: var(--dl-green-dark); }
.dl-btn-outline { background: #FFFFFF; color: var(--dl-green) !important; border: 1px solid var(--dl-green); }
.dl-btn-outline:hover { background: #F2F6E8; }

/* Buttons and form fields everywhere in WooCommerce */
.dl-theme .woocommerce a.button, .dl-theme .woocommerce button.button, .dl-theme .woocommerce input.button,
.dl-theme a.button, .dl-theme button.button, .dl-theme .button.alt, .dl-theme .single_add_to_cart_button {
	border-radius: 12px !important; font-weight: 700 !important; min-height: 44px; font-family: var(--dl-font) !important;
}
.dl-theme input[type="text"], .dl-theme input[type="email"], .dl-theme input[type="tel"], .dl-theme input[type="number"],
.dl-theme input[type="password"], .dl-theme input[type="search"], .dl-theme select, .dl-theme textarea {
	border-radius: 10px; border-color: var(--dl-line-strong); font-size: 16px; /* 16px stops phones zooming in */
}

/* Every WooCommerce and Lair Keeper button: green with white text.
   :where() keeps this rule's weight at zero, so buttons styled on purpose (outlined coupon and
   Update cart, product-card options, sold out, delete) keep their own look. */
.dl-theme :where(.woocommerce, .woocommerce-page, .widget_shopping_cart, .dld-co, .dld-checker, .entry-content, .site-main)
:where(a.button, button.button, input.button, input[type="submit"].button, #place_order, .checkout-button, a.wc-forward, .woocommerce-Button, .woocommerce-button) {
	background-color: var(--dl-green) !important; color: #FFFFFF !important; border-color: transparent !important; text-decoration: none !important;
}
.dl-theme :where(.woocommerce, .woocommerce-page, .widget_shopping_cart, .dld-co, .dld-checker, .entry-content, .site-main)
:where(a.button, button.button, input.button, input[type="submit"].button, #place_order, .checkout-button, a.wc-forward, .woocommerce-Button, .woocommerce-button):hover {
	background-color: var(--dl-green-dark) !important; color: #FFFFFF !important;
}
.dl-theme :where(.woocommerce, .woocommerce-page) :where(.button:disabled, .button.disabled, button[disabled].button) { opacity: .5; cursor: not-allowed; }

/* My account: every button green with white text (Add payment method, View, Pay, Save…) */
.dl-theme .woocommerce-MyAccount-content a.button, .dl-theme .woocommerce-MyAccount-content button.button,
.dl-theme .woocommerce-MyAccount-content input.button, .dl-theme .woocommerce-account .woocommerce a.button,
.dl-theme .woocommerce-account .woocommerce button.button {
	background: var(--dl-green) !important; color: #FFFFFF !important; border: 0 !important; text-decoration: none !important;
	display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px !important;
}
.dl-theme .woocommerce-MyAccount-content a.button:hover, .dl-theme .woocommerce-MyAccount-content button.button:hover,
.dl-theme .woocommerce-account .woocommerce a.button:hover { background: var(--dl-green-dark) !important; color: #FFFFFF !important; }
.dl-theme .woocommerce-MyAccount-content a.button.delete, .dl-theme .woocommerce-MyAccount-content .button.delete {
	background: #FFFFFF !important; color: #8A2424 !important; border: 1px solid #E5C4C4 !important;
}

/* ------------------------------------------------------------------ Product cards */

.dl-theme ul.products { gap: 10px; }
.dl-theme ul.products li.product {
	background: #FFFFFF; border: 1px solid var(--dl-line); border-radius: var(--dl-radius); overflow: hidden;
	display: flex; flex-direction: column; text-align: left; padding: 0 !important;
}
.dl-theme ul.products li.product .woocommerce-LoopProduct-link, .dl-theme ul.products li.product .woocommerce-loop-product__link { display: block; flex: 1; text-decoration: none; color: inherit; }
.dl-theme ul.products li.product .button.dl-soldout { background: #FFFFFF !important; color: var(--dl-ink) !important; border: 1px solid var(--dl-line-strong) !important; font-weight: 600 !important; }
.dl-theme ul.products li.product a img { border-radius: 0; margin: 0 !important; aspect-ratio: 1; object-fit: cover; width: 100%; }
.dl-theme ul.products li.product .woocommerce-loop-product__title {
	font-family: var(--dl-font) !important; font-size: 15px !important; font-weight: 700; line-height: 1.3; color: var(--dl-ink);
	padding: 10px 12px 0 !important; margin: 0 !important;
}
.dl-theme ul.products li.product .price { display: block; padding: 4px 12px 0; margin: 0 !important; font-weight: 700; color: var(--dl-ink) !important; font-size: 15px; }
.dl-theme ul.products li.product .price del { color: var(--dl-muted); font-weight: 500; }
.dl-theme ul.products li.product .price ins { text-decoration: none; color: #7A3326; }
.dl-theme ul.products li.product .star-rating { margin: 4px 12px 0; }
.dl-theme ul.products li.product .button, .dl-theme ul.products li.product .added_to_cart {
	margin: auto 12px 12px !important; width: calc(100% - 24px); display: flex; align-items: center; justify-content: center;
	text-align: center; box-sizing: border-box; font-size: 15px !important; padding: 10px 8px !important;
}
.dl-theme ul.products li.product .button { margin-top: 10px !important; }
/* Kadence styles card buttons in capitals with an arrow; keep ours plain and inside the card. */
.dl-theme ul.products li.product .button {
	text-transform: none !important; letter-spacing: normal !important; white-space: normal !important;
	line-height: 1.25 !important; height: auto !important; max-width: calc(100% - 24px); overflow-wrap: anywhere;
}
.dl-theme ul.products li.product .button .kadence-svg-iconset, .dl-theme ul.products li.product .button svg,
.dl-theme ul.products li.product .button::after { display: none !important; }
@media (max-width: 599px) {
	.dl-theme ul.products li.product .button { font-size: 14px !important; padding: 8px 6px !important; min-height: 40px; }
}
.dl-theme ul.products li.product .button.product_type_variable { background: #FFFFFF !important; color: var(--dl-green) !important; border: 1px solid var(--dl-green) !important; }
.dl-theme ul.products li.product .added_to_cart { display: none !important; } /* the panel replaces it */
.dl-theme ul.products li.product .onsale { border-radius: 999px; background: #F6E3DE; color: #7A3326; font-size: 12px; font-weight: 700; min-height: 0; min-width: 0; padding: 2px 9px; line-height: 1.5; top: 8px; right: 8px; left: auto; margin: 0; }
.dl-theme ul.products li.product.outofstock img { opacity: .55; }

@media (max-width: 899px) {
	.dl-theme.woocommerce ul.products:not(.dl-row), .dl-theme .woocommerce ul.products:not(.dl-row) {
		display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 10px !important;
	}
	.dl-theme ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }
	.dl-popular ul.products { display: flex !important; }
}

/* ------------------------------------------------------------------ Category & search pages */

.dl-theme .woocommerce-products-header__title, .dl-theme .page-title { font-size: 28px; line-height: 1.15; }
.dl-theme .term-description { color: var(--dl-muted); font-size: 15px; }
.dl-subcats ul { list-style: none; display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px 12px; padding: 0 16px 2px; scrollbar-width: none; }
.dl-subcats ul::-webkit-scrollbar { display: none; }
.dl-subcats a {
	flex: none; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--dl-line-strong); background: #FFFFFF;
	display: flex; align-items: center; white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--dl-ink) !important; text-decoration: none;
}
.dl-subcats a.is-current { background: var(--dl-green); border-color: var(--dl-green); color: #FFFFFF !important; }
.dl-live-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #E8F0D9; color: #2E3F17; font-size: 14px; margin: 0 0 14px; }
.dl-live-note .dl-icon { margin-top: 1px; }
.dl-filter-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--dl-sand); font-size: 14px; margin: 0 0 12px; }
.dl-filter-chip a { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; background: #FFFFFF; color: var(--dl-ink); }
.dl-theme .woocommerce-result-count { font-size: 14px; color: var(--dl-muted); margin: 8px 0 12px; }
.dl-theme .woocommerce-ordering select { min-height: 44px; padding: 0 12px; background-color: #FFFFFF; font-weight: 600; }
.dl-theme .woocommerce-pagination ul.page-numbers { border: 0 !important; display: flex; gap: 6px; justify-content: center; }
.dl-theme .woocommerce-pagination ul.page-numbers li { border: 0 !important; }
.dl-theme .woocommerce-pagination .page-numbers a, .dl-theme .woocommerce-pagination .page-numbers span { min-width: 44px; min-height: 44px; display: flex !important; align-items: center; justify-content: center; border-radius: 10px; border: 1px solid var(--dl-line-strong) !important; background: #FFFFFF; }
.dl-theme .woocommerce-pagination .page-numbers span.current { background: var(--dl-green); color: #FFFFFF; border-color: var(--dl-green) !important; }

/* ------------------------------------------------------------------ Product page */

.dl-theme.single-product div.product .product_title { font-size: 28px; line-height: 1.15; margin-bottom: 6px; }
.dl-theme.single-product div.product p.price, .dl-theme.single-product div.product span.price { color: var(--dl-ink) !important; font-size: 22px; font-weight: 800; }
.dl-theme.single-product .stock { font-weight: 600; font-size: 15px; }
.dl-theme.single-product .stock.in-stock { color: #3E5420; }
.dl-theme.single-product .stock.available-on-backorder, .dl-theme .dld-ordered-in { color: #6B4A12; }
.dl-theme.single-product .stock.out-of-stock { color: #7A3326; }

/* Variations as buttons (the select stays for WooCommerce, hidden). */
.dl-theme table.variations, .dl-theme table.variations tbody { display: block; width: 100%; border: 0; margin-bottom: 8px; }
.dl-theme table.variations tr { display: block; margin-bottom: 14px; }
.dl-theme table.variations th, .dl-theme table.variations td { display: block; padding: 0 !important; border: 0 !important; text-align: left; background: none !important; }
.dl-theme table.variations th.label label { font-weight: 700; font-size: 15px; margin-bottom: 8px; display: block; }
.dl-theme table.variations select.dl-swatched { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0; pointer-events: none; }
.dl-theme .reset_variations { display: inline-block; margin-top: 6px; font-size: 14px; }
.dl-swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.dl-swatch {
	min-height: 48px; padding: 6px 8px; border: 1px solid var(--dl-line-strong); border-radius: 10px; background: #FFFFFF;
	font: inherit; font-size: 15px; font-weight: 700; color: var(--dl-ink); cursor: pointer; line-height: 1.2; text-align: center;
}
.dl-swatch:hover { border-color: var(--dl-green); }
.dl-swatch[aria-pressed="true"] { background: var(--dl-green); border-color: var(--dl-green); color: #FFFFFF; }
.dl-swatch:disabled { color: #A89A8C; text-decoration: line-through; background: #F4F0EA; cursor: not-allowed; }
.dl-theme .woocommerce-variation-availability, .dl-theme .woocommerce-variation-price { margin: 4px 0 8px; font-size: 15px; }

/* Quantity stepper */
.dl-theme .quantity { display: inline-flex !important; align-items: stretch; border: 1px solid var(--dl-line-strong); border-radius: 12px; background: #FFFFFF; overflow: hidden; }
.dl-theme .quantity input.qty { width: 44px !important; min-height: 48px; border: 0 !important; text-align: center; font-weight: 800; -moz-appearance: textfield; background: transparent; }
.dl-theme .quantity input.qty::-webkit-outer-spin-button, .dl-theme .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dl-qty-btn { width: 44px; border: 0; background: none; font-size: 22px; color: var(--dl-ink); cursor: pointer; }
.dl-qty-btn:hover { background: var(--dl-sand); }
.dl-theme form.cart:not(.variations_form), .dl-theme .woocommerce-variation-add-to-cart { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
/* Quantity stays one compact row: − 1 + */
.dl-theme form.cart .quantity { flex: none; flex-wrap: nowrap !important; flex-direction: row !important; height: auto; margin: 0 !important; }
.dl-theme form.cart .quantity input.qty { flex: none; order: 0; }
.dl-theme form.cart .quantity .dl-qty-btn:first-child { order: -1; }
.dl-theme form.cart .single_add_to_cart_button { flex: 1 1 auto; min-height: 50px; }
.dl-theme .single_add_to_cart_button { flex: 1; min-height: 52px; font-size: 17px !important; }

/* Get it this week */
.dl-getit { margin: 20px 0; padding: 16px 18px; border-radius: 16px; background: #FFFFFF; border: 1px solid var(--dl-line); font-size: 15px; }
.dl-theme .dl-getit h2 { font-family: var(--dl-font); font-size: 16px; font-weight: 700; margin: 0 0 10px; }
.dl-getit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.dl-getit li { display: flex; gap: 10px; }
.dl-getit .dl-icon { color: var(--dl-green); margin-top: 1px; }
.dl-getit .dld-ship-status { display: inline; }
.dl-getit-foot { margin: 10px 0 0; font-size: 14px; color: var(--dl-muted); }

/* Accordion instead of tabs */
.dl-accordion { clear: both; width: 100%; box-sizing: border-box; padding-top: 8px; margin: 28px 0; border-bottom: 1px solid var(--dl-line); max-width: 760px; }
/* Desktop: the sections sit under the photo, in the left column, instead of below everything. */
@media (min-width: 768px) {
	.dl-theme.single-product div.product .dl-accordion { float: left; clear: left; width: 48%; max-width: none; margin-top: 24px; }
	.dl-theme.single-product div.product .related, .dl-theme.single-product div.product .upsells, .dl-theme.single-product div.product .up-sells { clear: both; }
}
.dl-acc { border-top: 1px solid var(--dl-line); }
.dl-acc summary { min-height: 56px; display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 17px; cursor: pointer; list-style: none; }
.dl-acc summary::-webkit-details-marker { display: none; }
.dl-acc summary .dl-icon { transform: rotate(90deg); transition: transform .2s; color: var(--dl-muted); }
.dl-acc[open] summary .dl-icon { transform: rotate(-90deg); }
.dl-acc-body { padding: 0 0 16px; }
.dl-goodfor { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.dl-goodfor a { display: inline-flex; min-height: 36px; align-items: center; padding: 0 12px; border-radius: 999px; border: 1px solid var(--dl-line-strong); background: #FFFFFF; text-decoration: none; font-weight: 600; font-size: 14px; }

/* Related products: sideways on phones */
.dl-theme .related.products > h2, .dl-theme .upsells.products > h2, .dl-theme .cross-sells > h2 { font-size: 22px; }
@media (max-width: 899px) {
	.dl-theme .related.products ul.products, .dl-theme .upsells.products ul.products {
		display: flex !important; overflow-x: auto; margin: 0 -16px !important; padding: 0 16px 6px !important; scrollbar-width: none;
	}
	.dl-theme .related.products ul.products li.product, .dl-theme .upsells.products ul.products li.product { flex: none; width: 160px !important; }
}

/* Sticky Add to cart bar (phones, after scrolling past the button) */
.dl-stickybar {
	position: fixed; left: 0; right: 0; bottom: var(--dl-tabbar-h); z-index: 910; display: flex; align-items: center; gap: 12px;
	padding: 10px 16px; background: #FFFFFF; border-top: 1px solid var(--dl-line); box-shadow: 0 -4px 16px rgba(42,30,30,.08);
	transform: translateY(0); transition: transform .2s ease;
}
.dl-stickybar[hidden] { display: none; }
.dl-stickybar-text { line-height: 1.2; min-width: 0; }
.dl-stickybar-choice { display: block; font-size: 13px; color: var(--dl-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dl-stickybar-price { font-size: 17px; }
.dl-stickybar-price del { font-size: 13px; color: var(--dl-muted); font-weight: 500; }
.dl-stickybar .dl-btn { flex: 1; min-height: 50px; }
@media (min-width: 900px) { .dl-stickybar { display: none !important; } }
.dl-flash { animation: dl-flash 1s ease 2; }
@keyframes dl-flash { 50% { box-shadow: 0 0 0 4px var(--dl-lime); border-radius: 12px; } }

/* ------------------------------------------------------------------ Added to cart panel */

.dl-added { position: fixed; inset: 0; z-index: 1100; }
.dl-added[hidden] { display: none; }
.dl-added-scrim { position: absolute; inset: 0; background: rgba(42,30,30,.45); }
.dl-added-sheet {
	position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow-y: auto; background: #FFFFFF;
	border-radius: 20px 20px 0 0; padding: 10px 16px calc(20px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(42,30,30,.2);
	transform: translateY(0); transition: transform .25s ease;
}
.dl-added.is-entering .dl-added-sheet { transform: translateY(100%); }
.dl-added-grip { display: block; width: 40px; height: 5px; border-radius: 3px; background: var(--dl-line-strong); margin: 0 auto 10px; }
.dl-added-head { display: flex; align-items: center; justify-content: space-between; }
.dl-theme .dl-added-head h2 { display: flex; align-items: center; gap: 8px; font-size: 19px; margin: 0; }
.dl-added-tick { width: 26px; height: 26px; border-radius: 50%; background: #E8F0D9; color: #3E5420; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; }
.dl-added-item { display: flex; gap: 12px; align-items: center; margin-top: 10px; padding-bottom: 14px; border-bottom: 1px solid #EFE8DD; }
.dl-added-img { width: 64px !important; height: 64px !important; object-fit: cover; border-radius: 10px; flex: none; }
.dl-added-name { flex: 1; line-height: 1.35; display: flex; flex-direction: column; }
.dl-added-name span { font-size: 14px; color: var(--dl-muted); }
.dl-added-sub { display: flex; justify-content: space-between; margin: 12px 0 0; font-size: 15px; }
.dl-added-cut { display: flex; gap: 8px; margin: 8px 0 0; font-size: 14px; color: var(--dl-muted); }
.dl-added-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.dl-added-keep { display: block; margin: 8px auto 0; min-height: 44px; border: 0; background: none; font: inherit; font-weight: 600; color: var(--dl-green-dark); text-decoration: underline; cursor: pointer; }
.dl-theme .dl-added-cross-h { font-family: var(--dl-font); font-size: 15px; margin: 10px 0; }
.dl-added-cross { list-style: none; margin: 0 -16px; padding: 0 16px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.dl-added-cross li { flex: none; width: 140px; }
.dl-added-cross a { display: block; border: 1px solid var(--dl-line); border-radius: 12px; overflow: hidden; text-decoration: none; color: var(--dl-ink) !important; font-size: 14px; font-weight: 700; line-height: 1.3; }
.dl-added-cross img { width: 100%; height: 84px; object-fit: cover; display: block; }
.dl-added-cross a > span { display: block; padding: 6px 10px 0; }
.dl-added-cross .dl-added-cross-price * { display: inline; padding: 0; }
.dl-added-cross .dl-added-cross-price { padding: 2px 10px 10px; font-weight: 500; color: var(--dl-muted); }
@media (min-width: 900px) {
	.dl-added-sheet { left: auto; right: 24px; bottom: auto; top: 24px; width: 420px; border-radius: 18px; }
	.dl-added.is-entering .dl-added-sheet { transform: translateY(-20px); opacity: 0; }
	.dl-added-grip { display: none; }
}

/* ------------------------------------------------------------------ Cart page */

@media (max-width: 899px) {
	.dl-theme.woocommerce-cart .dl-tabbar { display: none; }
	.dl-theme.woocommerce-cart { padding-bottom: 96px; }
	.dl-theme.woocommerce-cart .wc-proceed-to-checkout {
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 905; margin: 0 !important; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)) !important;
		background: #FFFFFF; border-top: 1px solid var(--dl-line); box-shadow: 0 -4px 16px rgba(42,30,30,.08);
	}
	.dl-theme.woocommerce-cart .wc-proceed-to-checkout .checkout-button { margin: 0 !important; min-height: 54px; display: flex !important; align-items: center; justify-content: center; font-size: 17px !important; }
	/* Cart rows as cards */
	.dl-theme table.shop_table_responsive.cart { border: 0; }
	.dl-theme table.shop_table_responsive.cart tr.cart_item {
		display: grid !important; grid-template-columns: 72px 1fr auto; grid-template-areas: "img name remove" "img price price" "img qty sub";
		gap: 4px 12px; padding: 14px; margin-bottom: 10px; background: #FFFFFF; border: 1px solid var(--dl-line); border-radius: var(--dl-radius);
	}
	.dl-theme table.shop_table_responsive.cart tr.cart_item td { display: block !important; padding: 0 !important; border: 0 !important; text-align: left !important; background: none !important; }
	.dl-theme table.shop_table_responsive.cart tr.cart_item td::before { display: none !important; }
	.dl-theme table.shop_table_responsive.cart td.product-thumbnail { grid-area: img; display: block !important; }
	.dl-theme table.shop_table_responsive.cart td.product-thumbnail img { width: 72px !important; height: 72px; object-fit: cover; border-radius: 10px; }
	.dl-theme table.shop_table_responsive.cart td.product-name { grid-area: name; font-weight: 700; }
	.dl-theme table.shop_table_responsive.cart td.product-remove { grid-area: remove; }
	.dl-theme table.shop_table_responsive.cart td.product-price { grid-area: price; font-size: 14px; color: var(--dl-muted); }
	.dl-theme table.shop_table_responsive.cart td.product-quantity { grid-area: qty; }
	.dl-theme table.shop_table_responsive.cart td.product-subtotal { grid-area: sub; align-self: center; font-weight: 700; }
	.dl-theme table.shop_table_responsive.cart tr:not(.cart_item) td { display: block; }
}
.dl-theme .cart_totals, .dl-theme .woocommerce-cart .cart-collaterals .cart_totals { background: #FFFFFF; border: 1px solid var(--dl-line); border-radius: var(--dl-radius); padding: 16px; }
.dl-theme a.remove { color: #7A3326 !important; border-radius: 50%; }

/* ------------------------------------------------------------------ Shop by animal page */

.dl-animal-page { padding: 14px 0 20px; }
.dl-crumbs { font-size: 13px; color: var(--dl-muted); margin-bottom: 10px; }
.dl-animal-head { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.dl-animal-head-img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; border: 3px solid var(--dl-green); flex: none; }
.dl-theme .dl-animal-head h1 { font-size: 28px; margin: 0 0 4px; }
.dl-animal-intro { color: var(--dl-muted); font-size: 15px; }
.dl-animal-intro p { margin: 0; }
.dl-starter { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; margin: 4px 0 16px; border-radius: 14px; background: #FBF1DE; color: #5A3200 !important; text-decoration: none; }
.dl-starter-go { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; text-decoration: underline; }
.dl-animal-row { padding: 16px 0 4px; scroll-margin-top: 80px; }
.dl-theme .dl-animal-row h2 { font-size: 22px; margin: 0; }
.dl-empty { padding: 20px; background: #FFFFFF; border-radius: 14px; border: 1px solid var(--dl-line); }
@media (min-width: 900px) {
	.dl-animal-page { padding-top: 24px; }
	.dl-animal-head-img { width: 120px; height: 120px; }
	.dl-theme .dl-animal-head h1 { font-size: 40px; }
	.dl-starter { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* ------------------------------------------------------------------ My account */

.dl-next-order { padding: 16px; border: 2px solid var(--dl-green); border-radius: 16px; background: #FFFFFF; margin: 0 0 16px; }
.dl-next-head { display: flex; justify-content: space-between; align-items: baseline; }
.dl-theme .dl-next-head h2, .dl-theme .dl-past h2 { font-size: 18px; margin: 0; }
.dl-next-what { display: flex; gap: 10px; margin: 10px 0 0; }
.dl-next-what .dl-icon { color: var(--dl-green); margin-top: 2px; }
.dl-next-pay { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: #FBEBD3; color: #5A3200; font-size: 14px; }
.dl-next-pay a { color: #5A3200; font-weight: 700; }
.dl-next-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.dl-next-note { margin: 8px 0 0; font-size: 13px; color: var(--dl-muted); }
.dl-past { padding: 14px 16px; border: 1px solid var(--dl-line); border-radius: 16px; background: #FFFFFF; margin: 0 0 16px; }
.dl-past ul { list-style: none; margin: 8px 0; padding: 0; }
.dl-past li { padding: 10px 0; border-top: 1px solid #EFE8DD; display: grid; gap: 2px; }
.dl-past li > div { display: flex; justify-content: space-between; gap: 10px; }
.dl-past li a:first-child { font-weight: 700; color: var(--dl-ink); }
.dl-past li span { color: var(--dl-muted); font-size: 14px; }
.dl-again { font-size: 14px; font-weight: 700; }
.dl-theme .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 16px; padding: 0; border: 1px solid var(--dl-line); border-radius: 14px; background: #FFFFFF; overflow: hidden; }
.dl-theme .woocommerce-MyAccount-navigation li a { display: flex; min-height: 50px; align-items: center; padding: 0 16px; border-top: 1px solid #EFE8DD; color: var(--dl-ink); text-decoration: none; font-weight: 600; }
.dl-theme .woocommerce-MyAccount-navigation li:first-child a { border-top: 0; }
.dl-theme .woocommerce-MyAccount-navigation li.is-active a { background: #F2F6E8; color: var(--dl-green-dark); }

/* ================================================================== Kadence page title + spacing */
/* Kadence's tall title banner becomes a plain, compact heading; its big gap above the content goes. */
.dl-theme .entry-hero-container-inner { background: transparent !important; border: 0 !important; }
.dl-theme .entry-hero .hero-section-overlay { display: none !important; }
.dl-theme .entry-hero .entry-header { min-height: 0 !important; padding: 20px 0 0 !important; }
.dl-theme .entry-hero .entry-title, .dl-theme .entry-hero .page-title { color: var(--dl-ink) !important; margin: 0 !important; font-size: 28px; line-height: 1.15; }
.dl-theme .entry-hero .kadence-breadcrumbs { margin: 0 0 6px !important; color: var(--dl-muted); }
.dl-theme .entry-hero .archive-description { margin-top: 8px; color: var(--dl-muted); }
.dl-theme .content-area { margin-top: 16px !important; margin-bottom: 40px !important; }
@media (min-width: 900px) {
	.dl-theme .entry-hero .entry-header { padding-top: 28px !important; }
	.dl-theme .entry-hero .entry-title, .dl-theme .entry-hero .page-title { font-size: 38px; }
	.dl-theme .content-area { margin-top: 24px !important; }
}

/* ================================================================== Stage 4: content pages */

/* Reading text everywhere (pages and guides) */
.dl-theme .entry-content { font-size: 17px; line-height: 1.6; color: var(--dl-ink); }
.dl-theme .entry-content > * { margin-top: 0; }
.dl-theme .entry-content h2 { font-family: var(--dl-font-head); font-size: 24px; line-height: 1.2; margin: 32px 0 10px; scroll-margin-top: 90px; }
.dl-theme .entry-content h3 { font-size: 19px; line-height: 1.3; margin: 24px 0 8px; }
.dl-theme .entry-content p, .dl-theme .entry-content ul, .dl-theme .entry-content ol { margin-bottom: 14px; }
.dl-theme .entry-content ul, .dl-theme .entry-content ol { padding-left: 22px; }
.dl-theme .entry-content li { margin-bottom: 6px; }
.dl-theme .entry-content a:not(.button):not(.wp-block-button__link):not(.dl-btn) { color: var(--dl-green-dark); text-underline-offset: 3px; }
.dl-theme .entry-content img { border-radius: 12px; height: auto; }
.dl-theme .entry-content figcaption { font-size: 14px; color: var(--dl-muted); text-align: left; }
.dl-theme .entry-content blockquote { border-left: 4px solid var(--dl-lime); margin: 18px 0; padding: 4px 0 4px 16px; font-size: 18px; }
.dl-theme .entry-content table { border-collapse: collapse; width: 100%; font-size: 15px; }
.dl-theme .entry-content th, .dl-theme .entry-content td { border-bottom: 1px solid var(--dl-line); padding: 10px 8px; text-align: left; vertical-align: top; }
.dl-theme .entry-content .wp-block-table { overflow-x: auto; }
.dl-theme .entry-content .wp-block-button__link { background: var(--dl-green); color: #FFFFFF; border-radius: 12px; font-weight: 700; padding: 12px 20px; }
.dl-theme .dl-lead { font-size: 18px; color: var(--dl-muted); }

/* Questions that fold open (Details block) */
.dl-theme .entry-content .wp-block-details { border: 1px solid var(--dl-line); border-radius: 12px; background: #FFFFFF; padding: 0 16px; margin: 0 0 8px; }
.dl-theme .entry-content .wp-block-details summary { min-height: 52px; display: flex; align-items: center; font-weight: 700; cursor: pointer; list-style: none; }
.dl-theme .entry-content .wp-block-details summary::-webkit-details-marker { display: none; }
.dl-theme .entry-content .wp-block-details summary::after { content: "+"; margin-left: auto; padding-left: 12px; font-size: 22px; color: var(--dl-muted); }
.dl-theme .entry-content .wp-block-details[open] summary::after { content: "−"; }
.dl-theme .entry-content .wp-block-details > :not(summary) { margin-top: 0; padding-bottom: 6px; }

/* Tip box */
.dl-theme .entry-content .dl-tip { background: #F2F6E8; border: 1px solid #D5E2B4; border-radius: 12px; padding: 14px 16px; margin: 18px 0; }
.dl-theme .entry-content .dl-tip > :last-child { margin-bottom: 0; }

/* Checklists (starter lists) */
.dl-theme .entry-content ul.dl-checklist { list-style: none; padding: 0; }
.dl-theme .entry-content ul.dl-checklist li { position: relative; padding-left: 30px; }
.dl-theme .entry-content ul.dl-checklist li::before {
	content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border: 2px solid var(--dl-green); border-radius: 5px; box-sizing: border-box;
}

/* Jump links ("On this page", "In this guide") */
.dl-jump { margin: 16px 0 6px; }
.dl-jump ul { list-style: none !important; display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px !important; padding: 0 16px 2px !important; scrollbar-width: none; }
.dl-jump ul::-webkit-scrollbar { display: none; }
.dl-jump li { flex: none; margin: 0 !important; }
.dl-jump a {
	display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--dl-line-strong); border-radius: 999px;
	background: #FFFFFF; color: var(--dl-ink) !important; font-size: 15px; font-weight: 600; text-decoration: none !important; white-space: nowrap;
}
.dl-jump a:hover { border-color: var(--dl-green); }
.single-post .dl-jump::before { content: "In this guide"; display: block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--dl-muted); margin-bottom: 6px; }
@media (min-width: 900px) {
	.dl-jump ul { flex-wrap: wrap; overflow: visible; margin: 0 !important; padding: 0 !important; }
}

/* "Sections as cards" pages: Delivery & pickup, starter lists */
.dl-sections-page .content-bg, .dl-sections-page .entry.content-bg, .dl-sections-page article.entry { background: transparent !important; box-shadow: none !important; }
.dl-sections-page .entry-content-wrap { padding: 0 !important; }
.dl-sections-page .entry-content { max-width: 860px; margin: 0 auto; }
.dl-sections-page .dl-intro .dl-thisweek { margin: 14px 0 0; }
.dl-sections-page .dl-intro { margin-bottom: 22px; }
.dl-theme .entry-content .dl-thisweek h2 { margin: 0 0 12px; font-family: var(--dl-font-head); }
.dl-card-section {
	background: #FFFFFF; border: 1px solid var(--dl-line); border-radius: var(--dl-radius); padding: 18px 16px 6px; margin: 14px 0 0;
	scroll-margin-top: 90px;
}
.dl-theme .dl-card-section h2[data-dl-h2] { display: flex; gap: 10px; align-items: center; margin: 0 0 10px; font-size: 22px; }
.dl-card-section h2 .dl-icon { color: var(--dl-green); flex: none; }
.dl-card-section ul.products { margin-top: 12px !important; }
@media (min-width: 900px) {
	.dl-card-section { padding: 26px 28px 12px; margin-top: 18px; }
	.dl-theme .dl-card-section h2[data-dl-h2] { font-size: 26px; }
}

/* Pickup spots and Kinburn hours (from Lair Keeper) */
.dl-theme .entry-content ul.dld-spots { list-style: none; padding: 0; margin: 4px 0 14px; }
.dld-spots li { display: flex; gap: 12px; justify-content: space-between; align-items: flex-start; padding: 12px 0; margin: 0 !important; border-top: 1px solid var(--dl-line); }
.dld-spots li:first-child { border-top: 0; }
.dld-spot-name { display: block; }
.dld-spot-when { display: block; font-size: 15px; font-weight: 600; color: var(--dl-green-dark); }
.dld-spot-info { display: block; font-size: 14px; color: var(--dl-muted); line-height: 1.45; margin-top: 2px; }
.dld-spot-map { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border: 1px solid var(--dl-line-strong); border-radius: 10px; font-size: 14px; font-weight: 700; text-decoration: none !important; }
.dld-hours { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 0 0 14px; font-size: 16px; }
.dld-hours dt { font-weight: 700; }
.dld-hours dd { margin: 0; }

/* Guides: comfortable reading width */
.single-post.dl-theme .entry-content { max-width: 720px; margin-left: auto; margin-right: auto; }
.single-post.dl-theme .entry-content > .alignwide, .single-post.dl-theme .entry-content > .woocommerce { max-width: none; }

/* Guides list (blog page and categories): cards */
.dl-theme .loop-entry {
	background: #FFFFFF; border: 1px solid var(--dl-line); border-radius: var(--dl-radius); overflow: hidden; box-shadow: none !important;
}
.dl-theme .loop-entry .post-thumbnail { margin: 0 !important; }
.dl-theme .loop-entry .post-thumbnail img { border-radius: 0; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.dl-theme .loop-entry .entry-content-wrap { padding: 14px 16px 16px !important; }
.dl-theme .loop-entry .entry-title { font-size: 19px !important; line-height: 1.25; margin: 0 0 6px; }
.dl-theme .loop-entry .entry-title a { color: var(--dl-ink); text-decoration: none; }
.dl-theme .loop-entry .entry-summary { font-size: 15px; color: var(--dl-muted); }
.dl-theme .loop-entry .entry-meta { font-size: 13px; color: var(--dl-muted); }
.dl-theme .loop-entry .more-link-wrap { margin-top: 8px; }
.dl-theme .loop-entry .post-more-link { font-weight: 700; color: var(--dl-green-dark); text-transform: none; letter-spacing: normal; }

/* Empty cart: "Return to shop" in the theme's green button, white text */
.dl-theme .return-to-shop .button, .dl-theme .wc-backward.button, .dl-theme .woocommerce-info .button.wc-forward {
	background: var(--dl-green) !important; color: #FFFFFF !important; border: 0 !important; display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px !important;
}
.dl-theme .return-to-shop .button:hover, .dl-theme .wc-backward.button:hover { background: var(--dl-green-dark) !important; }
.dl-catbar-help:empty { display: none; }

/* ------------------------------------------------------------------ Kadence product card overrides
 * Kadence wraps the card text in .product-details (with wide padding) and shows the
 * button only on hover (.product-action-wrap). On phones there's no hover, so the button
 * appeared only after a tap, squeezed. Always show it, full width, one line. */
.dl-theme ul.products li.product .product-details,
.dl-theme ul.products li.product .entry-content-wrap { padding: 0 !important; display: flex !important; flex-direction: column; flex: 1 1 auto; background: transparent !important; }
.dl-theme ul.products li.product .product-action-wrap {
	opacity: 1 !important; visibility: visible !important; transform: none !important; position: static !important;
	margin: auto 0 0 !important; padding: 0 !important; display: block !important; pointer-events: auto !important;
}
.dl-theme ul.products li.product .product-action-wrap a.button,
.dl-theme ul.products li.product a.button {
	display: flex !important; align-items: center; justify-content: center; gap: 0;
	width: calc(100% - 24px) !important; max-width: none !important; box-sizing: border-box;
	margin: 10px 12px 12px !important; padding: 8px 6px !important; min-height: 42px;
	white-space: nowrap !important; overflow: hidden; text-overflow: ellipsis;
	font-size: 14px !important; line-height: 1.2 !important; text-decoration: none !important;
	border-radius: 12px !important; text-transform: none !important; letter-spacing: normal !important;
}
.dl-theme ul.products li.product a.button::before,
.dl-theme ul.products li.product a.button::after { display: none !important; content: none !important; }
.dl-theme ul.products li.product a.button .add-to-cart-text,
.dl-theme ul.products li.product a.button span { display: inline !important; white-space: nowrap !important; padding: 0 !important; }
.dl-theme ul.products li.product a.button .kadence-svg-iconset,
.dl-theme ul.products li.product a.button svg { display: none !important; }
.dl-theme ul.products li.product .woocommerce-loop-product__title { padding: 10px 12px 0 !important; }
.dl-theme ul.products li.product .price { padding: 4px 12px 0 !important; white-space: normal; }
/* "$1.75 – $13.75" on one line where it fits */
.dl-theme ul.products li.product .price .woocommerce-Price-amount { white-space: nowrap; }
@media (max-width: 380px) {
	.dl-theme ul.products li.product .product-action-wrap a.button,
	.dl-theme ul.products li.product a.button { font-size: 13px !important; padding: 8px 4px !important; }
}

/* ------------------------------------------------------------------ Category tiles on the Shop page */
.dl-theme ul.products li.product-category > a {
	display: flex !important; flex-direction: column; height: 100%; color: var(--dl-ink) !important; text-decoration: none !important;
}
.dl-theme ul.products li.product-category img {
	width: 100% !important; aspect-ratio: 1; object-fit: cover; margin: 0 !important; border-radius: 0 !important; display: block;
}
.dl-theme ul.products li.product-category .woocommerce-loop-category__title {
	padding: 10px 12px 12px !important; margin: 0 !important; font-family: var(--dl-font) !important;
	font-size: 15px !important; font-weight: 700; line-height: 1.3; text-align: left; color: var(--dl-ink);
}
.dl-theme ul.products li.product-category .woocommerce-loop-category__title mark.count { display: none; }
.dl-theme ul.products li.product-category:hover { border-color: var(--dl-green); }
@media (min-width: 900px) {
	.dl-theme ul.products li.product-category .woocommerce-loop-category__title { font-size: 17px !important; padding: 12px 14px 14px !important; }
}

/* ------------------------------------------------------------------ Cart: coupon + update row */
.dl-theme.woocommerce-cart table.cart td.actions { padding: 12px 0 !important; background: transparent !important; }
.dl-theme.woocommerce-cart table.cart td.actions .coupon {
	display: flex !important; gap: 8px; align-items: stretch; width: 100%; float: none !important; margin: 0 0 10px !important; padding: 0 !important; border: 0 !important;
}
.dl-theme.woocommerce-cart table.cart td.actions .coupon .input-text,
.dl-theme.woocommerce-cart table.cart td.actions .coupon #coupon_code {
	flex: 1 1 0; min-width: 0; width: 0 !important; min-height: 48px; margin: 0 !important; float: none !important; box-sizing: border-box;
}
.dl-theme.woocommerce-cart table.cart td.actions .coupon .button {
	flex: none; width: auto !important; white-space: nowrap !important; float: none !important; margin: 0 !important;
	min-height: 48px; padding: 0 18px !important; font-size: 15px !important; line-height: 1 !important;
	display: inline-flex !important; align-items: center; justify-content: center;
	background: #FFFFFF !important; color: var(--dl-green) !important; border: 1px solid var(--dl-green) !important;
}
.dl-theme.woocommerce-cart table.cart td.actions > .button[name="update_cart"] {
	float: none !important; width: 100% !important; min-height: 44px; margin: 0 !important; font-size: 15px !important; white-space: nowrap;
	display: flex !important; align-items: center; justify-content: center;
	background: #FFFFFF !important; color: var(--dl-green) !important; border: 1px solid var(--dl-green) !important; /* second to Proceed to checkout */
}
.dl-theme.woocommerce-cart table.cart td.actions > .button[name="update_cart"]:disabled { opacity: .45; }
@media (min-width: 900px) {
	.dl-theme.woocommerce-cart table.cart td.actions { display: flex !important; gap: 12px; align-items: center; justify-content: space-between; }
	.dl-theme.woocommerce-cart table.cart td.actions .coupon { width: auto; max-width: 440px; margin: 0 !important; }
	.dl-theme.woocommerce-cart table.cart td.actions > .button[name="update_cart"] { width: auto !important; padding: 0 20px !important; }
}
.dl-theme.woocommerce-cart table.cart td.actions .coupon label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
