/* szjcet.com - consolidated stylesheet */

/* ── Design tokens ── */
:root {
  --blue: #3c78d8;
  --blue-hover: #2f63b8;
  --navy: #0e0c1b;
  --text: #6e6d76;
  --text-dark: #0e0c1b;
  --white: #ffffff;
  --bg: #ffffff;
  --bg-alt: #f4f4f5;
  --bg-muted: #f0f1f3;
  --border: #dfdfe2;
  --container: min(80.625rem, 100% - 2rem);
  --header-h: 6.875rem;
  --font-serif: Arial, Helvetica, sans-serif;
  --font-sans: Arial, Helvetica, sans-serif;
  --shadow-sm: 0 2px 8px rgba(34, 56, 101, 0.06);
  --shadow-md: 0 12px 18px -6px rgba(34, 56, 101, 0.08);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --table-font-size: 0.875rem;
}

/* ── Reset (document-level only — no img/table/form/input bare selectors) ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p { margin: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* Modular form control typography — no global input/textarea/button {} */
.btn,
.nav-toggle,
.icon-btn,
.cookie-banner button,
.quote-form input,
.quote-form textarea,
.quote-form button,
.quote-form select,
.product-quote input,
.product-quote textarea,
.product-quote button,
.product-quote select,
.quote-enquiry input,
.quote-enquiry textarea,
.quote-enquiry button,
.quote-enquiry select,
.samples__form input,
.samples__form textarea,
.samples__form button,
.blog-comment-form input,
.blog-comment-form textarea,
.blog-comment-form button,
.shop-search-form input,
.shop-search-form button,
.category-search__row input,
.product-qty input {
  font: inherit;
}

/* Modular responsive media — no global img {} */
.category-card__media img,
.product-card__media img,
.why-choose__body img,
.introduces__side img,
.feature-row__media img,
.page-content img,
.blog-article__content img,
.product-description img,
.category-product__media img,
.product-gallery__main img,
.product-gallery__thumb img,
.blog-card__media img,
.blog-article__featured img,
.blog-nav__item img,
.career-row__media img,
.quote-table__product img,
.quote-featured__item img {
  display: block;
  max-width: 100%;
  height: auto;
}

.visually-hidden {
  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: var(--container); margin-inline: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.3125rem 1.25rem; min-height: 2.5rem;
  font-weight: 500; font-size: 0.9375rem; line-height: 1.4;
  color: var(--white); background: var(--blue); border: none;
  cursor: pointer; transition: background 0.2s var(--ease);
}
.btn:hover { background: var(--blue-hover); color: var(--white); }
.btn--lg { padding: 0.625rem 1.75rem; font-size: 1rem; min-height: 2.75rem; }
.btn--outline {
  background: transparent; color: var(--blue); border: 1px solid var(--blue);
}
.btn--outline:hover { background: var(--blue); color: var(--white); }

/* ── Skip link ── */
.skip-link {
  position: absolute; top: -100%; left: 1rem; z-index: 9999;
  padding: 0.5rem 1rem; background: var(--blue); color: var(--white);
}
.skip-link:focus { top: 1rem; }

/* ── Cookie banner ── */
.cookie-banner {
  position: fixed; bottom: 1rem; right: 1rem; z-index: 900;
  max-width: 24rem; padding: 1.25rem;
  background: var(--bg-alt); border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  animation: fadeUp 0.5s var(--ease);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin-bottom: 1rem; font-size: 0.875rem; color: var(--text); }
.cookie-banner__actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.cookie-banner .btn--decline {
  background: rgba(224, 229, 235, 0.6); color: var(--text);
}
.cookie-banner .btn--decline:hover { background: rgba(224, 229, 235, 1); }

