/* ==========================================================================
   SINDU ENTERPRISES — INNER PAGES DESIGN SYSTEM (pages.css)
   Shared across:
   - 9 Dedicated Equipment Rental Pages (3D Studio Hero + Size/Rate Matrix + FAQ)
   - Interactive Digital Rate Card & Cost Estimator (/rate-card/)
   - About Us (/about/), Interactive Gallery + Lightbox (/gallery/)
   - Contact & Branch Map Switcher (/contact/)
   - Privacy Policy & Rental Terms (/privacy-policy/, /terms-and-conditions/)
   ========================================================================== */

/* Header Equipment Dropdown on Desktop */
.nav-dd {
  position: relative;
}
.nav-dd-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  font-weight: 600;
  color: #3A3F4B;
  padding: 8px 13px;
  border-radius: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: color 0.18s ease, background-color 0.18s ease;
}
.nav-dd-btn svg.i {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}
.nav-dd:hover .nav-dd-btn,
.nav-dd.open .nav-dd-btn,
.nav-dd-btn.active {
  color: var(--crimson);
  background: var(--crimson-soft);
}
.nav-dd:hover .nav-dd-btn svg.i,
.nav-dd.open .nav-dd-btn svg.i {
  transform: rotate(180deg);
}

.nav-dd-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: -16px;
  width: 560px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 16px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s var(--ease-out);
  z-index: 90;
}
.nav-dd::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
}
@media (hover: hover) and (pointer: fine) {
  .nav-dd:hover .nav-dd-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}
.nav-dd.open .nav-dd-menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  transition: background-color 0.15s ease;
}
.dd-item:hover,
.dd-item.current {
  background: var(--alabaster);
}
.dd-thumb {
  width: 44px;
  height: 34px;
  border-radius: 7px;
  background: #F2EFE9;
  border: 1px solid var(--line);
  overflow: hidden;
  flex-shrink: 0;
}
.dd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.dd-meta strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13.5px;
  color: var(--ink);
  line-height: 1.2;
}
.dd-meta small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
}
.dd-foot {
  grid-column: 1 / -1;
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
}
.dd-foot a {
  font-weight: 700;
  color: var(--crimson);
}

/* ================= BREADCRUMB & PAGE HEROES ================= */
.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
  margin-bottom: 18px;
}
.crumbs a:hover {
  color: var(--crimson);
  text-decoration: underline;
}
.crumbs .sep {
  opacity: 0.45;
}
.crumbs .cur {
  color: var(--ink);
  font-weight: 600;
}
.page-hero-dark .crumbs {
  color: var(--muted-light);
}
.page-hero-dark .crumbs .cur {
  color: #fff;
}
.page-hero-dark .crumbs a:hover {
  color: var(--brass-light);
}

.page-hero-dark {
  position: relative;
  background: var(--obsidian);
  color: #fff;
  padding-block: clamp(44px, 6vw, 78px);
  overflow: hidden;
  border-bottom: 1px solid var(--line-dark);
}
.page-hero-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 25% 40%, black 25%, transparent 75%);
  pointer-events: none;
}
.page-hero-dark .container {
  position: relative;
  z-index: 1;
}
.page-hero-dark h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin: 14px 0 16px;
  max-width: 820px;
}
.page-hero-dark p.lead {
  font-size: clamp(15.5px, 1.3vw, 18px);
  color: #D5D9E2;
  max-width: 660px;
}

/* ================= EQUIPMENT PRODUCT DETAIL HERO (3D STUDIO PEDESTAL) ================= */
.pdp-hero {
  background: var(--alabaster);
  padding-block: clamp(32px, 4.5vw, 60px) clamp(52px, 6vw, 84px);
  border-bottom: 1px solid var(--line);
}

.pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(28px, 4.5vw, 60px);
  align-items: start;
}

.pdp-stage-wrap {
  position: sticky;
  top: 96px;
}

.pdp-stage {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #F2EFE9;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
}
.pdp-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.55s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .pdp-stage:hover img {
    transform: scale(1.04);
  }
}

.pdp-stage-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(11, 13, 17, 0.82);
  color: #fff;
  backdrop-filter: blur(8px);
}
.pdp-stage-note {
  position: absolute;
  right: 16px;
  bottom: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.82);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.pdp-highlights-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.pdp-hl {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
}
.pdp-hl small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.pdp-hl b {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  color: var(--ink);
  margin-top: 2px;
}

/* PDP Right Info & Instant Order Box */
.pdp-info h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
  margin: 10px 0 14px;
}
.pdp-lead {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
}

