/* ═══════════════════════════════════════════════════════════
   DAISHA BOARD GALLERY — MAIN STYLESHEET
   Minimal white gallery aesthetic
═══════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────
   1. CUSTOM PROPERTIES
───────────────────────────────────────── */
:root {
  /* Colours */
  --color-white:      #ffffff;
  --color-off-white:  #f8f7f5;
  --color-light-grey: #f0efed;
  --color-mid-grey:   #d4d2cf;
  --color-text-light: #888480;
  --color-text:       #2a2825;
  --color-black:      #111110;
  --color-accent:     #2a2825;   /* Use sparingly for active / highlight */

  /* Typography */
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'EB Garamond', Georgia, 'Times New Roman', serif;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2.5rem;
  --space-2xl: 4rem;
  --space-3xl: 6rem;

  /* Layout */
  --max-width: 1320px;
  --gutter:    clamp(1.25rem, 4vw, 2.5rem);
  --header-h:  72px;

  /* Transitions */
  --ease:      cubic-bezier(0.4, 0, 0.2, 1);
  --dur:       200ms;
  --dur-slow:  400ms;
}

/* ─────────────────────────────────────────
   2. RESET & BASE
───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}

/* ─────────────────────────────────────────
   3. TYPOGRAPHY
───────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--color-black);
}

h1 { font-size: clamp(2rem,   5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h4 { font-size: 1.0625rem; font-family: var(--font-sans); font-weight: 500; }

p { margin-bottom: var(--space-md); }
p:last-child { margin-bottom: 0; }

.section-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.text-center { text-align: center; }

/* ─────────────────────────────────────────
   4. LAYOUT
───────────────────────────────────────── */
.site-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-main {
  flex: 1;
  padding-top: calc( var(--header-h) + var(--space-2xl) );
  padding-bottom: var(--space-3xl);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--space-3xl);
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  gap: var(--space-md);
}

.section-title {
  margin-bottom: 0;
}

.section-link {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text-light);
  transition: color var(--dur) var(--ease);
  white-space: nowrap;
}

.section-link:hover { color: var(--color-black); }

/* ─────────────────────────────────────────
   5. HEADER
───────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-mid-grey);
  z-index: 100;
  transition: border-color var(--dur) var(--ease),
              background var(--dur) var(--ease);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
  gap: var(--space-xl);
}

/* Branding */
.site-branding { flex-shrink: 0; }

.site-title-link,
.site-branding .custom-logo-link {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--color-black);
  transition: opacity var(--dur) var(--ease);
}

.site-title-link:hover,
.site-branding .custom-logo-link:hover { opacity: 0.65; }

.site-branding .custom-logo { max-height: 40px; width: auto; }

/* Primary nav */
.primary-navigation {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(var(--space-lg), 2.5vw, var(--space-xl));
}

.nav-menu a {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-text);
  position: relative;
  transition: color var(--dur) var(--ease);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-black);
  transition: width var(--dur) var(--ease);
}

.nav-menu a:hover { color: var(--color-black); }
.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after { width: 100%; }
.nav-menu .current-menu-item > a { color: var(--color-black); }

/* Cart icon */
.cart-icon {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-text);
  transition: color var(--dur) var(--ease);
  position: relative;
}

.cart-icon:hover { color: var(--color-black); }

.cart-count {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 16px;
  height: 16px;
  background: var(--color-black);
  color: var(--color-white);
  border-radius: 50%;
  font-size: 0.625rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 24px;
  height: 24px;
  padding: 0;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--color-black);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.hamburger { position: relative; }
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
}
.hamburger::before { top: -5px; }
.hamburger::after  { top:  5px; }

/* Active state */
.menu-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.menu-toggle[aria-expanded="true"] .hamburger::before { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .hamburger::after  { transform: translateY(-5px) rotate(-45deg); }

/* ─────────────────────────────────────────
   6. BUTTONS
───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-black);
  color:  var(--color-white);
  border-color: var(--color-black);
}

.btn-primary:hover {
  background: var(--color-text);
  border-color: var(--color-text);
  color: var(--color-white);
}

.btn-outline {
  background: transparent;
  color: var(--color-black);
  border-color: var(--color-black);
}

.btn-outline:hover {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
}

.btn-full { width: 100%; }

/* ─────────────────────────────────────────
   7. PRODUCT GRID
───────────────────────────────────────── */
.product-grid,
ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.75rem);
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Product card */
.product-card,
li.product {
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 0;
  border: none;
  background: transparent;
}

