/*
Theme Name: TEEKIJAY
Theme URI: https://teekijay.co.uk/
Author: AMTA Nutritions
Description: Premium, SEO-ready TEEKIJAY nutrition theme with WooCommerce support.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: teekijay
Tags: e-commerce, custom-logo, custom-menu, featured-images, responsive-layout
*/

:root {
  --forest: #123f33;
  --forest-deep: #0a2c24;
  --copper: #b77b56;
  --ivory: #f5f1e8;
  --paper: #fffdf8;
  --ink: #17221e;
  --muted: #5f6d67;
  --line: rgba(18, 63, 51, 0.16);
  --blue: #718997;
  --clay: #ad6748;
  --teal: #397568;
  --gold: #bb8f45;
  --radius: 1.25rem;
  --shadow: 0 24px 70px rgba(10, 44, 36, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 4px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 1000; padding: .75rem 1rem; background: var(--paper); color: var(--forest); }
.skip-link:focus { top: 1rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.container { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.section { padding: clamp(5rem, 9vw, 8.5rem) 0; }
.section-tight { padding: 3.5rem 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.1rem; color: var(--copper); font-size: .77rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 2.1rem; height: 1px; background: currentColor; }
.eyebrow.light { color: #dfaa87; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, .serif { font-family: Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.045em; }
h1 { max-width: 780px; margin-bottom: 1.5rem; font-size: clamp(3.4rem, 8vw, 7.6rem); line-height: .91; }
h2 { margin-bottom: 1rem; font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: .98; }
h3 { line-height: 1.2; }
.lead { max-width: 680px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.22rem); line-height: 1.75; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 3rem; margin-bottom: 3rem; }
.section-head > div { max-width: 680px; }
.section-head > p { max-width: 440px; margin-bottom: .35rem; color: var(--muted); }
.button { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; gap: .7rem; padding: .82rem 1.25rem; border: 1px solid var(--forest); border-radius: 999px; background: var(--forest); color: #fff; font-size: .9rem; font-weight: 800; letter-spacing: .03em; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); background: var(--forest-deep); }
.button-light { border-color: var(--ivory); background: var(--ivory); color: var(--forest); }
.button-light:hover { background: #fff; }
.button-outline { background: transparent; color: var(--forest); }
.button-outline:hover { background: var(--forest); color: #fff; }
.text-link { display: inline-flex; gap: .55rem; align-items: center; padding: .6rem 0; border-bottom: 1px solid currentColor; font-weight: 750; }

.announcement { display: flex; min-height: 2.3rem; align-items: center; justify-content: center; padding: .45rem 1rem; background: var(--forest-deep); color: #fff; text-align: center; font-size: .72rem; font-weight: 750; letter-spacing: .11em; text-transform: uppercase; }
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); background: rgba(245, 241, 232, .92); backdrop-filter: blur(18px); }
.header-inner { display: flex; min-height: 5rem; align-items: center; justify-content: space-between; gap: 2rem; }
.brand-lockup { display: inline-flex; align-items: center; gap: .7rem; color: var(--forest); }
.brand-mark { width: 2.25rem; height: 2.25rem; object-fit: contain; }
.wordmark { display: inline-flex; align-items: baseline; font-size: .92rem; font-weight: 650; letter-spacing: .2em; line-height: 1; }
.wordmark b { font-size: 1.22em; font-weight: 820; }
.nav { display: flex; align-items: center; gap: 1.65rem; font-size: .9rem; font-weight: 650; }
.nav a:not(.button) { padding: .6rem .1rem; }
.nav a:not(.button):hover { color: var(--copper); }
.nav .button { min-height: 2.65rem; padding: .55rem 1rem; color: #fff; }
.menu-toggle { display: none; width: 2.8rem; height: 2.8rem; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--forest); cursor: pointer; }
.menu-toggle svg { width: 1.25rem; }

.hero { overflow: hidden; background: var(--forest); color: #fff; }
.hero-grid { display: grid; min-height: 720px; grid-template-columns: 1.03fr .97fr; }
.hero-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(5rem, 9vw, 8rem) clamp(2rem, 6vw, 6rem) clamp(5rem, 8vw, 7rem) max(1.5rem, calc((100vw - 1180px)/2)); }
.hero-copy h1 em { color: #d69a73; font-weight: 400; }
.hero-copy .lead { color: rgba(255,255,255,.72); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.15rem; margin-top: 1.25rem; }
.hero-actions .text-link { color: #fff; }
.hero-notes { display: flex; flex-wrap: wrap; gap: 1.1rem 1.8rem; margin-top: 3rem; color: rgba(255,255,255,.66); font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.hero-gallery { position: relative; min-height: 620px; overflow: hidden; background: linear-gradient(145deg, #eee6d8, #d5c9b8); }
.hero-gallery::before { content: ""; position: absolute; width: 38rem; height: 38rem; top: -12rem; right: -10rem; border: 1px solid rgba(18,63,51,.18); border-radius: 50%; }
.hero-gallery::after { content: ""; position: absolute; width: 27rem; height: 27rem; bottom: -13rem; left: -8rem; border-radius: 50%; background: rgba(183,123,86,.16); }
.hero-product { position: absolute; z-index: 2; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-product img { width: 100%; height: 100%; object-fit: cover; }
.hero-product.primary { width: min(64%, 430px); aspect-ratio: 1; top: 7%; right: 7%; transform: rotate(2.5deg); }
.hero-product.secondary { width: min(51%, 340px); aspect-ratio: 1; left: 5%; bottom: 4%; transform: rotate(-4deg); }
.hero-seal { position: absolute; z-index: 3; right: 6%; bottom: 7%; display: grid; width: 7.3rem; aspect-ratio: 1; place-items: center; border: 1px solid rgba(18,63,51,.25); border-radius: 50%; background: rgba(245,241,232,.92); color: var(--forest); text-align: center; font-size: .65rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; transform: rotate(7deg); }

.trust-strip { border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; min-height: 6.5rem; align-items: center; gap: 1rem; padding: 1.5rem; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-icon { display: grid; flex: 0 0 2.4rem; height: 2.4rem; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--copper); font-size: .75rem; font-weight: 850; }
.trust-item span:last-child { font-size: .9rem; font-weight: 700; }

.filters { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 2rem; }
.filter { padding: .65rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--forest); font-size: .86rem; font-weight: 750; cursor: pointer; }
.filter:hover, .filter.active { border-color: var(--forest); background: var(--forest); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.product-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); transition: transform .25s ease, box-shadow .25s ease; }
.product-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(10,44,36,.09); }
.product-card[hidden] { display: none; }
.product-image { position: relative; overflow: hidden; aspect-ratio: 1; background: #ece5d9; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-image img { transform: scale(1.025); }
.status { position: absolute; top: .9rem; left: .9rem; padding: .42rem .65rem; border-radius: 999px; background: rgba(245,241,232,.94); color: var(--forest); font-size: .65rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.product-info { display: flex; flex: 1; flex-direction: column; padding: 1.35rem; }
.product-type { margin-bottom: .55rem; color: var(--copper); font-size: .7rem; font-weight: 820; letter-spacing: .13em; text-transform: uppercase; }
.product-info h3 { margin-bottom: .55rem; color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: 1.45rem; font-weight: 400; }
.product-info p { margin-bottom: 1.2rem; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.product-footer { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .77rem; font-weight: 750; }
.product-footer span { color: var(--muted); }
.product-footer a { color: var(--forest); }

.feature-panel { background: var(--forest); color: #fff; }
.feature-panel .section-head > p { color: rgba(255,255,255,.7); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.feature { min-height: 240px; padding: 2rem 1.4rem; border-right: 1px solid rgba(255,255,255,.18); }
.feature:last-child { border-right: 0; }
.feature .number { color: #d69a73; font-size: .75rem; font-weight: 800; }
.feature h3 { margin: 3.5rem 0 .7rem; font-family: Georgia, "Times New Roman", serif; font-size: 1.6rem; font-weight: 400; }
.feature p { margin: 0; color: rgba(255,255,255,.68); font-size: .91rem; }

.story-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1rem; }
.story-mark { display: flex; min-height: 580px; align-items: center; justify-content: center; overflow: hidden; border-radius: var(--radius); background: #ded2c0; }
.story-mark img { width: min(74%, 470px); }
.story-copy { display: flex; min-height: 580px; flex-direction: column; justify-content: center; padding: clamp(2rem, 6vw, 5.5rem); border-radius: var(--radius); background: var(--paper); }
.story-copy p { color: var(--muted); font-size: 1.06rem; }
.story-copy .text-link { align-self: flex-start; margin-top: 1rem; color: var(--forest); }

.journal-grid { display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 1rem; }
.article-card { display: flex; min-height: 340px; flex-direction: column; justify-content: space-between; padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.article-card:first-child { background: #d9ddd2; }
.article-card .article-type { color: var(--copper); font-size: .7rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.article-card h3 { margin: 3rem 0 1rem; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 400; letter-spacing: -.03em; }
.article-card a { align-self: flex-start; font-weight: 800; }

.launch { background: var(--copper); color: #fff; }
.launch-inner { display: flex; align-items: center; justify-content: space-between; gap: 3rem; }
.launch h2 { max-width: 700px; margin: 0; }
.launch p { max-width: 560px; margin: 1rem 0 0; color: rgba(255,255,255,.8); }
.launch .button { flex: 0 0 auto; }

.contact-section { background: #e8dfd2; }
.contact-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(2rem, 7vw, 6rem); align-items: start; }
.contact-copy { position: sticky; top: 8rem; }
.contact-copy > p { max-width: 430px; color: var(--muted); font-size: 1.04rem; }
.phone-card { margin-top: 2.4rem; padding-top: 1.4rem; border-top: 1px solid var(--line); }
.phone-card span { display: block; margin-bottom: .35rem; color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.phone-card a { color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.1; }
.form-card { padding: clamp(1.35rem, 4vw, 3rem); border: 1px solid rgba(18,63,51,.12); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.contact-form { margin: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.15rem; }
.contact-form label { display: grid; gap: .42rem; color: var(--forest); font-size: .84rem; font-weight: 760; }
.contact-form label > span small { color: var(--muted); font-weight: 500; }
.contact-form input:not([type="checkbox"]), .contact-form select, .contact-form textarea { width: 100%; min-height: 3.2rem; padding: .78rem .9rem; border: 1px solid rgba(18,63,51,.24); border-radius: .55rem; background: #fff; color: var(--ink); font-size: 1rem; }
.contact-form textarea { min-height: 9rem; resize: vertical; }
.contact-form input:hover, .contact-form select:hover, .contact-form textarea:hover { border-color: var(--forest); }
.form-wide { grid-column: 1 / -1; }
.consent { grid-template-columns: auto 1fr; align-items: start; gap: .7rem !important; color: var(--muted) !important; font-size: .78rem !important; font-weight: 500 !important; line-height: 1.5; }
.consent input { width: 1.15rem; height: 1.15rem; margin-top: .18rem; accent-color: var(--forest); }
.form-submit { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.4rem; }
.form-submit p { max-width: 380px; margin: 0; color: var(--muted); font-size: .75rem; line-height: 1.5; }
.honey { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }

.site-footer { padding: 4rem 0 2rem; background: var(--forest-deep); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; }
.footer-brand { align-self: start; color: #fff; }
.footer-brand .brand-mark { filter: brightness(0) invert(1); }
.footer-copy { max-width: 340px; margin-top: 1.3rem; color: rgba(255,255,255,.62); font-size: .9rem; }
.footer-title { margin-bottom: 1rem; color: #d69a73; font-size: .7rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.footer-links { display: grid; gap: .6rem; font-size: .9rem; }
.footer-links a { color: rgba(255,255,255,.72); }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.5); font-size: .76rem; }

.page-hero { padding: clamp(5rem, 10vw, 9rem) 0 clamp(4rem, 7vw, 6rem); background: var(--forest); color: #fff; }
.page-hero h1 { max-width: 900px; font-size: clamp(3.5rem, 8vw, 7rem); }
.page-hero .lead { color: rgba(255,255,255,.7); }
.breadcrumbs { margin-bottom: 2rem; color: rgba(255,255,255,.62); font-size: .78rem; }
.breadcrumbs a:hover { color: #fff; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.product-detail-image { overflow: hidden; border-radius: var(--radius); background: #e8dfd2; box-shadow: var(--shadow); }
.product-detail-image img { width: 100%; }
.product-detail h1 { margin-bottom: 1.1rem; color: var(--forest); font-size: clamp(3rem, 6vw, 5.8rem); }
.product-detail .lead { font-size: 1.08rem; }
.detail-tags { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0 2rem; }
.detail-tag { padding: .48rem .7rem; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: var(--forest); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.detail-list { margin: 0 0 2rem; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.detail-list li { display: flex; justify-content: space-between; gap: 2rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.detail-list span:first-child { color: var(--muted); }
.notice { margin-top: 2rem; padding: 1rem 1.2rem; border-left: 3px solid var(--copper); background: rgba(255,255,255,.55); color: var(--muted); font-size: .88rem; }
.product-copy { max-width: 820px; margin: 0 auto; }
.product-copy h2 { margin-top: 3.5rem; font-size: clamp(2rem, 4vw, 3.5rem); }
.product-copy p, .product-copy li { color: var(--muted); }

.article-wrap { display: grid; grid-template-columns: minmax(0, 760px) 240px; gap: clamp(2rem, 8vw, 7rem); align-items: start; }
.article-body h2 { margin-top: 3.5rem; font-size: clamp(2rem, 4vw, 3.3rem); }
.article-body h3 { margin-top: 2.25rem; color: var(--forest); font-size: 1.35rem; }
.article-body p, .article-body li { color: #46544e; }
.article-body li + li { margin-top: .55rem; }
.article-aside { position: sticky; top: 7rem; padding: 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.article-aside p { margin-bottom: .8rem; color: var(--muted); font-size: .86rem; }
.article-meta { margin-bottom: 2rem; color: rgba(255,255,255,.62); font-size: .82rem; }

.not-found { display: grid; min-height: 70vh; place-items: center; padding: 4rem 1.5rem; text-align: center; }
.not-found h1 { margin-inline: auto; color: var(--forest); }

@media (max-width: 1050px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .feature-grid { grid-template-columns: repeat(2,1fr); }
  .feature:nth-child(2) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.18); }
  .journal-grid { grid-template-columns: 1fr 1fr; }
  .article-card:first-child { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .container { width: min(100% - 2rem, 1180px); }
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 7.3rem 0 0; display: none; align-items: stretch; flex-direction: column; gap: .5rem; padding: 2rem; background: var(--ivory); }
  .nav.open { display: flex; }
  .nav a { font-size: 1.15rem; }
  .nav .button { margin-top: 1rem; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding-left: max(1rem, calc((100vw - 1180px)/2)); }
  .hero-gallery { min-height: 600px; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section-head { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .story-grid, .product-detail, .contact-grid { grid-template-columns: 1fr; }
  .contact-copy { position: static; }
  .story-mark, .story-copy { min-height: 470px; }
  .launch-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
  .article-wrap { grid-template-columns: 1fr; }
  .article-aside { position: static; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(3rem, 15vw, 4.6rem); }
  .announcement { font-size: .62rem; }
  .header-inner { min-height: 4.5rem; }
  .nav { inset: 6.8rem 0 0; }
  .hero-gallery { min-height: 470px; }
  .hero-product.primary { width: 68%; right: 2%; }
  .hero-product.secondary { width: 57%; left: 0; }
  .hero-seal { width: 5.6rem; right: 2%; bottom: 3%; font-size: .54rem; }
  .trust-grid, .product-grid, .feature-grid, .journal-grid, .footer-grid { grid-template-columns: 1fr; }
  .trust-item { min-height: 5.3rem; border-right: 0; border-bottom: 1px solid var(--line); }
  .trust-item:last-child { border-bottom: 0; }
  .feature { min-height: 200px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .feature:last-child { border-bottom: 0; }
  .feature h3 { margin-top: 2rem; }
  .article-card:first-child { grid-column: auto; }
  .story-mark, .story-copy { min-height: 390px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; gap: .5rem; }
  .detail-list li { flex-direction: column; gap: .15rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-wide { grid-column: auto; }
  .form-submit { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

/* WordPress and WooCommerce integration */
.site-main { min-height: 45vh; }
.nav-list { display: flex; align-items: center; gap: 1.65rem; margin: 0; padding: 0; list-style: none; }
.nav-list a { display: block; padding: .6rem .1rem; }
.nav-list a:hover, .nav-list .current-menu-item > a { color: var(--copper); }
.nav-list > li:last-child > a { min-height: 2.65rem; padding: .55rem 1rem; border: 1px solid var(--forest); border-radius: 999px; background: var(--forest); color: #fff; }
.content-card { padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.content-card > :last-child { margin-bottom: 0; }
.entry-content { max-width: 820px; }
.entry-content a { color: var(--forest); text-decoration: underline; text-underline-offset: .18em; }
.entry-content h2 { margin-top: 2.5rem; font-size: clamp(2rem, 4vw, 3.2rem); }
.entry-content h3 { margin-top: 2rem; color: var(--forest); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.pagination { margin-top: 2.5rem; }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.pagination .page-numbers { display: grid; min-width: 2.7rem; min-height: 2.7rem; place-items: center; padding: .45rem .8rem; border: 1px solid var(--line); border-radius: 999px; }
.pagination .current { background: var(--forest); color: #fff; }
.woocommerce-notices-wrapper { margin-bottom: 1.5rem; }
.woocommerce .woocommerce-breadcrumb { margin: 0 0 1.5rem; color: var(--muted); }
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; padding: 0 0 1.35rem; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.woocommerce ul.products li.product a img { aspect-ratio: 1; margin: 0 0 1.2rem; object-fit: cover; background: #ece5d9; }
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce ul.products li.product .price, .woocommerce ul.products li.product .button { margin-inline: 1.25rem; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: 1.35rem; font-weight: 400; }
.woocommerce ul.products li.product .price { color: var(--copper); font-weight: 800; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit { border-radius: 999px; background: var(--forest); color: #fff; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover { background: var(--forest-deep); color: #fff; }
.woocommerce div.product { display: flow-root; }
.woocommerce div.product div.images img { border-radius: var(--radius); background: #e8dfd2; }
.woocommerce div.product .product_title { color: var(--forest); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 5vw, 5rem); font-weight: 400; line-height: .98; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--copper); font-size: 1.45rem; font-weight: 800; }
.woocommerce-tabs, .related.products, .upsells.products { clear: both; padding-top: 3rem; }
.woocommerce table.shop_table { border-color: var(--line); border-radius: var(--radius); background: var(--paper); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select { padding: .78rem .9rem; border: 1px solid rgba(18,63,51,.24); border-radius: .55rem; background: #fff; }
.wp-block-image img { border-radius: var(--radius); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 1050px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .post-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 860px) {
  .nav-list { align-items: stretch; flex-direction: column; gap: .5rem; }
  .nav-list a { font-size: 1.15rem; }
  .nav-list > li:last-child > a { margin-top: 1rem; text-align: center; }
}

@media (max-width: 560px) {
  .woocommerce ul.products, .post-grid { grid-template-columns: 1fr; }
}