.pdp-config-card {
  margin-top: 24px;
  background: #fff;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.pdp-config-hdr {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.pdp-config-hdr b {
  font-family: var(--font-display);
  font-size: 16.5px;
  color: var(--ink);
}
.pdp-rate-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: var(--crimson);
  background: var(--crimson-soft);
  padding: 4px 10px;
  border-radius: 999px;
}

.size-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 16px;
}
.size-pill {
  border: 1.5px solid var(--line-strong);
  background: var(--alabaster);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.16s ease;
}
.size-pill.active {
  background: var(--obsidian);
  color: #fff;
  border-color: var(--obsidian);
}

.pdp-qty-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  align-items: stretch;
}
.qty-stepper {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  border: 1.5px solid var(--line-strong);
  border-radius: 11px;
  overflow: hidden;
  background: #fff;
}
.qty-stepper button {
  border: 0;
  background: var(--alabaster);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}
.qty-stepper button:hover {
  background: var(--limestone);
}
.qty-stepper input {
  width: 100%;
  border: 0;
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 15px;
  color: var(--ink);
}
.qty-stepper input:focus {
  outline: none;
}

.pdp-quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.pdp-check-list {
  list-style: none;
  display: grid;
  gap: 9px;
  margin-top: 22px;
}
.pdp-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-body);
}
.pdp-check-list svg.i {
  width: 18px;
  height: 18px;
  color: var(--emerald);
  margin-top: 3px;
}

/* ================= ENGINEERING TABLES (SIZES & OFFICIAL RATE SCHEDULE) ================= */
.table-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.table-card-hdr {
  padding: 20px 26px;
  background: var(--alabaster);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.table-card-hdr h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
}
.table-card-hdr span {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--muted);
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
table.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}
table.spec-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: #FAF9F6;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line-strong);
  white-space: nowrap;
}
table.spec-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-body);
  vertical-align: middle;
}
table.spec-table tr:last-child td {
  border-bottom: 0;
}
@media (hover: hover) and (pointer: fine) {
  table.spec-table tbody tr:hover td {
    background: var(--alabaster);
  }
}
table.spec-table .mono {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink);
}
table.spec-table .rate-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--crimson);
}
.tbl-add-btn {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}
@media (hover: hover) and (pointer: fine) {
  .tbl-add-btn:hover {
    background: var(--crimson);
    color: #fff;
    border-color: var(--crimson);
  }
}

/* Feature Spec Bento & FAQ Accordion */
.spec-bento-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.sb-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
}
.sb-card .num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--crimson);
  letter-spacing: 0.08em;
}
.sb-card h3 {
  font-family: var(--font-display);
  font-size: 18.5px;
  color: var(--ink);
  margin: 8px 0 8px;
}
.sb-card p {
  font-size: 14.5px;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 10px;
  max-width: 880px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  color: var(--crimson);
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after {
  content: "−";
}
.faq-ans {
  padding: 0 22px 18px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.65;
}

/* ================= RATE CARD SEARCH, FILTERS & PRICING NOTES ================= */
.rc-search-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.rc-search-input {
  flex: 1 1 280px;
  min-height: 48px;
  padding: 11px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  background: #fff;
  font-size: 15px;
  color: var(--ink);
}
.rc-search-input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--crimson-glow);
}

.rc-schedules-stack {
  display: grid;
  gap: 26px;
}

