:root {
  --ak-red: #dc2626;
  --ak-red-dark: #b91c1c;
  --ak-black: #0f0f0f;
  --ak-gray: #6b7280;
  --ak-border: #e5e7eb;
}

/* ===============================
   LAYOUT
=============================== */

.akum-section {
  width: 100%;
  max-width: var(--apex-home-max, 1520px);
  margin: 10px auto 40px;
  padding: 0 var(--apex-home-padding, clamp(18px, 2.2vw, 34px));
}

.akum-grid {
  display: grid;
  grid-template-columns: 65% 35%;
  gap: clamp(28px, 3.4vw, 84px);
  align-items: flex-start;
}

.akum-left {
  padding-top: 20px;
}

/* ===============================
   HEADER / TEXT
=============================== */

.akum-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(220, 38, 38, 0.35);
  background: #fff;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 28px;
}

.akum-badge i {
  color: var(--ak-red);
}

.akum-title {
  font-size: clamp(36px, 3vw, 58px);
  font-weight: 900;
  line-height: 1.05;
  margin: 0 0 22px;
}

.akum-title span {
  color: var(--ak-red);
}

.akum-text {
  font-size: clamp(16px, 1.05vw, 20px);
  color: #0f0f0f;
  max-width: 640px;
  line-height: 1.6;
  margin: 0 0 6px;
}

/* ===============================
   BRAND LOGOS
=============================== */

.akum-brands-title {
  margin: 48px 0 18px;
  font-weight: 900;
  letter-spacing: 0.18em;
  color: #0f0f0f;
}

.akum-brands-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.akum-brand-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--ak-border);
  text-decoration: none;
  transition: all .25s ease;
}

.akum-brand-pill img {
  max-width: 120px;     /* optimized for 400x100 logos */
  max-height: 32px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .85;
  transition: all .25s ease;
}

.akum-brand-pill:hover {
  border-color: var(--ak-red);
  box-shadow: 0 14px 34px rgba(220, 38, 38, 0.18);
  transform: translateY(-2px);
}

.akum-brand-pill:hover img {
  filter: grayscale(0);
  opacity: 1;
}

/* Optional active state */
.akum-brand-pill.active {
  border-color: var(--ak-red);
  box-shadow: 0 18px 44px rgba(220, 38, 38, 0.25);
}

.akum-brand-pill.active img {
  filter: grayscale(0);
  opacity: 1;
}

/* ===============================
   FILTER BOX
=============================== */

.akum-filter-box {
  background: #fff;
  border-radius: 28px;
  padding: 26px;
  border: 2px solid rgba(220, 38, 38, 0.18);
  box-shadow: 0 40px 120px rgba(220, 38, 38, 0.15);
  width: min(100%, 460px);
  margin-left: auto;
}

.akum-filter-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.25em;
  color: var(--ak-gray);
  margin-bottom: 26px;
}

.akum-filter-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  margin-bottom: 10px;
}

.akum-filter-select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid var(--ak-border);
  font-size: 16px;
  font-weight: 600;
  background: #fff;
  margin-bottom: 22px;
}

.akum-filter-btn {
  width: 100%;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--ak-red), var(--ak-red-dark));
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  border: none;
  cursor: pointer;
  box-shadow: 0 20px 50px rgba(220, 38, 38, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 26px;
  transition: .25s;
}

.akum-filter-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 70px rgba(220, 38, 38, 0.55);
}

.akum-filter-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-radius: 999px;
  border: 2px dashed rgba(220, 38, 38, 0.35);
  font-weight: 800;
}

.akum-filter-help i {
  color: var(--ak-red);
}

