:root {
  --black: #0B0B0C;
  --charcoal: #17171A;
  --charcoal-2: #1D1D20;
  --line: #2B2B2E;
  --gold: #C9A227;
  --gold-soft: #E4C558;
  --ivory: #F2F0EA;
  --grey: #8D8D93;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: var(--black);
  color: var(--ivory);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Remove the grey/blue tap-flash on all interactive elements (mobile feel) */
a, button, .filter-chip, .page-btn, .btn-enquire, .contact-btn {
  -webkit-tap-highlight-color: transparent;
}

/* Long model names like "18-140mm f/3.5-5.6G" must never force sideways scroll.
   Note: deliberately NOT using overflow-x:hidden on html/body — it breaks the
   sticky navbar on some mobile browsers. */
img, svg, iframe { max-width: 100%; }

h1, h2, h3, p, a, span, li {
  overflow-wrap: break-word;
}

h1, h2 {
  font-family: 'Fraunces', serif;
  font-weight: 600;
}

/* Even, balanced line breaks for headings on small screens */
h1, h2, h3 { text-wrap: balance; }

a { color: inherit; text-decoration: none; }

/* NAVBAR */
.navbar {
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: rgba(11,11,12,0.9);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.4rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.brand {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}

.brand span { color: var(--gold); font-style: italic; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}

.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.25s ease;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-soft);
  border-bottom-color: var(--gold);
}

/* HERO */
.contact-hero {
  max-width: 1140px;
  margin: 0 auto;
  padding: 6.5rem 2rem 5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-copy { max-width: 560px; }

.eyebrow {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
  font-weight: 500;
}

.contact-hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4rem);
  line-height: 1.08;
  color: var(--ivory);
  font-weight: 600;
}

.lede {
  margin-top: 1.6rem;
  max-width: 44ch;
  color: var(--grey);
  font-size: 1.08rem;
}

.lens {
  flex-shrink: 0;
  opacity: 0.9;
}

/* CONTACT GRID */
.contact-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-card {
  background: var(--charcoal);
  padding: 2.6rem 2rem;
  transition: background 0.3s ease, transform 0.3s ease;
}

.contact-card:hover {
  background: var(--charcoal-2);
  transform: translateY(-2px);
}

.card-index {
  display: block;
  color: var(--gold);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}

.card-value {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ivory);
  display: inline-block;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

a.card-value:hover {
  color: var(--gold-soft);
  border-bottom-color: var(--gold);
}

.card-value.email {
  font-size: 1.02rem;
  word-break: break-word;
}

.card-note {
  margin-top: 0.8rem;
  color: var(--grey);
  font-size: 0.85rem;
}

/* MAP */
.map-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.map-frame {
  border: 1px solid var(--line);
  padding: 6px;
}

.map-frame iframe {
  width: 100%;
  height: 340px;
  border: none;
  filter: grayscale(0.4) contrast(1.05) brightness(0.95);
  display: block;
}

/* FOOTER */
.site-footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 2.2rem 2rem;
  color: var(--grey);
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}

/* ============ MOBILE CONTACT BAR ============ */

.mobile-contact-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--charcoal);
  border-top: 1px solid var(--gold);
  display: none;
  padding: 0.5rem;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.3);
}

.mobile-contact-bar .bar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.mobile-contact-bar .contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  min-height: 44px;
}

.mobile-contact-bar .btn-call {
  background: var(--charcoal-2);
  color: var(--ivory);
  border: 1px solid var(--line);
}

.mobile-contact-bar .btn-whatsapp {
  background: var(--gold);
  color: var(--black);
}

.mobile-contact-bar .contact-btn:active {
  transform: scale(0.97);
}

@media (max-width: 760px) {
  .mobile-contact-bar { display: block; }
  body { padding-bottom: 70px; }
}

/* ============ RESPONSIVE ============ */

@media (max-width: 760px) {
  .nav-inner { padding: 1.2rem 1.5rem; }

  .contact-hero {
    padding: 3.5rem 1.5rem 3rem;
    gap: 2rem;
  }

  .hero-copy { max-width: 100%; }

  .contact-hero h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  /* Let headings wrap naturally instead of at the desktop line break */
  .contact-hero h1 br { display: none; }

  .lede {
    font-size: 1rem;
    margin-top: 1.2rem;
  }

  .lens {
    width: 140px;
    height: 140px;
    margin: 0 auto;
  }
  .lens svg { width: 140px; height: 140px; }

  .about-section,
  .features-section,
  .categories-section,
  .cta-section,
  .hours-section,
  .faq-section,
  .map-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .about-section h2,
  .features-section h2,
  .categories-section h2,
  .cta-section h2,
  .hours-section h2,
  .faq-section h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .body-text { font-size: 0.95rem; }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .feature-card {
    padding: 2rem 1.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .contact-card { padding: 2rem 1.5rem; }

  .footer-inner {
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 0.8rem;
  }
}

/* ACCESSIBILITY */
a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* HOME PAGE ADDITIONS */

.hero-actions {
  margin-top: 2.2rem;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--gold-soft);
}

