/**
 * SmartHomeU Energy Savings Calculator Styles
 */

[x-cloak] {
  display: none !important;
}

.energy-calculator {
  margin: 0 auto;
  padding: 2rem;
}

/* Intro Screen */
.energy-calculator__intro {
  text-align: center;
  padding: 3rem 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.energy-calculator__intro .intro-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, #28a745 0%, #1e7e34 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.energy-calculator__intro .intro-icon .icon {
  width: 3rem;
  height: 3rem;
  color: #fff;
}

.energy-calculator__intro h2 {
  margin: 0 0 0.75rem;
  font-size: 2rem;
  color: #333;
}

.energy-calculator__intro .lead {
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Step Screen */
.energy-calculator__step {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 2rem;
}

/* Progress Navigation */
.ec-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  position: relative;
}

.ec-progress--desktop::before {
  content: '';
  position: absolute;
  bottom: 20px;
  left: 40px;
  right: 40px;
  height: 2px;
  background: #e0e0e0;
  z-index: 0;
}

.ec-progress__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  cursor: default;
}

.ec-progress__step:disabled {
  cursor: default;
  opacity: 1;
}

.ec-progress__step.is-clickable {
  cursor: pointer;
}

.ec-progress__step.is-clickable:hover .ec-progress__indicator {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.ec-progress__step.is-clickable:hover .ec-progress__label {
  color: #28a745;
}

.ec-progress__step.is-clickable:focus {
  outline: none;
}

.ec-progress__step.is-clickable:focus .ec-progress__indicator {
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3);
}

.ec-progress__label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.ec-progress__indicator {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  color: #999;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.ec-progress__indicator .icon {
  width: 1rem;
  height: 1rem;
  color: inherit;
}

.ec-progress__indicator.is-active {
  background: #28a745;
  border-color: #28a745;
  color: #fff;
}

.ec-progress__indicator.is-completed {
  background: #28a745;
  border-color: #28a745;
  color: #fff;
}

/* Mobile dropdown (hidden on desktop) */
.ec-progress--mobile {
  display: none;
}

.ec-progress__select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #28a745;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  background: #fff;
  cursor: pointer;
  appearance: auto;
  margin-bottom: 1.5rem;
}

.ec-progress__select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.ec-progress__select option:disabled {
  color: #ccc;
}

.energy-calculator__step h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  color: #333;
}

.step-hint {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Bill Input */
.bill-input {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.bill-input__prefix {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
}

.bill-input__field {
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  width: 160px;
  color: #333;
}

.bill-input__field:focus {
  outline: none;
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}

.bill-input__suffix {
  font-size: 1rem;
  color: #888;
  font-weight: 500;
}

/* Zip Code Input */
.zip-input {
  margin-bottom: 1.5rem;
  text-align: center;
}

.zip-input__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 0.5rem;
}

.zip-input__optional {
  font-weight: 400;
  color: #999;
}

.zip-input__row {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.zip-input__field {
  padding: 0.6rem 0.75rem;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 1rem;
  width: 120px;
  color: #333;
}

.zip-input__field:focus {
  outline: none;
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}

/* Rate Override (electricity rate + fuel price) */
.rate-override {
  margin-top: 0.75rem;
}

.rate-override__display {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.rate-override__auto {
  font-size: 0.85rem;
  color: #28a745;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.rate-override__auto .icon {
  width: 0.85rem;
  height: 0.85rem;
}

.rate-override__toggle {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.8rem;
  color: #888;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rate-override__toggle:hover {
  color: #28a745;
}

.rate-override__edit {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.rate-override__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #555;
}

.rate-override__row {
  display: inline-flex;
  align-items: center;
  gap: 0;
  border: 2px solid #28a745;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.rate-override__prefix,
.rate-override__suffix {
  padding: 0.4rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  background: #f8f9fa;
}

.rate-override__field {
  width: 70px;
  padding: 0.4rem 0.5rem;
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  text-align: center;
  -moz-appearance: textfield;
}

.rate-override__field::-webkit-inner-spin-button,
.rate-override__field::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.rate-override__field:focus {
  outline: none;
}

.rate-override__reset {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.75rem;
  color: #888;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rate-override__reset:hover {
  color: #28a745;
}

.rate-override--fuel {
  margin-top: 0.5rem;
}

/* Option Cards Grid */
.step-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.step-options--wide {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.energy-calculator .option-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
}

.energy-calculator .option-card:hover {
  border-color: #28a745;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(40, 167, 69, 0.15);
}

.energy-calculator .option-card:focus {
  outline: none;
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3);
}

.energy-calculator .option-card.selected {
  border-color: #28a745;
  background: #e8f5e9;
}

.energy-calculator .option-card.selected .option-icon {
  background: #28a745;
  color: #fff;
}

.energy-calculator .option-card.selected .option-icon .icon {
  color: #fff;
}

.energy-calculator .option-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: #e8f5e9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.energy-calculator .option-icon .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: #28a745;
}

.energy-calculator .option-content {
  flex: 1;
  min-width: 0;
}

.energy-calculator .option-content h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.energy-calculator .option-content p {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.4;
}

/* Fuel Usage Input (Step 3) */
.fuel-input {
  margin-bottom: 1.5rem;
}

.fuel-input__label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #555;
  margin-bottom: 0.5rem;
}

.fuel-input__optional {
  font-weight: 400;
  color: #999;
}

.fuel-input__row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.fuel-input__field {
  padding: 0.75rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: 12px;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: center;
  width: 160px;
  color: #333;
}

.fuel-input__field:focus {
  outline: none;
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}

.fuel-input__unit {
  font-size: 1rem;
  color: #888;
  font-weight: 500;
}

.fuel-input__hint {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #666;
  margin: 0;
  padding: 0.5rem 0.75rem;
  background: #f8f9fa;
  border-radius: 8px;
}

.fuel-input__hint .icon {
  flex-shrink: 0;
  width: 0.9rem;
  height: 0.9rem;
  color: #28a745;
}

/* AC Question */
.ac-question {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #f0f0f0;
}

.ac-question h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
  color: #333;
}

