/* =========================================================
   APHOTECH SOLAR SOLUTION
   MAIN STYLE.CSS
   Clean + Professional + Mobile Friendly
========================================================= */

:root {
  --primary: #0f9d58;
  --primary-dark: #0b7d46;
  --market-green: #08b64b;
  --secondary: #f4c430;
  --dark: #0b1c14;
  --light: #ffffff;
  --gray: #f5f7f6;
  --text: #333333;
  --border: #e1e8e5;
  --whatsapp: #25d366;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input {
  font-family: inherit;
}


/* =========================================================
   GENERAL HEADER
========================================================= */

header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid #eaeaea;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.navbar {
  max-width: 1200px;
  margin: auto;
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 45px;
  width: auto;
  object-fit: contain;
}

.logo span {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0f5132;
}

.nav-links {
  display: flex;
  gap: 0.6rem;
}

.nav-links a {
  padding: 0.45rem 0.9rem;
  background: var(--gray);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: 0.3s ease;
}

.nav-links a:hover {
  background: var(--primary);
  color: #ffffff;
}


/* =========================================================
   HERO
========================================================= */

.hero {
  background:
    linear-gradient(
      rgba(15, 157, 88, 0.75),
      rgba(15, 157, 88, 0.75)
    ),
    url("../images/solar-bg.jpg") center / cover no-repeat;

  color: #ffffff;
  text-align: center;
  padding: 4rem 1.2rem;
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
}

.hero p {
  max-width: 650px;
  margin: 0 auto 1.4rem;
  font-size: 1rem;
}

.hero .btn {
  background: var(--secondary);
  color: #000;
  padding: 0.7rem 1.4rem;
  border-radius: 30px;
  font-weight: 700;
  margin: 0.3rem;
  display: inline-block;
}

.hero .btn:hover {
  background: #ffd84d;
}


/* =========================================================
   SECTIONS
========================================================= */

.section {
  padding: 3.5rem 1.2rem;
}

.section.gray {
  background: var(--gray);
}

.section h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

.container {
  max-width: 1200px;
  margin: auto;
}


/* =========================================================
   GRID & CARDS
========================================================= */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
}

.card h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}


/* =========================================================
   OLD PACKAGE COMPONENTS
========================================================= */

.package-price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 0.5rem 0;
}

.package-btn {
  display: inline-block;
  margin-top: 0.8rem;
  padding: 0.5rem 1.1rem;
  background: var(--primary);
  color: #ffffff;
  border-radius: 20px;
  font-size: 0.85rem;
}

.package-btn:hover {
  background: var(--primary-dark);
}


/* =========================================================
   PROJECTS
========================================================= */

.project-img {
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s ease;
}

.project-img:hover {
  transform: scale(1.03);
}


/* =========================================================
   LIGHTBOX
========================================================= */

.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;

  background: rgba(0, 0, 0, 0.8);

  display: none;
  align-items: center;
  justify-content: center;

  z-index: 9999;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}


/* =========================================================
   FOOTER - GENERAL
========================================================= */

.footer {
  background: #0f5132;
  color: #ffffff;
  padding: 3rem 1rem 1.5rem;
  margin-top: 3rem;
}

.footer .container {
  max-width: 1200px;
  margin: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.footer h3,
.footer h4 {
  margin-bottom: 0.8rem;
  color: #ffffff;
}

.footer p {
  font-size: 0.95rem;
  color: #e0e0e0;
}

.footer a {
  display: block;
  color: #e0e0e0;
  margin-bottom: 0.4rem;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #ffc107;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 38px;
  height: 38px;

  background: #ffffff;
  color: #0f5132;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 1rem;

  transition:
    transform 0.3s ease,
    background 0.3s ease;
}

.socials a:hover {
  background: #ffc107;
  transform: translateY(-3px);
}

.footer .copyright {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #d0d0d0;
}


/* =========================================================
   WHATSAPP - GENERAL
========================================================= */

.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 20px;

  background: var(--whatsapp);
  color: #ffffff;

  padding: 0.7rem 1rem;
  border-radius: 30px;

  font-weight: 700;

  z-index: 999;
}

.whatsapp-float:hover {
  background: #1ebe5d;
}


/* =========================================================
   ANIMATIONS
========================================================= */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s ease;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   BACKGROUND PAGES
========================================================= */

body {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}


/* Home */

.home-page {
  background:
    url("../images/home-bg.jpg")
    center / cover no-repeat;
}


