/* Interactive Quick View Modal & Inquiry Drawer */
.modal-overlay,
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 17, 16, 0.85);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active,
.drawer-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--bg-sand);
  max-width: 900px;
  width: 92%;
  max-height: 90vh;
  overflow-y: auto;
  border: 1px solid var(--gold-brass);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  position: relative;
  padding: 2.5rem;
}

.modal-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  color: var(--gold-brass-dark);
  transform: rotate(90deg);
}

.modal-product-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

@media (max-width: 768px) {
  .modal-product-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.modal-img-frame {
  background: #181715;
  border: 1px solid var(--gold-border);
}

.modal-img-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.85rem;
}

.spec-table tr {
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
}

.spec-table th {
  text-align: left;
  padding: 0.6rem 0;
  color: var(--text-muted);
  font-weight: 500;
  width: 35%;
}

.spec-table td {
  padding: 0.6rem 0;
  color: var(--text-main);
  font-weight: 600;
}

.perfect-for-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.5rem;
}

.tag-pill {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 0.3rem 0.8rem;
  color: var(--gold-brass-dark);
  font-weight: 600;
}

/* Inquiry Drawer */
.drawer-content {
  position: fixed;
  top: 0;
  right: -550px;
  width: 100%;
  max-width: 520px;
  height: 100%;
  background: #141312;
  color: var(--text-light);
  border-left: 1px solid var(--gold-brass);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.7);
  z-index: 1001;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 3rem 2.5rem;
  overflow-y: auto;
}

.drawer-content.active {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  padding-bottom: 1rem;
}

.form-group {
  margin-bottom: 1.4rem;
}

.form-label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-brass);
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(197, 160, 89, 0.3);
  padding: 0.85rem 1rem;
  color: var(--text-light);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold-brass);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 15px var(--gold-brass-glow);
}

.form-select option {
  background: #1A1918;
  color: #FFFFFF;
}