.btn-secondary {
  border: 1px solid var(--line);
  color: var(--ivory);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-soft);
}

.about-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2rem 2rem 5rem;
}

.about-section h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin: 1rem 0 1.5rem;
  max-width: 20ch;
}

.body-text {
  max-width: 62ch;
  color: var(--grey);
  font-size: 1.05rem;
}

.stats-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-card {
  background: var(--charcoal);
  padding: 2.4rem 2rem;
  text-align: center;
  transition: background 0.3s ease;
}

.stat-card:hover {
  background: var(--charcoal-2);
}

.stat-number {
  display: block;
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--grey);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cta-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 2rem 2rem 6rem;
  border-top: 1px solid var(--line);
  padding-top: 4rem;
}

.cta-section h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  max-width: 22ch;
  margin-bottom: 1rem;
}

@media (max-width: 760px) {
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-secondary { text-align: center; }
}

/* ============ MOBILE NAV TOGGLE ============ */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 1.5px;
  background: var(--ivory);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--charcoal);
    border-bottom: 1px solid var(--line);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    gap: 0;
  }

  .nav-links.open { max-height: 260px; }

  .nav-links li { border-top: 1px solid var(--line); }

  .nav-links a {
    display: block;
    padding: 1rem 2rem;
  }
}

/* ============ SCROLL REVEAL ============ */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============ SHARED HEADING UTILITIES ============ */

.eyebrow.center,
h2.center {
  text-align: center;
}

.eyebrow.center { margin-left: auto; margin-right: auto; }

/* ============ MARQUEE ============ */

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--charcoal);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-left 26s linear infinite;
}

.marquee-track span {
  padding: 1.1rem 2.5rem;
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  color: var(--gold);
  white-space: nowrap;
  letter-spacing: 0.03em;
}

@keyframes scroll-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ FEATURES (WHY CHOOSE US) ============ */

.features-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1rem 2rem 5rem;
}

.features-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-card {
  background: var(--charcoal);
  padding: 2.6rem 2rem;
  transition: background 0.3s ease;
}

.feature-card:hover { background: var(--charcoal-2); }

.feature-icon { margin-bottom: 1.2rem; }

.feature-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--ivory);
}

.feature-card p {
  color: var(--grey);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ============ CATEGORIES ============ */

.categories-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1rem 2rem 5rem;
}

.categories-grid {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
}

.category-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.8rem 1.8rem;
  border: 1px solid var(--line);
  background: var(--charcoal);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.category-card:hover {
  border-color: var(--gold);
  background: var(--charcoal-2);
  transform: translateX(4px);
}

.category-name {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  color: var(--ivory);
}

.category-arrow {
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}

.category-card:hover .category-arrow { transform: translateX(4px); }


/* ============ HOURS (CONTACT PAGE) ============ */

.hours-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 2rem 5rem;
}

.hours-grid { margin-top: 2.5rem; }

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}

.hours-row span:first-child { color: var(--ivory); font-weight: 500; }
.hours-row span:last-child { color: var(--grey); }

/* ============ FAQ (CONTACT PAGE) ============ */

.faq-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 1rem 2rem 6rem;
}

.faq-list { margin-top: 2.5rem; }

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 1.3rem 0;
}

.faq-item summary {
  cursor: pointer;
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  color: var(--ivory);
  list-style: none;
  position: relative;
  padding-right: 2rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 0;
  color: var(--gold);
  font-size: 1.3rem;
  transition: transform 0.25s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  margin-top: 1rem;
  color: var(--grey);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============ PRICE NOTICE MODAL ============ */

.price-notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1.5rem;
  overflow-y: auto;
  animation: noticeFadeIn 0.3s ease;
}

.price-notice-close {
  min-height: 44px;
}

.price-notice-overlay.hidden {
  display: none;
}

.price-notice-card {
  background: var(--charcoal);
  border: 1px solid var(--gold);
  max-width: 440px;
  width: 100%;
  margin: auto;
  padding: 2.4rem 2rem;
  text-align: center;
  border-radius: 4px;
  animation: noticePopIn 0.35s ease;
}

.price-notice-title {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.9rem;
  letter-spacing: 0.02em;
}

.price-notice-text {
  color: var(--ivory);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.6rem;
}

.price-notice-close {
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 0.85rem 1.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease;
}

.price-notice-close:hover {
  background: var(--gold-soft);
}

@keyframes noticeFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes noticePopIn {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .price-notice-overlay,
  .price-notice-card { animation: none; }
}



