@import url("https://fonts.googleapis.com/css2?family=Afacad:ital,wght@0,400..700;1,400..700&family=League+Spartan:wght@100..900&display=swap");
html {
  background-color: rgb(255, 255, 255);
  color: #ffffff;
  padding: 0%;
  margin: 0;
  font-family: "Afacad";
  width: 100%;
  overflow-x: hidden;
}
body {
  margin: 0%;
  overflow-x: hidden;
}

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  background-color: #2e2e2e21;
  -webkit-backdrop-filter: blur(9px);
  backdrop-filter: blur(9px);
  width: 100%;
  z-index: 100;
  overflow-x: hidden;
  overflow-y: hidden;
  padding-top: var(--kc-headerH);
}
.main {
  display: flex;
  background-color: #efefef;
  height: fit-content;
  width: 100vw;
  flex-wrap: wrap;
}

.hero-header {
  display: flex;
  flex-direction: column;
  margin-top: 31vh;
  width: 100vw;
  align-items: center;
}
.hero-header-backdrop {
  position: absolute;
  left: 45vw;
  top: 28vh;
  z-index: 100;
  width: 250px;
}

.hero-header h1 {
  font-family: "League Spartan";
  font-size: 4em;
  margin-bottom: 0%;
  z-index: 105;
}

.hero-header p {
  font-size: 1.8em;
  font-weight: 100;
  margin-top: 0%;
  z-index: 105;
}

.webshop {
  margin-top: 0;
  display: grid;
  grid-template-columns: 500px 1fr; /* left filter | right products */
  gap: 24px;
  padding: 24px clamp(12px, 3vw, 32px) 64px;
  background: #efefef;
  justify-content: space-between;
  height: 65vh;
}

.webshop-col-1 {
  position: sticky;
  top: 9.5rem; /* ispod sticky headera */
  align-self: start;
  height: fit-content;
}

.webshop-col-2 {
  width: fit-content;
  padding: 0 2rem 0 2rem;
  max-width: 65vw;
  max-height: 55vh;
  margin: auto;
  overflow-y: auto;
  border-bottom: #22549f 2px solid;
}

.webshop-col-2::-webkit-scrollbar {
  width: 10px;
  margin-top: 0;
}
.webshop-col-2::-webkit-scrollbar-thumb {
  background: #ccd6ec;
  border-radius: 10px;
}

.webshop-col-2-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}

.filter-sort {
  background: #fff;
  border: 1px solid #e9eff7;
  border-radius: 18px;
  padding: 2rem;
}

.summary h3 {
  margin-top: 0%;
  font-size: 1.5rem;
  font-family: "League Spartan";
  font-weight: 800;
  color: #2b2b2b;
  text-align: center;
}

.summary .sum-row {
  font-size: 1.2rem;
}
.summary p {
  font-size: 1.2rem;
  text-align: center;
}

/* === Search suggest dropdown === */
.search-container {
  position: relative;
}
.search-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #e9eff7;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  z-index: 100000; /* iznad navigacije */
  max-height: 420px;
  overflow: auto;
}
.search-suggest.hidden {
  display: none;
}
.search-suggest ul {
  list-style: none;
  margin: 0;
  padding: 6px;
}
.search-suggest li {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
}
.search-suggest li:hover,
.search-suggest li.is-active {
  background: #f4f7ff;
}
.search-suggest li img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border: 1px solid #eef2fb;
  border-radius: 8px;
  background: #fff;
}
.search-suggest .ss-title {
  color: #2b2b2b;
  font-weight: 600;
}
.search-suggest .ss-price {
  color: #22549f;
  font-weight: 700;
}

/* === Product Modal === */
.product-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  z-index: 999999;
}
.product-modal.is-open {
  display: grid;
  place-items: center;
}
.pm-dialog {
  width: min(900px, 92vw);
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  border: 1px solid #e9eef7;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  max-height: 90vh;
  overflow: auto;
}
.pm-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.pm-title {
  font-family: "League Spartan";
  font-weight: 800;
  font-size: 1.6rem;
  color: #2b2b2b;
  margin: 0;
}
.pm-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}
.pm-body {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
}
.pm-img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  border: 1px solid #ebeff7;
  border-radius: 12px;
  background: #fff;
}
.pm-price .now {
  font-size: 1.6rem;
  font-weight: 800;
  color: #2b2b2b;
}
.pm-price .was {
  color: #9aa6c5;
  text-decoration: line-through;
  margin-left: 8px;
}
.pm-desc {
  color: #4d5363;
  margin-top: 6px;
}

/* tiny spacing for the toolbar */
.product-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 10px;
}

