/* ==========================================================================
   SVR WOOD CONCEPT — Unified Global UI & Component System (OWD Masif Studio)
   Provides consistent studio styling across ALL pages:
   Login, Register, Account, Cart, Checkout, Order Tracking, Blog, PDP, PLP
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. UNIFIED FORM CONTROLS & INPUTS
   -------------------------------------------------------------------------- */
.panello-input-group,
.form-group {
  margin-bottom: 18px;
  position: relative;
  text-align: left;
}

.panello-input-group label,
.form-label,
label.panello-label {
  display: block;
  font-family: var(--font-family-stack, 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  font-size: 13px;
  font-weight: 600;
  color: #1c1917;
  margin-bottom: 7px;
  letter-spacing: -0.01em;
  text-align: left;
}

.panello-input-control,
.form-input,
.tracking-input {
  width: 100%;
  height: 46px;
  padding: 10px 14px;
  border: 1px solid #c4c4c6;
  border-radius: 6px;
  font-size: 14px;
  color: #1c1917;
  background: #ffffff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
  outline: none;
  box-sizing: border-box;
  font-family: var(--font-family-stack, 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  text-align: left;
}

textarea.panello-input-control,
textarea.form-input {
  height: auto;
  min-height: 100px;
  resize: vertical;
  line-height: 1.5;
}

.panello-input-control:focus,
.form-input:focus,
.tracking-input:focus {
  border-color: #821a07 !important;
  box-shadow: 0 0 0 3px rgba(130, 26, 7, 0.1) !important;
  outline: none !important;
}

.panello-input-control::placeholder,
.form-input::placeholder,
.tracking-input::placeholder {
  color: #a89e97;
  font-weight: 400;
}

/* --------------------------------------------------------------------------
   2. UNIFIED BUTTON SYSTEM (OWD #000000 -> #68023c / #821a07)
   -------------------------------------------------------------------------- */
.btn-panello-submit,
.btn-track-submit,
.place-order-btn,
button.btn-panello-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #000000;
  color: #ffffff !important;
  font-family: var(--font-family-stack, 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #000000;
  border-radius: 6px;
  cursor: pointer;
  letter-spacing: 0.01em;
  transition: background-color 0.16s ease, border-color 0.16s ease, transform 0.16s ease;
  box-shadow: none;
  padding: 0 28px;
  height: 48px;
  text-decoration: none !important;
  box-sizing: border-box;
}

.btn-panello-submit:hover,
.btn-track-submit:hover,
.place-order-btn:hover {
  background: #68023c;
  border-color: #68023c;
  color: #ffffff !important;
}

.btn-panello-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #faf8f5;
  color: #1c1917 !important;
  font-family: var(--font-family-stack, 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  font-size: 13.5px;
  font-weight: 600;
  border: 1px solid #e5ddd5;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.16s ease;
  padding: 0 22px;
  height: 46px;
  text-decoration: none !important;
}

.btn-panello-secondary:hover {
  background: #f2ede8;
  border-color: #1c1917;
  color: #1c1917 !important;
}

/* --------------------------------------------------------------------------
   3. RESPONSIVE FORM GRID
   -------------------------------------------------------------------------- */
.panello-form-grid,
.form-row.panello-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (max-width: 768px) {
  .panello-form-grid,
  .form-row.panello-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* --------------------------------------------------------------------------
   4. CHECKBOXES, BANNERS & NOTIFICATIONS
   -------------------------------------------------------------------------- */
.custom-checkbox-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #faf8f5;
  border: 1px solid #e5ddd5;
  border-radius: 6px;
  margin-bottom: 18px;
  cursor: pointer;
  transition: all 0.16s ease;
  user-select: none;
}

.custom-checkbox-wrap:hover {
  border-color: #c4c4c6;
  background: #ffffff;
}

.custom-checkbox-wrap input[type="checkbox"],
.custom-checkbox-wrap input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #821a07;
  cursor: pointer;
  margin: 0;
}

.address-info-banner {
  background: #faf8f5;
  border: 1px solid #e5ddd5;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #1c1917;
  font-size: 13.5px;
  line-height: 1.5;
}

.address-section-title {
  font-family: var(--font-family-stack, 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  font-size: 16px;
  font-weight: 600;
  color: #1c1917;
  margin: 26px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ececed;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Studio Alerts */
.panello-alert {
  padding: 13px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-size: 13.5px;
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 10px;
}

.panello-alert-danger {
  background: #fdf5f3;
  border: 1px solid #edd8d3;
  color: #821a07;
}

.panello-alert-success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
}

/* --------------------------------------------------------------------------
   5. STATUS BADGES & STEPPERS
   -------------------------------------------------------------------------- */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: 50px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.badge-pending    { background: #faf8f5; color: #821a07; border: 1px solid #e5ddd5; }
.badge-preparing  { background: #f6f6f6; color: #1c1917; border: 1px solid #ececed; }
.badge-shipped    { background: #fdf5f3; color: #821a07; border: 1px solid #edd8d3; }
.badge-delivered  { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.badge-cancelled  { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }

/* --------------------------------------------------------------------------
   6. GLOBAL TYPOGRAPHY & FONTAWESOME ICON INTEGRITY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-stack, 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
  color: #1c1917;
}

body, p, span:not(.fa):not(.fas):not(.far):not(.fab):not([class*="fa-"]), a, input, select, textarea, button {
  font-family: var(--font-family-stack, 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif);
}

.fa, .fas, .fa-solid,
i.fa, i.fas, i.fa-solid,
span.fa, span.fas, span.fa-solid,
.fa::before, .fas::before, .fa-solid::before {
  font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", FontAwesome !important;
  font-weight: 900 !important;
  font-style: normal !important;
  display: inline-block;
}

.far, .fa-regular,
i.far, i.fa-regular,
span.far, span.fa-regular,
.far::before, .fa-regular::before {
  font-family: "Font Awesome 5 Free", "Font Awesome 6 Free", FontAwesome !important;
  font-weight: 400 !important;
  font-style: normal !important;
  display: inline-block;
}

.fab, .fa-brands,
i.fab, i.fa-brands,
span.fab, span.fa-brands,
.fab::before, .fa-brands::before {
  font-family: "Font Awesome 5 Brands", "Font Awesome 6 Brands", FontAwesome !important;
  font-weight: 400 !important;
  font-style: normal !important;
  display: inline-block;
}
