/* Wrapper semua tombol floating */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999;
}

/* Base style semua tombol */
.floating-button {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.28);
    transition: transform .2s ease, box-shadow .2s ease;
}

/* Tombol set warna */
.floating-button.whatsapp {
    background-color: #25D366;
}

.floating-button.phone {
    background-color: #1E90FF;
}

/* Tombol katalog dengan warna lebih soft */
.floating-button.catalog {
    background-color: #F5F6FA;
}

/* Hover effects */
.floating-button:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 15px rgba(0,0,0,0.35);
}

/* Icon sizes */
.whatsapp-icon,
.phone-icon,
.catalog-icon {
    width: 26px;
    height: 26px;
    fill: #fff;
}

.catalog-icon {
    width: 30px;
    height: 30px;
    fill: #fff;
}

/* Mobile adjustment */
@media (max-width: 480px) {
    .floating-button {
        width: 52px;
        height: 52px;
    }

    .whatsapp-icon,
    .phone-icon,
    .catalog-icon {
        width: 22px;
        height: 22px;
    }
}


/* === MODAL OVERLAY === */
.catalog-modal-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.catalog-modal-container {
  background: #fff;
  width: 90%;
  max-width: 420px;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.15);
  position: relative;
}

/* tombol close, label, input, button tetap seperti sebelumnya */
.catalog-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 22px;
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
}
.catalog-modal-close:hover { color: #000; }

.catalog-modal-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 6px;
}
.catalog-modal-desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 18px;
}

.catalog-form-group { margin-bottom: 14px; }

.catalog-label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 4px;
}
.catalog-label .optional {
  font-weight: 400;
  font-size: 12px;
  color: #999;
}

.catalog-input {
  width: 100%;
  border: 1px solid #ddd;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
}
.catalog-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px rgba(59,130,246,0.3);
}

.catalog-submit-btn {
  width: 100%;
  background: #2563eb;
  color: #fff;
  padding: 12px 0;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.25s ease-in-out;
}
.catalog-submit-btn:hover {
  background: #1d4ed8;
}