/* Services */

.services-page {
  background:
    url("../images/services-bg.jpg")
    center / cover no-repeat;
}


/* Invoice */

.invoice-page {
  background:
    url("../images/invoice-bg.jpg")
    center / cover no-repeat;
}


/* Contact */

.contact-page {
  background:
    url("../images/contact-bg.jpg")
    center / cover no-repeat;
}


/* =========================================================
   PAGE OVERLAY
========================================================= */

body::before {
  content: "";

  position: fixed;
  inset: 0;

  background: rgba(0, 0, 0, 0.55);

  z-index: -1;
}


/* Packages page must NOT have dark overlay */

.packages-page {
  background: #f4f7f6;
  color: #263238;
}

.packages-page::before {
  display: none;
}


/* =========================================================
   DARK SECTION
========================================================= */

.section-dark {
  background:
    linear-gradient(
      rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0.65)
    ),
    url("../images/solar-bg.jpg")
    center / cover;

  color: #ffffff;
}


/* =========================================================
   PRIMARY BUTTON
========================================================= */

.btn-primary {
  background: linear-gradient(
    135deg,
    #f7941d,
    #ffb347
  );

  padding: 14px 26px;
  border-radius: 30px;

  color: #ffffff;
  font-weight: bold;

  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}


/* =========================================================
   =========================================================
   APHOTECH SOLAR MARKETPLACE
   PACKAGES PAGE
   =========================================================
========================================================= */


/* =========================================================
   MARKET HEADER
========================================================= */

.packages-page .market-header {
  background: #08b64b;
  color: #ffffff;

  position: sticky;
  top: 0;

  z-index: 1000;

  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.market-top {
  max-width: 1200px;
  margin: auto;

  padding: 14px 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 20px;
}

.market-logo {
  display: flex;
  align-items: center;
  gap: 10px;

  color: #ffffff;
}

.market-logo img {
  width: 46px;
  height: 46px;

  object-fit: contain;

  background: #ffffff;
  border-radius: 8px;
}

.market-logo strong {
  display: block;
  font-size: 1.15rem;
}

.market-logo span {
  display: block;
  font-size: 0.72rem;
  opacity: 0.9;
}

.market-nav {
  display: flex;
  gap: 6px;
}

.market-nav a {
  color: #ffffff;

  padding: 9px 12px;
  border-radius: 8px;

  font-size: 0.88rem;
  font-weight: 600;

  transition: 0.25s ease;
}

.market-nav a:hover,
.market-nav a.active {
  background: rgba(255, 255, 255, 0.18);
}

.market-nav i {
  margin-right: 5px;
}


/* =========================================================
   MARKET SEARCH
========================================================= */

.market-search {
  max-width: 1200px;
  margin: auto;

  padding: 10px 20px 16px;

  display: flex;
  gap: 10px;
}

.location-box {
  background: #ffffff;
  color: #53666e;

  min-width: 180px;

  border-radius: 9px;

  padding: 13px 15px;

  display: flex;
  align-items: center;
  gap: 10px;

  font-weight: 600;
}

.location-box .fa-chevron-down {
  margin-left: auto;
  font-size: 0.75rem;
}

.search-box {
  background: #ffffff;

  border-radius: 9px;

  overflow: hidden;

  display: flex;
  flex: 1;
}

.search-box input {
  width: 100%;

  border: 0;
  outline: none;

  padding: 13px 16px;

  font-size: 0.95rem;
}

.search-box button {
  border: 0;

  background: #f0f3f2;
  color: #43565d;

  width: 55px;

  cursor: pointer;

  font-size: 1.05rem;
}


/* =========================================================
   PACKAGE HERO
========================================================= */

.package-hero {
  background:
    linear-gradient(
      110deg,
      rgba(4, 72, 35, 0.95),
      rgba(8, 182, 75, 0.78)
    ),
    url("../images/solar-bg.jpg")
    center / cover;

  color: #ffffff;

  padding: 55px 20px;
}

.package-hero-content {
  max-width: 1200px;
  margin: auto;
}

.hero-badge {
  display: inline-flex;

  align-items: center;
  gap: 7px;

  background: rgba(255, 255, 255, 0.14);

  padding: 7px 12px;

  border-radius: 20px;

  font-size: 0.78rem;
  font-weight: 700;

  margin-bottom: 15px;
}

.package-hero h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
  margin-bottom: 8px;
}