.product-card-image-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  background: var(--color-light-grey);
  aspect-ratio: 1 / 1;
}

.product-card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.product-card:hover .product-card-image-wrap img {
  transform: scale(1.03);
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 16, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-slow) var(--ease);
}

.product-card-cta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-white);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.product-card:hover .product-card-overlay {
  background: rgba(17, 17, 16, 0.28);
}
.product-card:hover .product-card-cta {
  opacity: 1;
  transform: translateY(0);
}

.product-no-image {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-light-grey);
  font-family: var(--font-serif);
  font-size: 0.875rem;
  color: var(--color-text-light);
  padding: var(--space-md);
  text-align: center;
}

.product-card-info {
  padding: var(--space-md) 0 var(--space-xs);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.product-card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.product-card-title,
.woocommerce-loop-product__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.3;
  margin: 0;
}

.product-card-title a { transition: opacity var(--dur) var(--ease); }
.product-card-title a:hover { opacity: 0.6; }

.product-card-price .woocommerce-Price-amount,
.product-card-price {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--color-text-light);
  white-space: nowrap;
}

.product-card-medium {
  font-size: 0.75rem;
  color: var(--color-text-light);
  letter-spacing: 0.01em;
}

.product-badge {
  display: inline-block;
  padding: 0.2em 0.6em;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid;
  line-height: 1.5;
}

.product-badge--sold {
  border-color: var(--color-mid-grey);
  color: var(--color-text-light);
}

/* Sale flash */
.onsale {
  display: inline-block;
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  background: var(--color-black);
  color: var(--color-white);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3em 0.75em;
  z-index: 2;
  border-radius: 0;
}

/* ─────────────────────────────────────────
   8. HOME — HERO
───────────────────────────────────────── */
.front-page .site-main {
  padding-top: var(--header-h);
}

.hero-section {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  padding-block: var(--space-3xl);
  border-bottom: 1px solid var(--color-mid-grey);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.hero-eyebrow {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--space-lg);
}

.hero-heading {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
}

.hero-subheading {
  font-size: 1.0625rem;
  color: var(--color-text-light);
  max-width: 36ch;
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: clamp(400px, 70vh, 700px);
  object-fit: cover;
}

/* ─────────────────────────────────────────
   9. HOME — EXHIBITION BANNER
───────────────────────────────────────── */
.exhibition-banner {
  background: var(--color-off-white);
  border-top: 1px solid var(--color-mid-grey);
  border-bottom: 1px solid var(--color-mid-grey);
}

.exhibition-banner-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.exhibition-banner-image img {
  width: 100%;
  height: clamp(300px, 55vh, 560px);
  object-fit: cover;
}

.exhibition-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.exhibition-banner-title {
  margin-bottom: var(--space-md);
}

.exhibition-banner-title a { transition: opacity var(--dur) var(--ease); }
.exhibition-banner-title a:hover { opacity: 0.6; }

.exhibition-dates,
.exhibition-location {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
}

.exhibition-banner-text p.wp-block-paragraph {
  font-size: 1rem;
  margin-block: var(--space-md);
}

/* ─────────────────────────────────────────
   10. HOME — ABOUT SNIPPET
───────────────────────────────────────── */
.about-snippet {
  background: var(--color-white);
}

.about-snippet-inner {
  display: grid;
  grid-template-columns: minmax(0, 540px);
}

.about-snippet-text p {
  font-size: 1.0625rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
  max-width: 48ch;
}

/* ─────────────────────────────────────────
   11. SHOP PAGE
───────────────────────────────────────── */
.shop-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-mid-grey);
  margin-bottom: var(--space-xl);
}

.shop-header .woocommerce-products-header__title,
.shop-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin: 0;
}