.ac-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.75rem;
}

/* Device Grid (Step 7) */
.device-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.device-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: #f8f9fa;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  transition: border-color 0.15s ease;
}

.device-row:has(select:not([value="0"])):has(select option:checked:not([value="0"])) {
  border-color: #28a745;
  background: #f0faf1;
}

.device-row__info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.device-row__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: #e8f5e9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-row__icon .icon {
  width: 0.9rem;
  height: 0.9rem;
  color: #28a745;
}

.device-row__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  line-height: 1.2;
}

.device-row__watts {
  display: block;
  font-size: 0.72rem;
  color: #999;
}

.device-row__select {
  flex-shrink: 0;
  width: 60px;
  padding: 0.4rem 0.25rem;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  color: #333;
  background: #fff;
  cursor: pointer;
  appearance: auto;
}

.device-row__select:focus {
  outline: none;
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.15);
}

/* Device Total */
.device-total {
  text-align: center;
  padding: 0.6rem 1rem;
  background: #e8f5e9;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2e7d32;
}

.device-total__watts {
  margin-left: 0.5rem;
  font-weight: 400;
  color: #666;
}

/* Navigation */
.step-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
}

.step-nav .btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Results Screen */
.energy-calculator__results {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 2rem;
}

.results-header {
  text-align: center;
  margin-bottom: 2rem;
}

.results-header h2 {
  margin: 0 0 0.5rem;
  font-size: 1.75rem;
  color: #333;
}

.results-header p {
  color: #666;
  font-size: 1rem;
  margin: 0;
}

/* Inputs Summary (editable) */
.inputs-summary {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 2rem;
}

.inputs-summary__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.inputs-summary__header h3 {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

.btn-copy-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  background: #fff;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #555;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-copy-link:hover {
  border-color: #28a745;
  color: #28a745;
}

.btn-copy-link .icon {
  width: 0.8rem;
  height: 0.8rem;
}

.inputs-summary__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.5rem;
}

.inputs-summary__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
  width: 100%;
}

.inputs-summary__item:hover {
  border-color: #28a745;
  background: #e8f5e9;
}

.inputs-summary__label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #999;
  display: block;
}

.inputs-summary__value {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  flex: 1;
}

.inputs-summary__edit {
  flex-shrink: 0;
  color: #ccc;
  transition: color 0.15s ease;
}

.inputs-summary__item:hover .inputs-summary__edit {
  color: #28a745;
}

.inputs-summary__edit .icon {
  width: 0.7rem;
  height: 0.7rem;
}

/* Savings Cards Grid */
.savings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.savings-card {
  text-align: center;
  padding: 1.25rem;
  background: #f8f9fa;
  border-radius: 12px;
}

.savings-card__icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 0.5rem;
  background: #e8f5e9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.savings-card__icon .icon {
  width: 1.1rem;
  height: 1.1rem;
  color: #28a745;
}

.savings-card__label {
  display: block;
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 0.25rem;
}

.savings-card__amount {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: #28a745;
}

.savings-card__per-year {
  display: block;
  font-size: 0.75rem;
  color: #888;
}

.savings-card--fuel {
  background: #fff8e1;
}

.savings-card--fuel .savings-card__icon {
  background: #fff3cd;
}

.savings-card--fuel .savings-card__icon .icon {
  color: #e65100;
}

.savings-card--fuel .savings-card__amount {
  color: #e65100;
}

/* Total Savings Highlight */
.savings-total {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  border-radius: 12px;
  margin-bottom: 2rem;
}

.savings-total__label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #2e7d32;
  margin-bottom: 0.25rem;
}

.savings-total__amount {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: #1b5e20;
}

.savings-total__period {
  display: block;
  font-size: 0.85rem;
  color: #388e3c;
}

/* Product Recommendations */
.product-recommendations {
  margin-bottom: 2rem;
}

.product-recommendations h3 {
  font-size: 1.2rem;
  margin: 0 0 1rem;
  color: #333;
}

.recommendation-section {
  margin-bottom: 1.5rem;
}

.recommendation-section__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #eee;
}

