/* ==========================================
   RECOMMENDATION PAGE - COMPLETE REDESIGN
   Modern, clean UI for solar calculator
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  min-height: 100vh;
}

/* ==========================================
   MAIN CONTAINER
   ========================================== */

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 40px 20px 80px;
  max-width: 1260px;
  margin: 0 auto;
}

section.container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  justify-content: flex-start;
}

/* ==========================================
   APPLIANCE INPUT SECTION
   ========================================== */

.appliance-container {
  display: flex;
  align-items: stretch;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  padding-top: 20px;
}

.appliance-input,
.appliance-list-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #ffffff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  min-height: 520px;
}

@media (min-width: 1025px) {
  .appliance-input,
  .appliance-list-container {
    height: 520px;
  }
}

.appliance-input h2 {
  font-size: 1.5em;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}

/* Input Fields */
.input {
  margin-top: 4px;
}

.input .label {
  font-size: 0.95em;
  font-weight: 600;
  color: #555;
  margin-bottom: 10px;
  display: block;
}

.input input {
  width: 100%;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  padding: 18px 20px;
  margin-top: 8px;
  font-size: 1em;
  color: #333;
  background-color: #fafafa;
  transition: all 0.25s ease;
}

.input input:focus {
  outline: none;
  border-color: #4a90d9;
  box-shadow: 0 0 0 4px rgba(74, 144, 217, 0.1);
  background: #fff;
}

.input input::placeholder {
  color: #aaa;
}

.input-icon-wrapper {
  position: relative;
  display: block;
  width: 100%;
}

.input-icon-wrapper input {
  width: 100%;
  padding-right: 45px;
}

.input-icon-wrapper i {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  pointer-events: none;
  font-size: 0.9em;
  margin-top: 4px;
}

/* Multiple Inputs Row */
.multiple-inputs {
  display: flex;
  gap: 14px;
  align-items: flex-end;
  width: 100%;
}

.multiple-inputs > div:first-child {
  flex: 1 1 auto;
}

.multiple-inputs > div:nth-child(2) {
  flex: 0 0 140px;
}

/* Dropdown Styling */
.appliance-dropdown {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  max-height: 300px;
  overflow-y: auto;
  background: #fff;
  border: 2px solid #e8e8e8;
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  z-index: 100;
  list-style: none;
  padding: 0;
  margin: 0;
}

.appliance-dropdown li {
  padding: 16px 20px;
  cursor: pointer;
  font-size: 0.95em;
  color: #444;
  border-bottom: 1px solid #f0f0f0;
  transition: all 0.15s ease;
}

.appliance-dropdown li:last-child {
  border-bottom: none;
}

.appliance-dropdown li:hover {
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f0fa 100%);
  color: #2a6cb5;
  padding-left: 28px;
}

/* Add Device Button */
.appliance-input button {
  width: 100%;
  border: none;
  font-weight: 700;
  border-radius: 12px;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  color: #fff;
  font-size: 1.05em;
  cursor: pointer;
  padding: 20px 0;
  margin-top: auto;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.appliance-input button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.appliance-input button:active {
  transform: translateY(-1px);
}

/* ==========================================
   APPLIANCE LIST SECTION
   ========================================== */

.appliance-list-container {
  gap: 12px;
  overflow: hidden;
}

/* Scroll area for appliance rows */
.appliance-items {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 2px;
  scrollbar-width: none;
}

.appliance-items::-webkit-scrollbar {
  display: none;
}

.appliance-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border: 2px solid #e8e8e8;
  border-radius: 12px;
  padding: 16px 20px;
  background: #fafafa;
  transition: all 0.2s ease;
}

.appliance-list:hover {
  border-color: #d0d0d0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transform: translateX(4px);
}

.appliance-name {
  font-size: 1em;
  font-weight: 500;
  color: #333;
  flex: 1;
}

