/* =========================================================
   MITAL JEWELLER — 03. BUTTONS & CONTROLS
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.95rem 2rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, transform 0.25s ease;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--maroon);
  color: var(--ivory);
  border-color: var(--maroon);
}
.btn-primary:hover { background: var(--maroon-deep); }

.btn-gold {
  background: var(--gold);
  /* background-color: #3A0508; */
  border-radius: 15px;
  color: var(--ivory);
  /* border-color: #3A0508; */
}
.btn-gold:hover { background: var(--maroon-deep); }

.btn-outline {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(251, 248, 242, 0.55);
  border-radius: 15px;
}
.btn-outline:hover {
  background: rgba(251, 248, 242, 0.12);
  border-color: var(--ivory);
}

.btn-outline-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-outline-dark:hover {
  border-color: var(--maroon);
  color: var(--maroon);
}

.btn-block { width: 100%; justify-content: center; }

.btn-icon-only {
  padding: 0.7rem;
  border-radius: 50%;
}

/* Header CTA cluster */
.phone-cta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: var(--fs-small);
  font-weight: 600;
}
.phone-cta .icon-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-gold);
  flex-shrink: 0;
}

.whatsapp-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  font-size: var(--fs-small);
  font-weight: 700;
}
.whatsapp-cta:hover { background: #1eb956; }

/* Category filter chips */
.chip {
  padding: 0.55rem 1.3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink-soft);
  background: transparent;
  transition: all 0.25s ease;
}
.chip:hover { border-color: var(--gold); color: var(--gold-deep); }
.chip.is-active {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--ivory);
}

/* Hamburger */
.menu-toggle span { background: var(--ink); }
.menu-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dropdown caret rotation */
.dropdown-trigger span { display: inline-block; transition: transform 0.25s ease; font-size: 0.7em; }
.nav-dropdown:hover .dropdown-trigger span,
.nav-dropdown:focus-within .dropdown-trigger span { transform: rotate(180deg); }

/* Slider controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(251, 248, 242, 0.4);
  background: rgba(36, 25, 15, 0.25);
  color: var(--ivory);
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  z-index: 3;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.slider-arrow:hover { background: rgba(36, 25, 15, 0.5); border-color: var(--gold-light); }
.slider-arrow.prev { left: clamp(1rem, 3vw, 2.5rem); }
.slider-arrow.next { right: clamp(1rem, 3vw, 2.5rem); }

.slider-dots {
  position: absolute;
  bottom: clamp(1.5rem, 4vw, 2.5rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 3;
}
.slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1px solid var(--ivory);
  background: transparent;
  padding: 0;
}
.slider-dots button.is-active { background: var(--gold-light); border-color: var(--gold-light); }

/* Floating action buttons */
.fab {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(36, 25, 15, 0.28);
  transition: transform 0.25s ease;
}
.fab:hover { transform: scale(1.08); }
.fab-call { background: var(--maroon); color: var(--ivory); }
.fab-whatsapp { background: #25D366; color: #fff; }

/* ---------- Form controls ---------- */
.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.3rem;
}

.field label {
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--ivory);
  color: var(--ink);
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(183, 138, 46, 0.15);
}

.field textarea { resize: vertical; min-height: 130px; }

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; }
  .btn { padding: 0.85rem 1.6rem; font-size: 0.76rem; }

  /* Responsive slider controls */
  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .slider-arrow.prev { left: 0.8rem; }
  .slider-arrow.next { right: 0.8rem; }

  .slider-dots {
    bottom: 1rem;
    gap: 0.4rem;
  }

  .slider-dots button {
    width: 7px;
    height: 7px;
  }
}
