:root {
  --brand-primary: #1d7f91;
  --brand-primary-dark: #114b58;
  --brand-accent: #c9902f;
  --brand-ink: #15232b;
  --brand-muted: #52636b;
  --brand-surface: #f4f7f8;
  --brand-surface-strong: #dce8eb;
  --brand-border: rgba(29, 127, 145, 0.14);
  --brand-shadow: 0 24px 60px rgba(21, 35, 43, 0.12);
  --brand-radius: 1.25rem;
}

html {
  font-size: 16px;
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--brand-ink);
  background:
    radial-gradient(circle at top right, rgba(201, 144, 47, 0.18), transparent 28%),
    linear-gradient(180deg, #f8fbfc 0%, #eef4f6 55%, #fbfcfd 100%);
}

a {
  color: var(--brand-primary);
  text-decoration: none;
}

a:hover {
  color: var(--brand-primary-dark);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(29, 127, 145, 0.18);
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  backdrop-filter: blur(14px);
  background: rgba(248, 251, 252, 0.94);
  border-bottom: 1px solid rgba(29, 127, 145, 0.08);
}

.site-topbar {
  padding: 0.55rem 0;
  color: rgba(246, 244, 233, 0.92);
  background: linear-gradient(135deg, #103743, #1d7f91);
  font-size: 0.88rem;
}

.topbar-links {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.topbar-links a,
.topbar-links span {
  color: rgba(246, 244, 233, 0.92);
}

.site-main {
  flex: 1;
}

.navbar {
  padding: 1rem 0;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  color: var(--brand-ink);
}

.site-brand-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.site-brand:hover {
  color: var(--brand-ink);
}

.site-brand strong,
.footer-brand h2 {
  display: block;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-brand small {
  display: block;
  color: var(--brand-muted);
  font-size: 0.78rem;
}

.site-mark,
.footer-mark {
  width: 6.75rem;
  height: 5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(21, 35, 43, 0.1);
  border-radius: 0.85rem;
  background: #ffffff;
  box-shadow: 0 0.5rem 1.25rem rgba(7, 25, 31, 0.12);
}

.brand-logo {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.brand-logo-nav {
  max-height: 4rem;
}

.brand-logo-footer {
  max-height: 4rem;
}

.nav-pill {
  border-radius: 999px;
  padding: 0.65rem 1rem !important;
  color: var(--brand-ink);
  font-weight: 500;
}

.nav-pill:hover,
.nav-pill:focus {
  background: rgba(29, 127, 145, 0.08);
  color: var(--brand-primary);
}

.btn-brand,
.btn-outline-brand:hover {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
  border-color: transparent;
}

.btn-brand:hover,
.btn-brand:focus {
  color: #fff;
  background: linear-gradient(135deg, #166878, #0d3d49);
}

.btn-outline-brand {
  color: var(--brand-primary);
  border-color: rgba(29, 127, 145, 0.28);
  background: rgba(255, 255, 255, 0.72);
}

.nav-catalogue-button {
  flex: 0 0 auto;
  margin-right: 0.75rem;
  white-space: nowrap;
}

.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 2rem;
  color: #f2f1e6;
  background: linear-gradient(135deg, #123d49, #0b2831);
}

.footer-brand {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.footer-brand p,
.footer-links,
.footer-meta {
  margin: 0;
  color: rgba(242, 241, 230, 0.82);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li + li {
  margin-top: 0.6rem;
}

.footer-links a {
  color: rgba(242, 241, 230, 0.9);
}

.footer-links a:hover {
  color: #fff;
}

.footer-meta {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 2rem;
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(242, 241, 230, 0.9);
}

.footer-credit img {
  height: 1.75rem;
}

.footer-meta-links {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-meta-links > a {
  color: rgba(242, 241, 230, 0.9);
}

.enquiry-feedback-stack {
  margin-bottom: 1.5rem;
}

.enquiry-success-alert {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0;
  border: 1px solid rgba(46, 125, 50, 0.18);
  border-radius: 1rem;
  color: #1e4d2b;
  background: linear-gradient(180deg, rgba(235, 248, 238, 0.96), rgba(224, 243, 230, 0.96));
}

.enquiry-reference-row {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.65rem;
}

.enquiry-reference-code {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--brand-primary-dark);
  background: rgba(255, 255, 255, 0.78);
}

.enquiry-copy-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.55rem;
  border: 0;
  color: var(--brand-primary);
  text-decoration: none;
}

.enquiry-copy-button:hover,
.enquiry-copy-button:focus {
  color: var(--brand-primary-dark);
  text-decoration: none;
}

.enquiry-copy-button svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.enquiry-copy-button.is-copied {
  color: #1e7b3d;
}

.hero-section {
  position: relative;
  padding: 7rem 0 6rem;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(11, 39, 48, 0.92), rgba(29, 127, 145, 0.56)),
    url("../theme/images/hero-dzr.jpg") center/cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(201, 144, 47, 0.22), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.08));
}

.hero-kicker,
.section-eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  color: var(--brand-primary);
  background: rgba(255, 255, 255, 0.84);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-title,
.section-title {
  font-size: clamp(2.35rem, 4vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.hero-copy,
.section-copy {
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 48rem;
}

.content-section,
.admin-shell,
.auth-section {
  padding: 4.5rem 0;
}

.section-header {
  margin-bottom: 1.5rem;
}

.theme-card,
.feature-card,
.auth-card,
.contact-cta-card,
.faq-item,
.timeline-item {
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--brand-shadow);
}

.feature-card {
  padding: 2rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
  color: var(--brand-primary);
}

.catalogue-section {
  padding-top: 3.5rem;
}

.catalogue-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 2rem;
  align-items: center;
  padding: 2.25rem;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(244, 247, 248, 0.92)),
    radial-gradient(circle at top right, rgba(201, 144, 47, 0.16), transparent 34%);
  box-shadow: var(--brand-shadow);
}

.catalogue-content .section-title {
  font-size: clamp(2rem, 3vw, 3.1rem);
}

.catalogue-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.catalogue-aside {
  min-height: 15rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.45rem;
  padding: 1.5rem;
  border-radius: 1rem;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(17, 75, 88, 0.96), rgba(29, 127, 145, 0.86)),
    url("../theme/images/pipes-fittings.svg") center/cover no-repeat;
}

.catalogue-file-type {
  width: fit-content;
  padding: 0.35rem 0.65rem;
  border-radius: 0.5rem;
  color: var(--brand-primary-dark);
  background: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.catalogue-aside strong {
  font-size: 1.35rem;
}

.catalogue-aside small {
  color: rgba(255, 255, 255, 0.78);
}

.contact-cta-card {
  padding: 2rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

.contact-cta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.account-nav {
  display: grid;
  gap: 0.65rem;
}

.account-nav-link {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  color: var(--brand-ink);
  font-weight: 600;
  background: rgba(246, 237, 227, 0.65);
}

.account-nav-link:hover,
.account-nav-link.active {
  color: #fff;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-primary-dark));
}

.account-hint {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  color: var(--brand-muted);
  background: rgba(246, 237, 227, 0.76);
}

.account-checklist {
  display: grid;
  gap: 0.75rem;
}

.account-checklist-item {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  color: var(--brand-ink);
  background: rgba(246, 237, 227, 0.76);
}

.qr-panel {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(77, 91, 44, 0.08);
}

.account-qr-code {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
}

.account-manual-key {
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  background: rgba(246, 237, 227, 0.76);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  word-break: break-word;
}

.recovery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.9rem;
}

.recovery-code {
  display: block;
  padding: 1rem;
  border-radius: 1rem;
  color: var(--brand-primary-dark);
  background: rgba(246, 237, 227, 0.76);
}

.contact-pill-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1rem;
  border-radius: 999px;
  color: var(--brand-primary);
  background: rgba(77, 91, 44, 0.08);
  font-weight: 600;
}

.contact-pill-link:hover {
  color: #fff;
  background: var(--brand-primary);
}

.section-muted {
  background: linear-gradient(180deg, rgba(220, 232, 235, 0.62), rgba(255, 255, 255, 0.92));
}

.section-accent {
  color: #fff;
  background:
    linear-gradient(135deg, rgba(12, 45, 54, 0.96), rgba(17, 75, 88, 0.92)),
    radial-gradient(circle at top right, rgba(201, 144, 47, 0.2), transparent 30%);
}

.section-accent .section-title,
.section-accent .section-copy {
  color: #fff;
}

.theme-card .card-body {
  padding: 2rem;
}

.contact-card h2 {
  margin-bottom: 0.5rem;
}

.contact-directory-list {
  display: grid;
  gap: 0.9rem;
}

.contact-directory-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  color: var(--brand-ink);
  background: rgba(246, 237, 227, 0.76);
}

