body {
  font-family: 'Segoe UI', Arial, sans-serif;
  margin: 0;
  background: #fff;
  color: #181818;
}

.filters {
  width: 260px;
  background: #fff;
  border-right: 1px solid #ededed;
  padding: 32px 0 32px 0;
  min-height: 100vh;
}

.filter-group {
  padding: 0 32px;
  margin-bottom: 16px;
}

.filter-title {
  font-size: 1.7vh;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: black;
  padding: 12px 0;
  border-bottom: 1px solid #ededed;
  cursor: pointer;
}

.filter-title span {
  font-size: 1.2em;
  font-weight: 400;
  color: #ff7929;
}

.product-main {
  flex: 1;
  padding: 32px 32px 32px 32px;
}

.products-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 32px;
  margin-bottom: 16px;
  font-size: 1.08rem;
  color: #ff7929;
}

.products-header .arrow {
  font-size: 1.2em;
  vertical-align: middle;
  color: #ff7929;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

.product-card {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 10px;
  padding: 16px 16px 48px 16px;
  box-shadow: 0 2px 6px rgba(40,40,40,0.03);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 350px;
  transition: box-shadow 0.15s, border-color 0.15s;
  position: relative;
  border-color: black;
}

.product-card:hover {
  box-shadow: 0 4px 16px rgba(255,121,41,0.16);
  border-color: #ff7929;
  scale: 1.025;
  transition: 0.2s;
}

.product-card img {
  width: 150px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 12px;
  align-self: center;
}

.product-id {
  font-size: 1.25rem;
  color: #ff7929;
  margin-bottom: 4px;
  font-weight: 500;
}

.product-name {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 3px;
  color: #181818;
}

.product-price {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #181818;
}

.product-desc {
  font-size: 1.25rem;
  color: #444;
  margin-bottom: 6px;
}

.product-stock {
  font-size: 0.98rem;
  color: #ff7929;
  margin-bottom: 10px;
}

.product-btn {
    background: #fff;
    border: 1px solid #ff7929;
    border-radius: 7px;
    padding: 6px 14px;
    font-size: 1.5rem;
    color: #ff7929;
    cursor: pointer;
    margin-bottom: 10px;
    transition: background 0.1s, color 0.1s;
    position: absolute;
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%);
}

.product-btn:hover {
  background: #ff7929;
  color: #fff;
  border-color: #ff7929;
  scale: 1.05;
  transition: 0.2s;
  font-weight: 700;
}

.banner_web_shop_box {
    
    background-size: cover;
    padding: 50px 0;
}

/* Pagination css */

.pagination {
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 40px auto 10px auto;
    font-size: 1.2rem;
    user-select: none;
}

.pagination a,
.pagination span {
    display: inline-block;
    min-width: 36px;
    padding: 7px 13px;
    margin: 0 2px;
    border-radius: 7px;
    border: 1.5px solid #ff7929;
    background: #fff;
    color: #ff7929;
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: background 0.12s, color 0.12s, border-color 0.12s, box-shadow 0.12s;
    box-shadow: 0 1px 3px rgba(255,121,41,0.06);
    cursor: pointer;
}

.pagination a:hover {
    background: #ff7929;
    color: #fff;
    border-color: #ff7929;
    box-shadow: 0 2px 10px rgba(255,121,41,0.12);
    font-weight: 700;
    scale: 1.09;
}

.pagination .current {
    background: #ff7929;
    color: #fff;
    border-color: #ff7929;
    font-weight: 700;
    cursor: default;
    pointer-events: none;
    box-shadow: 0 2px 10px rgba(255,121,41,0.14);
    scale: 1.12;
}

.pagination .disabled {
    background: #f5f5f5;
    color: #aaa;
    border-color: #ededed;
    cursor: not-allowed;
    pointer-events: none;
    font-weight: 400;
}

.prikaz-text {
    font-size: 2vh;
    margin-top: -6px;
}

.prikaz-button {
    background: #fff;
    border: 1.5px solid #ff7929;
    border-radius: 7px;
    padding: 7px 18px;
    font-size: 1.15rem;
    color: #ff7929;
    cursor: pointer;
    margin: 0 6px;
    font-weight: 500;
    transition: background 0.15s, color 0.15s, border-color 0.15s, box-shadow 0.15s;
    box-shadow: 0 1px 4px rgba(255,121,41,0.08);
}

.prikaz-button:hover,
.prikaz-button.active {
    background: #ff7929;
    color: #fff;
    border-color: #ff7929;
    box-shadow: 0 2px 10px rgba(255,121,41,0.14);
    font-weight: 700;
    scale: 1.05;
}