/* ── Header ── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  height: var(--header-h); background: var(--white);
  box-shadow: 0 10px 20px rgba(44, 62, 80, 0.03);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; gap: 1rem;
}
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.site-logo__img {
  height: 60px;
  width: auto;
  max-width: none;
  filter: none;
  -webkit-filter: none;
}

@media (max-width: 768px) {
  .site-logo__img { height: 45px; }
}

.site-header__tools {
  display: flex; align-items: center; gap: 0.25rem;
}

.icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; padding: 0;
  background: none; border: none; color: var(--text-dark); cursor: pointer;
}
.icon-btn svg { display: block; width: 1.25rem; height: 1.25rem; fill: currentColor; }

.nav-toggle {
  display: flex; flex-direction: column; justify-content: center;
  gap: 5px; width: 2.5rem; height: 2.5rem;
  padding: 0; border: none; background: none; cursor: pointer;
}
.nav-toggle__bar {
  display: block; width: 100%; height: 2px; background: var(--text-dark);
  transition: transform 0.2s, opacity 0.2s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: fixed; inset: var(--header-h) 0 0 0;
  display: none; flex-direction: column; padding: 1.5rem;
  background: var(--white); overflow-y: auto;
}
.site-nav.is-open { display: flex; }

.site-nav__list { display: flex; flex-direction: column; gap: 0.25rem; }
.site-nav__link {
  display: block; padding: 0.75rem 1rem;
  font-size: 1.125rem; font-weight: 500; color: var(--text-dark);
  text-transform: capitalize; border-radius: 2px;
}
.site-nav__link:hover,
.site-nav__link[aria-current="page"] { color: var(--blue); }
.site-nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--blue); }

.site-nav__item { position: relative; }
.site-nav__sub {
  display: none; padding-left: 1rem; margin-top: 0.25rem;
}
.site-nav__item.is-open .site-nav__sub { display: block; }
.site-nav__sub a {
  display: block; padding: 0.5rem 1rem;
  font-size: 0.875rem; color: var(--text);
}
.site-nav__sub a:hover { color: var(--blue); }
.site-nav__dropdown-btn {
  display: inline-flex; align-items: center; gap: 0.25rem;
  background: none; border: none; cursor: pointer; padding: 0;
  font: inherit; color: inherit;
}

@media (min-width: 992px) {
  .nav-toggle { display: none; }
  .site-header__inner { display: grid; grid-template-columns: auto 1fr auto; }
  .site-nav { justify-self: center; }
  .site-header__tools { justify-self: end; }
  .site-nav {
    position: static; display: flex; flex-direction: row;
    align-items: center; padding: 0; overflow: visible;
  }
  .site-nav__list { flex-direction: row; gap: 0; }
  .site-nav__link { padding: 0.5rem 1.875rem; font-size: 1.125rem; }
  .site-nav__sub {
    position: absolute; top: 100%; left: 0; z-index: 50;
    min-width: 16rem; padding: 0.5rem 0;
    background: var(--bg-alt); border-radius: 0 0 5px 5px;
    box-shadow: 10px 10px 20px rgba(41, 51, 61, 0.15);
  }
  .site-nav__item:hover .site-nav__sub,
  .site-nav__item:focus-within .site-nav__sub { display: block; }
  .site-nav__sub a {
    padding: 0.625rem 1.25rem; font-size: 0.875rem;
    text-transform: uppercase; font-weight: 500; color: var(--blue);
  }
  .site-nav__item[data-products-item] > .site-nav__link::after {
    content: "▾";
    margin-left: 0.25rem;
    font-size: 0.75rem;
  }
}

/* ── Hero slider ── */
.hero {
  position: relative; overflow: hidden;
  background: #1a1a1a;
}
.hero__viewport { overflow: hidden; }
.hero__track {
  display: flex;
  transition: transform 0.6s var(--ease);
}
.hero__slide {
  position: relative; flex: 0 0 100%;
  min-height: clamp(22rem, 50vw, 34rem);
  display: flex; align-items: center;
  background: center / cover no-repeat;
}
.hero__content {
  position: relative; z-index: 1;
  padding: 3rem 0; color: var(--white); max-width: 42rem;
}
.hero__line {
  font-family: var(--font-serif); color: var(--white);
  line-height: 1.25;
}
.hero__line--sm { font-size: clamp(1.25rem, 3vw, 2.1875rem); margin-bottom: 0.5rem; }
.hero__line--lg {
  font-size: clamp(2rem, 5vw, 3.75rem); font-weight: 700;
  margin-bottom: 0.75rem;
}
.hero__line--md { font-size: clamp(1.125rem, 2.5vw, 2.1875rem); margin-bottom: 1.5rem; }

.hero__dots {
  position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; gap: 0.5rem;
}
.hero__dot {
  width: 0.625rem; height: 0.625rem; padding: 0;
  border: 2px solid var(--white); border-radius: 50%;
  background: transparent; cursor: pointer; transition: background 0.2s;
}
.hero__dot.is-active { background: var(--white); }

/* ── Section titles ── */
.section-title {
  font-family: var(--font-serif); font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700; color: var(--text-dark); text-align: center;
  margin-bottom: 2.5rem;
}

/* ── Categories ── */
.categories { padding: 4rem 0; }
.categories__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
@media (min-width: 768px) { .categories__grid { grid-template-columns: repeat(4, 1fr); } }

.category-card { text-align: center; }
.category-card__link { display: block; color: inherit; }
.category-card__link:hover { color: var(--blue); }
.category-card__media {
  position: relative; aspect-ratio: 1;
  margin-bottom: 0.75rem; background: var(--bg-alt);
  overflow: hidden;
}
.category-card__media img {
  width: 100%; height: 100%; object-fit: contain; padding: 1rem;
  transition: transform 0.3s var(--ease);
}
.category-card__link:hover .category-card__media img { transform: scale(1.05); }
.category-card__num {
  position: absolute; bottom: 0.5rem; left: 0.75rem;
  font-size: 0.875rem; font-weight: 700; color: var(--text);
}
.category-card__title {
  font-family: var(--font-serif); font-size: 1rem; font-weight: 700;
  color: var(--text-dark); line-height: 1.35;
}

/* ── Why choose ── */
.why-choose {
  position: relative; padding: 5rem 0 4rem;
  background: center / cover no-repeat;
  background-image: url("/upload/2023-01-07/2023-01-07836127.jpg");
}
.why-choose::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(255, 255, 255, 0.88);
}
.why-choose__wave {
  position: absolute; top: -1px; left: 0; width: 100%; height: 3rem;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 0%);
}
.why-choose .container { position: relative; z-index: 1; }
.why-choose__head { text-align: center; margin-bottom: 2.5rem; }
.why-choose__head h2 {
  font-family: var(--font-serif); font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700; color: var(--navy); margin-bottom: 0.5rem;
}
.why-choose__head h3 {
  font-family: var(--font-serif); font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 400; color: var(--navy);
}
.why-choose__body {
  display: grid; gap: 2rem; align-items: center;
}
.why-choose__body img { border-radius: 2px; box-shadow: var(--shadow-md); }
.why-choose__body p { color: var(--text); line-height: 1.7; }
@media (min-width: 768px) {
  .why-choose__body { grid-template-columns: 1fr 1fr; }
}