.package-hero p {
  max-width: 600px;

  font-size: 1rem;

  opacity: 0.94;
}

.hero-whatsapp {
  display: inline-flex;

  align-items: center;
  gap: 8px;

  margin-top: 22px;

  background: #f4c430;
  color: #182014;

  padding: 12px 19px;

  border-radius: 7px;

  font-weight: 800;
}


/* =========================================================
   CATEGORIES
========================================================= */

.category-section {
  background: #ffffff;

  border-bottom: 1px solid #e4e9e7;

  padding: 12px 20px;
}

.category-scroll {
  max-width: 1200px;
  margin: auto;

  display: flex;
  gap: 8px;

  overflow-x: auto;

  scrollbar-width: none;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

.category-pill {
  flex: 0 0 auto;

  border: 1px solid #dce5e1;

  background: #ffffff;
  color: #52636a;

  border-radius: 22px;

  padding: 9px 15px;

  cursor: pointer;

  font-weight: 600;
  font-size: 0.82rem;
}

.category-pill.active,
.category-pill:hover {
  background: #08b64b;

  border-color: #08b64b;

  color: #ffffff;
}


/* =========================================================
   PACKAGES SECTION
========================================================= */

.packages-section {
  max-width: 1200px;
  margin: auto;

  padding: 30px 20px 55px;
}

.packages-heading {
  display: flex;

  justify-content: space-between;
  align-items: flex-end;

  margin-bottom: 20px;
}

.section-label {
  color: #08a944;

  font-size: 0.72rem;
  font-weight: 800;

  letter-spacing: 0.8px;
}

.packages-heading h2 {
  margin: 3px 0;

  color: #263238;

  font-size: 1.7rem;
}

.packages-heading p {
  color: #74828a;

  font-size: 0.88rem;
}

.view-toggle {
  display: flex;
  gap: 5px;
}

.view-button {
  width: 38px;
  height: 38px;

  border: 1px solid #dce5e1;

  background: #ffffff;

  border-radius: 7px;

  cursor: pointer;

  color: #66757b;
}

.view-button.active {
  background: #08b64b;

  color: #ffffff;

  border-color: #08b64b;
}


/* =========================================================
   PACKAGE GRID
========================================================= */

.market-grid {
  display: grid;

  grid-template-columns:
    repeat(3, minmax(0, 1fr));

  gap: 16px;
}


/* =========================================================
   PACKAGE CARD
========================================================= */

.solar-listing {
  background: #ffffff;

  border: 1px solid #e1e8e5;

  border-radius: 10px;

  overflow: hidden;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.solar-listing:hover {
  transform: translateY(-3px);

  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.09);
}


/* =========================================================
   PACKAGE FLYER / IMAGE
========================================================= */

.listing-image {
  position: relative;

  width: 100%;

  height: 230px;

  background: #edf1ef;

  overflow: hidden;
}

.listing-image img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  transition: transform 0.3s ease;
}

.solar-listing:hover .listing-image img {
  transform: scale(1.02);
}


/* =========================================================
   SAVE BUTTON
========================================================= */

.save-button {
  position: absolute;

  top: 10px;
  right: 10px;

  width: 36px;
  height: 36px;

  border: 0;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.95);

  color: #52636a;

  cursor: pointer;

  font-size: 1rem;

  z-index: 5;

  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.12);
}

.save-button:hover {
  color: #08b64b;
}


/* =========================================================
   PACKAGE BADGE ROW
   IMPORTANT:
   THIS IS OUTSIDE THE IMAGE.
   THE BADGE WILL NEVER COVER THE FLYER.
========================================================= */

.listing-badge-row {
  width: 100%;

  min-height: 45px;

  padding: 9px 14px 5px;

  display: flex;

  align-items: center;

  background: #ffffff;
}


/* =========================================================
   BADGE BASE
========================================================= */

.listing-badge {
  position: static !important;

  display: inline-flex;

  align-items: center;

  gap: 6px;

  padding: 6px 11px;

  border-radius: 7px;

  color: #ffffff;

  font-size: 0.7rem;

  font-weight: 800;

  line-height: 1;

  white-space: nowrap;

  text-transform: uppercase;

  letter-spacing: 0.2px;

  box-shadow: none;

  transform: none !important;
}


/* =========================================================
   POPULAR
========================================================= */

.popular-badge {
  background: #0f9d58;
}


/* =========================================================
   BEST SELLER
========================================================= */