.rc-sub-toolbar {
  padding: 12px 26px;
  background: #fff;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.rc-mini-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.rc-mini-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-right: 4px;
}
.rc-mini-pill {
  border: 1px solid var(--line-strong);
  background: var(--alabaster);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.rc-mini-pill:hover {
  border-color: var(--ink);
  background: #fff;
}
.rc-mini-pill.active {
  background: var(--obsidian);
  color: #fff;
  border-color: var(--obsidian);
}
.rc-mini-pill.ht-pill.active {
  background: var(--crimson);
  color: #fff;
  border-color: var(--crimson);
}

table.cb-matrix-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
}
table.cb-matrix-table th.sticky-col,
table.cb-matrix-table td.sticky-col {
  position: sticky;
  left: 0;
  z-index: 2;
  text-align: left;
  background: #fff;
  font-weight: 700;
  color: var(--ink);
  padding: 9px 14px;
  border-right: 1.5px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
table.cb-matrix-table thead th.sticky-col {
  z-index: 3;
  background: #0B0D11;
  color: #fff;
  font-family: var(--font-display);
  font-size: 12.5px;
  border-bottom: 1.5px solid var(--line-strong);
}
table.cb-matrix-table thead tr.ht-row th.ht-grp {
  background: #0B0D11;
  color: #fff;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 6px;
  border-left: 1.5px solid rgba(255, 255, 255, 0.2);
  white-space: nowrap;
}
table.cb-matrix-table thead tr.ht-row th.enq-col {
  background: #0B0D11;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 12px;
  border-left: 1.5px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1.5px solid var(--line-strong);
}
table.cb-matrix-table thead tr.day-row th {
  background: #F3F0EA;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 700;
  padding: 6px 5px;
  min-width: 36px;
  border-bottom: 1.5px solid var(--line-strong);
}
table.cb-matrix-table th.grp-start,
table.cb-matrix-table td.grp-start {
  border-left: 1.5px solid var(--line-strong);
}
table.cb-matrix-table td.c-rate {
  padding: 8px 5px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-body);
  font-weight: 600;
  white-space: nowrap;
}
table.cb-matrix-table td.c-rate.d30 {
  color: var(--crimson);
  font-weight: 700;
  background: rgba(176, 30, 34, 0.04);
}
table.cb-matrix-table td.c-dash {
  padding: 8px 5px;
  border-bottom: 1px solid var(--line);
  color: #C5C1B8;
  font-weight: 400;
}
table.cb-matrix-table td.enq-cell {
  padding: 6px 10px;
  border-left: 1.5px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  background: #fff;
  white-space: nowrap;
}
@media (hover: hover) and (pointer: fine) {
  table.cb-matrix-table tbody tr:hover td {
    background: var(--alabaster);
  }
  table.cb-matrix-table tbody tr:hover td.c-rate.d30 {
    background: rgba(176, 30, 34, 0.09);
  }
}
table.cb-matrix-table[data-ht-view="tall"] [data-ht-half="short"] {
  display: none;
}
table.cb-matrix-table[data-ht-view="short"] [data-ht-half="tall"] {
  display: none;
}

.rc-notes-banner {
  margin-top: 26px;
  padding: 20px 24px;
  border-radius: var(--r-md);
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--crimson);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.rc-notes-banner p {
  font-size: 14px;
  color: var(--muted);
  max-width: 780px;
}
.rc-notes-banner b {
  color: var(--ink);
}

/* ================= MATERIAL VARIANT & DIMENSION SELECTION PANEL ================= */
.v-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 13, 17, 0.58);
  backdrop-filter: blur(5px);
  z-index: 165;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.v-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.v-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -46%) scale(0.97);
  width: min(520px, calc(100vw - 28px));
  max-height: 90vh;
  background: #fff;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  z-index: 170;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.25s var(--ease-out);
  overflow: hidden;
}
.v-modal.open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.vm-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  background: var(--alabaster);
  border-bottom: 1px solid var(--line);
}
.vm-hdr-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.vm-thumb {
  width: 52px;
  height: 40px;
  border-radius: 8px;
  background: #F2EFE9;
  border: 1px solid var(--line);
  overflow: hidden;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.vm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.vm-hdr-left small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--crimson);
}
.vm-hdr-left h3 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink);
  line-height: 1.2;
}

.vm-body {
  padding: 20px 22px;
  overflow-y: auto;
  display: grid;
  gap: 16px;
}

.vm-group {
  display: grid;
  gap: 8px;
}
.vm-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink);
}
.vm-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: -4px;
}

.vm-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.vm-pill {
  border: 1.5px solid var(--line-strong);
  background: var(--alabaster);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.15s ease;
}
@media (hover: hover) and (pointer: fine) {
  .vm-pill:hover {
    border-color: var(--ink);
    background: #fff;
  }
}
.vm-pill.selected {
  background: var(--obsidian);
  color: #fff;
  border-color: var(--obsidian);
}

.vm-input, .vm-select {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  font-size: 15px;
  border: 1.5px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
.vm-input:focus, .vm-select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--crimson-glow);
}

.vm-qty-unit {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
}

.vm-err {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--danger);
  background: #FFF5F5;
  border: 1px solid rgba(179, 38, 30, 0.25);
  padding: 9px 12px;
  border-radius: 9px;
}
.vm-err[hidden] {
  display: none;
}