.appliance-energy {
  font-size: 0.95em;
  font-weight: 700;
  color: #1a1a1a;
  background: linear-gradient(135deg, #e8e8e8 0%, #dcdcdc 100%);
  padding: 12px 28px;
  border-radius: 10px;
  margin: 0 16px;
}

.appliance-function-icons {
  display: flex;
  gap: 8px;
}

.appliance-function-icons i {
  padding: 12px 14px;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 0.9em;
}

.appliance-function-icons .fa-plus {
  color: #666;
  background: #f0f0f0;
}

.appliance-function-icons .fa-plus:hover {
  background: linear-gradient(135deg, #4a90d9 0%, #357abd 100%);
  color: #fff;
}

.appliance-function-icons .fa-trash {
  color: #e53935;
  background: #ffebee;
}

.appliance-function-icons .fa-trash:hover {
  background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
  color: #fff;
}

/* Button Container */
.button-container {
  display: flex;
  gap: 14px;
  width: 100%;
  margin-top: auto;
}

/* Buttons live below the scroll area inside the panel */
.appliance-list-container .button-container {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.button-container button {
  border-radius: 12px;
  font-size: 1.05em;
  font-weight: 700;
  cursor: pointer;
  padding: 18px 0;
  transition: all 0.3s ease;
}

.button-container button:not(.reset-btn) {
  flex: 1;
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  color: #fff;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.button-container button:not(.reset-btn):hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.button-container button.reset-btn {
  flex: 0 0 160px;
  background: #fff;
  border: 2px solid #ddd;
  color: #555;
}

.button-container button.reset-btn:hover {
  background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
  border-color: #e53935;
  color: #fff;
}

/* ==========================================
   TOTAL ENERGY CONTAINER
   ========================================== */

.total-energy-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-radius: 20px;
  padding: 32px 48px;
  width: 100%;
  max-width: 1200px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  gap: 40px;
}

.total-consumption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex: 1;
  width: 100%;
}

.energy-value {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.energy-value h2 {
  font-size: 0.85em;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.energy-value .value {
  font-size: 1.5em;
  font-weight: 800;
  color: #292929;
}

.bar {
  width: 2px;
  height: 60px;
  background: linear-gradient(180deg, #e0e0e0 0%, #ccc 100%);
  border-radius: 2px;
  flex: 0 0 2px;
}

.monthly-fuel-cost {
  display: flex;
  flex-direction: column;
  align-items: left;
  gap: 10px;
  padding-left: 40px;
  /* border-left: 2px solid #eee; */
}

.monthly-fuel-cost h2 {
  font-size: 0.85em;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.monthly-fuel-cost .value {
  font-size: 1.5em;
  font-weight: 800;
  color: #e53935;
}

/* ==========================================
   RECOMMENDATION ACTION BUTTON
   ========================================== */

.recommendation-action-container {
  display: flex;
  justify-content: center;
  padding: 0px 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  align-self: stretch;
}

.action-btn {
  background: linear-gradient(135deg, #313131 0%, #272727 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 20px 70px;
  font-size: 1.15em;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(34, 34, 34, 0.35);
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.action-btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(19, 19, 19, 0.45);
}

.action-btn:active {
  transform: translateY(-2px);
}

/* ==========================================
   RECOMMENDATION SECTION
   ========================================== */

.recommendation-section {
  width: 100%;
  max-width: 1200px;
  min-width: 0;
  margin-top: 24px;
  position: relative;
}

.recommendation-card-container {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 12px 4px 24px;
}

.recommendation-card-container::-webkit-scrollbar {
  display: none;
}

.recommendation-setup {
  flex: 0 0 calc(33.333% - 19px);
  min-width: 340px;
  scroll-snap-align: start;
  background-color: #ffffff;
  padding: 20px 10px;
  border-radius: 8px;
}

.recommendation-setup h2 {
  font-size: 1.3em;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 18px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  
}

.recommendation-setup h2::before {
  content: '';
  width: 30px;
  height: 3px;
  border-radius: 3px;
}

.recommendation-setup h2::after {
  content: '';
  width: 30px;
  height: 3px;
  border-radius: 3px;
}

.recommendation-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.35s ease;
  border: 3px solid transparent;
}

.recommendation-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.card-image {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.card-image img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.recommendation-card:hover .card-image img {
  transform: scale(1.05);
}

.card-details {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.component-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: #f8f9fa;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.component-details:hover {
  background: #f0f4f8;
  transform: translateX(4px);
}

.component-name {
  font-size: 0.95em;
  font-weight: 500;
  color: #666;
}

.component-value {
  font-size: 1.05em;
  font-weight: 700;
  color: #1a1a1a;
}

/* Budget setup highlight */
#budget-setup .recommendation-card {
  border-color: #4caf50;
}

#budget-setup h2 {
  color: #4caf50;
}

#budget-setup h2::before,
#budget-setup h2::after {
  background: #4caf50;
}

#budget-setup .card-image {
  background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e9 100%);
}

/* Balanced setup highlight */
#balanced-setup .recommendation-card {
  border-color: #4a90d9;
}

