:root {
  --bg: #0b0b10;
  --card: #111219;
  --text: #e8ebf0;
  --muted: #aeb4c0;
  --accent: #ffd24d;
  --accent-2: #00e1ff;
  --brand-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.45;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.wrap.hero-copy {
}
/* Top hero */
.hero {
  position: relative;
  min-height: 240px;
  background: #111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/top.jpg") center/cover no-repeat;
  filter: contrast(1.05) brightness(0.9) saturate(1.2);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.8));
}

.nav {
  position: relative;
  z-index: 2;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 150px;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.45));
}

.nav nav {
  display: flex;
  align-items: center;
}

.nav a {
  color: var(--text);
  opacity: 0.92;
  margin-left: 18px;
  font-weight: 600;
}

.nav a.btn {
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.nav a.cta {
  background: var(--accent);
  color: #121212;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 12px 0 28px;
}

.hero h1 {
  margin: 8px 0 6px;
  font-size: 34px;
  letter-spacing: 0.4px;
}

.hero p {
  margin: 0;
  color: var(--muted);
}

.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  font-size: 13px;
  color: #d9dfea;
}

/* Sections */
.section {
  padding: 28px 0;
}

.section h2 {
  font-size: 22px;
  margin: 0 0 14px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 900px) {
  .cards {
    grid-template-columns: 1fr;
  }

  .nav a {
    margin-left: 10px;
  }

  .nav .hide-sm {
    display: none;
  }

  .brand img {
    width: 120px;
  }
}

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--brand-shadow);
}

.card p {
  color: var(--muted);
  margin: 6px 0 0;
}

.btn {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #1a1b24;
  color: #eaf2ff;
  font-weight: 700;
}

.btn.primary {
  background: var(--accent);
  color: #121212;
  border-color: transparent;
}

.btn.ghost {
  background: transparent;
}

.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.brand-block {
  margin-top: 8px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #12131a, #0f1016);
  box-shadow: var(--brand-shadow);
}

.brand-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.brand-h h3 {
  margin: 0;
}

.brand-h small {
  color: var(--muted);
}

.brand-body {
  display: none;
  margin-top: 12px;
}

.brand-body tr:nth-child(even) {
  background: #182b4ad6;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
}

thead th {
  background: #1a1c27;
  color: #cfd6e6;
  padding: 10px;
  font-weight: 700;
  text-align: left;
}

tbody td {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 10px;
}

.pill {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 12px;
}

.qtybox {
  display: inline-flex;
  align-items: center;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.qtybox button {
  all: unset;
  cursor: pointer;
  padding: 6px 10px;
  background: #222435;
}

.qtybox input {
  width: 44px;
  text-align: center;
  background: #151724;
  border: none;
  color: #fff;
  padding: 6px 0;
  font-weight: 700;
}

.amount {
  font-weight: 800;
}

.sticky-cart {
  position: sticky;
  bottom: 0;
  background: rgba(10, 10, 14, 0.9);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  z-index: 5;
}

.sticky-cart .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.muted {
  color: var(--muted);
}

.locator .city {
  background: #141623;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 10px;
}

.locator .city h4 {
  margin: 0;
  padding: 12px 14px;
  cursor: pointer;
}

.locator .list {
  display: none;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  padding: 10px 14px;
}

.studio {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 0.8fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.studio:last-child {
  border-bottom: none;
}

.studio .actions a {
  margin-right: 8px;
}

footer {
  padding: 40px 0;
  color: #9aa3b7;
  text-align: center;
  background: #0c0d13;
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Modal styles */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  animation: fadeIn 0.2s ease;
}

.modal-overlay.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-content {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  width: 90%;
  max-width: 420px;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-header h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.modal-close {
  all: unset;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  color: var(--muted);
  transition: color 0.2s;
  padding: 4px 8px;
}

.modal-close:hover {
  color: var(--text);
}

.modal-body {
  padding: 24px;
}

/* PIN input styles */
.pin-inputs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 20px 0;
}

.pin-box {
  width: 60px;
  height: 70px;
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  background: #1a1c27;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: var(--text);
  transition: all 0.2s;
  letter-spacing: 2px;
}

.pin-box:focus {
  outline: none;
  border-color: var(--accent);
  background: #1f2130;
  box-shadow: 0 0 0 3px rgba(255, 210, 77, 0.15);
}

.pin-box.filled {
  border-color: var(--accent-2);
  background: #1f2130;
}

.pin-box.error {
  border-color: #ff4444;
  animation: shake 0.3s;
}

@keyframes shake {
  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-8px);
  }

  75% {
    transform: translateX(8px);
  }
}

