@charset "utf-8";
/* CSS Document */

.estimator-area{
    background:#efefef;
    padding:40px 20px;
}


/* FIXED WIDTH CONTENT */

.estimator-container{

    max-width:1000px;
    margin:0 auto;

}


/* TITLE */

.estimator-title{
    text-align:center;
    font-size:28px;
    margin-bottom:35px;
}


/* DOOR GRID */

.door-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}


/* MOBILE */

@media (max-width:900px){

.door-grid{
grid-template-columns:repeat(2,1fr);
}

}

@media (max-width:500px){

.door-grid{
grid-template-columns:1fr;
}

}


.est-page {
  padding: 40px 20px 60px;
}

.est-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.est-header {
  margin-bottom: 28px;
}

.est-header h1 {
  margin: 0 0 8px;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 700;
  color: #0f172a;
}

.est-header p {
  margin: 0;
  font-size: 16px;
  color: #64748b;
}

.est-grid {
  display: grid;
  /*grid-template-columns: minmax(0, 1fr) 320px;*/
  gap: 28px;
  align-items: start;
}

.est-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid #e5e7eb;
}

.est-form-card {
  padding: 32px;
}

.est-summary-card {
  padding: 20px;
  position: sticky;
  top: 24px;
}

.form-section + .form-section {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #e5e7eb;
}

.form-section h2 {
  margin: 0 0 8px;
  font-size: 20px;
  color: #0f172a;
}

.form-note {
  margin: 0 0 18px;
  font-size: 14px;
  color: #6b7280;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #334155;
}

.form-field label span {
  color: #dc2626;
}

.form-field input,
.form-field select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
  font-size: 15px;
  color: #0f172a;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: #0b5cab;
  box-shadow: 0 0 0 4px rgba(11, 92, 171, 0.12);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  font-size: 14px;
  color: #334155;
}

.check-row small {
  color: #64748b;
}

.form-actions {
  margin-top: 26px;
}

.btn-primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 24px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #4caf50 0%, #5dbb63 100%);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(76, 175, 80, 0.24);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(76, 175, 80, 0.28);
}

.btn-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  color: #0b5cab;
  text-decoration: none;
}

.btn-link:hover {
  text-decoration: underline;
}

.summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.summary-head h3 {
  margin: 0;
  font-size: 20px;
  color: #0f172a;
}

.summary-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 62px;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: #eff6ff;
  color: #0b5cab;
  font-size: 13px;
  font-weight: 700;
}

.summary-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #f8fafc;
}

.summary-thumb img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

.summary-info h4 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #0f172a;
}

.summary-info p {
  margin: 0 0 12px;
  font-size: 14px;
  color: #475569;
}

.summary-colours {
  display: grid;
  gap: 8px;
}

.summary-colours div {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #475569;
}

.swatch {
  display: inline-block;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
}

.swatch--black {
  background: #111;
}

@media (max-width: 900px) {
  .est-grid {
    grid-template-columns: 1fr;
  }

  .est-summary-card {
    position: static;
    order: -1;
  }
}

@media (max-width: 640px) {
  .est-page {
    padding: 24px 14px 40px;
  }

  .est-header h1 {
    font-size: 32px;
  }

  .est-form-card,
  .est-summary-card {
    padding: 20px;
    border-radius: 16px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .btn-primary {
    font-size: 18px;
  }
}