/* ── Introduces ── */
.introduces {
  padding: 4rem 0; background: var(--bg-alt);
}
.introduces__layout {
  display: grid; gap: 2rem; align-items: start;
}
.introduces__side img { border-radius: 2px; width: 100%; }
.introduces__list { display: grid; gap: 1.25rem; }
.intro-item {
  padding: 1.25rem; background: var(--white);
  border-left: 3px solid var(--blue);
}
.intro-item h3 {
  font-size: 1.125rem; font-weight: 700; color: var(--blue);
  margin-bottom: 0.5rem;
}
.intro-item p { font-size: 0.9375rem; color: var(--text); }
@media (min-width: 768px) {
  .introduces__layout { grid-template-columns: 0.9fr 1.1fr; }
}

/* ── Advantages ── */
.advantages { padding: 4rem 0; }
.advantages__grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
@media (min-width: 768px) { .advantages__grid { grid-template-columns: repeat(4, 1fr); } }
.advantage-card { text-align: center; padding: 1rem; }
.advantage-card img {
  width: 4rem; height: 4rem; margin: 0 auto 1rem; object-fit: contain;
}
.advantage-card h3 {
  font-size: 1rem; font-weight: 700; color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.advantage-card p { font-size: 0.875rem; color: var(--text); }

/* ── Featured products carousel ── */
.featured {
  padding: 4rem 0; background: var(--bg-alt);
}
.featured__header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem; gap: 1rem;
}
.featured__header h2 {
  font-family: var(--font-serif); font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700; color: var(--text-dark);
}
.featured__nav { display: flex; gap: 0.5rem; }
.featured__nav button {
  width: 2.5rem; height: 2.5rem; border: 1px solid var(--border);
  background: var(--white); cursor: pointer; color: var(--text-dark);
  transition: background 0.2s, color 0.2s;
}
.featured__nav button:hover { background: var(--blue); color: var(--white); border-color: var(--blue); }

.featured__viewport { overflow: hidden; }
.featured__track {
  display: flex; gap: 1.5rem;
  transition: transform 0.5s var(--ease);
}

/* Featured Products — homepage 4×2 grid (scoped) */
.featured .featured__viewport { overflow: visible; }
.featured .featured__nav { display: none; }
.featured .featured__track.featured-products-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  transform: none !important;
  transition: none;
}
.featured .featured__track.featured-products-grid .product-card {
  flex: none !important;
  width: 100%;
  max-width: none;
}
.featured .featured__track.featured-products-grid .product-card__media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
@media (max-width: 992px) {
  .featured .featured__track.featured-products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
  .featured .featured__track.featured-products-grid { grid-template-columns: 1fr; }
}

.product-card {
  flex: 0 0 calc(50% - 0.75rem);
  background: var(--white); box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s;
}
.product-card:hover { box-shadow: var(--shadow-md); }
@media (min-width: 768px) { .product-card { flex: 0 0 calc(33.333% - 1rem); } }
@media (min-width: 1200px) { .product-card { flex: 0 0 calc(25% - 1.125rem); } }

.product-card__media {
  position: relative; aspect-ratio: 1; overflow: hidden;
  background: var(--white);
}
.product-card__media img {
  width: 100%; height: 100%; object-fit: contain; padding: 0.5rem;
}
.product-card__overlay {
  position: absolute; inset: 0; display: flex; align-items: center;
  justify-content: center; background: rgba(60, 120, 216, 0.85);
  opacity: 0; transition: opacity 0.3s var(--ease);
}
.product-card:hover .product-card__overlay { opacity: 1; }
.product-card__body { padding: 1rem; text-align: center; }
.product-card__title {
  font-family: var(--font-serif); font-size: 1rem; font-weight: 700;
  color: var(--text-dark); line-height: 1.35;
}
.product-card__title a { color: inherit; }
.product-card__title a:hover { color: var(--blue); }