/* ============ FOOTER (RICH VERSION) ============ */

.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand .brand { margin-bottom: 0.6rem; }

.footer-tag {
  color: var(--grey);
  font-size: 0.88rem;
  max-width: 34ch;
}

.footer-links {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.footer-links a {
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--grey);
  transition: color 0.25s ease;
}

.footer-links a:hover { color: var(--gold-soft); }

.footer-copy {
  text-align: center;
  padding: 1.5rem 2rem 2rem;
  border-top: 1px solid var(--line);
  margin: 0 2rem;
  color: var(--grey);
  font-size: 0.8rem;
}

.site-footer { padding: 0; }

@media (prefers-reduced-motion: reduce) {
  /* Marquee keeps scrolling even with reduced motion — it's slow and gentle. */
  .reveal { opacity: 1; transform: none; }
}

/* ============ PRODUCTS PAGE ============ */

.products-hero {
  max-width: 1140px;
  margin: 0 auto;
  padding: 5rem 2rem 3rem;
}

.products-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.08;
  margin-top: 0.6rem;
}

.products-hero .lede { margin-top: 1.2rem; }

/* Search + filters */

.catalogue-controls {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
}

.search-row { margin-bottom: 1.4rem; }

.search-input {
  width: 100%;
  background: var(--charcoal);
  border: 1px solid var(--line);
  color: var(--ivory);
  padding: 0.9rem 1.2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: border-color 0.25s ease;
}

.search-input::placeholder { color: var(--grey); }