.akum-filter-phone {
  color: var(--ak-red);
  white-space: nowrap;
}
/* =====================================================
   AKUMULATORI SECTION – MOBILE OPTIMIZATION
===================================================== */
@media (max-width: 768px) {

  /* ===============================
     SECTION & GRID
  =============================== */
  .akum-section {
    margin: 0 auto 40px;
    padding: 0 16px;
  }

  .akum-grid {
    margin-top: 40px;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .akum-left {
    padding-top: 0;
    text-align: center;
  }

  /* ===============================
     HEADER / TEXT
  =============================== */
  .akum-badge {
    margin: 0 auto 20px;
    font-size: 12px;
    padding: 8px 14px;
    letter-spacing: 0.14em;
  }

  .akum-title {
    font-size: 32px;
    line-height: 1.2;
    margin-bottom: 18px;
  }

  .akum-text {
    font-size: 15px;
    line-height: 1.65;
    max-width: 480px;
    margin: 0 auto 10px;
  }

  /* ===============================
     BRAND LOGOS
  =============================== */
  .akum-brands-title {
    margin: 34px 0 16px;
    font-size: 12px;
    text-align: center;
  }

  .akum-brands-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 420px;
    margin: 0 auto;
  }

  .akum-brand-pill {
    height: 56px;
    padding: 10px 14px;
  }

  .akum-brand-pill img {
    max-width: 100px;
    max-height: 28px;
  }

  /* ===============================
     FILTER BOX
  =============================== */
  .akum-filter-box {
    width: min(100%, 420px);
    margin-left: auto;
    margin-right: auto;
    padding: 20px 18px;
    border-radius: 22px;
    box-shadow: 0 25px 70px rgba(220, 38, 38, 0.18);
  }

  .akum-filter-title {
    font-size: 14px;
    justify-content: center;
    margin-bottom: 22px;
  }

  .akum-filter-label {
    font-size: 14px;
  }

  .akum-filter-select {
    padding: 16px 18px;
    font-size: 15px;
    border-radius: 16px;
    margin-bottom: 18px;
  }

  .akum-filter-btn {
    padding: 18px;
    font-size: 16px;
    border-radius: 20px;
    margin-bottom: 22px;
  }

  .akum-filter-help {
    flex-direction: column;
    gap: 6px;
    text-align: center;
    padding: 16px 18px;
    font-size: 14px;
  }

  .akum-filter-phone {
    font-size: 15px;
  }
}

@media (min-width: 1800px) {
  .akum-grid {
    grid-template-columns: 62% 38%;
  }
}

/* =====================================================
   EXTRA SMALL DEVICES
===================================================== */
@media (max-width: 380px) {

  .akum-title {
    font-size: 28px;
  }

  .akum-brands-row {
    grid-template-columns: 1fr;
    max-width: 300px;
  }

}
/* =====================================================
   AKUM SECTION — FULL WIDTH BACKGROUND + CENTERED GRID
===================================================== */

.akum-section{
  max-width: 100% !important;
  margin: 0px!important;
  padding: 90px 0 !important;               
  background-image: url("https://apexauto.ba/wp-content/uploads/2026/03/akumulatori-1.jpg") !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  position: relative !important;
}

/* make all content sit above overlay */
.akum-section *{
  position: relative !important;
  z-index: 1 !important;
}

/* Move the container behavior to the grid */
.akum-grid{
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;               /* keeps your side spacing */
}

/* keep your mobile padding but make section full width */
@media (max-width: 768px){
  .akum-section{
    margin: 0 0 14px !important;
    padding: 28px 0 16px !important;
  }

  .akum-grid{
    gap: 18px !important;
    padding: 0 16px !important;
  }

  .akum-filter-box {
    margin-bottom: 0 !important;
  }
}

@media (max-width: 1536px) and (min-width: 1024px) {
  .akum-section{
    padding: 72px clamp(26px, 3.4vw, 54px) !important;
  }

  .akum-grid {
    max-width: var(--apex-home-max, 1240px) !important;
    padding-inline: clamp(26px, 3.4vw, 54px) !important;
    gap: clamp(20px, 2.6vw, 42px);
  }

  .akum-title {
    font-size: clamp(30px, 2.6vw, 44px);
  }

  .akum-text {
    font-size: clamp(14px, .95vw, 17px);
    line-height: 1.5;
  }
}
