.smartvend-page {
  --vend-navy: #111827;
  --vend-blue: #2563eb;
  --vend-orange: #f97316;
  --vend-yellow: #facc15;
  --vend-ink: #182133;
  --vend-muted: #607089;
  --vend-line: #e5eaf2;
  --vend-soft: #fff7ed;
  color: var(--vend-ink);
  background: #fff;
}
.smartvend-page * {
  box-sizing: border-box;
}
.smartvend-page a,
.smartvend-page button {
  transition: all .22s ease;
}
.smartvend-hero {
  padding: 72px 0 46px;
  background:
    radial-gradient(circle at 86% 8%, rgba(250, 204, 21, .38), transparent 24%),
    radial-gradient(circle at 8% 18%, rgba(37, 99, 235, .18), transparent 26%),
    linear-gradient(135deg, #0f172a 0%, #172033 46%, #f97316 160%);
  color: #fff;
  overflow: hidden;
}
.smartvend-hero-grid,
.smart-panel-grid,
.brochure-grid,
.enquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, .98fr);
  gap: 42px;
  align-items: center;
}
.category-ribbon,
.trust-strip,
.mini-tags,
.smartvend-actions,
.variant-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.category-ribbon span {
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  font-size: 13px;
}
.smartvend-copy h1 {
  margin: 20px 0 18px;
  color: #fff;
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: 0;
}
.smartvend-copy p {
  max-width: 760px;
  color: rgba(255,255,255,.86);
  font-size: 18px;
  line-height: 1.72;
}
.smartvend-copy .hero-note {
  color: #fde68a;
}
.smartvend-actions {
  margin-top: 28px;
}
.smartvend-actions a,
.smart-btn,
.variant-actions button,
.variant-actions a,
.category-enquiry,
.table-cta,
.smart-form button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--vend-line);
  border-radius: 10px;
  padding: 11px 18px;
  background: #fff;
  color: var(--vend-ink);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}