.best-seller-badge {
  background: #0f9d58;
}


/* =========================================================
   PREMIUM
========================================================= */

.premium-badge {
  background: #e5a900;
}


/* =========================================================
   COMMERCIAL
========================================================= */

.commercial-badge {
  background: #1769aa;
}


/* =========================================================
   CUSTOM
========================================================= */

.custom-badge {
  background: #7b3fa1;
}


/* =========================================================
   LISTING CONTENT
========================================================= */

.listing-content {
  padding: 14px;
}

.listing-content h3 {
  color: #27353a;

  font-size: 1rem;

  margin-bottom: 4px;
}

.listing-price {
  color: #08a944;

  font-size: 1.15rem;

  font-weight: 800;

  margin: 4px 0;
}

.listing-use {
  color: #65757b;

  font-size: 0.83rem;

  min-height: 40px;

  margin-bottom: 8px;
}

.listing-meta {
  display: flex;

  gap: 12px;

  flex-wrap: wrap;

  color: #89959a;

  font-size: 0.72rem;

  padding-bottom: 11px;

  border-bottom: 1px solid #edf0ef;
}

.listing-meta i {
  color: #08b64b;

  margin-right: 3px;
}


/* =========================================================
   LISTING ACTIONS
========================================================= */

.listing-actions {
  display: flex;

  gap: 8px;

  margin-top: 12px;
}

.buy-button {
  flex: 1;

  border: 0;

  background: #08b64b;

  color: #ffffff;

  border-radius: 6px;

  padding: 10px;

  font-weight: 800;

  text-align: center;

  cursor: pointer;
}

.buy-button:hover {
  background: #078e3b;
}

.whatsapp-button {
  width: 43px;

  display: flex;

  align-items: center;
  justify-content: center;

  background: #25d366;

  color: #ffffff;

  border-radius: 6px;

  font-size: 1.1rem;
}


/* =========================================================
   LIST VIEW
========================================================= */

.market-grid.list-view {
  grid-template-columns: 1fr;
}

.market-grid.list-view .solar-listing {
  display: grid;

  grid-template-columns: 260px 1fr;
}

.market-grid.list-view .listing-image {
  height: 100%;
  min-height: 220px;
}

.market-grid.list-view .listing-badge-row {
  grid-column: 2;
}


/* =========================================================
   CONSULTATION
========================================================= */

.consultation {
  max-width: 1160px;

  margin: 0 auto 55px;

  padding: 22px;

  border-radius: 10px;

  background: #e9f8ef;

  display: flex;

  align-items: center;

  gap: 18px;
}

.consultation-icon {
  width: 55px;
  height: 55px;

  flex: 0 0 55px;

  background: #08b64b;

  color: #ffffff;

  border-radius: 50%;

  display: flex;

  align-items: center;
  justify-content: center;

  font-size: 1.25rem;
}

.consultation-content {
  flex: 1;
}

.consultation h2 {
  color: #174b2d;

  font-size: 1.1rem;

  margin-bottom: 3px;
}

.consultation p {
  color: #60736a;

  font-size: 0.85rem;
}

.consultation-button {
  background: #08b64b;

  color: #ffffff;

  padding: 11px 16px;

  border-radius: 6px;

  font-weight: 800;

  white-space: nowrap;
}


/* =========================================================
   MARKET FOOTER
========================================================= */

.market-footer {
  background: #093d26;

  color: #ffffff;

  padding: 38px 20px 18px;
}

.footer-inner {
  max-width: 1200px;

  margin: auto;

  display: grid;

  grid-template-columns: 2fr 1fr;

  gap: 40px;
}

.market-footer h3,
.market-footer h4 {
  margin-bottom: 9px;
}

.market-footer p {
  color: #cbdad3;

  max-width: 480px;

  font-size: 0.88rem;
}

.market-footer .socials {
  display: flex;

  gap: 8px;
}

.market-footer .socials a {
  width: 37px;
  height: 37px;

  display: flex;

  align-items: center;
  justify-content: center;

  background: #ffffff;

  color: #093d26;

  border-radius: 50%;
}

.market-footer .copyright {
  max-width: 1200px;

  margin: 28px auto 0;

  padding-top: 15px;

  border-top: 1px solid rgba(255, 255, 255, 0.12);

  text-align: center;

  color: #b7c9c0;

  font-size: 0.75rem;
}


/* =========================================================
   FLOATING WHATSAPP
========================================================= */

