/* OSKRAN-HOME-HUB-V1-CSS */

.osk-home-hub {
  margin: 4px 0 34px;
}

.osk-home-trust {
  margin: 0 0 30px;
}

.osk-home-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.osk-home-trust-item {
  display: flex;
  align-items: center;
  min-height: 92px;
  gap: 13px;
  padding: 16px;
  background: #ffffff;
  border: 1px solid #e7eaf2;
  border-radius: 17px;
  box-shadow: 0 5px 18px rgba(17, 23, 95, 0.055);
}

.osk-home-trust-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: rgba(255, 106, 0, 0.10);
  color: #ff6a00;
  font-size: 1.25rem;
}

.osk-home-trust-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.osk-home-trust-copy strong {
  margin-bottom: 3px;
  color: #11175f;
  font-size: 0.96rem;
  font-weight: 800;
}

.osk-home-trust-copy small {
  color: #6b7280;
  font-size: 0.79rem;
  line-height: 1.55;
}

.osk-home-categories {
  margin: 0 0 12px;
}

.osk-home-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 17px;
}

.osk-home-eyebrow {
  display: inline-block;
  margin-bottom: 3px;
  color: #ff6a00;
  font-size: 0.82rem;
  font-weight: 800;
}

.osk-home-section-head h2 {
  margin: 0;
  color: #11175f;
  font-size: 1.45rem;
  font-weight: 850;
  line-height: 1.4;
}

.osk-home-section-head p {
  margin: 5px 0 0;
  color: #6b7280;
  font-size: 0.91rem;
}

.osk-home-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.osk-home-category-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 108px;
  gap: 14px;
  overflow: hidden;
  padding: 17px;
  background: #ffffff;
  border: 1px solid #e7eaf2;
  border-radius: 19px;
  box-shadow: 0 7px 22px rgba(17, 23, 95, 0.065);
  color: #11175f;
  text-decoration: none !important;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.osk-home-category-card::after {
  content: "";
  position: absolute;
  width: 82px;
  height: 82px;
  inset-inline-end: -35px;
  bottom: -35px;
  border-radius: 50%;
  background: rgba(27, 0, 101, 0.035);
  pointer-events: none;
}

.osk-home-category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 106, 0, 0.32);
  box-shadow: 0 14px 31px rgba(17, 23, 95, 0.11);
  color: #11175f;
}

.osk-home-category-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 17px;
  background: linear-gradient(
    145deg,
    rgba(27, 0, 101, 0.09),
    rgba(255, 106, 0, 0.10)
  );
  color: #1b0065;
  font-size: 1.35rem;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.osk-home-category-card:hover .osk-home-category-icon {
  background: #ff6a00;
  color: #ffffff;
}

.osk-home-category-copy {
  min-width: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.osk-home-category-copy strong {
  overflow: hidden;
  color: #11175f;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.45;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.osk-home-category-copy small {
  margin-top: 4px;
  color: #6b7280;
  font-size: 0.79rem;
}

.osk-home-category-go {
  position: relative;
  z-index: 1;
  color: #c5c9d4;
  font-size: 0.76rem;
  transition:
    transform 0.2s ease,
    color 0.2s ease;
}

.osk-home-category-card:hover .osk-home-category-go {
  color: #ff6a00;
  transform: translateX(-2px);
}

html[dir="ltr"] .osk-home-category-go {
  transform: rotate(180deg);
}

html[dir="ltr"] .osk-home-category-card:hover .osk-home-category-go {
  transform: rotate(180deg) translateX(-2px);
}

@media (max-width: 991.98px) {
  .osk-home-trust-grid,
  .osk-home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .osk-home-hub {
    margin-bottom: 24px;
  }

  .osk-home-trust {
    margin-bottom: 24px;
  }

  .osk-home-trust-grid {
    gap: 8px;
  }

  .osk-home-trust-item {
    min-height: 82px;
    gap: 9px;
    padding: 11px;
    border-radius: 14px;
  }

  .osk-home-trust-icon {
    width: 39px;
    height: 39px;
    flex-basis: 39px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .osk-home-trust-copy strong {
    font-size: 0.84rem;
  }

  .osk-home-trust-copy small {
    font-size: 0.68rem;
    line-height: 1.45;
  }

  .osk-home-section-head {
    margin-bottom: 12px;
  }

  .osk-home-section-head h2 {
    font-size: 1.17rem;
  }

  .osk-home-section-head p {
    font-size: 0.79rem;
  }

  .osk-home-category-grid {
    gap: 8px;
  }

  .osk-home-category-card {
    min-height: 92px;
    gap: 8px;
    padding: 11px;
    border-radius: 14px;
  }

  .osk-home-category-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 12px;
    font-size: 1rem;
  }

  .osk-home-category-copy strong {
    font-size: 0.82rem;
  }

  .osk-home-category-copy small {
    font-size: 0.7rem;
  }

  .osk-home-category-go {
    display: none;
  }
}

/* ============================================================
   OSKRAN-HOME-HUB-V2-CSS
   Dynamic product sections
   ============================================================ */

.osk-home-product-sections {
  margin-top: 38px;
}

.osk-home-product-section {
  margin-bottom: 38px;
}

.osk-home-product-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 17px;
}