.shop-header-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.shop-controls-right {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.woocommerce-result-count {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin: 0;
}

.woocommerce-ordering select {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--color-mid-grey);
  background: var(--color-white);
  color: var(--color-text);
  appearance: none;
  cursor: pointer;
  border-radius: 0;
}

.filter-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--color-mid-grey);
  transition: border-color var(--dur) var(--ease),
              background var(--dur) var(--ease);
}

.filter-toggle:hover {
  border-color: var(--color-black);
}

.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.shop-layout:has(.shop-sidebar:empty),
.shop-layout:not(:has(.shop-sidebar)) {
  grid-template-columns: 1fr;
}

.shop-sidebar {
  position: sticky;
  top: calc(var(--header-h) + var(--space-xl));
}

.shop-sidebar .widget + .widget {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-mid-grey);
}

.widget-title {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

/* WooCommerce pagination */
.woocommerce-pagination {
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-mid-grey);
}

.woocommerce-pagination ul {
  display: flex;
  gap: var(--space-xs);
  list-style: none;
  padding: 0;
}

.woocommerce-pagination li { display: flex; }

.woocommerce-pagination a,
.woocommerce-pagination .current {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  font-size: 0.875rem;
  border: 1px solid var(--color-mid-grey);
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease);
}

.woocommerce-pagination a:hover {
  border-color: var(--color-black);
  background: var(--color-black);
  color: var(--color-white);
}

.woocommerce-pagination .current {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

/* ─────────────────────────────────────────
   12. SINGLE PRODUCT
───────────────────────────────────────── */
.single-product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
  margin-bottom: var(--space-3xl);
}

.product-images-col { position: sticky; top: calc(var(--header-h) + var(--space-xl)); }

.product-main-image {
  position: relative;
  overflow: hidden;
  background: var(--color-light-grey);
  margin-bottom: var(--space-md);
}

.product-main-image img {
  width: 100%;
  display: block;
}

.product-image-lightbox { display: block; position: relative; }

.zoom-hint {
  position: absolute;
  bottom: var(--space-md);
  right: var(--space-md);
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--dur) var(--ease);
}

.product-image-lightbox:hover .zoom-hint { opacity: 1; }

.product-gallery-thumbs {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.gallery-thumb {
  display: block;
  width: 72px;
  height: 72px;
  overflow: hidden;
  background: var(--color-light-grey);
  border: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}

.gallery-thumb:hover { border-color: var(--color-black); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Product details */
.product-breadcrumb {
  font-size: 0.75rem;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
  margin-bottom: var(--space-md);
}

.product-breadcrumb a { transition: color var(--dur) var(--ease); }
.product-breadcrumb a:hover { color: var(--color-black); }

.product-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: var(--space-lg);
}

.product-attributes {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-xs) var(--space-lg);
  border-top: 1px solid var(--color-light-grey);
  border-bottom: 1px solid var(--color-light-grey);
  padding-block: var(--space-md);
  margin-bottom: var(--space-lg);
}

.product-attributes dt {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
  white-space: nowrap;
}

.product-attributes dd {
  font-size: 0.875rem;
  color: var(--color-text);
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.product-price-row .woocommerce-Price-amount,
.product-price-row .price {
  font-size: 1.375rem;
  font-weight: 400;
  font-family: var(--font-serif);
}

.product-add-to-cart {
  margin-bottom: var(--space-xl);
}

/* WooCommerce quantity + button */
.woocommerce .quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-mid-grey);
  margin-right: var(--space-md);
}

.woocommerce .quantity input.qty {
  width: 48px;
  text-align: center;
  border: none;
  border-radius: 0;
  font: inherit;
  font-size: 0.875rem;
  padding: 0.6rem 0;
  background: transparent;
}

.woocommerce form.cart .button,
.woocommerce .single_add_to_cart_button {
  background: var(--color-black) !important;
  color: var(--color-white) !important;
  border: 1px solid var(--color-black) !important;
  border-radius: 0 !important;
  font-family: var(--font-sans) !important;
  font-size: 0.8125rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  padding: 0.75rem 2rem !important;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease) !important;
  cursor: pointer;
}

.woocommerce form.cart .button:hover,
.woocommerce .single_add_to_cart_button:hover {
  background: var(--color-text) !important;
  border-color: var(--color-text) !important;
}