.contact-directory-item strong,
.timeline-item strong {
  display: block;
}

.contact-directory-item span {
  color: var(--brand-primary);
  text-align: right;
}

.social-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hours-list,
.detail-grid {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.hours-list dt,
.detail-grid dt {
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.hours-list dd,
.detail-grid dd {
  margin: 0;
  color: var(--brand-muted);
}

.faq-list,
.timeline-list {
  display: grid;
  gap: 1rem;
}

.faq-item,
.timeline-item {
  padding: 1.2rem 1.25rem;
}

.faq-item h3,
.timeline-item p {
  margin: 0;
}

.faq-item h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.faq-item p,
.timeline-item p,
.enquiry-message {
  white-space: pre-line;
  color: var(--brand-muted);
}

.timeline-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.92rem;
}

.timeline-meta span {
  color: var(--brand-muted);
}

.enquiry-message {
  padding: 1.2rem;
  border-radius: 1rem;
  background: rgba(246, 237, 227, 0.76);
}

.form-control,
.form-select {
  min-height: 3rem;
  border-radius: 0.9rem;
  border-color: rgba(109, 101, 95, 0.24);
  background: #fffefc;
}

.form-control::placeholder {
  color: #a09a95;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.status-active {
  color: #0f6b43;
  background: rgba(15, 107, 67, 0.12);
}

.status-attention {
  color: #8b5a12;
  background: rgba(212, 164, 79, 0.2);
}

.status-progress {
  color: #7a2f0f;
  background: rgba(183, 91, 38, 0.14);
}

.status-pending {
  color: #8b1538;
  background: rgba(139, 21, 56, 0.12);
}

.status-inactive {
  color: #8b1538;
  background: rgba(139, 21, 56, 0.12);
}

.table-action-group {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.table-theme th {
  color: var(--brand-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
}

.table-theme th,
.table-theme td {
  padding: 1rem 1.25rem;
}

.role-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--brand-border);
  border-radius: 1rem;
  background: var(--brand-surface);
}

.detail-list dt {
  color: var(--brand-muted);
}

.auth-section {
  position: relative;
}

.auth-wrapper {
  position: relative;
  z-index: 1;
}

.auth-panel {
  padding: 2.5rem;
  color: #fff;
  border-radius: calc(var(--brand-radius) + 0.25rem);
  background:
    linear-gradient(135deg, rgba(12, 45, 54, 0.92), rgba(29, 127, 145, 0.72)),
    url("../theme/images/pipes-fittings.svg") center/cover no-repeat;
  box-shadow: var(--brand-shadow);
}

.auth-panel .section-eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.auth-card {
  padding: 2.5rem;
}

.auth-card h1 {
  font-size: 2.1rem;
  margin-bottom: 0.75rem;
}

.auth-copy {
  color: var(--brand-muted);
  margin-bottom: 1.5rem;
}

.auth-links {
  color: var(--brand-muted);
}

.auth-links a {
  font-weight: 600;
}

.auth-side-list {
  padding-left: 1.2rem;
  margin: 1.5rem 0 0;
}

.auth-side-list li + li {
  margin-top: 0.75rem;
}

.store-hero {
  padding: 4.5rem 0;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(11, 39, 48, 0.92), rgba(17, 75, 88, 0.76)),
    url("../theme/images/hero-plumbing.svg") center/cover no-repeat;
}