#balanced-setup h2 {
  color: #4a90d9;
}

#balanced-setup h2::before,
#balanced-setup h2::after {
  background: #4a90d9;
}

#balanced-setup .card-image {
  background: linear-gradient(135deg, #e3f2fd 0%, #e8f0fa 100%);
}

/* Premium setup highlight */
#premium-setup .recommendation-card {
  border-color: #9c27b0;
}

#premium-setup h2 {
  color: #9c27b0;
}

#premium-setup h2::before,
#premium-setup h2::after {
  background: #9c27b0;
}

#premium-setup .card-image {
  background: linear-gradient(135deg, #f3e5f5 0%, #ede7f6 100%);
}

/* Navigation Buttons */
.recommendation-nav {
  display: none;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: #fff;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.nav-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
  border-color: #1a1a1a;
  color: #fff;
  transform: scale(1.08);
}

.nav-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

/* ==========================================
   SETUP HEADER - NEW DESIGN
   ========================================== */

.setup-header {
  text-align: center;
  margin-bottom: 20px;
}

.setup-description {
  font-size: 0.9em;
  color: #666;
  margin-top: 8px;
  margin-bottom: 16px;
}

.setup-specs {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.spec-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #f5f7fa;
  border-radius: 20px;
  font-size: 0.85em;
  font-weight: 600;
  color: #333;
}

.spec-item i {
  color: #4a90d9;
  font-size: 0.9em;
}

#budget-setup .spec-item i { color: #4caf50; }
#balanced-setup .spec-item i { color: #4a90d9; }
#premium-setup .spec-item i { color: #9c27b0; }

/* ==========================================
   PRODUCT SLIDER
   ========================================== */

.product-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-slider {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 12px 8px 20px;
  flex: 1;
  min-width: 0;
}

.product-slider::-webkit-scrollbar {
  display: none;
}

.product-nav-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #ddd;
  background: #fff;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85em;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  z-index: 2;
}

.product-nav-btn:hover:not(:disabled) {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.product-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* ==========================================
   PRODUCT CARD
   ========================================== */

.product-card {
  flex: 0 0 260px;
  min-width: 240px;
  scroll-snap-align: start;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

#budget-setup .product-card:hover {
  border-color: #4caf50;
}

#balanced-setup .product-card:hover {
  border-color: #4a90d9;
}

#premium-setup .product-card:hover {
  border-color: #9c27b0;
}

.product-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-image {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.product-image img {
  max-width: 100%;
  max-height: 120px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 16px;
}

.product-category {
  display: inline-block;
  font-size: 0.7em;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #4a90d9 0%, #6bb3f0 100%);
  padding: 4px 10px;
  border-radius: 12px;
  margin-bottom: 8px;
}

#budget-setup .product-category {
  background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
}

#premium-setup .product-category {
  background: linear-gradient(135deg, #9c27b0 0%, #ab47bc 100%);
}

.product-name {
  font-size: 0.95em;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-specs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.battery-capacity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8em;
  font-weight: 500;
  color: #666;
  background: #f5f7fa;
  padding: 6px 10px;
  border-radius: 8px;
}