.vm-foot {
  padding: 14px 22px;
  background: var(--alabaster);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ================= GALLERY GRID & LIGHTBOX ================= */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.gal-item {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
}
.gal-item[hidden] {
  display: none !important;
}
@media (hover: hover) and (pointer: fine) {
  .gal-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
  }
  .gal-item:hover .gal-media img {
    transform: scale(1.04);
  }
}
.gal-media {
  aspect-ratio: 4 / 3;
  background: #F2EFE9;
  overflow: hidden;
  position: relative;
}
.gal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.gal-media.studio img {
  object-fit: contain;
}
.gal-cap {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.gal-cap strong {
  display: block;
  font-family: var(--font-display);
  font-size: 15.5px;
  color: var(--ink);
}
.gal-cap small {
  font-family: var(--font-mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--crimson);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 14, 0.92);
  backdrop-filter: blur(10px);
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}
.lb-box {
  max-width: 920px;
  width: 100%;
  background: #fff;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.lb-img-wrap {
  aspect-ratio: 4 / 3;
  background: #F2EFE9;
  max-height: 70vh;
}
.lb-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lb-bar {
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* ================= CONTACT DIRECTORY & INTERACTIVE MAP ================= */
.contact-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: start;
}
.branch-cards {
  display: grid;
  gap: 14px;
}
.b-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.b-card.active {
  border-color: var(--crimson);
  box-shadow: 0 12px 28px -16px rgba(176, 30, 34, 0.28);
}
.b-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
  margin: 4px 0 6px;
}
.b-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.map-frame-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.map-frame-box iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* ================= ABOUT & LEGAL PROSE ================= */
.about-story-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 44px;
  align-items: center;
}
.legal-prose {
  max-width: 820px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: clamp(24px, 4vw, 48px);
}
.legal-prose h2 {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink);
  margin: 28px 0 10px;
}
.legal-prose h2:first-child {
  margin-top: 0;
}
.legal-prose p, .legal-prose li {
  font-size: 15px;
  color: var(--ink-body);
  margin-bottom: 10px;
}
.legal-prose ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

/* ================= MATERIAL REQUIREMENT ENQUIRY CART (DRAWER) ================= */
.u-quote-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(520px, 100vw);
  background: var(--alabaster);
  z-index: 140;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.32s var(--ease-out);
  box-shadow: var(--shadow-lg);
}
.u-quote-drawer.open {
  transform: translateX(0);
}
.uqd-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 22px 28px;
}

.cart-empty {
  background: #fff;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--r-md);
  padding: 22px 18px;
  text-align: center;
  color: var(--muted);
  font-size: 13.5px;
}

.cart-items-stack {
  display: grid;
  gap: 10px;
  margin-bottom: 10px;
}

.cart-item-card {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 13px;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  box-shadow: 0 2px 8px -4px rgba(11, 13, 17, 0.06);
}

.ci-thumb {
  width: 48px;
  height: 38px;
  border-radius: 8px;
  background: #F2EFE9;
  border: 1px solid var(--line);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.ci-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ci-info strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14.5px;
  color: var(--ink);
  line-height: 1.25;
}
.ci-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-top: 4px;
  font-size: 12px;
}
.ci-dim {
  font-family: var(--font-mono);
  color: var(--muted);
  background: var(--alabaster);
  border: 1px solid var(--line);
  padding: 2px 7px;
  border-radius: 5px;
}
.ci-qty {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--crimson);
  background: var(--crimson-soft);
  padding: 2px 8px;
  border-radius: 5px;
}

.ci-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ci-btn {
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.ci-btn:hover {
  border-color: var(--ink);
  background: var(--alabaster);
}
.ci-btn.rm:hover {
  color: var(--danger);
  border-color: var(--danger);
  background: #FFF5F5;
}

/* ================= INNER PAGE RESPONSIVE ================= */
@media (max-width: 1060px) {
  .pdp-grid,
  .contact-split,
  .about-story-grid {
    grid-template-columns: 1fr;
  }
  .pdp-stage-wrap {
    position: static;
  }
  .spec-bento-3 {
    grid-template-columns: 1fr 1fr;
  }
  .gal-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .pdp-highlights-bar {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .pdp-hl {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
  }
  .pdp-qty-row {
    grid-template-columns: 1fr;
  }
  .qty-stepper {
    height: 48px;
  }
  .pdp-quick-actions {
    grid-template-columns: 1fr;
  }
  .spec-bento-3,
  .gal-grid {
    grid-template-columns: 1fr;
  }
  .u-quote-drawer {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 90vh;
    border-radius: 22px 22px 0 0;
    transform: translateY(100%);
  }
  .u-quote-drawer.open {
    transform: translateY(0);
  }
  .v-modal {
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 90vh;
    border-radius: 22px 22px 0 0;
    transform: translateY(100%);
  }
  .v-modal.open {
    transform: translateY(0);
  }
  .vm-input, .vm-select {
    font-size: 16px;
  }
  .cart-item-card {
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .ci-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    padding-top: 6px;
    border-top: 1px dashed var(--line);
  }
}