/* lijevi panel sekcije */
.fs-section + .fs-section {
  margin-top: 18px;
}
.fs-title {
  font-family: "League Spartan";
  font-weight: 800;
  color: #2b2b2b;
  font-size: 1.25rem;
  margin: 0 0 6px;
}
.fs-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.fs-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 2px;
  color: #2b2b2b;
}
.fs-list input[type="checkbox"] {
  accent-color: #22549f;
}
.fs-link {
  text-decoration: none;
  color: #2b2b2b;
}
.fs-link:hover {
  color: #22549f;
}

/* === Right column === */

.product-title {
  font-family: "League Spartan";
  font-weight: 800;
  color: #2b2b2b;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin: 8px 0;
}

/* grid kartica — koristi tvoj .product-card stilove */
.product-container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
  justify-content: center;
}

.shop-btn {
  width: 650px;
  display: flex;
  background: #22549f;
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  transition: 0.2s;
  box-shadow: 0 6px 16px rgba(34, 84, 159, 0.25);
  align-items: center;
  justify-content: center;
}

.shop-btn:hover {
  background: #0a387e;
}

/* Product Card */
.product-card {
  background: #fff;
  border: 1px solid #ebeff7;
  border-radius: 2rem;
  padding: 1rem;
  display: flex;
  position: relative;
  grid-template-rows: auto;
  grid-template-columns: auto auto auto;
  width: 650px;
  height: 190px;
  min-height: 180px;
}

.product-card .card-content {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  height: 100%;
}

.pc-add-to-cart {
  padding: 0%;
  margin: 0%;
  align-items: end;
}

.pc-add-to-cart .pc-add {
  display: flex;
  border-top-right-radius: 0%;
  border-top-left-radius: 0%;
  bottom: 0;
}

.pc-add {
  position: absolute;
  right: 1.5rem;
  top: 0.8rem;
  width: 30px;
  height: 30px;
  cursor: pointer;
  opacity: 0.8;
  background: none;
  border: none;
}
.pc-add img {
  transition: all 0.2s ease-in-out;
}

.pc-add img:hover {
  transform: scale(1.1);
}

.product-card .pc-img {
  width: 35%;
  height: auto;
  object-fit: contain;
}

.pc-info {
  display: flex;
  flex-direction: column;
  width: 35%;
  justify-content: center;
}
.pc-code {
  color: #7a86a6;
  font-size: 0.8rem;
}
.pc-title {
  color: #2b2b2b;
  font-size: 1.5rem;
  line-height: 1.25;
  height: min-content;
  font-weight: 700;
  font-family: "League Spartan";
}

.pc-description {
  color: #4d5363;
}

.pc-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  height: 100%;
  width: 30%;
}

.price-display {
  display: flex;
  flex-direction: column;
  margin-top: 3rem;
}

.pc-price .now {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2b2b2b;
}
.pc-price .was {
  color: #9aa6c5;
  text-decoration: line-through;
  font-size: 0.95rem;
}
.pc-actions {
  display: flex;
  align-items: center;
  margin-top: 0.25rem;
}
.pc-qty {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 1rem;
}
.pc-qty button {
  width: 25px;
  height: 28px;
  border: transparent;
  background: #c0c0c0;
  cursor: pointer;
  transition: all 0.5s ease;
}

.pc-qty button:hover {
  background-color: #929292;
}