/* ── FAQ + Quote ── */
.faq-quote {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--bg-muted) 0%, var(--bg-alt) 100%);
  clip-path: polygon(0 3rem, 100% 0, 100% 100%, 0 100%);
  margin-top: -1rem; padding-top: 5rem;
}
.faq-quote__grid {
  display: grid; gap: 2.5rem;
}
@media (min-width: 992px) {
  .faq-quote__grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

.faq__item { border-bottom: 1px solid var(--border); }
.faq__question {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 1rem 0; border: none; background: none;
  font-size: 1rem; font-weight: 600; text-align: left;
  color: var(--text-dark); cursor: pointer;
}
.faq__question::after {
  content: "+"; flex-shrink: 0; margin-left: 1rem;
  font-size: 1.25rem; color: var(--blue); transition: transform 0.2s;
}
.faq__item.is-open .faq__question::after { content: "−"; }
.faq__answer {
  display: none; padding-bottom: 1rem;
  font-size: 0.9375rem; color: var(--text); white-space: pre-line;
}
.faq__item.is-open .faq__answer { display: block; animation: fadeIn 0.3s var(--ease); }

.quote-panel h2 {
  font-family: var(--font-serif); font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700; color: var(--text-dark); margin-bottom: 0.75rem;
}
.quote-panel p { margin-bottom: 1.5rem; color: var(--text); }

/* ── Samples section ── */
.samples {
  padding: 4rem 0; background: var(--white);
}
.samples h2 {
  font-family: var(--font-serif); font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700; text-align: center; color: var(--text-dark);
  margin-bottom: 2.5rem;
}
.samples__grid {
  display: grid; gap: 0; border: 1px solid var(--border);
}
@media (min-width: 768px) {
  .samples__grid { grid-template-columns: 1fr 1fr; }
}
.samples__form {
  padding: 2rem; border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .samples__form { border-bottom: none; border-right: 1px solid var(--border); }
}
.samples__form .contact-form__feedback { margin-top: 0.5rem; }
.samples__form .form-field { margin-bottom: 1rem; }
.samples__form .form-field input,
.samples__form .form-field textarea {
  width: 100%; padding: 0.75rem 1rem;
  border: 1px solid var(--border); background: var(--white);
  color: var(--text-dark); transition: border-color 0.2s;
}
.samples__form .form-field input:focus,
.samples__form .form-field textarea:focus { border-color: var(--blue); outline: none; }
.samples__form .form-field textarea { min-height: 8rem; resize: vertical; }

.samples__info {
  padding: 2rem; display: flex; flex-direction: column;
  justify-content: center; gap: 1.5rem;
}
.samples__info p { color: var(--text); }
.samples__info img { width: 100%; max-width: 30rem; margin-inline: auto; }

/* ── Footer ── */
.site-footer {
  padding: 3rem 0 0; background: var(--navy); color: rgba(255,255,255,0.75);
}
.site-footer .container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.site-footer a { color: rgba(255,255,255,0.75); }
.site-footer a:hover { color: var(--white); }
.site-footer__grid,
.footer-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  padding-bottom: 2rem;
}
.site-footer__grid > div,
.footer-column {
  min-width: 0;
}
@media (min-width: 769px) {
  .site-footer__grid,
  .footer-container {
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .site-footer__grid > div,
  .footer-column {
    flex: 1 1 33.333%;
    width: 33.333%;
  }
}
@media (max-width: 768px) {
  .site-footer__grid,
  .footer-container {
    flex-direction: column;
  }
  .site-footer__grid > div,
  .footer-column {
    width: 100%;
    flex: none;
  }
}
.site-footer__logo {
  width: auto;
  height: auto;
  max-width: none;
  max-height: 3.125rem;
  filter: none;
  -webkit-filter: none;
  margin-bottom: 1rem;
}
.site-footer__title {
  font-size: 1.125rem; font-weight: 700; color: var(--white);
  margin-bottom: 1rem;
}
.site-footer__text { font-size: 0.875rem; line-height: 1.6; }
.site-footer__links { display: flex; flex-direction: column; gap: 0.5rem; }
.site-footer__links a { font-size: 0.875rem; }
.site-footer__contact li {
  font-size: 0.875rem; margin-bottom: 0.5rem;
}
.site-footer__social,
.footer-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}
.site-footer__social a,
.footer-social a {
  display: inline-flex;
  align-items: center;
  line-height: normal;
  opacity: 1;
}
.site-footer__social img,
.footer-social img {
  display: block;
  width: 32px;
  height: 32px;
  max-width: none;
  object-fit: contain;
  filter: none;
  -webkit-filter: none;
  opacity: 1;
}
.site-footer__bottom {
  padding: 1.25rem 0; border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center; font-size: 0.8125rem;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.site-footer__section-gap { margin-top: 1.5rem; }
.site-footer__links-gap { margin-top: 1rem; }

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

/* 鈹€鈹€ Hero banners (shared) 鈹€鈹€ */
.page-banner,
.page-hero,
.blog-hero,
.category-hero,
.contact-hero {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-banner::before,
.page-hero::before,
.blog-hero::before,
.category-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(10, 0, 3, 0.45), rgba(10, 0, 3, 0.45));
}
.category-hero::before {
  background: linear-gradient(rgba(10, 0, 3, 0.5), rgba(10, 0, 3, 0.5));
}
.page-banner { min-height: clamp(18rem, 40vw, 28rem); }
.page-hero,
.blog-hero { min-height: clamp(14rem, 32vw, 22.5rem); }
.category-hero { min-height: clamp(16rem, 35vw, 24rem); }
.contact-hero { min-height: 22.5rem; }
.page-banner .container,
.page-hero .container,
.blog-hero .container,
.category-hero .container {
  position: relative;
  z-index: 2;
}
.page-banner .container { padding-block: 3rem; max-width: 42rem; }
.page-hero .container,
.blog-hero .container,
.category-hero .container { padding-block: 2.5rem; }
.category-hero .container { max-width: 48rem; }
.page-banner__eyebrow {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2.5vw, 2.1875rem);
  margin-bottom: 0.5rem;
}
.page-banner__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.page-banner__desc {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2.5vw, 2.1875rem);
  margin-bottom: 1.5rem;
}
.page-hero__title,
.blog-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.125rem);
  font-weight: 700;
  line-height: 1.15;
}
.category-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.category-hero__desc {
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 42rem;
}
.products-categories { padding: 4rem 0 5rem; background: var(--white); }

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.breadcrumbs a { color: rgba(255, 255, 255, 0.92); }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs__sep { opacity: 0.7; }
.category-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.category-breadcrumb a { color: var(--white); }
.category-breadcrumb a:hover { opacity: 0.85; }
.category-breadcrumb__sep { opacity: 0.7; }

.blog-pagination,
.shop-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.blog-pagination { margin-top: 2.5rem; }
.blog-pagination__btn,
.shop-pagination__btn {
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.65rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  background: var(--white);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.blog-pagination__btn:hover:not(:disabled),
.shop-pagination__btn:hover:not(:disabled) {
  border-color: var(--blue);
  color: var(--blue);
}
.blog-pagination__btn.is-active,
.shop-pagination__btn.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}
.blog-pagination__btn:disabled,
.shop-pagination__btn:disabled { opacity: 0.45; cursor: not-allowed; }