.smartvend-actions a.primary,
.smart-btn.primary,
.smart-form button {
  border-color: var(--vend-orange);
  background: linear-gradient(135deg, var(--vend-orange), #fb923c);
  color: #fff;
  box-shadow: 0 14px 30px rgba(249, 115, 22, .28);
}
.smartvend-actions a.whatsapp,
.smart-btn.whatsapp {
  border-color: #16a34a;
  background: #16a34a;
  color: #fff;
}
.trust-strip {
  margin-top: 26px;
}
.trust-strip span {
  padding: 8px 11px;
  border-radius: 8px;
  background: rgba(255,255,255,.11);
  color: #fff;
  font-size: 13px;
}
.hero-machine {
  position: relative;
}
.hero-machine img,
.variant-card img,
.brochure-cover img {
  width: 100%;
  display: block;
  object-fit: cover;
}
.hero-machine img {
  aspect-ratio: 1 / .82;
  border: 10px solid rgba(255,255,255,.16);
  border-radius: 24px;
  box-shadow: 0 34px 80px rgba(0,0,0,.35);
}
.smartvend-section {
  padding: 78px 0;
}
.smartvend-section:nth-of-type(odd) {
  background: #f8fafc;
}
.section-head {
  margin-bottom: 30px;
}
.section-head.split {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
}
.section-head.center {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head span,
.smart-panel-grid > div > span,
.brochure-grid > div > span,
.enquiry-grid > div > span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--vend-orange);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
}
.section-head h2,
.smart-panel-grid h2,
.brochure-grid h2,
.enquiry-grid h2 {
  margin: 0;
  color: var(--vend-navy);
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
}
.section-head p,
.smart-panel-grid p,
.brochure-grid p,
.enquiry-grid p {
  margin: 12px 0 0;
  color: var(--vend-muted);
  line-height: 1.72;
}
.category-grid,
.variant-grid,
.location-grid,
.product-tabs,
.dashboard-cards {
  display: grid;
  gap: 18px;
}
.category-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.variant-grid,
.location-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.product-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.category-card,
.variant-card,
.location-grid article,
.product-tabs article,
.dashboard-cards article,
.faq-list details,
.brochure-cover,
.smart-form {
  border: 1px solid var(--vend-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .07);
}
.category-card,
.location-grid article,
.product-tabs article {
  padding: 22px;
}
.category-image,
.product-type-image {
  width: 100%;
  display: block;
  border-radius: 14px;
  object-fit: cover;
  background: #f8fafc;
}
.category-image {
  aspect-ratio: 16 / 10;
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06);
}
.product-type-image {
  aspect-ratio: 16 / 10;
  margin-bottom: 16px;
}
.category-icon,
.location-grid i,
.product-tabs i {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff7ed, #dbeafe);
  color: var(--vend-orange);
  font-size: 22px;
}
.category-card h3,
.variant-card h3,
.location-grid h3,
.product-tabs h3 {
  margin: 18px 0 10px;
  color: var(--vend-navy);
  font-size: 20px;
  line-height: 1.25;
}
.category-card p,
.variant-card p,
.location-grid p {
  color: var(--vend-muted);
  line-height: 1.62;
}
.mini-tags span,
.product-tabs span,
.variant-badge,
.pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 9px;
  background: #eef2ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
}
.category-card ul,
.brochure-grid ul {
  margin: 16px 0;
  padding: 0;
  list-style: none;
}
.category-card li,
.brochure-grid li {
  position: relative;
  margin: 9px 0;
  padding-left: 22px;
  color: var(--vend-muted);
}
.category-card li:before,
.brochure-grid li:before {
  position: absolute;
  left: 0;
  color: var(--vend-orange);
  content: "✓";
  font-weight: 900;
}
.product-list {
  background: linear-gradient(180deg, #fff, #fff7ed);
}
.product-tabs article div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.variant-card {
  position: relative;
  overflow: hidden;
}
.variant-card img {
  aspect-ratio: 1.45 / 1;
}
.variant-card > :not(img) {
  margin-left: 22px;
  margin-right: 22px;
}
.variant-card h3 {
  margin-top: 14px;
}
.variant-card dl {
  display: grid;
  grid-template-columns: 95px 1fr;
  gap: 8px 12px;
  margin: 18px 22px;
  color: var(--vend-muted);
}
.variant-card dt {
  color: var(--vend-ink);
  font-weight: 900;
}
.variant-actions {
  margin: 18px 22px 22px;
}
.variant-actions button {
  border-color: var(--vend-blue);
  color: var(--vend-blue);
}
.category-card:hover,
.variant-card:hover,
.location-grid article:hover,
.product-tabs article:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(15, 23, 42, .12);
}
.compare-scroll {
  overflow-x: auto;
  border: 1px solid var(--vend-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}
.compare table {
  min-width: 1180px;
  width: 100%;
  border-collapse: collapse;
}
.compare th,
.compare td {
  border-bottom: 1px solid var(--vend-line);
  padding: 16px;
  vertical-align: top;
  color: var(--vend-muted);
  font-size: 14px;
}
.compare thead th {
  background: var(--vend-navy);
  color: #fff;
}
.compare th:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  width: 190px;
  background: #fff7ed;
  color: var(--vend-navy);
}
.compare thead th:first-child {
  background: #0b1220;
  color: #fff;
}
.compare thead span {
  display: block;
  margin-top: 6px;
  color: #fde68a;
  font-size: 12px;
}
.table-img {
  width: 120px;
  height: 78px;
  border-radius: 10px;
  object-fit: cover;
}
.yes {
  color: #16a34a;
}
.process {
  background: linear-gradient(135deg, var(--vend-navy), #1e293b);
}
.section-head.inverse h2 {
  color: #fff;
}
.flow {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}
.flow article {
  min-height: 132px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 16px;
  padding: 16px;
  background: rgba(255,255,255,.08);
  color: #fff;
}
.flow b {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--vend-yellow);
  color: var(--vend-navy);
}
.flow span {
  display: block;
  margin-top: 16px;
  font-weight: 800;
}
.smart-panel {
  background: #eef6ff;
}
.dashboard-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.dashboard-cards article {
  padding: 18px;
}
.dashboard-cards strong {
  display: block;
  color: var(--vend-navy);
}
.dashboard-cards span {
  display: inline-block;
  margin-top: 12px;
  color: var(--vend-blue);
  font-weight: 900;
}
.brochure {
  background: #fff7ed;
}
.brochure-cover {
  position: relative;
  overflow: hidden;
}
.brochure-cover img {
  aspect-ratio: .78 / 1;
}
.brochure-cover span {
  position: absolute;
  top: 18px;
  right: 18px;
  border-radius: 8px;
  padding: 8px 12px;
  background: var(--vend-orange);
  color: #fff;
  font-weight: 900;
}
.smart-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 22px;
}
.smart-form.mini {
  margin-top: 20px;
}
.smart-form input,
.smart-form select,
.smart-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--vend-line);
  border-radius: 10px;
  padding: 11px 13px;
  background: #fff;
  color: var(--vend-ink);
}
.smart-form textarea,
.smart-form p,
.smart-form-message {
  grid-column: 1 / -1;
}
.smart-form textarea {
  min-height: 118px;
  resize: vertical;
}
.smart-form-message {
  min-height: 20px;
  font-weight: 800;
}
.smart-form-message.is-success {
  color: #15803d;
}
.smart-form-message.is-error {
  color: #dc2626;
}
.smart-btn.locked {
  opacity: .55;
  cursor: not-allowed;
}
.faq-list {
  display: grid;
  gap: 12px;
  max-width: 960px;
  margin: 0 auto;
}
.faq-list details {
  padding: 18px 20px;
}
.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--vend-navy);
  font-weight: 900;
  cursor: pointer;
}
.faq-list p {
  margin: 14px 0 0;
  color: var(--vend-muted);
  line-height: 1.68;
}
.vend-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.vend-modal[aria-hidden="false"] {
  display: flex;
}
.vend-modal-bg {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .72);
}
.vend-modal article {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
  max-height: 88vh;
  overflow: auto;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 90px rgba(0,0,0,.32);
}
.vend-modal article > button {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: var(--vend-navy);
  color: #fff;
  font-size: 24px;
}
.modal-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 26px;
  padding: 28px;
}
.modal-grid img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 16px;
}
.vend-modal table {
  width: calc(100% - 56px);
  margin: 0 28px 28px;
  border-collapse: collapse;
}
.vend-modal th,
.vend-modal td {
  border: 1px solid var(--vend-line);
  padding: 12px;
  text-align: left;
}
.vend-modal th {
  width: 240px;
  background: #f8fafc;
  color: var(--vend-navy);
}
.smart-sticky {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 1000;
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--vend-line);
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 18px 48px rgba(15,23,42,.18);
}
.smart-sticky a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: var(--vend-navy);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
}
@media (max-width: 1199px) {
  .category-grid,
  .product-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .flow {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 991px) {
  .smartvend-hero-grid,
  .smart-panel-grid,
  .brochure-grid,
  .enquiry-grid,
  .modal-grid {
    grid-template-columns: 1fr;
  }
  .variant-grid,
  .location-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section-head.split {
    display: block;
  }
}
@media (max-width: 767px) {
  .smartvend-hero {
    padding: 48px 0 32px;
  }
  .smartvend-section {
    padding: 54px 0;
  }
  .category-grid,
  .variant-grid,
  .location-grid,
  .product-tabs,
  .dashboard-cards,
  .flow,
  .smart-form {
    grid-template-columns: 1fr;
  }
  .smartvend-actions a,
  .smart-btn,
  .category-enquiry,
  .variant-actions button,
  .variant-actions a {
    width: 100%;
  }
  .vend-modal {
    padding: 0;
    align-items: end;
  }
  .vend-modal article {
    max-height: 94vh;
    border-radius: 20px 20px 0 0;
  }
  .vend-modal table {
    width: calc(100% - 32px);
    margin: 0 16px 20px;
  }
  .vend-modal th,
  .vend-modal td {
    display: block;
    width: 100%;
  }
  .modal-grid {
    padding: 18px;
  }
  .smart-sticky {
    display: grid;
  }
  .smartvend-page {
    padding-bottom: 74px;
  }
}