.store-hero-shop {
  background:
    linear-gradient(135deg, rgba(11, 39, 48, 0.88), rgba(17, 75, 88, 0.66)),
    url("../theme/images/shop-hero.jpg") center/cover no-repeat;
}

.store-hero-contact {
  background:
    linear-gradient(135deg, rgba(11, 39, 48, 0.88), rgba(17, 75, 88, 0.66)),
    url("../theme/images/contact-hero.jpg") center/cover no-repeat;
}

.store-hero-sm {
  padding: 3.5rem 0;
}

.category-card {
  display: block;
  overflow: hidden;
  height: 100%;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--brand-shadow);
  color: inherit;
}

.category-card-image {
  width: 100%;
  object-fit: cover;
}

.category-card-image {
  height: 220px;
}

.category-card-body {
  padding: 1.5rem;
}

.category-card-body h3 {
  color: var(--brand-primary);
  margin-bottom: 0.75rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--brand-shadow);
}

.product-card-image-link {
  display: grid;
  place-items: center;
  height: 190px;
  padding: 0.85rem;
  border-bottom: 1px solid var(--brand-border);
  background: linear-gradient(180deg, #f8fafb, #eef4f6);
}

.product-card-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 168px;
  object-fit: contain;
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.product-card-meta {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.product-tag {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: rgba(77, 91, 44, 0.08);
  color: var(--brand-primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.product-tag-accent {
  background: rgba(212, 164, 79, 0.18);
  color: #8a6418;
}

.product-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.product-card-copy {
  flex: 1;
  color: var(--brand-muted);
  margin-bottom: 1rem;
}

.hero-stat-section {
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
}

.hero-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.hero-stat-card {
  padding: 1.4rem 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 1.35rem;
  color: #fff;
  background: linear-gradient(180deg, rgba(12, 45, 54, 0.95), rgba(17, 75, 88, 0.92));
  box-shadow: 0 24px 50px rgba(21, 35, 43, 0.2);
}

.hero-stat-card span {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: var(--brand-accent);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.hero-stat-card strong {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 1rem;
}

.hero-stat-card p {
  margin: 0;
  color: rgba(242, 241, 230, 0.8);
}

.product-card-price {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.price-current {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--brand-primary);
}

.price-compare {
  color: #9b928b;
  text-decoration: line-through;
}

.stock-note {
  color: var(--brand-muted);
  font-size: 0.9rem;
}

.product-variant-preview,
.product-variant-selector-list {
  display: grid;
  border-top: 1px solid var(--brand-border);
}

.product-variant-preview-row,
.product-variant-selector-row {
  display: grid;
  grid-template-columns: minmax(4.5rem, auto) minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--brand-border);
  color: inherit;
  font-size: 0.82rem;
}

.product-variant-preview-row:hover,
.product-variant-selector-row:hover {
  color: var(--brand-primary);
  background: rgba(77, 91, 44, 0.04);
}

.product-variant-sku {
  overflow: hidden;
  color: var(--brand-muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-variant-more {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.product-variant-selector {
  overflow: hidden;
  padding: 1.25rem;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  background: rgba(255, 255, 255, 0.96);
}

.product-variant-selector-row {
  grid-template-columns: minmax(5rem, 0.7fr) minmax(7rem, 1fr) minmax(5rem, 0.8fr) auto;
  padding: 0.8rem;
}

.product-variant-selector-row.is-selected {
  border-left: 4px solid var(--brand-primary);
  background: rgba(77, 91, 44, 0.08);
}

@media (max-width: 575.98px) {
  .product-variant-selector-row {
    grid-template-columns: 1fr auto;
  }

  .product-variant-selector-row .product-variant-sku {
    grid-column: 1 / -1;
  }
}

.comparison-grid {
  display: grid;
  gap: 1rem;
}

.comparison-card,
.quote-panel,
.empty-state,
.stat-card,
.how-to-card {
  border-radius: var(--brand-radius);
  box-shadow: var(--brand-shadow);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.story-card {
  overflow: hidden;
  min-height: 220px;
  border: 1px solid var(--brand-border);
  border-radius: var(--brand-radius);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--brand-shadow);
}

.story-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.story-card-copy h3 {
  margin-bottom: 0.75rem;
  color: var(--brand-ink);
}

.story-card-copy p {
  margin: 0;
  color: var(--brand-muted);
}

.story-card-dark {
  color: #fff;
  background: linear-gradient(135deg, rgba(12, 45, 54, 0.96), rgba(17, 75, 88, 0.92));
}

.story-card-dark h3,
.story-card-dark p {
  color: #fff;
}

.story-card-dark p {
  color: rgba(242, 241, 230, 0.82);
}

.story-label {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--brand-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.comparison-card {
  padding: 1.4rem;
  color: var(--brand-ink);
  background: rgba(255, 255, 255, 0.92);
}

.quote-panel {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.14);
}

.quote-panel-light {
  color: var(--brand-ink);
  background: rgba(255, 250, 244, 0.94);
}

.quote-panel h3,
.comparison-card h3 {
  margin-bottom: 0.75rem;
}

.how-to-card {
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--brand-border);
}

.how-to-image {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: 0 auto;
  border-radius: 1.25rem;
  background: #fff;
}

.how-to-card-copy {
  margin-top: 1.25rem;
  text-align: center;
}

.empty-state {
  padding: 3rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  border: 1px dashed rgba(77, 91, 44, 0.24);
}

.product-detail-image-wrap {
  display: grid;
  place-items: center;
  min-height: 390px;
  padding: 1.25rem;
  overflow: hidden;
  border-radius: calc(var(--brand-radius) + 0.25rem);
  border: 1px solid var(--brand-border);
  background: linear-gradient(180deg, #ffffff, #f4f8f9);
  box-shadow: var(--brand-shadow);
}

.product-detail-image {
  display: block;
  width: 100%;
  height: min(420px, 52vw);
  max-height: 420px;
  object-fit: contain;
}

.product-detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.product-detail-gallery-link {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  padding: 0.35rem;
  border-radius: 1rem;
  border: 1px solid rgba(46, 40, 28, 0.08);
  background: rgba(255, 255, 255, 0.88);
}

.product-detail-gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0.75rem;
}

.product-detail-title {
  font-size: clamp(2rem, 3vw, 3.2rem);
}

.product-detail-price {
  margin-top: 1rem;
}

.feature-list {
  padding-left: 1.25rem;
}

.feature-list li + li {
  margin-top: 0.75rem;
}

.cart-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 1rem;
  background: #f7f0e8;
}

.quantity-input {
  max-width: 96px;
}

.checkout-lines {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checkout-lines li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(109, 101, 95, 0.12);
}

.checkout-lines li:last-child {
  border-bottom: 0;
}

.stat-card {
  display: block;
  padding: 1.6rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--brand-border);
}

.stat-card-link {
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.stat-card-link:hover,
.stat-card-link:focus {
  color: inherit;
  border-color: rgba(29, 127, 145, 0.38);
  box-shadow: 0 18px 34px rgba(11, 39, 48, 0.12);
  transform: translateY(-2px);
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  color: var(--brand-primary);
}

.stat-label {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--brand-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.stat-note {
  display: block;
  margin-top: 0.45rem;
  color: var(--brand-muted);
  font-size: 0.92rem;
  line-height: 1.35;
}

.payment-record + .payment-record {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(109, 101, 95, 0.16);
}

.site-search-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  max-width: 22rem;
  margin: 0 0.75rem 0 0;
}

.site-search-form .form-control {
  min-width: 0;
}

.admin-workspace {
  padding: 2rem 0 4rem;
}

.admin-workspace-grid {
  display: grid;
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.admin-workspace-sidebar {
  position: sticky;
  top: 1.5rem;
}

.admin-nav-card {
  padding: 1.25rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(109, 101, 95, 0.12);
  background: rgba(255, 255, 255, 0.94);
}

.admin-nav-header {
  margin-bottom: 1rem;
}

.admin-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.admin-nav-link {
  display: block;
  padding: 0.8rem 1rem;
  border-radius: 1rem;
  color: var(--brand-ink);
  text-decoration: none;
  background: rgba(246, 237, 227, 0.52);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.admin-nav-link:hover {
  transform: translateY(-1px);
  background: rgba(230, 214, 194, 0.68);
}

.admin-nav-link-active {
  color: #fff;
  background: var(--brand-primary);
}

.report-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.report-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--brand-ink);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(109, 101, 95, 0.16);
}

.report-nav-link-active {
  color: #fff;
  background: var(--brand-primary);
  border-color: transparent;
}

.report-list {
  display: grid;
  gap: 0.9rem;
}

.report-list-item {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(246, 237, 227, 0.72);
}

.report-list-item span {
  color: var(--brand-muted);
  font-size: 0.95rem;
}

.stat-copy {
  font-size: 1.1rem !important;
  line-height: 1.35;
}

.pagination-shell {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.pagination-summary {
  color: var(--brand-muted);
}

.pagination-theme {
  gap: 0.35rem;
}

.pagination-theme .page-link {
  border: 1px solid rgba(109, 101, 95, 0.18);
  color: var(--brand-ink);
  border-radius: 0.85rem;
  background: rgba(255, 255, 255, 0.95);
}

.pagination-theme .page-item.active .page-link {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

.pagination-theme .page-item.disabled .page-link {
  color: rgba(46, 40, 28, 0.4);
  background: rgba(255, 255, 255, 0.8);
}

.breadcrumb-trail {
  margin-bottom: 1.5rem;
}

.breadcrumb {
  background: transparent;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
}

.breadcrumb-item,
.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.82);
}

.content-section .breadcrumb-item,
.content-section .breadcrumb-item a {
  color: var(--muted);
}

.breadcrumb-item.active {
  color: inherit;
  font-weight: 600;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: currentColor;
}

.admin-product-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 1rem;
  border: 1px solid rgba(46, 40, 28, 0.08);
  background: rgba(255, 255, 255, 0.8);
}

.table-admin-products th,
.table-admin-products td {
  vertical-align: top;
}

.admin-products-select-col {
  width: 5.5rem;
}

.admin-products-image-col {
  width: 7rem;
}

.admin-products-product-col {
  min-width: 20rem;
}

.admin-products-category-col {
  min-width: 10rem;
}

.admin-product-pricing-col {
  min-width: 11rem;
}

.admin-product-pricing {
  display: grid;
  gap: 0.35rem;
  color: var(--brand-ink);
  font-variant-numeric: tabular-nums;
}

.admin-product-pricing > div {
  display: grid;
  grid-template-columns: 4rem minmax(5.5rem, 1fr);
  gap: 0.75rem;
  align-items: baseline;
}

.admin-product-pricing dt {
  color: var(--brand-muted);
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.admin-product-pricing dd {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

.admin-product-pricing .admin-product-margin dd {
  color: var(--brand-muted);
  font-weight: 600;
}

.admin-products-stock-col {
  min-width: 5.5rem;
}

.table-admin-products tbody .admin-products-stock-col {
  font-weight: 600;
}

.admin-products-status-col {
  min-width: 7.5rem;
}

.admin-products-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
  min-width: 13.5rem;
}

.admin-products-actions-col {
  position: sticky;
  right: 0;
  background: rgba(255, 251, 244, 0.98);
  box-shadow: -10px 0 18px rgba(46, 40, 28, 0.05);
}

.table-theme thead .admin-products-actions-col {
  z-index: 2;
}

.table-theme tbody .admin-products-actions-col {
  z-index: 1;
}

.product-image-preview-card {
  padding: 1rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(46, 40, 28, 0.08);
  background: rgba(255, 251, 244, 0.9);
}

.product-image-picker {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 1.25rem;
  border: 1px dashed rgba(109, 101, 95, 0.28);
  background: rgba(255, 251, 244, 0.65);
  cursor: pointer;
}

.product-image-picker-copy {
  color: var(--brand-muted);
  font-size: 0.95rem;
}

.product-image-picker-file {
  color: var(--brand-primary);
  font-size: 0.9rem;
  font-weight: 600;
}

.product-import-dropzone {
  min-height: 17rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 2rem;
  border: 2px dashed rgba(29, 127, 145, 0.32);
  border-radius: var(--brand-radius);
  background: rgba(255, 255, 255, 0.74);
  cursor: pointer;
  text-align: center;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.product-import-dropzone.is-dragover {
  border-color: var(--brand-primary);
  background: rgba(29, 127, 145, 0.08);
  transform: translateY(-2px);
}

.product-import-dropzone-title {
  color: var(--brand-ink);
  font-size: 1.35rem;
  font-weight: 700;
}

.product-import-dropzone-copy {
  color: var(--brand-muted);
}

.product-import-notes {
  height: 100%;
  padding: 1.5rem;
  border-radius: var(--brand-radius);
  background: rgba(244, 247, 248, 0.9);
  border: 1px solid var(--brand-border);
}

.product-import-column-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.product-import-column-list span {
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  color: var(--brand-primary-dark);
  background: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem;
  font-weight: 700;
}

.product-import-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
}

.product-import-summary-grid article {
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(244, 247, 248, 0.9);
  border: 1px solid var(--brand-border);
}

.product-import-summary-grid span {
  display: block;
  color: var(--brand-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-import-summary-grid strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--brand-primary);
  font-size: 1.8rem;
}

.product-image-preview {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 1rem;
  display: block;
  border: 1px solid rgba(46, 40, 28, 0.08);
}

.product-admin-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.product-admin-gallery-item {
  padding: 0.8rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(46, 40, 28, 0.08);
}

.product-image-primary-tag {
  display: inline-block;
  margin-left: 0.4rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: rgba(77, 91, 44, 0.12);
  color: var(--brand-primary);
  font-size: 0.78rem;
  font-weight: 700;
}

.floating-whatsapp-button {
  position: fixed;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 1070;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3.5rem;
  padding: 0.7rem 1rem 0.7rem 0.75rem;
  border-radius: 999px;
  color: #ffffff;
  background: #25d366;
  box-shadow: 0 18px 34px rgba(22, 143, 72, 0.34);
  font-weight: 800;
  text-decoration: none;
  animation: whatsapp-bounce 2.8s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.floating-whatsapp-button:hover,
.floating-whatsapp-button:focus {
  color: #ffffff;
  background: #1fb85a;
  box-shadow: 0 20px 42px rgba(22, 143, 72, 0.42);
  transform: translateY(-2px);
}

.floating-whatsapp-icon {
  display: inline-grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.floating-whatsapp-icon svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: currentColor;
}

.floating-whatsapp-label {
  white-space: nowrap;
}

@keyframes whatsapp-bounce {
  0%,
  18%,
  38%,
  100% {
    transform: translateY(0);
  }

  8% {
    transform: translateY(-8px);
  }

  28% {
    transform: translateY(-4px);
  }
}

@media (max-width: 991.98px) {
  .hero-stat-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .hero-stat-section {
    margin-top: 0;
    padding-top: 1.5rem;
  }

  .navbar-nav {
    padding-top: 1rem;
  }

  .site-search-form {
    max-width: none;
    margin: 1rem 0;
  }

  .nav-catalogue-button {
    width: 100%;
    margin: 1rem 0 0;
  }

  .catalogue-panel {
    grid-template-columns: 1fr;
  }

  .admin-workspace-grid {
    grid-template-columns: 1fr;
  }

  .admin-workspace-sidebar {
    position: static;
  }

  .footer-meta {
    align-items: flex-start;
  }

  .topbar-links {
    justify-content: center;
  }

  .navbar {
    padding: 0.75rem 0;
  }

  .navbar-toggler {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0.4rem;
  }

  .site-mark {
    width: 6.25rem;
    height: 4.25rem;
    padding: 0.35rem 0.55rem;
    border-radius: 0.75rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section,
  .content-section,
  .admin-shell,
  .auth-section {
    padding: 3rem 0;
  }

  .hero-title,
  .section-title {
    font-size: 2.2rem;
  }

  .theme-card .card-body,
  .auth-card,
  .auth-panel {
    padding: 1.5rem;
  }

  .catalogue-panel {
    padding: 1.5rem;
  }

  .contact-directory-item,
  .timeline-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-directory-item span {
    text-align: left;
  }

  .product-detail-image-wrap {
    min-height: 300px;
    padding: 0.85rem;
  }

  .product-detail-image {
    height: 300px;
  }

  .pagination-shell {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-stat-card,
  .story-card-copy {
    padding: 1.2rem;
  }
}

.analytics-consent-banner {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1080;
  max-width: 30rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  background: rgba(16, 21, 18, 0.96);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
}

.analytics-consent-copy {
  flex: 1 1 14rem;
}

.analytics-consent-copy strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #f3ead3;
}

.analytics-consent-copy p {
  margin: 0;
  color: rgba(243, 234, 211, 0.82);
  font-size: 0.95rem;
}

.analytics-consent-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.blog-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-article {
  max-width: 58rem;
  margin: 0 auto;
}

.blog-hero-image {
  width: 100%;
  max-height: 32rem;
  object-fit: cover;
  border-radius: 0.75rem;
}

.blog-article-body {
  font-size: 1.05rem;
  line-height: 1.8;
}

.blog-article-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .analytics-consent-banner {
    right: 1rem;
    left: 1rem;
    bottom: 1rem;
  }

  .analytics-consent-actions {
    width: 100%;
  }

  .analytics-consent-actions .btn {
    flex: 1 1 0;
  }
}

@media (max-width: 575.98px) {
  .site-topbar {
    padding: 0.45rem 0;
    font-size: 0.78rem;
  }

  .site-topbar .container,
  .topbar-links {
    justify-content: center !important;
  }

  .topbar-links {
    width: 100%;
    column-gap: 0.75rem;
    row-gap: 0.3rem;
  }

  .topbar-links span {
    width: 100%;
    text-align: center;
  }

  .navbar {
    padding: 0.6rem 0;
  }

  .site-mark {
    width: 5.75rem;
    height: 4rem;
  }

  .hero-section {
    padding: 2.75rem 0;
  }

  .hero-title,
  .section-title {
    font-size: 2rem;
    line-height: 1.1;
  }

  .hero-copy,
  .section-copy {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .hero-kicker,
  .section-eyebrow {
    margin-bottom: 0.8rem;
    padding: 0.4rem 0.7rem;
    font-size: 0.7rem;
  }

  .floating-whatsapp-button {
    right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
    padding: 0.65rem;
  }

  .floating-whatsapp-label {
    display: none;
  }
}