.pc-qty button:nth-child(1) {
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.pc-qty button:nth-child(3) {
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.pc-qty input {
  width: 42px;
  height: 28px;
  border: transparent;
  background-color: #d9d9d9;
  text-align: center;
  padding: 0%;
}

.pc-heart {
  position: absolute;
  right: 3.5rem;
  top: 0.8rem;
  width: 28px;
  height: 28px;
  cursor: pointer;
  opacity: 0.8;
}

/* Checkout layout */
.checkout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 24px;
  max-width: 1180px;
  margin: 28px auto 80px;
}
.box {
  background: #fff;
  color: #1f1f1f;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  padding: 18px;
  min-width: 300px;
}
.box h3 {
  margin-top: 0%;
  font-size: 1.5rem;
  font-family: "League Spartan";
  font-weight: 800;
  color: #2b2b2b;
  text-align: center;
}
.back {
  display: inline-flex;
  gap: 8px;
  color: #222;
  text-decoration: none;
  margin: 6px 0 0;
}

.totals dl {
  margin: 0;
}
.totals dt,
.totals dd {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed #e6e6e6;
}
.totals .grand {
  font-weight: 700;
  border-bottom: none;
  margin-left: 0%;
  font-size: 1.2rem;
}

.stack {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  max-width: 650px;
  overflow: hidden;
  padding-right: 0%;
}
.stack input {
  padding-right: 0%;
}
.row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.select,
.input {
  width: 90%;
  height: 42px;
  border: 1px solid #d7d7d7;
  border-radius: 10px;
  padding: 0 12px;
  font: 500 14px/42px var(--font, "Afacad"), system-ui;
  background: #f9f9f9;
}
#name,
#street,
#country,
#payment_method,
#shipping_method {
  width: 96%;
}
.note {
  display: none;
  margin-top: 8px;
  font-size: 0.9rem;
  color: #666;
}
.r1-only {
  display: none;
}
.r1-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.order {
  display: grid;
  gap: 12px;
}
.item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  border-radius: 14px;
  padding: 10px 12px;
  background: #fff;
  box-shadow: inset 0 0 0 1px #eee;
  justify-content: space-between;
}
.item img {
  width: 84px;
  height: 84px;
  object-fit: cover;
  border-radius: 10px;
  background: #f2f2f2;
}
.item .muted {
  color: #888;
  font-size: 0.92rem;
}
.item .qty {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.item .qty .lock {
  font-size: 0.85rem;
  color: #999;
}
.item .price {
  text-align: right;
  font-weight: 700;
}

.submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}
.btn-primary {
  width: 650px;
  display: flex;
  background: #22549f;
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  transition: 0.2s;
  box-shadow: 0 6px 16px rgba(34, 84, 159, 0.25);
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  min-width: 280px;
  font-family: "Afacad";
  font-size: 1rem;
  border: transparent;
}
.btn-primary:hover {
  background: #0a387e;
}
.btn-primary[disabled] {
  opacity: 0.6;
  cursor: progress;
}

:root {
  --marquee-width: 100vw;
  --marquee-height: 20vh;
  /* --marquee-elements: 12; */ /* defined with JavaScript */
  --marquee-elements-displayed: 6;
  --marquee-element-width: calc(
    var(--marquee-width) / var(--marquee-elements-displayed)
  );
  --marquee-animation-duration: calc(var(--marquee-elements) * 3s);
  --kc-bg: #2c2c2c;
  --kc-text: #f2f2f2;
  --kc-dim: #cfcfcf;
  --kc-accent: #2f56a6;
}

.kc-footer {
  background: var(--kc-bg);
  color: var(--kc-text);
  font-family: "Afacad", system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
}
.container {
  width: min(1200px, 92vw);
  margin-inline: auto;
}

.kc-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1.1fr; /* brand | linkovi | kontakt */
  gap: 48px;
  padding: 56px 0 28px;
}

/* Brand */
.kc-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.kc-brand__logo {
  width: 200px;
  height: auto;
  display: block;
  margin-bottom: 18px;
}
.kc-brand__tagline {
  margin: 6px 0 18px;
  color: var(--kc-dim);
  font-size: 1rem;
  text-align: center;
}
.kc-social {
  display: flex;
  gap: 3rem;
  justify-content: center;
  align-items: center;
}
.kc-social__link {
  display: grid;
  place-items: center;
  width: fit-content;
  height: fit-content;
  color: #fff;
  transition: transform 0.2s ease;
}

.kc-social__link img {
  width: 55px;
}

.kc-social__link:nth-child(2) img {
  width: 60px;
}

.kc-social__link:hover {
  transform: translateY(-2px);
}

/* Link kolone */
.kc-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.kc-links__col h4,
.kc-contact h4 {
  font-family: "League Spartan", system-ui, sans-serif;
  font-size: 1.8rem;
  line-height: 1.1;
  margin: 0 0 12px;
  font-weight: 800;
}
.kc-links__col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.kc-links__col li + li {
  margin-top: 10px;
}
.kc-links__col a {
  color: var(--kc-text);
  text-decoration: none;
  opacity: 0.92;
  border-bottom: 1px solid transparent;
}
.kc-links__col a:hover {
  border-color: var(--kc-text);
}

/* Kontakt */
.kc-contact {
  font-style: normal;
}
.kc-contact p {
  margin: 0.5rem 0 1rem;
  color: var(--kc-dim);
}
.kc-contact a {
  color: var(--kc-text);
  text-decoration: none;
}

/* Bottom bar */
.kc-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #262626;
  margin-top: 28px;
}
.kc-footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 0.95rem;
  color: #e6e6e6;
  gap: 12px;
}
.kc-footer__bottom-inner span:nth-child(2) {
  text-align: center;
  flex: 1;
}

/* Responsive */

@media (max-width: 960px) {
  .checkout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
}

@media (max-width: 560px) {
}