.search-input:focus {
  outline: none;
  border-color: var(--gold);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.filter-chip {
  background: none;
  border: 1px solid var(--line);
  color: var(--grey);
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.filter-chip:hover {
  border-color: var(--gold);
  color: var(--ivory);
}

.filter-chip.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  font-weight: 600;
}

/* Results count */

.results-bar {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem 1rem;
}

.results-count {
  color: var(--grey);
  font-size: 0.85rem;
}

/* Product grid */

.products-grid {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.4rem;
}

.product-card {
  background: var(--charcoal);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.product-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.product-image {
  height: 160px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-placeholder {
  height: 100%;
  width: 100%;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.image-label {
  color: var(--grey);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.product-body {
  padding: 1.3rem 1.3rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.product-name {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.product-spec {
  color: var(--grey);
  font-size: 0.82rem;
  margin-bottom: 1rem;
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
  margin-top: auto;
}

.product-price {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-soft);
}

.negotiable-badge {
  background: var(--charcoal-2);
  border: 1px solid var(--line);
  color: var(--grey);
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.25rem 0.55rem;
}

.btn-enquire {
  display: block;
  text-align: center;
  background: none;
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
  transition: background 0.25s ease, color 0.25s ease;
}

.btn-enquire:hover {
  background: var(--gold);
  color: var(--black);
}

/* Pagination */

.pagination {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1rem 2rem 5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.page-btn {
  background: var(--charcoal);
  border: 1px solid var(--line);
  color: var(--grey);
  min-width: 40px;
  padding: 0.55rem 0.7rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--gold);
  color: var(--ivory);
}

.page-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  font-weight: 600;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* No results */

.no-results {
  max-width: 1140px;
  margin: 0 auto;
  padding: 3rem 2rem 6rem;
  text-align: center;
  color: var(--grey);
}

/* ============ PRODUCTS PAGE — MOBILE ============ */

@media (max-width: 760px) {
  /* These must live after the desktop .products-hero rules above —
     media queries add no specificity, so source order decides. */
  .products-hero {
    padding: 3.5rem 1.5rem 2.5rem;
  }

  .products-hero h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .products-hero h1 br { display: none; }

  .catalogue-controls,
  .results-bar,
  .products-grid,
  .pagination,
  .no-results {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .search-input {
    font-size: 16px; /* prevents iOS auto-zoom on focus */
    padding: 0.85rem 1rem;
  }

  /* Filter chips scroll sideways instead of stacking into a tall block */
  .filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.5rem;
    margin: 0 -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .filter-row::-webkit-scrollbar { display: none; }

  .filter-chip {
    flex-shrink: 0;
    scroll-snap-align: start;
    min-height: 40px;
  }

  /* Two product cards per row */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem;
  }

  .product-image { height: 120px; }

  .product-body { padding: 0.9rem 0.8rem 1rem; }

  .product-category { font-size: 0.62rem; letter-spacing: 0.06em; }

  .product-name {
    font-size: 0.9rem;
    line-height: 1.25;
  }

  .product-spec {
    font-size: 0.74rem;
    margin-bottom: 0.7rem;
  }

  .product-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    margin-bottom: 0.8rem;
  }

  .product-price { font-size: 0.98rem; }

  .negotiable-badge { font-size: 0.6rem; padding: 0.2rem 0.5rem 0.2rem 0.6rem; }

  .btn-enquire {
    padding: 0.7rem 0.5rem;
    font-size: 0.72rem;
    letter-spacing: 0;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .page-btn {
    min-width: 44px;
    min-height: 44px;
  }

  .marquee-track span {
    font-size: 0.9rem;
    padding: 0.9rem 1.5rem;
  }

  .map-frame iframe { height: 260px; }

  .hours-row { font-size: 0.92rem; }

  .price-notice-card { padding: 2rem 1.4rem; }
}

/* Very small phones — keep two columns but tighten further */
@media (max-width: 380px) {
  .products-grid { gap: 0.6rem; }
  .product-image { height: 100px; }
  .product-name { font-size: 0.84rem; }
  .btn-enquire { font-size: 0.66rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

.filter-heading {
  color: var(--grey);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

/* ============ PREMIUM POLISH PASS ============ */

/* Soft glow behind every hero section */
.contact-hero,
.products-hero {
  position: relative;
  overflow: hidden;
}

.contact-hero::before,
.products-hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(201,162,39,0.16) 0%, rgba(201,162,39,0) 70%);
  pointer-events: none;
  z-index: 0;
}

.contact-hero > *,
.products-hero > * {
  position: relative;
  z-index: 1;
}

/* Gold glow lift on hover, layered on top of existing hover rules */
.feature-card:hover,
.category-card:hover,
.contact-card:hover,
.stat-card:hover,
.product-card:hover {
  box-shadow: 0 18px 40px -18px rgba(201, 162, 39, 0.35);
}

/* Buttons get a touch of lift + scale, feels more alive */
.btn-primary,
.btn-secondary,
.btn-enquire {
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}

.btn-primary:hover,
.btn-enquire:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -10px rgba(201, 162, 39, 0.45);
}

.btn-secondary:hover {
  transform: translateY(-2px);
}

/* Shimmering placeholder instead of a flat box */
.image-placeholder {
  position: relative;
  background: linear-gradient(100deg, var(--black) 40%, #1c1c1f 50%, var(--black) 60%);
  background-size: 250% 100%;
  animation: shimmer 4.5s ease-in-out infinite;
}

@keyframes shimmer {
  0% { background-position: 100% 0; }
  50% { background-position: 0 0; }
  100% { background-position: 100% 0; }
}

.image-label {
  position: relative;
  z-index: 1;
}

/* Negotiable badge as a small ribbon instead of a flat rectangle */
.negotiable-badge {
  position: relative;
  background: linear-gradient(120deg, var(--charcoal-2), #24241f);
  border: 1px solid var(--gold);
  color: var(--gold-soft);
  font-weight: 600;
  padding: 0.25rem 0.6rem 0.25rem 0.75rem;
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 8% 100%, 0% 50%);
}

/* Category chip icons */
.filter-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.filter-chip svg {
  flex-shrink: 0;
  stroke: var(--grey);
  transition: stroke 0.25s ease;
}

.filter-chip:hover svg,
.filter-chip.active svg {
  stroke: var(--black);
}

.filter-chip:hover svg { stroke: var(--ivory); }
.filter-chip.active svg { stroke: var(--black); }

/* Staggered fade-up entrance for product cards each time the grid re-renders */
.product-card {
  animation: cardPop 0.45s ease both;
}

@keyframes cardPop {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .contact-hero::before,
  .products-hero::before { display: none; }
  .image-placeholder { animation: none; }
  .product-card { animation: none; }
}

/* ============ TOUCH DEVICE OVERRIDES ============ */
/* Must stay last in the file: the polish pass above re-applies hover
   transforms and shadows, and media queries carry no extra specificity. */

@media (hover: none) {
  /* On touch screens a "hover" sticks after tapping, leaving cards
     stuck in a lifted/glowing state. Disable the effect entirely. */
  .product-card:hover,
  .feature-card:hover,
  .category-card:hover,
  .contact-card:hover,
  .stat-card:hover,
  .btn-primary:hover,
  .btn-secondary:hover,
  .btn-enquire:hover {
    transform: none;
    box-shadow: none;
  }

  .category-card:hover .category-arrow { transform: none; }

  /* Give a quick press response instead */
  .product-card:active,
  .category-card:active { transform: scale(0.99); }

  .btn-primary:active,
  .btn-secondary:active,
  .btn-enquire:active { transform: scale(0.98); }
}

/* Keep the price modal above the sticky contact bar */
.price-notice-overlay { z-index: 1000; }

/* Respect notches and the iOS home indicator */
@supports (padding: max(0px)) {
  @media (max-width: 760px) {
    .mobile-contact-bar {
      padding-bottom: max(0.5rem, env(safe-area-inset-bottom));
    }
    body {
      padding-bottom: calc(70px + env(safe-area-inset-bottom));
    }
  }
}