/* =========================================
   GIFTORY ELECTRONICS PAGE
========================================= */


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

.electronics-banner {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #103f34;
}

.electronics-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}


/* =========================================
   MAIN CATALOGUE SECTION
========================================= */

.electronics-catalogue {
  padding: 70px 0 90px;
  background: #f8f3e9;
}

.electronics-layout {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  gap: 42px;
  align-items: start;
}


/* =========================================
   LEFT SIDEBAR
========================================= */

.electronics-sidebar {
  position: sticky;
  top: 110px;
  background: #ffffff;
  border: 1px solid rgba(16, 63, 52, 0.1);
  border-radius: 22px;
  padding: 28px 22px;
  box-shadow: 0 14px 38px rgba(16, 63, 52, 0.08);
}

.electronics-sidebar-title {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(16, 63, 52, 0.1);
}

.electronics-sidebar-title span {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.8px;
  color: #b68a47;
}

.electronics-sidebar-title h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  line-height: 1.2;
  color: #103f34;
}

.electronics-sidebar-title p {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #6b6b65;
}


/* =========================================
   SIDEBAR GROUPS
========================================= */

.electronics-filter-group {
  margin-bottom: 26px;
}

.electronics-filter-group h3 {
  margin: 0 0 11px;
  font-size: 13px;
  font-weight: 800;
  color: #103f34;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.electronics-filter-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.electronics-filter-list button {
  width: 100%;
  border: none;
  background: transparent;
  padding: 9px 11px;
  border-radius: 10px;
  text-align: left;
  font-family: inherit;
  font-size: 13px;
  color: #66635d;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.electronics-filter-list button:hover {
  color: #103f34;
  background: #f6eddb;
  transform: translateX(3px);
}

.electronics-filter-list button.active {
  color: #103f34;
  background: linear-gradient(
    90deg,
    #ead3a5,
    #f8ecd5
  );
  border: 1px solid rgba(185, 139, 70, 0.35);
  box-shadow: 0 5px 14px rgba(185, 139, 70, 0.12);
  font-weight: 700;
  transform: translateX(4px);
}


/* =========================================
   VIEW ALL BUTTON
========================================= */

.electronics-show-all {
  width: 100%;
  border: none;
  padding: 13px 16px;
  border-radius: 12px;
  background: #103f34;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.electronics-show-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(16, 63, 52, 0.18);
}

.electronics-show-all.active {
  color: #103f34;
  background: linear-gradient(
    90deg,
    #e0bb70,
    #c49048
  );
  box-shadow: 0 7px 20px rgba(185, 139, 70, 0.2);
}


/* =========================================
   RIGHT AREA TOP
========================================= */

.electronics-products {
  min-width: 0;
}

.electronics-products-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 30px;
}

.electronics-products-top span {
  display: inline-block;
  margin-bottom: 7px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #b68a47;
}

.electronics-products-top h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
  line-height: 1.12;
  color: #103f34;
}

.electronics-products-top > p {
  margin: 0 0 5px;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
  color: #77736c;
}


/* =========================================
   PRODUCT GRID
========================================= */

.electronics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}


/* =========================================
   PRODUCT CARD
========================================= */

.electronics-product-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(16, 63, 52, 0.09);
  border-radius: 19px;
  box-shadow: 0 9px 28px rgba(16, 63, 52, 0.07);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border 0.3s ease;
}

.electronics-product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(16, 63, 52, 0.12);
}


/* =========================================
   SELECTED PRODUCT HIGHLIGHT
========================================= */

.electronics-product-card.selected-product {
  border: 2px solid #c99b50;
  box-shadow:
    0 0 0 4px rgba(201, 155, 80, 0.12),
    0 18px 45px rgba(16, 63, 52, 0.15),
    0 0 28px rgba(201, 155, 80, 0.18);
  transform: translateY(-6px);
}

