/* Fix footer - fixed to bottom of window */
footer.hextra-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
}

/* Remove min-height that forces full viewport */
article[class*="min-h-[calc(100vh"] {
  min-height: auto !important;
}

/* Add bottom padding so content isn't hidden behind fixed footer */
body {
  padding-bottom: 60px;
}

/* Make navbar taller for larger logo */
.hextra-nav-container nav {
  height: auto !important;
  min-height: 120px;
  padding: 1rem 1.5rem;
}

/* Logo and title side by side, with title/tagline stacked */
nav > a:first-of-type {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
}

/* Logo sizing */
nav > a:first-of-type img {
  width: 100px !important;
  height: 100px !important;
  margin-right: 1rem !important;
}

/* Site branding wrapper (title + tagline) */
.site-branding {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Site title */
.site-title {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  line-height: 1.2;
}

/* Site tagline */
.site-tagline {
  font-size: 1rem;
  font-style: italic;
  opacity: 0.7;
  font-weight: normal;
  margin-top: 0.25rem;
}

/* Hide page titles */
article h1:first-of-type,
.page-title,
main > h1:first-child {
  display: none;
}

/* Quote notification toast */
.quote-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 12px 24px;
  background-color: #059669;
  color: white;
  font-weight: 500;
  border-radius: 8px;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.quote-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* Add to Quote button */
.btn-add-quote {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background-color: #059669;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-add-quote:hover {
  background-color: #047857;
}

/* Product options - inline single row */
.product-options-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 1rem 0 1.5rem;
  padding: 1rem;
  background-color: #f9fafb;
  border-radius: 8px;
}

.product-options-inline .base-price {
  font-weight: 600;
  font-size: 1.1rem;
  color: #059669;
}

.product-options-inline select {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.95rem;
  background: white;
}

.product-options-inline .btn-add-quote {
  padding: 8px 16px;
  font-size: 0.95rem;
}

/* Product options - stacked */
.product-options {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background-color: #f9fafb;
  border-radius: 8px;
}

.product-options .option-group {
  margin-bottom: 1rem;
}

.product-options label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.product-options select {
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 1rem;
  min-width: 180px;
}

/* Quote items list on order page */
.quote-items {
  margin: 1.5rem 0;
}

.quote-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: #f9fafb;
  border-radius: 6px;
  margin-bottom: 8px;
}

.quote-item-info {
  flex: 1;
}

.quote-item-name {
  font-weight: 500;
}

.quote-item-options {
  font-size: 0.875rem;
  color: #6b7280;
}

.quote-item-remove {
  padding: 4px 12px;
  background: #fee2e2;
  color: #dc2626;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.875rem;
}

.quote-item-remove:hover {
  background: #fecaca;
}

.quote-item-qty {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.875rem;
}

.quote-item-qty input {
  padding: 4px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
}

/* Quantity input in product options */
.product-options-inline input[type="number"] {
  padding: 8px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  font-size: 0.95rem;
}

.quote-empty {
  padding: 2rem;
  text-align: center;
  color: #6b7280;
  background: #f9fafb;
  border-radius: 8px;
}

/* Quote form */
.quote-form {
  max-width: 500px;
  margin-top: 2rem;
}

.quote-form .form-group {
  margin-bottom: 1.25rem;
}

.quote-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
}

.quote-form input:focus,
.quote-form textarea:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.quote-form textarea {
  min-height: 100px;
  resize: vertical;
}

.quote-form .btn-submit {
  padding: 12px 24px;
  background-color: #059669;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}

.quote-form .btn-submit:hover {
  background-color: #047857;
}

.quote-form .btn-submit:disabled {
  background-color: #9ca3af;
  cursor: not-allowed;
}

/* Bespoke form */
.bespoke-form {
  margin: 1rem 0 2rem;
}

.bespoke-form textarea {
  width: 100%;
  max-width: 700px;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  min-height: 200px;
  margin-bottom: 1rem;
}

.bespoke-form textarea:focus {
  outline: none;
  border-color: #059669;
  box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

/* Process grid for How It Works */
.process-grid p {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}