.product-description {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-light-grey);
  margin-bottom: var(--space-xl);
}

.product-description h3 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.product-trust-signals {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-light-grey);
}

.product-trust-signals li {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

/* Related works */
.related-works {
  border-top: 1px solid var(--color-mid-grey);
}

/* ─────────────────────────────────────────
   13. EXHIBITIONS PAGE
───────────────────────────────────────── */
.page-exhibitions .page-header {
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--color-mid-grey);
  margin-bottom: var(--space-2xl);
}

.exhibitions-section {
  margin-bottom: var(--space-3xl);
}

.exhibitions-section-title {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-light-grey);
}

.exhibitions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.exhibition-card {
  display: flex;
  flex-direction: column;
}

.exhibition-card-image {
  display: block;
  overflow: hidden;
  background: var(--color-light-grey);
  aspect-ratio: 3 / 4;
  margin-bottom: var(--space-md);
}

.exhibition-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease);
}

.exhibition-card:hover .exhibition-card-image img {
  transform: scale(1.03);
}

.exhibition-status {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
}

.exhibition-status--current { color: var(--color-black); }

.exhibition-card-title {
  margin-bottom: var(--space-xs);
  font-size: 1.125rem;
}

.exhibition-card-title a { transition: opacity var(--dur) var(--ease); }
.exhibition-card-title a:hover { opacity: 0.6; }

.exhibition-card-dates,
.exhibition-card-location {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin-bottom: var(--space-xs);
}

.exhibition-card-body p { font-size: 0.875rem; margin-block: var(--space-sm); }
.exhibition-card-body .btn { margin-top: var(--space-md); }

/* Past exhibitions list */
.exhibitions-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.past-exhibition-row {
  display: grid;
  grid-template-columns: 4rem 1fr auto auto;
  gap: var(--space-lg);
  align-items: baseline;
  padding-block: var(--space-md);
  border-bottom: 1px solid var(--color-light-grey);
}

.past-exhibition-year {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.past-exhibition-title {
  font-size: 1rem;
  font-weight: 400;
}

.past-exhibition-title a { transition: opacity var(--dur) var(--ease); }
.past-exhibition-title a:hover { opacity: 0.6; }

.past-exhibition-location,
.past-exhibition-dates {
  font-size: 0.8125rem;
  color: var(--color-text-light);
}

/* ─────────────────────────────────────────
   14. ABOUT PAGE
───────────────────────────────────────── */
.about-hero {
  padding-top: calc(var(--header-h) + var(--space-2xl));
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid var(--color-mid-grey);
}

.about-hero-inner {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.about-hero-portrait {
  overflow: hidden;
}

.about-hero-portrait img {
  width: 100%;
  height: auto;
}

.about-content { max-width: 56ch; }
.about-content p { font-size: 1.0625rem; line-height: 1.8; }

.about-philosophy {
  background: var(--color-off-white);
  border-bottom: 1px solid var(--color-mid-grey);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}

.philosophy-item h3 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.philosophy-item p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text);
}

.about-cta {
  text-align: center;
}

.about-cta h2 {
  margin-bottom: var(--space-xl);
}

/* ─────────────────────────────────────────
   15. CONTACT PAGE
───────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
  padding-top: var(--space-2xl);
}

.contact-info .page-title {
  margin-bottom: var(--space-xl);
}

.contact-details {
  margin-top: var(--space-xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-mid-grey);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-details li {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.contact-detail-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

/* Contact form */
.contact-form-wrap {
  background: var(--color-off-white);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.contact-form .form-group,
.native-form .form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.contact-form label,
.native-form label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-light);
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.native-form input,
.native-form select,
.native-form textarea {
  width: 100%;
  padding: 0.75rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-white);
  border: 1px solid var(--color-mid-grey);
  border-radius: 0;
  outline: none;
  transition: border-color var(--dur) var(--ease);
  appearance: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.native-form input:focus,
.native-form select:focus,
.native-form textarea:focus {
  border-color: var(--color-black);
}

.contact-form textarea,
.native-form textarea {
  resize: vertical;
  min-height: 140px;
}