.electronics-product-card.selected-product::before {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    #a97834,
    #e2bf76,
    #c79449
  );
}


/* =========================================
   PRODUCT IMAGE
========================================= */

.electronics-product-image {
  height: 270px;
  background: #faf8f2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: hidden;
}

.electronics-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.electronics-product-card:hover
.electronics-product-image img {
  transform: scale(1.04);
}


/* =========================================
   PRODUCT INFORMATION
========================================= */

.electronics-product-info {
  padding: 21px 20px 23px;
}

.electronics-product-info p {
  margin: 0 0 7px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: #b68a47;
}

.electronics-product-info h3 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 21px;
  line-height: 1.3;
  color: #103f34;
}

.electronics-product-info span {
  display: block;
  min-height: 38px;
  margin-bottom: 14px;
  font-size: 13px;
  line-height: 1.55;
  color: #77736c;
}

.electronics-product-info strong {
  display: block;
  margin-bottom: 17px;
  font-size: 14px;
  color: #103f34;
}

.electronics-product-info a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  color: #b28746;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.electronics-product-info a:hover {
  color: #103f34;
  transform: translateX(4px);
}


/* =========================================
   CORPORATE CTA
========================================= */

.electronics-cta {
  padding: 0 0 90px;
  background: #f8f3e9;
}

.electronics-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 46px 48px;
  border-radius: 24px;
  background:
    linear-gradient(
      135deg,
      #0f3c32,
      #164f41
    );
  box-shadow: 0 18px 45px rgba(16, 63, 52, 0.18);
}

.electronics-cta-box span {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #d8b46c;
}

.electronics-cta-box h2 {
  margin: 0 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1.2;
  color: #ffffff;
}

.electronics-cta-box p {
  max-width: 700px;
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
}

.electronics-cta-box .btn {
  flex-shrink: 0;
}


/* =========================================
   LAPTOP / SMALL DESKTOP
========================================= */

@media (max-width: 1100px) {

  .electronics-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
  }

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

  .electronics-products-top h1 {
    font-size: 36px;
  }

  .electronics-sidebar {
    top: 95px;
  }

}


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

@media (max-width: 850px) {

  .electronics-catalogue {
    padding: 50px 0 70px;
  }

  .electronics-layout {
    display: block;
  }

  .electronics-sidebar {
    position: static;
    margin-bottom: 35px;
  }

  .electronics-products-top {
    align-items: flex-start;
  }

  .electronics-cta-box {
    padding: 36px 30px;
  }

}


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

@media (max-width: 760px) {

  .electronics-banner img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .electronics-catalogue {
    padding: 40px 0 55px;
  }

  .electronics-sidebar {
    padding: 22px 17px;
    border-radius: 17px;
  }

  .electronics-sidebar-title h2 {
    font-size: 24px;
  }

  .electronics-products-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 23px;
  }

  .electronics-products-top h1 {
    font-size: 31px;
  }

  .electronics-products-top > p {
    margin: 0;
  }

  .electronics-grid {
    grid-template-columns: 1fr;
    gap: 19px;
  }

  .electronics-product-image {
    height: 260px;
  }

  .electronics-product-info {
    padding: 19px 18px 21px;
  }

  .electronics-product-info h3 {
    font-size: 20px;
  }

  .electronics-cta {
    padding-bottom: 60px;
  }

  .electronics-cta-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 23px;
    border-radius: 20px;
  }

  .electronics-cta-box h2 {
    font-size: 28px;
  }

}


/* =========================================
   VERY SMALL MOBILE
========================================= */

@media (max-width: 480px) {

  .electronics-catalogue {
    padding-top: 32px;
  }

  .electronics-products-top h1 {
    font-size: 28px;
  }

  .electronics-product-image {
    height: 235px;
    padding: 15px;
  }

  .electronics-filter-list button {
    font-size: 12.5px;
  }

  .electronics-cta-box h2 {
    font-size: 25px;
  }

}