.contact-form__feedback,
.quote-enquiry__feedback,
.blog-comment-form__feedback {
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  line-height: 1.5;
  border-radius: 2px;
}
.contact-form__feedback[hidden],
.quote-enquiry__feedback[hidden],
.blog-comment-form__feedback[hidden] { display: none; }
.contact-form__feedback--success,
.quote-enquiry__feedback--success,
.blog-comment-form__feedback--success { color: #1b5e20; background: #e8f5e9; border: 1px solid #a5d6a7; }
.contact-form__feedback--error,
.quote-enquiry__feedback--error,
.blog-comment-form__feedback--error { color: #b71c1c; background: #ffebee; border: 1px solid #ef9a9a; }

.hero__slide { position: relative; overflow: hidden; }
.hero__slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(rgba(10, 0, 3, 0.4), rgba(10, 0, 3, 0.4));
}
.hero__slide .hero__content { position: relative; z-index: 2; }

.page-content,
.product-description,
.blog-article__content {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-dark);
}
.page-content p,
.product-description p,
.blog-article__content p { margin-bottom: 1rem; }
.page-content a,
.product-description a,
.blog-article__content a { color: var(--blue); }
.page-content strong,
.product-description strong,
.blog-article__content strong { font-weight: 700; }
.page-content [style],
.product-description [style],
.blog-article__content [style] {
  font-family: inherit !important;
  font-size: inherit !important;
  color: inherit !important;
}
.page-content p[style*="text-align: center"] { text-align: center !important; }

/* ── Product table protection (CMS spec tables — scoped, no global table rules) ── */
.table-container,
.quote-table-wrap {
  width: 100%;
  overflow-x: auto;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0;
}

.product-description table {
  max-width: 100%;
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  height: auto;
  margin: 0;
  font-size: var(--table-font-size);
}

.product-description img {
  max-width: 100%;
  height: auto;
}

.product-description td,
.product-description th {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 10px;
  text-align: left;
  vertical-align: top;
  white-space: normal;
  border: 1px solid #ddd;
  box-sizing: border-box;
}

/* Neutralize CMS editor inline widths on product spec tables */
.product-description table[style],
.product-description table td[style],
.product-description table th[style],
.product-description table tr[style] {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  box-sizing: border-box !important;
  overflow: visible !important;
}

.page-content table tr,
.product-description table tr,
.blog-article__content table tr {
  height: auto !important;
}

.page-content table,
.blog-article__content table {
  width: 100% !important;
  max-width: 100% !important;
  border-collapse: collapse !important;
  table-layout: auto !important;
  height: auto !important;
  margin: 0;
  font-size: var(--table-font-size);
}

.page-content table td,
.page-content table th,
.blog-article__content table td,
.blog-article__content table th {
  width: auto !important;
  min-width: 0;
  max-width: none;
  height: auto !important;
  padding: 0.75rem;
  text-align: left;
  vertical-align: middle;
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: normal !important;
  border: 1px solid var(--border) !important;
  border-style: solid !important;
  box-sizing: border-box !important;
}

.product-description table td:first-child,
.product-description table th:first-child {
  /* Books pages may keep inline width:N%; CSS caps label column width */
  min-width: 5.5rem;
  max-width: 35%;
}

/* CMS embedded images — blog / page content */
.page-content img,
.blog-article__content img {
  max-width: 100% !important;
  height: auto !important;
}

/* CMS nested divs inside table cells (legacy export markup) */
.page-content table td > div,
.page-content table th > div,
.product-description table td > div,
.product-description table th > div,
.blog-article__content table td > div,
.blog-article__content table th > div {
  width: auto !important;
  min-width: 0 !important;
  max-width: 100%;
  box-sizing: border-box !important;
  white-space: normal !important;
}

/* Prevent form pollution — do not inherit product table width rules */
.contact-form table,
.quote-form table {
  width: auto;
}

/* Layout containment — grid/flex children must not overflow viewport */
html { overflow-x: hidden; }

#main,
.product-page,
.product-detail,
.product-tabs,
.product-tabs__panel,
.product-description,
.product-quote,
.contact-body,
.contact-layout,
.contact-content,
.page-content,
.blog-article__wrap,
.blog-article__content {
  min-width: 0;
  max-width: 100%;
}

/* Quote cart tables — scoped styles (see Quote section below for full rules) */

.not-found { margin-top: 1rem; }

/* 鈹€鈹€ About 鈹€鈹€ */
.feature-rows { padding: 0; }
.feature-row { padding: 3.5rem 0; }
.feature-row:nth-child(odd) { background: var(--bg-alt); }
.feature-row:nth-child(even) { background: var(--white); }
.feature-row__grid { display: grid; gap: 2rem; align-items: center; }
.feature-row__media img { width: 100%; border-radius: 2px; box-shadow: var(--shadow-sm); }
.feature-row__content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.feature-row__content p,
.feature-row__content li { font-size: 0.9375rem; color: var(--text); line-height: 1.7; }
.feature-row__content ul { margin-top: 1rem; padding-left: 1.25rem; list-style: disc; }
.feature-row__content li { margin-bottom: 0.35rem; }
@media (min-width: 768px) {
  .feature-row { padding: 4rem 0; }
  .feature-row__grid { grid-template-columns: 1fr 1fr; }
  .feature-row--reverse .feature-row__media { order: 2; }
  .feature-row--reverse .feature-row__content { order: 1; }
}
.about-story { padding: 4rem 0; background: var(--bg-alt); text-align: center; }
.about-story__head { max-width: 48rem; margin: 0 auto 2rem; }
.about-story__head h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}
.about-story__head h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 400;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.about-story__body { max-width: 56rem; margin: 0 auto; text-align: left; }
.about-story__body p { margin-bottom: 1rem; color: var(--text); line-height: 1.75; font-size: 0.9375rem; }