.recommendation-section h4,
.recommendation-section__header h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: #555;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.recommendation-section__header h4 .icon {
  width: 0.9rem;
  height: 0.9rem;
}

.view-all-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: #28a745;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  white-space: nowrap;
}

.view-all-link:hover {
  color: #1e7e34;
  text-decoration: underline;
}

.view-all-link .icon {
  width: 0.75rem;
  height: 0.75rem;
}

.recommendation-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.rec-product {
  flex: 0 0 200px;
  background: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.rec-product:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rec-product__image {
  height: 120px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.rec-product__image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rec-product__placeholder {
  color: #ccc;
}

.rec-product__placeholder .icon {
  width: 2rem;
  height: 2rem;
}

.rec-product__info {
  padding: 0.75rem;
}

.rec-product__name {
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
  margin: 0 0 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.rec-product__price {
  font-size: 0.9rem;
  font-weight: 700;
  color: #28a745;
}

/* Investment Summary */
.investment-summary {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.investment-summary h3 {
  font-size: 1.1rem;
  margin: 0 0 1rem;
  color: #333;
}

.investment-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  font-size: 0.95rem;
  color: #555;
}

.investment-row--total {
  border-top: 2px solid #dee2e6;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  font-weight: 700;
  color: #333;
  font-size: 1.05rem;
}

.investment-row--highlight {
  color: #28a745;
  font-weight: 600;
}

.investment-row--payback {
  color: #4a90d9;
  font-weight: 600;
}

/* Results Actions */
.results-actions {
  text-align: center;
  padding-top: 1rem;
}

.results-actions .btn-link {
  color: #666;
  text-decoration: none;
  font-weight: 500;
}

.results-actions .btn-link:hover {
  color: #28a745;
}

.results-actions .btn-link .icon {
  margin-right: 0.5rem;
  width: 0.9rem;
  height: 0.9rem;
  vertical-align: -0.1em;
}

/* No savings note */
.no-savings-note {
  text-align: center;
  padding: 1rem;
  background: #fff3cd;
  border-radius: 8px;
  color: #856404;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Loading products */
.loading-products {
  text-align: center;
  padding: 1.5rem;
  color: #666;
  font-size: 0.9rem;
}

/* Backward transition override */
.energy-calculator.going-back .energy-calculator__step,
.energy-calculator.going-back .energy-calculator__results {
  transition: none !important;
  animation: none !important;
}

/* Skip hint on device step */
.step-hint--skip {
  text-align: center;
  color: #888;
  font-style: italic;
}

/* Actions container (copy link + print) */
.inputs-summary__actions {
  display: flex;
  gap: 0.5rem;
}

/* Print styles */
@media print {
  body * {
    visibility: hidden;
  }

  .energy-calculator__results,
  .energy-calculator__results * {
    visibility: visible;
  }

  .energy-calculator__results {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    box-shadow: none;
  }

  .ec-progress,
  .inputs-summary__actions,
  .results-actions,
  .product-recommendations,
  .loading-products {
    display: none !important;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .energy-calculator {
    padding: 1rem;
  }

  .ec-progress {
    gap: 0.25rem;
    margin-bottom: 1.5rem;
  }

  .ec-progress--desktop::before {
    left: 20px;
    right: 20px;
  }

  .ec-progress__label {
    font-size: 0.6rem;
    letter-spacing: 0;
  }

  .ec-progress__indicator {
    width: 32px;
    height: 32px;
    font-size: 0.8rem;
  }

  .ec-progress__indicator .icon {
    width: 0.8rem;
    height: 0.8rem;
  }

  .energy-calculator__intro {
    padding: 2rem 1.5rem;
  }

  .energy-calculator__intro h2 {
    font-size: 1.5rem;
  }

  .energy-calculator__step {
    padding: 1.5rem;
  }

  .step-options {
    grid-template-columns: 1fr;
  }

  .savings-grid {
    grid-template-columns: 1fr;
  }

  .inputs-summary__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .zip-input__row {
    align-items: center;
  }

  .fuel-input__row {
    justify-content: center;
  }

  .ac-options {
    grid-template-columns: 1fr;
  }

  .device-grid {
    grid-template-columns: 1fr;
  }

  .recommendation-row {
    flex-direction: column;
  }

  .rec-product {
    flex: none;
    width: 100%;
    flex-direction: row;
  }

  .rec-product__image {
    width: 100px;
    height: auto;
    min-height: 80px;
  }

  .rec-product__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .ec-progress--desktop {
    display: none !important;
  }

  .ec-progress--mobile {
    display: block;
  }
}

@media (max-width: 480px) {
  .energy-calculator__intro .intro-icon {
    width: 80px;
    height: 80px;
  }

  .energy-calculator__intro .intro-icon .icon {
    width: 2.5rem;
    height: 2.5rem;
  }

  .energy-calculator__intro h2 {
    font-size: 1.25rem;
  }

  .step-nav {
    flex-direction: column;
  }

  .step-nav .btn {
    width: 100%;
  }

  .savings-total__amount {
    font-size: 2rem;
  }

  .inputs-summary__grid {
    grid-template-columns: 1fr;
  }
}