.osk-home-product-heading h2 {
  margin: 0;
  color: #11175f;
  font-size: 1.45rem;
  font-weight: 850;
  line-height: 1.4;
}

.osk-home-product-heading p {
  max-width: 720px;
  margin: 5px 0 0;
  color: #6b7280;
  font-size: 0.90rem;
}

.osk-home-section-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #e7eaf2;
  border-radius: 12px;
  background: #ffffff;
  color: #11175f;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none !important;
  transition:
    border-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.osk-home-section-link:hover {
  border-color: rgba(255, 106, 0, 0.45);
  color: #ff6a00;
  box-shadow: 0 6px 18px rgba(17, 23, 95, 0.07);
}

html[dir="ltr"] .osk-home-section-link i {
  transform: rotate(180deg);
}

.osk-home-product-grid {
  display: grid;
  grid-template-columns:
    repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.osk-home-product-item {
  min-width: 0;
  display: flex;
}

.osk-home-product-item > .product-thumb {
  width: 100%;
}

.osk-home-product-section[
  data-product-section="solar"
] {
  padding: 25px;
  border: 1px solid rgba(255, 106, 0, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(
      135deg,
      rgba(255, 106, 0, 0.045),
      rgba(27, 0, 101, 0.025)
    );
}

.osk-home-product-section[
  data-product-section="tech"
] {
  padding: 25px;
  border: 1px solid rgba(27, 0, 101, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(
      135deg,
      rgba(27, 0, 101, 0.035),
      rgba(255, 255, 255, 0.45)
    );
}

@media (max-width: 991.98px) {
  .osk-home-product-grid {
    grid-template-columns:
      repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
}

@media (max-width: 575.98px) {
  .osk-home-product-sections {
    margin-top: 28px;
  }

  .osk-home-product-section {
    margin-bottom: 29px;
  }

  .osk-home-product-heading {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
  }

  .osk-home-product-heading h2 {
    font-size: 1.13rem;
  }

  .osk-home-product-heading p {
    font-size: 0.76rem;
    line-height: 1.55;
  }

  .osk-home-section-link {
    min-height: 36px;
    padding: 6px 9px;
    font-size: 0.70rem;
  }

  .osk-home-product-grid {
    gap: 8px;
  }

  .osk-home-product-section[
    data-product-section="solar"
  ],
  .osk-home-product-section[
    data-product-section="tech"
  ] {
    padding: 13px 8px;
    border-radius: 16px;
  }
}

/* OSKRAN-HOME-HUB-V2-CSS-END */

/* ============================================================
   OSKRAN-HOME-BLANK-SPACE-FIX-V2C
   Neutralize legacy OpenCart sticky-footer padding on HOME only.
   Do not alter global #content behavior on inner pages.
   ============================================================ */

#common-home #content,
#common-home #column-left,
#common-home #column-right {
  padding-bottom: 32px !important;
}

@media (max-width: 767.98px) {
  #common-home #content,
  #common-home #column-left,
  #common-home #column-right {
    padding-bottom: 24px !important;
  }
}

/* OSKRAN-HOME-BLANK-SPACE-FIX-V2C-END */