/* 鈹€鈹€ Category 鈹€鈹€ */

.category-layout {
  padding: 2.5rem 0 4rem;
  background: var(--white);
}
.category-layout__grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 992px) {
  .category-layout__grid {
    grid-template-columns: 16rem 1fr;
    align-items: start;
  }
}

.category-sidebar {
  display: grid;
  gap: 2rem;
}
.category-search label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.category-search__row {
  display: flex;
  gap: 0;
}
.category-search__row input {
  flex: 1;
  min-width: 0;
  padding: 0.625rem 0.75rem;
  border: 1px solid var(--border);
  border-right: 0;
  font: inherit;
  font-size: 0.875rem;
}
.category-search__row input:focus {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}
.category-search__row button {
  width: 2.75rem;
  border: 0;
  background: var(--blue);
  color: var(--white);
  font-size: 1.25rem;
  cursor: pointer;
}
.category-search__row button:hover { background: var(var(--blue-hover)); }

.category-nav__list {
  display: grid;
  gap: 0.35rem;
}
.category-nav__link {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  color: var(--text);
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border);
}
.category-nav__link:hover,
.category-nav__link[aria-current="page"] {
  color: var(--blue);
}
.category-nav__count {
  color: var(--text);
  font-size: 0.8125rem;
  white-space: nowrap;
}

.category-main__toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.category-main__count {
  font-size: 0.8125rem;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.category-sort select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid var(--border);
  font: inherit;
  font-size: 0.875rem;
  background: var(--white);
}

.category-products {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
}
@media (min-width: 768px) {
  .category-products { grid-template-columns: repeat(3, 1fr); }
}

.category-product {
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow 0.2s var(--ease);
}
.category-product:hover { box-shadow: var(--shadow-sm); }
.category-product__media {
  display: block;
  aspect-ratio: 1;
  background: var(--bg-alt);
  overflow: hidden;
}
.category-product__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  transition: transform 0.3s var(--ease);
}
.category-product:hover .category-product__media img { transform: scale(1.03); }
.category-product__body {
  padding: 1rem;
  text-align: center;
}
.category-product__title {
  font-family: var(--font-serif);
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0.35rem;
}
.category-product__title a { color: inherit; }
.category-product__title a:hover { color: var(--blue); }
.category-product__cat {
  font-size: 0.8125rem;
  margin-bottom: 0.75rem;
}
.category-product__cat a { color: var(--text); }
.category-product__cat a:hover { color: var(--blue); }
.category-product .btn {
  width: 100%;
  font-size: 0.8125rem;
  padding: 0.5rem 0.75rem;
}

/* 鈹€鈹€ Product detail 鈹€鈹€ */

/* Product detail page — extends index.css */

.product-page { padding: 2rem 0 4rem; background: var(--white); }

.product-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2rem;
  color: var(--text);
}
.product-breadcrumb a { color: var(--blue); }
.product-breadcrumb a:hover { text-decoration: underline; }
.product-breadcrumb__sep { opacity: 0.5; }
.product-breadcrumb__current { color: var(--text-dark); }

.product-detail {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
@media (min-width: 992px) {
  .product-detail { grid-template-columns: 1fr 1fr; align-items: start; }
}

.product-gallery__main {
  position: relative;
  aspect-ratio: 1;
  background: var(--bg-alt);
  margin-bottom: 1rem;
  overflow: hidden;
}
.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1rem;
}
.product-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-dark);
  font-size: 1.25rem;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.product-gallery__nav:hover { background: var(--white); color: var(--blue); }
.product-gallery__nav--prev { left: 0.75rem; }
.product-gallery__nav--next { right: 0.75rem; }

.product-gallery__thumbs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}
.product-gallery__thumb {
  flex: 0 0 4.5rem;
  width: 4.5rem;
  aspect-ratio: 1;
  border: 2px solid transparent;
  background: var(--bg-alt);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
}
.product-gallery__thumb.is-active,
.product-gallery__thumb:hover { border-color: var(--blue); }
.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.25rem;
}

.product-summary__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
.product-meta {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.product-meta dt {
  color: var(--text);
  font-weight: 500;
  display: inline;
}
.product-meta dt::after { content: ": "; }
.product-meta dd {
  display: inline;
  color: var(--text-dark);
  font-weight: 700;
  margin: 0;
}
.product-meta__row { margin: 0; }

.product-cart {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}
.product-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
}
.product-qty button {
  width: 2.25rem;
  height: 2.5rem;
  border: 0;
  background: var(--white);
  font-size: 1.125rem;
  cursor: pointer;
  color: var(--text-dark);
}
.product-qty button:hover { color: var(--blue); }
.product-qty input {
  width: 3rem;
  height: 2.5rem;
  border: 0;
  border-inline: 1px solid var(--border);
  text-align: center;
  font: inherit;
  }
.product-qty input { appearance: textfield; }
.product-qty input::-webkit-outer-spin-button,
.product-qty input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.product-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.product-actions .btn { min-width: 9rem; }