.battery-capacity i {
  color: #4caf50;
}

.product-price {
  font-size: 1.1em;
  font-weight: 800;
  color: #1a1a1a;
}

.product-cashback {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8em;
  font-weight: 600;
  color: #f59e0b;
  margin-top: 6px;
}

.product-cashback i {
  color: #f59e0b;
}

/* ==========================================
   LOADING & NO PRODUCTS STATES
   ========================================== */

.loading-products,
.no-products {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 20px;
  color: #888;
  font-size: 0.95em;
  min-width: 100%;
  text-align: center;
}

.loading-products i,
.no-products i {
  font-size: 2em;
  color: #ccc;
}

.loading-products i {
  color: #4a90d9;
}

/* ==========================================
   RESPONSIVE - TABLET
   ========================================== */

@media (max-width: 1024px) {
  .appliance-container {
    flex-direction: column;
  }

  .appliance-input,
  .appliance-list-container {
    min-height: auto;
  }

  .total-energy-container {
    flex-direction: column;
    gap: 24px;
    padding: 28px 24px;
  }

  .total-consumption {
    flex-direction: column;
    justify-content: flex-start;
    gap: 24px;
    width: 100%;
  }

  .bar {
    width: 80%;
    height: 2px;
    flex: 0 0 auto;
    align-self: center;
  }

  .monthly-fuel-cost {
    align-items: center;
    border-left: none;
    /* border-top: 2px solid #eee; */
    padding-left: 0;
    /* padding-top: 24px; */
    width: 100%;
  }

  .recommendation-setup {
    flex: 0 0 calc(50% - 14px);
    min-width: 300px;
  }

  /* Product cards tablet */
  .product-slider {
    gap: 14px;
  }

  .product-card {
    flex: 0 0 240px;
    min-width: 220px;
  }
}

/* ==========================================
   RESPONSIVE - MOBILE
   ========================================== */