.floating-whatsapp {
  position: fixed;

  right: 18px;
  bottom: 18px;

  z-index: 9999;

  background: #25d366;

  color: #ffffff;

  padding: 12px 17px;

  border-radius: 30px;

  font-weight: 800;

  box-shadow:
    0 5px 18px rgba(0, 0, 0, 0.22);
}

.floating-whatsapp i {
  margin-right: 5px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .market-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
  }

  .market-top {
    flex-wrap: wrap;
  }

  .market-nav {
    width: 100%;

    overflow-x: auto;

    scrollbar-width: none;
  }

  .market-nav::-webkit-scrollbar {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  /* HEADER */

  .market-top {
    padding: 10px 12px;

    gap: 8px;
  }

  .market-logo img {
    width: 40px;
    height: 40px;
  }

  .market-logo strong {
    font-size: 1rem;
  }

  .market-logo span {
    font-size: 0.65rem;
  }

  .market-nav {
    gap: 3px;
  }

  .market-nav a {
    padding: 7px 8px;

    font-size: 0.72rem;

    white-space: nowrap;
  }

  .market-nav i {
    display: none;
  }


  /* SEARCH */

  .market-search {
    padding: 7px 12px 12px;

    gap: 7px;
  }

  .location-box {
    min-width: 100px;

    padding: 11px;

    font-size: 0.8rem;
  }

  .location-box .fa-location-dot {
    display: none;
  }

  .search-box input {
    padding: 11px 10px;

    font-size: 0.82rem;
  }

  .search-box button {
    width: 45px;
  }


  /* HERO */

  .package-hero {
    padding: 35px 15px;
  }

  .package-hero h1 {
    font-size: 2rem;
  }

  .package-hero p {
    font-size: 0.88rem;
  }


  /* CATEGORY */

  .category-section {
    padding: 10px 12px;
  }


  /* PACKAGES */

  .packages-section {
    padding: 22px 8px 45px;
  }

  .packages-heading {
    padding: 0 6px;

    align-items: center;
  }

  .packages-heading h2 {
    font-size: 1.4rem;
  }

  .packages-heading p {
    font-size: 0.78rem;
  }

  .view-toggle {
    display: none;
  }


  /* GRID */

  .market-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));

    gap: 6px;
  }


  /* IMAGE */

  .listing-image {
    height: 170px;
  }


  /* BADGE */

  .listing-badge-row {
    min-height: 39px;

    padding: 7px 9px 4px;
  }

  .listing-badge {
    font-size: 0.57rem;

    padding: 6px 8px;

    gap: 4px;

    border-radius: 6px;
  }

  .listing-badge i {
    font-size: 0.55rem;
  }


  /* CONTENT */

  .listing-content {
    padding: 9px;
  }

  .listing-content h3 {
    font-size: 0.84rem;

    line-height: 1.25;
  }

  .listing-price {
    font-size: 0.98rem;
  }

  .listing-use {
    font-size: 0.7rem;

    min-height: 34px;
  }

  .listing-meta {
    font-size: 0.61rem;

    gap: 6px;
  }


  /* BUTTONS */

  .listing-actions {
    margin-top: 8px;
  }

  .buy-button {
    font-size: 0.7rem;

    padding: 8px 4px;
  }

  .whatsapp-button {
    width: 35px;

    font-size: 0.9rem;
  }


  /* SAVE */

  .save-button {
    width: 30px;
    height: 30px;

    font-size: 0.8rem;
  }


  /* CONSULTATION */

  .consultation {
    margin: 0 10px 35px;

    flex-wrap: wrap;

    padding: 18px;
  }

  .consultation-button {
    width: 100%;

    text-align: center;
  }


  /* WHATSAPP */

  .floating-whatsapp {
    bottom: 14px;

    right: 12px;

    padding: 10px 14px;

    font-size: 0.78rem;
  }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

  .market-grid {
    gap: 4px;
  }

  .listing-image {
    height: 145px;
  }

  .listing-badge-row {
    min-height: 36px;

    padding: 6px 7px 3px;
  }

  .listing-badge {
    font-size: 0.52rem;

    padding: 5px 7px;
  }

  .listing-price {
    font-size: 0.88rem;
  }

  .listing-content h3 {
    font-size: 0.76rem;
  }

  .listing-use {
    font-size: 0.64rem;
  }

}


/* =========================================================
   OLD MOBILE CLASSES
   Kept so other pages don't break
========================================================= */

