/* Easy Mode — Dark theme styles (loaded by controller) */

/* Reset wrapper */
#wrapper {
  background: var(--bg, #050606) !important;
}

/* jQuery UI overrides handled inline in selector.tpl */

/* Owl carousel overrides */
.owl-carousel .owl-stage-outer {
  overflow: hidden;
}
.owl-nav button.disabled {
  opacity: 0.3;
}
#suggestions-carousel .owl-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 14px;
}
#suggestions-carousel .owl-nav button {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid rgba(255,255,255,.08) !important;
  border-radius: 10px !important;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s;
}
#suggestions-carousel .owl-nav button:hover {
  background: rgba(32,92,12,.15) !important;
  border-color: rgba(32,92,12,.4) !important;
}
#suggestions-carousel .owl-nav button:hover span {
  color: #c7f0cf !important;
}
#suggestions-carousel .owl-dots {
  text-align: center;
  margin-top: 10px;
}
#suggestions-carousel .owl-dot span {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  display: inline-block;
  margin: 0 4px;
}
#suggestions-carousel .owl-dot.active span {
  background: #33cc00;
}

/* Legacy nav classes (kept for compatibility) */
.nav-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Equal-height owl items */
#suggestions-carousel .owl-stage {
  display: flex;
}
#suggestions-carousel .owl-item {
  display: flex;
  width: auto !important;
  flex: 1;
}

/* Build cards (returned via AJAX in builds.tpl) */
.xem-build-card {
  border: 1px solid var(--line, #1a1f22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.015));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 36px rgba(0,0,0,.55);
  transition: .25s ease;
  margin: 0;
  width: 100%;
}
.xem-build-card:hover {
  border-color: rgba(32,92,12,.55);
  box-shadow: 0 0 0 2px rgba(32,92,12,.35), 0 0 36px rgba(32,92,12,.5);
}

.xem-build-art {
  height: 200px;
  background: #0e1011;
  border-bottom: 1px solid var(--line, #1a1f22);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.xem-build-art::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #33cc00 30%, #33cc00 70%, transparent);
  opacity: .8;
}
.xem-build-art img {
  max-width: 80%;
  max-height: 85%;
  object-fit: contain;
  display: block;
}

.xem-build-body {
  padding: 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.xem-build-name {
  font-size: 18px;
  font-weight: 900;
  color: #f8f9f9;
  margin: 0;
  letter-spacing: .02em;
}

.xem-build-specs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.xem-build-specs li {
  font-size: 11px;
  line-height: 1.3;
  color: #f8f9f9;
  background: transparent;
  border: 1px solid var(--line, #1a1f22);
  padding: 2px 7px;
  border-radius: 999px;
}

.xem-build-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px;
  border-top: 1px solid var(--line, #1a1f22);
  margin-top: auto;
}

.xem-build-price {
  font-size: 22px;
  font-weight: 900;
  color: #33cc00;
  text-shadow: 0 0 14px rgba(32,92,12,.35);
}

.xem-build-slash {
  font-size: 13px;
  color: #9aa3a6;
  text-decoration: line-through;
  margin-left: 8px;
}

.xem-build-cta {
  background: linear-gradient(135deg, #33cc00, rgba(32,92,12,1));
  color: #e6ffe6;
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  font-size: 13px;
  letter-spacing: .04em;
  transition: opacity .2s;
}
.xem-build-cta:hover {
  opacity: .9;
  color: #e6ffe6;
}

.xem-build-affirm {
  padding: 8px 14px 14px;
  font-size: 13px;
  color: #9aa3a6;
  text-align: center;
}
.xem-build-affirm a {
  color: #33cc00 !important;
}

/* Mobile */
@media screen and (max-width: 767px) {
  .owl-item {
    width: 300px !important;
  }
  .owl-custom-stage-outer {
    padding-top: 10px;
  }
  .owl-custom {
    display: none;
  }
  .mobile-carousel {
    padding: 0 !important;
    min-width: 290px !important;
  }
}

@media screen and (max-width: 990px) {
  .carousel-left,
  .carousel-right {
    display: none;
  }
}

@media screen and (min-width: 991px) {
  .owl-nav {
    display: none;
  }
}