.pin-error {
  color: #ff6b6b;
  font-size: 14px;
  text-align: center;
  margin-top: 12px;
  padding: 8px;
  background: rgba(255, 68, 68, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(255, 68, 68, 0.2);
}

/* User dropdown menu */
.user-menu {
  position: relative;
  display: none;
  margin-left: 18px;
}

.user-menu.active {
  display: block;
}

.user-menu-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s;
}

.user-menu-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
}

.user-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #121212;
  font-size: 12px;
}

.dropdown-arrow {
  font-size: 12px;
  transition: transform 0.2s;
}

.user-menu.open .dropdown-arrow {
  transform: rotate(180deg);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.2s;
  z-index: 10000;
}

.user-menu.open .user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.user-dropdown a,
.user-dropdown button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  color: var(--text);
  text-decoration: none;
  transition: background 0.2s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
}

.user-dropdown a:hover,
.user-dropdown button:hover {
  background: rgba(255, 255, 255, 0.06);
}

.user-dropdown a:first-child {
  border-radius: 12px 12px 0 0;
}

.user-dropdown button:last-child {
  border-radius: 0 0 12px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #ff6b6b;
}

.dropdown-icon {
  font-size: 16px;
}

/* Responsive */
@media (max-width: 500px) {
  .pin-box {
    width: 50px;
    height: 60px;
    font-size: 24px;
  }

  .pin-inputs {
    gap: 8px;
  }

  .modal-content {
    margin: 20px;
  }

  .user-menu-toggle span:not(.user-icon):not(.dropdown-arrow) {
    display: none;
  }
  .td-attributes {
    display: none;
  }
  .brand-body td {
    font-size: 13px;
  }
  .variant-mb,
  .brand-mb {
    color: var(--accent);
    font-size: 13px;
  }
  .brand-block {
    padding: 0;
    padding-top: 6px;
  }
  tbody td {
    padding: 3px !important;
  }
  .qtybox input {
    width: 35px;
    font-size: 13px;
  }
  .qtybox button {
    padding: 5px 7px;
  }
  .brand-h h3,
  .brand-h small {
    padding: 0 14px;
  }
  .amount {
    text-align: right;
    padding-right: 5px;
  }
  .td-attributes {
    display: none;
  }
  .brand-mb,
  .variant-mb {
    display: block !important;
  }
  .menu-btn {
    font-size: 24px;
    padding: 15px;
    cursor: pointer;
    background: #111;
    color: #fff;
  }

  /* Drawer (Right side) */
  .drawer {
    position: fixed;
    top: 0;
    right: -250px;
    /* hidden on right */
    width: 250px;
    height: 100%;
    background: #fff;
    color: #fff;
    padding-top: 60px;
    transition: right 0.3s ease;
    z-index: 1001;
  }

  .drawer a {
    color: #000;
    display: block;
    padding: 13px;
    border-bottom: 1px dotted gray;
  }

  .drawer.open {
    right: 0;
    /* slide in */
  }

  /* Overlay */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1000;
  }
  #menuToggle{
    display: block !important;
  }

  .overlay.show {
    display: block;
  }
}
.brand-mb,
.variant-mb {
  display: none;
}
/* Installers table styles */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.installers-container {
  margin-top: 16px;
}

.installer-brand-block {
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #12131a, #0f1016);
  box-shadow: var(--brand-shadow);
  overflow: hidden;
}

.installer-brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: background 0.2s;
}

.installer-brand-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.installer-brand-header h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
}

.installer-count {
  background: rgba(255, 210, 77, 0.15);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.installer-brand-body {
  display: none;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.installer-brand-body.active {
  display: block;
}

.installer-table {
  width: 100%;
  border-collapse: collapse;
}

.installer-table thead {
  background: #1a1c27;
}

.installer-table thead th {
  padding: 12px 16px;
  text-align: left;
  color: #cfd6e6;
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.installer-table tbody tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.2s;
}

.installer-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.03);
}

.installer-table tbody td {
  padding: 14px 16px;
  color: var(--text);
}

.installer-image {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.installer-image-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.installer-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.installer-actions .btn {
  padding: 8px 12px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-whatsapp {
  background: #25d366;
  color: white;
  border-color: #25d366;
}

.btn-whatsapp:hover {
  background: #20bd5a;
}

.btn-call {
  background: #2196f3;
  color: white;
  border-color: #2196f3;
}

.btn-call:hover {
  background: #1976d2;
}

.btn-map {
  background: #4285f4;
  color: white;
  border-color: #4285f4;
}

.btn-map:hover {
  background: #3367d6;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
}

.contact-info small {
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px) {
  .installer-table {
    font-size: 13px;
  }

  .installer-table thead th,
  .installer-table tbody td {
    padding: 10px 12px;
  }

  .installer-actions {
    flex-direction: column;
  }

  .installer-actions .btn {
    width: 100%;
  }
}
#menuToggle{
  display: none;
}