@media (max-width: 768px) {
  .container {
    padding: 24px 14px 60px;
    /* gap: 15px; */
  }

  .total-consumption{
    align-items: flex-start;
    padding: 10px 40px;
  }

  .appliance-container {
    gap: 15px;
    padding-top: 10px;
  }

  .appliance-input,
  .appliance-list-container {
    padding: 24px 18px;
    border-radius: 16px;
    min-height: auto;
  }

  .appliance-list-container {
    gap: 10px;
  }

  .appliance-items {
    gap: 10px;
  }

  .appliance-input,
  .appliance-list-container {
    gap: 15px;
  }

  .appliance-input h2 {
    font-size:
     1.25em;
  }

  .bar{
    width: 100%;
  }

  /* Recommendation section: mobile-friendly slider */
  .recommendation-section {
    width: 100%;
    min-width: 0;
  }

  .recommendation-card-container {
    gap: 16px;
    padding: 10px 12px 18px;
    scroll-padding-left: 12px;
    scroll-padding-right: 12px;
  }

  .recommendation-setup {
    flex: 0 0 100%;
    min-width: 0;
    padding: 20px 15px;
  }

  .recommendation-setup h2 {
    margin-bottom: 14px;
  }

  .card-image {
    padding: 22px;
    min-height: 170px;
  }

  .card-image img {
    max-height: 140px;
  }

  .card-details {
    padding: 18px;
  }

  .input input {
    padding: 16px 16px;
    font-size: 0.95em;
  }

  .appliance-input button,
  .button-container button {
    padding: 16px 0;
    font-size: 1em;
  }

  .button-container button.reset-btn {
    flex: 0 0 110px;
  }

  .appliance-list {
    padding: 14px 16px;
    flex-wrap: wrap;
    gap: 10px;
  }

  .appliance-name {
    font-size: 0.92em;
    flex: 1 1 100%;
    min-width: 0;
  }

  .appliance-energy {
    padding: 10px 18px;
    font-size: 0.88em;
    margin: 0;
    white-space: nowrap;
  }

  .appliance-function-icons {
    margin-left: auto;
  }

  .total-energy-container {
    border-radius: 16px;
    padding: 24px 0px;
    align-items: flex-start;
  }

  .energy-value h2,
  .monthly-fuel-cost h2 {
    font-size: 0.78em;
  }

  .energy-value .value,
  .monthly-fuel-cost .value {
    font-size: 1.2em;
  }

  .action-btn {
    width: 100%;
    min-width: 100%;
    padding: 20px 32px;
    font-size: 1.05em;
    border-radius: 14px;
  }

  .recommendation-action-container{
    width: 100%;
  }

  .recommendation-setup {
    flex: 0 0 88%;
    min-width: 280px;
  }

  .recommendation-nav {
    display: flex;
  }

  .card-image {
    padding: 28px;
    min-height: 180px;
  }

  .card-image img {
    max-height: 150px;
  }

  .card-details {
    padding: 22px;
    gap: 12px;
  }

  .component-details {
    padding: 12px 16px;
  }

  .component-name {
    font-size: 0.88em;
  }

  .component-value {
    font-size: 0.98em;
  }

  .multiple-inputs {
    flex-direction: column;
    gap: 12px;
  }

  .multiple-inputs > div:first-child,
  .multiple-inputs > div:nth-child(2) {
    flex: 1 1 auto;
    width: 100%;
  }

  /* Product cards mobile */
  .setup-header {
    margin-bottom: 16px;
  }

  .setup-description {
    font-size: 0.85em;
    margin-bottom: 12px;
  }

  .setup-specs {
    gap: 8px;
  }

  .spec-item {
    padding: 6px 10px;
    font-size: 0.8em;
  }

  .product-slider-wrapper {
    gap: 4px;
  }

  .product-nav-btn {
    width: 30px;
    height: 30px;
    font-size: 0.75em;
  }

  .product-slider {
    gap: 12px;
    padding: 8px 4px 16px;
  }

  .product-card {
    flex: 0 0 220px;
    min-width: 200px;
  }

  .product-image {
    padding: 16px;
    min-height: 120px;
  }

  .product-image img {
    max-height: 90px;
  }

  .product-info {
    padding: 12px;
  }

  .product-category {
    font-size: 0.65em;
    padding: 3px 8px;
  }

  .product-name {
    font-size: 0.88em;
  }

  .product-price {
    font-size: 1em;
  }

  .loading-products,
  .no-products {
    padding: 30px 16px;
    font-size: 0.9em;
  }
}

/* ==========================================
   RESPONSIVE - SMALL MOBILE
   ========================================== */

/* @media (max-width: 480px) {
  .container {
    padding: 18px 12px 40px;
  }

  .appliance-input,
  .appliance-list-container {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .appliance-input h2 {
    font-size: 1.15em;
  }

  .appliance-function-icons i {
    padding: 10px 12px;
    font-size: 0.85em;
  }

  .recommendation-setup {
    flex: 0 0 100%;
    min-width: 0;
  }

  .recommendation-card-container {
    padding-left: 10px;
    padding-right: 10px;
    gap: 14px;
  }

  .card-image {
    padding: 18px;
    min-height: 150px;
  }

  .card-image img {
    max-height: 120px;
  }

  .recommendation-setup h2 {
    font-size: 1.15em;
  }

  .nav-btn {
    width: 46px;
    height: 46px;
    font-size: 0.9em;
  }

  .energy-value .value,
  .monthly-fuel-cost .value {
    font-size: 1.4em;
  }
} */

/* ==========================================
   UTILITY CLASSES
   ========================================== */

/* Force Montserrat everywhere */
html, body, input, textarea, select, button, a, p, h1, h2, h3, h4, h5, h6, label, li, div {
  font-family: "Montserrat", sans-serif !important;
}

/* ensure form controls inherit the same sizing/line-height */
input, textarea, select, button {
  font-family: "Montserrat", sans-serif !important;
  line-height: 1.2;
}

/* Prevent overflow */
.appliance-list,
.component-details,
.energy-value {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background: rgba(74, 144, 217, 0.2);
}