.product-tabs { border-top: 1px solid var(--border); }
.product-tabs__list {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--border);
  list-style: none;
}
.product-tabs__btn {
  padding: 1rem 1.5rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.product-tabs__btn[aria-selected="true"] {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.product-tabs__panel {
  padding: 2rem 0;
  color: var(--text-dark);
  font-size: 0.9375rem;
  line-height: 1.75;
}
.product-tabs__panel[hidden] { display: none; }

/* ── Quote forms (product detail + quote list) — scoped .quote-form module ── */
.product-quote {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.product-quote h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}
.product-quote__form,
.quote-enquiry,
.quote-form {
  max-width: 100%;
}
.product-quote .form-group,
.quote-enquiry .form-group,
.quote-form .form-group {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.product-quote .form-group--stack,
.quote-enquiry .form-group--stack,
.quote-form .form-group--stack {
  align-items: flex-start;
}
.product-quote .form-group label,
.quote-enquiry .form-group label,
.quote-form .form-group label {
  width: 120px;
  flex-shrink: 0;
  margin: 0;
  padding-right: 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
}
.product-quote .form-group--stack label,
.quote-enquiry .form-group--stack label,
.quote-form .form-group--stack label {
  padding-top: 0.75rem;
}
.product-quote .form-group input,
.product-quote .form-group textarea,
.product-quote .form-group select,
.quote-enquiry .form-group input,
.quote-enquiry .form-group textarea,
.quote-enquiry .form-group select,
.quote-form .form-group input,
.quote-form .form-group textarea,
.quote-form .form-group select {
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text-dark);
  font-family: inherit;
  font-size: 0.9375rem;
  line-height: 1.4;
}
.product-quote .form-group textarea,
.quote-enquiry .form-group textarea,
.quote-form .form-group textarea {
  min-height: 7rem;
  resize: vertical;
}
.product-quote .form-group input:focus,
.product-quote .form-group textarea:focus,
.quote-enquiry .form-group input:focus,
.quote-enquiry .form-group textarea:focus,
.quote-form .form-group input:focus,
.quote-form .form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.product-quote .form-group .btn,
.quote-enquiry .form-group .btn,
.quote-form .form-group .btn {
  margin-left: 120px;
}
@media (max-width: 768px) {
  .product-quote .form-group,
  .quote-enquiry .form-group,
  .quote-form .form-group {
    flex-direction: column;
    align-items: stretch;
  }
  .product-quote .form-group label,
  .quote-enquiry .form-group label,
  .quote-form .form-group label {
    width: auto;
    padding-right: 0;
    padding-top: 0;
  }
  .product-quote .form-group input,
  .product-quote .form-group textarea,
  .product-quote .form-group select,
  .quote-enquiry .form-group input,
  .quote-enquiry .form-group textarea,
  .quote-enquiry .form-group select,
  .quote-form .form-group input,
  .quote-form .form-group textarea,
  .quote-form .form-group select {
    width: 100%;
  }
  .product-quote .form-group .btn,
  .quote-enquiry .form-group .btn,
  .quote-form .form-group .btn {
    margin-left: 0;
  }
}

/* ── Contact ── */

.contact-body {
  padding-bottom: 3.5rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-top: 2.5rem;
}

.contact-info__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-info__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
}

.contact-info__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.contact-info__title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
}

.contact-info__text {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text);
}

.contact-info__text a {
  color: inherit;
  text-decoration: none;
}

.contact-info__text a:hover {
  color: var(--blue);
}

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.contact-social a {
  display: block;
  line-height: 0;
}

.contact-social img {
  width: 2.625rem;
  height: 2.625rem;
  object-fit: contain;
}

/* Contact page form styles moved to assets/css/contact.css (sv-contact-form) */

/* 鈹€鈹€ Blog 鈹€鈹€ */

.blog-main { padding: 3rem 0 4rem; }

.blog-grid {
  display: grid;
  gap: 2rem;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  height: 100%;
}
.blog-card[hidden] { display: none; }
.blog-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-muted);
}
.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}
.blog-card__media:hover img { transform: scale(1.03); }
.blog-card__body { padding: 1.25rem 1.25rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.blog-card__cat {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
}
.blog-card__cat:hover { color: var(--blue); }
.blog-card__title {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-dark);
  margin-bottom: 0;
}
.blog-card__title a { color: inherit; }
.blog-card__title a:hover { color: var(--blue); }


/* Detail page */
.blog-detail-hero {
  padding: 2rem 0 0;
  background: var(--white);
}
.blog-detail-hero .breadcrumbs {
  text-transform: uppercase;
  color: var(--text);
}
.blog-detail-hero .breadcrumbs a { color: var(--text); }
.blog-detail-hero .breadcrumbs a:hover { color: var(--blue); }

.blog-article {
  padding: 2rem 0 3.5rem;
}
.blog-article__wrap {
  max-width: 46rem;
  margin-inline: auto;
}
.blog-article__featured {
  margin-bottom: 1.75rem;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.blog-article__featured img { width: 100%; }
.blog-article__title,
.blog-article > .blog-article__wrap > h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.blog-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-bottom: 1.75rem;
  font-size: 0.875rem;
  color: var(--text);
}
.blog-article__meta a { color: var(--text); }
.blog-article__meta a:hover { color: var(--blue); }
.blog-article__content {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-dark);
}
.blog-article__content h1 { display: none; }
.blog-article__content h2 {
  font-family: var(--font-heading, Arial, Helvetica, sans-serif);
  font-size: 1.35rem;
  font-weight: 700;
  margin: 1.75rem 0 0.75rem;
  color: var(--text);
  line-height: 1.35;
}
.blog-article__content p { margin-bottom: 1rem; }
.blog-article__content a { color: var(--blue); text-decoration: underline; }
.blog-article__content strong { font-weight: 700; }