/* ─────────────────────────────────────────
   16. FOOTER
───────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--color-mid-grey);
  background: var(--color-white);
}

.footer-inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(2rem, 6vw, 5rem);
  padding-block: var(--space-2xl);
  border-bottom: 1px solid var(--color-light-grey);
}

.footer-logo {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  color: var(--color-black);
  margin-bottom: var(--space-sm);
  transition: opacity var(--dur) var(--ease);
}

.footer-logo:hover { opacity: 0.6; }

.footer-tagline {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  max-width: 30ch;
}

.footer-nav-group {
  display: flex;
  gap: clamp(2rem, 5vw, 4rem);
}

.footer-nav-title {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-nav-col a {
  font-size: 0.875rem;
  color: var(--color-text);
  transition: color var(--dur) var(--ease);
}

.footer-nav-col a:hover { color: var(--color-black); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding-block: var(--space-lg);
  flex-wrap: wrap;
}

.copyright {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  margin: 0;
}

.copyright a { transition: color var(--dur) var(--ease); }
.copyright a:hover { color: var(--color-black); }

.footer-menu {
  display: flex;
  gap: var(--space-lg);
}

.footer-menu a {
  font-size: 0.8125rem;
  color: var(--color-text-light);
  transition: color var(--dur) var(--ease);
}

.footer-menu a:hover { color: var(--color-black); }

/* ─────────────────────────────────────────
   17. WOOCOMMERCE GLOBAL OVERRIDES
───────────────────────────────────────── */
.woocommerce-notices-wrapper { margin-bottom: var(--space-xl); }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  padding: var(--space-md) var(--space-lg);
  border-radius: 0;
  border-left: 3px solid var(--color-black);
  background: var(--color-off-white);
  font-size: 0.875rem;
  list-style: none;
}

/* ─────────────────────────────────────────
   18. UTILITY
───────────────────────────────────────── */
.no-results {
  text-align: center;
  color: var(--color-text-light);
  padding-block: var(--space-3xl);
  font-size: 0.9375rem;
}

.notice {
  background: var(--color-off-white);
  padding: var(--space-md) var(--space-lg);
  font-size: 0.875rem;
  color: var(--color-text-light);
  border-left: 2px solid var(--color-mid-grey);
}

/* ─────────────────────────────────────────
   19. RESPONSIVE
───────────────────────────────────────── */

/* Tablet */
@media ( max-width: 1024px ) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text { order: 1; }
  .hero-image { order: 0; }

  .hero-subheading { margin-inline: auto; }
  .hero-actions { justify-content: center; }

  .hero-image img {
    height: clamp(300px, 50vw, 480px);
  }

  .product-grid,
  ul.products {
    grid-template-columns: repeat(2, 1fr);
  }

  .single-product-layout {
    grid-template-columns: 1fr;
  }

  .product-images-col { position: static; }

  .about-hero-inner {
    grid-template-columns: 1fr;
  }

  .about-hero-portrait { max-width: 360px; }

  .philosophy-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .exhibition-banner-inner {
    grid-template-columns: 1fr;
  }

  .shop-layout {
    grid-template-columns: 1fr;
  }

  .shop-sidebar {
    position: static;
    display: none;
  }

  .shop-sidebar.is-open { display: block; }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .past-exhibition-row {
    grid-template-columns: 3rem 1fr;
    gap: var(--space-sm) var(--space-md);
  }

  .past-exhibition-location,
  .past-exhibition-dates { grid-column: 2; }
}

/* Mobile */
@media ( max-width: 640px ) {
  :root {
    --header-h: 60px;
  }

  .menu-toggle { display: flex; }

  .primary-navigation .nav-menu {
    display: none;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-xl) var(--gutter);
    gap: var(--space-xl);
    z-index: 99;
    border-top: 1px solid var(--color-mid-grey);
  }

  .primary-navigation .nav-menu.is-open {
    display: flex;
  }

  .primary-navigation .nav-menu a {
    font-size: 1.25rem;
    font-family: var(--font-serif);
  }

  .product-grid,
  ul.products {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .exhibitions-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav-group {
    gap: var(--space-xl);
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

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