@media (max-width: 768px) {

  body {
    font-size: 15px;
  }

  .section {
    padding: 2.5rem 1rem;
  }

  h1 {
    font-size: 1.7rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .footer {
    padding-bottom: 4.5rem;
  }

  .footer-socials a {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

}


/* =========================================================
   SOLAR APPLIANCES SECTION
========================================================= */

.appliances-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px 60px;
}

.appliances-heading {
  margin-bottom: 20px;
}

.appliances-heading h2 {
  margin: 4px 0;
  color: #263238;
  font-size: 1.7rem;
}

.appliances-heading p {
  color: #74828a;
  font-size: .88rem;
}


/* ================= APPLIANCE GRID ================= */

.appliances-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}


/* ================= APPLIANCE CARD ================= */

.appliance-card {
  background: #fff;
  border: 1px solid #e1e8e5;
  border-radius: 10px;
  overflow: hidden;
  transition: .25s ease;
}

.appliance-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0,0,0,.09);
}


/* ================= APPLIANCE IMAGE ================= */

.appliance-image {
  height: 230px;
  position: relative;
  overflow: hidden;
  background: #edf1ef;
}

.appliance-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .3s ease;
}

.appliance-card:hover .appliance-image img {
  transform: scale(1.03);
}


/* ================= BADGE ================= */

.appliance-badge {
  position: absolute;
  top: 10px;
  left: 10px;

  background: #08b64b;
  color: #fff;

  padding: 6px 10px;
  border-radius: 5px;

  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.fan-badge {
  background: #1769aa;
}

.iron-badge {
  background: #7b3fa1;
}


/* ================= CONTENT ================= */

.appliance-content {
  padding: 15px;
}

.appliance-content h3 {
  color: #27353a;
  font-size: 1rem;
  margin-bottom: 4px;
}

.appliance-price {
  color: #08a944;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 5px 0;
}

.appliance-content p {
  color: #65757b;
  font-size: .83rem;
  min-height: 48px;
  margin-bottom: 9px;
}


/* ================= META ================= */

.appliance-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;

  color: #89959a;
  font-size: .72rem;

  padding-bottom: 11px;
  border-bottom: 1px solid #edf0ef;
}

.appliance-meta i {
  color: #08b64b;
  margin-right: 3px;
}


/* ================= BUTTONS ================= */

.appliance-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.appliance-buy {
  flex: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #08b64b;
  color: #fff;

  border-radius: 6px;
  padding: 10px;

  font-weight: 800;
  font-size: .85rem;
}

.appliance-buy:hover {
  background: #078e3b;
}

.appliance-whatsapp {
  width: 43px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #25d366;
  color: #fff;

  border-radius: 6px;
  font-size: 1.1rem;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {

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

}


@media (max-width: 600px) {

  .appliances-section {
    padding: 5px 8px 45px;
  }

  .appliances-heading {
    padding: 0 6px;
  }

  .appliances-heading h2 {
    font-size: 1.4rem;
  }

  .appliances-heading p {
    font-size: .78rem;
  }

  .appliances-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px;
  }

  .appliance-image {
    height: 170px;
  }

  .appliance-content {
    padding: 9px;
  }

  .appliance-content h3 {
    font-size: .84rem;
    line-height: 1.25;
  }

  .appliance-price {
    font-size: .98rem;
  }

  .appliance-content p {
    font-size: .7rem;
    min-height: 42px;
  }

  .appliance-meta {
    font-size: .61rem;
    gap: 6px;
  }

  .appliance-buy {
    font-size: .7rem;
    padding: 8px 4px;
  }

  .appliance-whatsapp {
    width: 35px;
    font-size: .9rem;
  }

  .appliance-badge {
    font-size: .55rem;
    padding: 4px 6px;
  }

}


@media (max-width: 380px) {

  .appliance-image {
    height: 145px;
  }

  .appliance-content h3 {
    font-size: .76rem;
  }

  .appliance-price {
    font-size: .88rem;
  }

  .appliance-content p {
    font-size: .64rem;
  }

   }


/* =========================================================
   SOLAR APPLIANCES
   Aphotech Solar Solution
========================================================= */

.appliances-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 35px 20px 60px;
}

.appliances-heading {
  margin-bottom: 22px;
}

.appliances-heading .section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #08a944;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .8px;
  margin-bottom: 5px;
}

.appliances-heading h2 {
  margin: 3px 0 5px;
  color: #263238;
  font-size: 1.7rem;
}