.blog-share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}
.blog-share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-dark);
  border: 1px solid var(--border);
}
.blog-share a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.blog-nav {
  display: grid;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.blog-nav__item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: var(--bg-alt);
  color: inherit;
}
.blog-nav__item:hover { background: var(--bg-muted); }
.blog-nav__item img {
  width: 5rem;
  height: 5rem;
  object-fit: cover;
}
.blog-nav__label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 0.35rem;
}
.blog-nav__title {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.35;
}

.blog-comments {
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 0 4rem;
}
.blog-comments__title {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.25rem;
}
.blog-comment-form {
  display: grid;
  gap: 1rem;
}
.blog-comment-form input,
.blog-comment-form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0;
}
.blog-comment-form textarea { min-height: 8rem; resize: vertical; }
.blog-comment-form label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text);
}

@media (min-width: 640px) {
  .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 992px) {
  .blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .blog-nav { grid-template-columns: 1fr 1fr; }
}

/* 鈹€鈹€ Inner pages 鈹€鈹€ */

.page-main { padding: 3rem 0 4rem; }
.page-main--narrow .container { max-width: 46rem; }

.page-content {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-dark);
}
.page-content p { margin-bottom: 1rem; }
.page-content a { color: var(--blue); }
.page-content strong { font-weight: 700; }

.career-rows { padding: 0; }
.career-row {
  padding: 3rem 0;
}
.career-row:nth-child(odd) { background: var(--white); }
.career-row:nth-child(even) { background: var(--bg-alt); }
.career-row__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.career-row__media img {
  width: 100%;
  border-radius: 2px;
  box-shadow: var(--shadow-sm);
}
.career-row__content h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.career-row__content p,
.career-row__content li {
  font-size: 0.9375rem;
  color: var(--text);
  line-height: 1.7;
}
.career-row__content ul {
  margin: 0.75rem 0 1rem;
  padding-left: 1.25rem;
  list-style: disc;
}
.career-row__content li { margin-bottom: 0.35rem; }

@media (min-width: 768px) {
  .career-row { padding: 3.5rem 0; }
  .career-row__grid { grid-template-columns: 1fr 1fr; }
  .career-row--reverse .career-row__media { order: 2; }
  .career-row--reverse .career-row__content { order: 1; }
}

/* 鈹€鈹€ Shop 鈹€鈹€ */

/* Search + quote list — extends index.css and category.css patterns */

.shop-page { padding: 2.5rem 0 4rem; }

.shop-search-hero {
  padding: 2rem 0 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}
.shop-search-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1rem;
}
.shop-search-form {
  display: flex;
  gap: 0;
  max-width: 36rem;
}
.shop-search-form input {
  flex: 1;
  min-width: 0;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-right: 0;
  font: inherit;
}
.shop-search-form input:focus {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}
.shop-search-form button {
  padding: 0 1.25rem;
  border: 0;
  background: var(--blue);
  color: var(--white);
  font-weight: 500;
  cursor: pointer;
}
.shop-search-form button:hover { background: var(--blue-hover); }

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  color: var(--text);
}
.shop-toolbar select {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid var(--border);
  font: inherit;
  font-size: 0.875rem;
  background: var(--white);
}

.shop-empty {
  padding: 2rem;
  text-align: center;
  color: var(--text);
  background: var(--bg-alt);
}


.quote-list-page { padding: 2.5rem 0 4rem; }
.quote-list-page__title {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
}

.quote-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 0.9375rem;
}
.quote-table th,
.quote-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}
.quote-table th {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  background: var(--bg-alt);
}
.quote-table__product {
  display: flex;
  gap: 1rem;
  align-items: center;
  min-width: 14rem;
}
.quote-table__product img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  background: var(--bg-alt);
  flex-shrink: 0;
}
.quote-table__product a {
  color: var(--text-dark);
  font-weight: 500;
}
.quote-table__product a:hover { color: var(--blue); }
.quote-table__qty {
  width: 4.5rem;
  padding: 0.5rem;
  border: 1px solid var(--border);
  text-align: center;
}
.quote-table__remove {
  border: 0;
  background: none;
  color: var(--text);
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
}
.quote-table__remove:hover { color: #b71c1c; }

.quote-layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 992px) {
  .quote-layout { grid-template-columns: 1fr 18rem; align-items: start; }
}

.quote-totals {
  padding: 1.25rem;
  background: var(--bg-alt);
}
.quote-totals h2 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.quote-totals table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 0.9375rem;
}
.quote-totals th,
.quote-totals td {
  width: auto;
  word-break: normal;
  overflow-wrap: normal;
  padding: 0.5rem 0;
}
.quote-totals th { text-align: left; font-weight: 500; }
.quote-totals td { text-align: right; }

.quote-enquiry {
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
}
.quote-enquiry__title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.quote-featured {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.quote-featured h2 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  margin-bottom: 1.25rem;
}
.quote-featured__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .quote-featured__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.quote-featured__item {
  text-align: center;
}
.quote-featured__item img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--bg-alt);
  margin-bottom: 0.75rem;
}
.quote-featured__item a {
  color: var(--text-dark);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.4;
}
.quote-featured__item a:hover { color: var(--blue); }