/* === PROMOBOX SEARCH BAR (Mobile i tablet, 991px i niže) === */
.promobox-searchbar {
  display: none;
  margin: 0 0 18px 0;
}
.promobox-searchbar input[type="text"] {
  width: 100%;
  padding: 13px 42px 13px 16px;
  border: 1.5px solid #bbb;
  border-radius: 8px;
  font-size: 1.07rem;
  background: #fff;
  outline: none;
}
.promobox-searchbar button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  margin: 0;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  font-size: 1.3rem;
}
.promobox-searchbar {
  position: relative;
}

@media (max-width: 991px) {
  .promobox-searchbar {
    display: block;
    position: relative;
    margin: 18px 0 12px 0;
  }

  .promobox-mobile-filters-btn {
    display: block;
    width: 100%;
    background: #222;
    color: #fff;
    font-size: 1.17rem;
    font-weight: 600;
    border: none;
    border-radius: 7px;
    padding: 15px 0;
    margin-bottom: 16px;
    cursor: pointer;
    letter-spacing: 0.5px;
    transition: background 0.18s;
  }
  .promobox-mobile-filters-btn:active,
  .promobox-mobile-filters-btn:focus {
    background: #ff7929;
    color: #fff;
  }

  /* SAKRIJ FILTERE NA MOBITELU (prikazuju se preko overlay-a) */
  .filters {
    display: none !important;
  }

  /* PROMOBOX FILTER OVERLAY */
  .promobox-filters-overlay {
    display: none;
    position: fixed;
    z-index: 11111;
    top: 0; left: 0; right: 0; bottom: 0;
  }

  .promobox-filters-panel {
    position: fixed;
    top: 0; left: 0; right: 0;
    width: 100vw;
    max-width: 99vw;
    height: 100vh;
    background: #fff;
    z-index: 11112;
    box-shadow: 0 0 44px rgba(0,0,0,0.22);
    display: flex;
    flex-direction: column;
    animation: promoboxPanelIn .24s;
  }

  @keyframes promoboxPanelIn {
    from { transform: translateY(-50px); opacity:0; }
    to   { transform: none; opacity:1; }
  }
  .promobox-filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 24px 16px 24px;
    border-bottom: 1px solid #eee;
    font-size: 1.19rem;
    font-weight: 700;
    color: #222;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 2;
  }
  .promobox-filters-close {
    background: none;
    border: none;
    font-size: 2.0rem;
    font-weight: 700;
    color: #889;
    cursor: pointer;
    line-height: 1;
    margin-left: 12px;
  }
  .promobox-filters-content {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 18px 18px 24px 18px;
    background: #fff;
  }
  .promobox-overlay-bg {
    position: fixed;
    z-index: 11110;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.22);
    cursor: pointer;
  }
  body.no-scroll {
    overflow: hidden !important;
    touch-action: none;
  }

  /* === 2 PROIZVODA U REDU NA MOBITELU === */
  .products-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 12px;
  }
  .product-card {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 !important;
  }
  
}

/* DESKTOP: ništa se ne mijenja */
@media (min-width: 992px) {
  .promobox-searchbar,
  .promobox-mobile-filters-btn,
  .promobox-filters-overlay {
    display: none !important;
  }
  .filters { display: flex !important; }
}

.container3,
.container3-fluid,
.container3-lg,
.container3-md,
.container3-sm,
.container3-xl,
.container3-xxl {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  max-width: 1800px;
  box-sizing: border-box;
}


@media (min-width: 1400px) {
  .container3,
  .container3-lg,
  .container3-md,
  .container3-sm,
  .container3-xl,
  .container3-xxl {
    max-width: 1800px;
  }
}

@media (min-width: 1441px) {
  .container3,
  .container3-lg,
  .container3-md,
  .container3-sm,
  .container3-xl,
  .container3-xxl {
    max-width: 1800px;
  }
}

@media (min-width: 992px) {
  .container3 {
    display: flex;
    max-width: 1800px;
    margin: 0 auto;
  }
}

.filters {
  width: 260px;
  background: #fff;
  border-right: 1px solid #ededed;
  padding: 32px 0 32px 0;
  min-height: 100vh;
}

.product-main {
  flex: 1;
  padding: 32px 32px 32px 32px;
}

@media (min-width: 60px) {
.product-main {
  flex: 1;
  padding: 8px;
}
}

.container3, .container3-fluid, .container3-lg, .container3-md, .container3-sm, .container3-xl, .container3-xxl {
  --bs-gutter-x: 3rem;
}

.container3,
.container3-fluid,
.container3-lg,
.container3-md,
.container3-sm,
.container3-xl,
.container3-xxl {
	--bs-gutter-x: 1.5rem;
	--bs-gutter-y: 0;
	width: 100%;
	padding-right: calc(var(--bs-gutter-x) * 0.5);
	padding-left: calc(var(--bs-gutter-x) * 0.5);
	margin-right: auto;
	margin-left: auto;
}

@media (max-width: 991px) {
  .promobox-mobile-filters-btn { display: block; }
  .filters { display: none !important; }
  .promobox-filters-overlay { display: none; /* pokazuje se JS-om */ }
}