.appliances-heading p {
  color: #74828a;
  font-size: .88rem;
}


/* =========================================================
   APPLIANCE GRID
========================================================= */

.appliances-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}


/* =========================================================
   APPLIANCE CARD
========================================================= */

.appliance-card {
  background: #ffffff;
  border: 1px solid #e1e8e5;
  border-radius: 10px;
  overflow: hidden;
  transition: .25s ease;
}

.appliance-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.09);
}


/* =========================================================
   APPLIANCE IMAGE
========================================================= */

.appliance-image {
  position: relative;
  width: 100%;
  height: 230px;
  background: #edf1ef;
  overflow: hidden;
}

.appliance-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .3s ease;
}

.appliance-card:hover .appliance-image img {
  transform: scale(1.03);
}


/* =========================================================
   APPLIANCE BADGE
========================================================= */

.appliance-badge {
  position: absolute;
  top: 10px;
  left: 10px;

  display: inline-flex;
  align-items: center;

  background: #08b64b;
  color: #ffffff;

  padding: 6px 10px;
  border-radius: 6px;

  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;

  z-index: 2;
}

.fan-badge {
  background: #08a944;
}

.iron-badge {
  background: #1769aa;
}


/* =========================================================
   APPLIANCE CONTENT
========================================================= */

.appliance-content {
  padding: 14px;
}

.appliance-content h3 {
  color: #27353a;
  font-size: 1rem;
  margin-bottom: 4px;
}

.appliance-price {
  color: #08a944;
  font-size: 1.15rem;
  font-weight: 800;
  margin: 4px 0 7px;
}

.appliance-content p {
  color: #65757b;
  font-size: .83rem;
  line-height: 1.5;

  min-height: 48px;
  margin-bottom: 9px;
}


/* =========================================================
   APPLIANCE META
========================================================= */

.appliance-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;

  color: #89959a;
  font-size: .72rem;

  padding-bottom: 11px;
  border-bottom: 1px solid #edf0ef;
}

.appliance-meta i {
  color: #08b64b;
  margin-right: 3px;
}


/* =========================================================
   APPLIANCE BUTTONS
========================================================= */

.appliance-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.appliance-buy {
  flex: 1;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
  background: #08b64b;
  color: #ffffff;

  border-radius: 6px;
  padding: 10px;

  font-size: .8rem;
  font-weight: 800;

  text-align: center;
}

.appliance-buy:hover {
  background: #078e3b;
}

.appliance-whatsapp {
  width: 43px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #25d366;
  color: #ffffff;

  border-radius: 6px;
  font-size: 1.1rem;
}

.appliance-whatsapp:hover {
  background: #1ebe5d;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

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

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

  .appliances-section {
    padding: 25px 8px 45px;
  }

  .appliances-heading {
    padding: 0 6px;
    margin-bottom: 18px;
  }

  .appliances-heading h2 {
    font-size: 1.4rem;
  }

  .appliances-heading p {
    font-size: .78rem;
    line-height: 1.5;
  }

  .appliances-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .appliance-image {
    height: 170px;
  }

  .appliance-content {
    padding: 9px;
  }

  .appliance-content h3 {
    font-size: .84rem;
    line-height: 1.25;
  }

  .appliance-price {
    font-size: .98rem;
  }

  .appliance-content p {
    font-size: .68rem;
    line-height: 1.45;
    min-height: 40px;
  }

  .appliance-meta {
    font-size: .58rem;
    gap: 5px;
  }

  .appliance-actions {
    margin-top: 8px;
    gap: 5px;
  }

  .appliance-buy {
    font-size: .68rem;
    padding: 8px 3px;
  }

  .appliance-whatsapp {
    width: 34px;
    font-size: .85rem;
  }

  .appliance-badge {
    top: 7px;
    left: 7px;
    padding: 4px 6px;
    font-size: .55rem;
  }

}


/* =========================================================
   VERY SMALL PHONES
========================================================= */

@media (max-width: 380px) {

  .appliances-grid {
    gap: 4px;
  }

  .appliance-image {
    height: 145px;
  }

  .appliance-content {
    padding: 8px;
  }

  .appliance-content h3 {
    font-size: .76rem;
  }

  .appliance-price {
    font-size: .88rem;
  }

  .appliance-content p {
    font-size: .62rem;
  }

  .appliance-meta {
    font-size: .55rem;
  }

}
