:root {
  --bg: #ffffff;
  --bg-subtle: #fafafa;
  --bg-elev: #f6f6f6;
  --surface: #ffffff;
  --surface-hover: #f9f9f9;
  --border: #ececec;
  --border-strong: #e0e0e0;
  --text: #0a0a0a;
  --muted: #737373;
  --muted-light: #a3a3a3;
  --accent: #0a0a0a;
  --accent-hover: #404040;
  --accent-soft: rgba(10, 10, 10, 0.06);
  --cta: #0a0a0a;
  --cta-hover: #262626;
  --danger: #b91c1c;
  --radius: 6px;
  --radius-sm: 4px;
  --shadow: none;
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.06);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --font-display: "Outfit", var(--font);
  --max: 1120px;
  --header-h: 56px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 1000;
  padding: 0.5rem 1rem;
  background: var(--cta);
  color: #fff;
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

code {
  font-size: 0.88em;
  font-family: ui-monospace, monospace;
  background: var(--bg-subtle);
  padding: 0.12em 0.4em;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* Announcement — minimal */
.announcement-bar {
  background: var(--bg-subtle);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border);
}

.announcement-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.announcement-bar__text {
  margin: 0;
}

.announcement-bar__link {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.announcement-bar__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border-strong);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

/* NFS BiH logo — kružni crop skida crnu pozadinu oko kruga */
.brand-mark {
  display: block;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(33, 49, 142, 0.08);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.12);
}

.brand-mark--header {
  width: 40px;
  height: 40px;
}

.brand-mark--footer {
  width: 48px;
  height: 48px;
}

.brand-mark--footer img {
  transform: scale(1.1);
}

.site-header__wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-header__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.02em;
}

.site-header__tag {
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-light);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.75rem;
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }
}

.site-nav__link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.site-nav__link:hover {
  color: var(--text);
  border-color: var(--text);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.menu-toggle {
  display: none;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s, background 0.15s;
}

.icon-btn:hover {
  color: var(--text);
  background: var(--bg-subtle);
}

.btn-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s;
}

.btn-cart:hover {
  background: var(--bg-subtle);
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 0.65rem;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  background: var(--text);
  color: #fff;
  border-radius: 999px;
}

.cart-badge[hidden] {
  display: none;
}

/* Search */
.search-popover {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  padding: 0.75rem 0;
}

.search-popover[hidden] {
  display: none;
}

.search-popover__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-input {
  flex: 1;
  padding: 0.6rem 0;
  border: none;
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  background: transparent;
  color: var(--text);
  font-family: inherit;
  font-size: 0.9375rem;
}

.search-input:focus {
  outline: none;
  border-bottom-color: var(--text);
}

.search-input::placeholder {
  color: var(--muted-light);
}

.search-popover__close {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem;
}

.search-popover__close:hover {
  color: var(--text);
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  pointer-events: none;
  visibility: hidden;
}

.mobile-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.25s;
}

.mobile-drawer.is-open .mobile-drawer__backdrop {
  opacity: 1;
}

.mobile-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 280px);
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--border);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  display: flex;
  flex-direction: column;
  box-shadow: none;
}

.mobile-drawer.is-open .mobile-drawer__panel {
  transform: translateX(0);
}

.mobile-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.mobile-drawer__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
}

.mobile-drawer__nav {
  display: flex;
  flex-direction: column;
  padding: 0.75rem;
  gap: 0.125rem;
}

.mobile-drawer__nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: background 0.15s;
}

.mobile-drawer__nav a:hover {
  background: var(--bg-subtle);
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(2.75rem, 7vw, 4.5rem) 0 clamp(3rem, 8vw, 5rem);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-color: #f8f8f8;
  background-image:
    radial-gradient(ellipse 85% 55% at 50% -15%, rgba(10, 10, 10, 0.04), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f6f6f6 48%, #fafafa 100%);
  z-index: 0;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(10, 10, 10, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.018) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.08) 45%, transparent 78%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr minmax(260px, 0.42fr);
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__trust {
    margin-inline: auto;
  }

  .hero__cta {
    justify-content: center;
  }

  .hero-emblem {
    margin-inline: auto;
  }
}

.hero__eyebrow {
  margin: 0 0 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted-light);
}

.hero__match-line {
  margin: 0 0 1.1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.01em;
}

.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.125rem, 5vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--text);
}

.hero__title-accent {
  display: block;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.48em;
  letter-spacing: 0.01em;
  margin-top: 0.5rem;
}

.hero__lead {
  margin: 1.35rem 0 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .hero__lead {
    margin-inline: auto;
  }
}

.hero__cta {
  margin-top: 1.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.hero__trust {
  margin: 2.25rem 0 0;
  max-width: 42ch;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--muted-light);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .hero__trust {
    text-align: center;
  }
}

/* Hero — emblem (motiv zastave BiH) */
.hero__visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

@media (max-width: 900px) {
  .hero__visual {
    justify-content: center;
    padding-top: 0.75rem;
  }
}

.hero-emblem {
  margin: 0;
  width: 100%;
  max-width: min(300px, 100%);
}

.hero-emblem__frame {
  position: relative;
  margin-inline: auto;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(33, 49, 142, 0.12);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 20px 50px rgba(33, 49, 142, 0.12),
    0 6px 16px rgba(0, 0, 0, 0.06);
}

.hero-emblem__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.1);
}

.hero-emblem__caption {
  margin: 0.9rem 0 0;
  text-align: center;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-light);
}

/* Logos strip */
.logos-strip {
  padding: 1.5rem 0;
  border-block: 1px solid var(--border);
  background: var(--bg);
}

.logos-strip__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1.25rem;
  color: var(--muted-light);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logos-strip__dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--border-strong);
  flex-shrink: 0;
}

/* Sections */
.section {
  padding: clamp(4rem, 9vw, 5.5rem) 0;
}

.section--alt {
  background: var(--bg-subtle);
}

.section-head {
  margin-bottom: 2.75rem;
  text-align: center;
  max-width: 480px;
  margin-inline: auto;
}

.section-head--row {
  max-width: none;
  margin-inline: 0;
  margin-bottom: 2.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  text-align: left;
}

.section-head__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.section-head__desc {
  margin: 0.5rem 0 0;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 400;
}

/* Collections */
.collections__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 900px) {
  .collections__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

.collection-card {
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: border-color 0.2s ease;
  box-shadow: none;
}

.collection-card:hover {
  border-color: var(--border-strong);
}

.collection-card__media {
  height: 140px;
  background-size: cover;
  background-position: center;
  filter: grayscale(12%) contrast(0.98);
}

.collection-card:hover .collection-card__media {
  filter: grayscale(0%) contrast(1);
}

.collection-card__body {
  padding: 1.35rem 1.25rem 1.5rem;
}

.collection-card__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
}

.collection-card__count {
  margin: 0.4rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
  font-weight: 400;
}

.collection-card__cta {
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text);
}

.collection-card__cta i {
  display: none;
}

/* Catalog */
.select-input {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23737373' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.75rem;
}

.catalog__empty {
  text-align: center;
  color: var(--muted);
  padding: 3rem 1rem;
  font-size: 0.9375rem;
}

.catalog__empty[hidden] {
  display: none;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
  box-shadow: none;
}

.product-card:hover {
  border-color: var(--border-strong);
}

.product-card.is-hidden {
  display: none;
}

.product-card__media {
  position: relative;
  height: 168px;
  background: var(--bg-elev);
  background-size: cover;
  background-position: center;
  filter: grayscale(8%);
}

.product-card:hover .product-card__media {
  filter: grayscale(0%);
}

.product-card__badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  padding: 0.2rem 0.45rem;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.product-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card__collection {
  margin: 0;
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-light);
}

.product-card__title {
  margin: 0.4rem 0 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.product-card__desc {
  margin: 0.45rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  flex: 1;
  line-height: 1.55;
  font-weight: 400;
}

.product-card__footer {
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.product-card__price-block {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.product-card__compare {
  font-size: 0.75rem;
  color: var(--muted-light);
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.product-card__price {
  font-size: 1.0625rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.35rem;
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn:active {
  transform: scale(0.99);
}

.btn-primary {
  background: var(--cta);
  color: #fff;
}

.btn-primary:hover {
  background: var(--cta-hover);
}

.btn-primary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-strong);
}

.btn-ghost:hover {
  border-color: var(--text);
  background: var(--bg-subtle);
}

.btn-small {
  padding: 0.45rem 1rem;
  font-size: 0.75rem;
}

.btn-block {
  width: 100%;
}

.btn-add {
  white-space: nowrap;
}

/* Promo */
.promo-banner__inner {
  display: block;
  padding: clamp(2rem, 4vw, 2.75rem) 0;
  border: none;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
}

.promo-banner__copy .btn {
  margin-top: 0.25rem;
}

.promo-banner__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.promo-banner__text {
  margin: 0.65rem auto 1.25rem;
  color: var(--muted);
  max-width: 38ch;
  font-size: 0.9375rem;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .promo-banner__copy .btn {
    width: 100%;
  }
}

/* FAQ */
.faq-block__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

@media (max-width: 768px) {
  .faq-block__grid {
    grid-template-columns: 1fr;
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}

.faq-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  padding: 1.1rem 0;
  box-shadow: none;
}

.faq-item summary {
  font-weight: 500;
  font-size: 0.9375rem;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 0;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 3rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-brand__name {
  margin: 0.45rem 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.footer-brand__tag {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 28ch;
}

.footer-col__title {
  margin: 0 0 0.85rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-light);
}

.footer-col a {
  display: block;
  color: var(--text);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 0.45rem;
  opacity: 0.85;
}

.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-news__hint {
  font-size: 0.8125rem;
  color: var(--muted);
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.footer-news__fake {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-news__fake input {
  flex: 1;
  min-width: 160px;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--muted-light);
  font-size: 0.8125rem;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.75rem;
  color: var(--muted-light);
}

.footer-toplink {
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
}

.footer-toplink:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Drawer + košarica */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 300;
  pointer-events: none;
  visibility: hidden;
}

.drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.22);
  opacity: 0;
  transition: opacity 0.25s;
}

.drawer.is-open .drawer-backdrop {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 400px);
  height: 100%;
  background: var(--surface);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow-hover);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.drawer.is-open .drawer-panel {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.drawer-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

.drawer-body {
  flex: 1;
  overflow: auto;
  padding: 0.5rem 1.25rem 1.25rem;
}

.drawer-foot {
  padding: 1.1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
}

.cart-line__title {
  font-weight: 600;
}

.cart-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

.cart-line:last-child {
  border-bottom: none;
}

.cart-line__meta {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.45rem;
}

.cart-qty button {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.cart-qty button:hover {
  border-color: var(--text);
}

.cart-line__right {
  text-align: right;
  flex-shrink: 0;
}

.cart-line__remove {
  margin-top: 0.35rem;
  border: none;
  background: none;
  color: var(--danger);
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.cart-empty {
  color: var(--muted);
  text-align: center;
  padding: 2.5rem 0;
  font-size: 0.875rem;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  font-weight: 500;
}

.cart-total strong {
  font-size: 1.125rem;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.cart-checkout-note {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-light);
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  z-index: 400;
  padding: 0.55rem 1.25rem;
  background: var(--text);
  color: #fff;
  font-weight: 500;
  font-size: 0.8125rem;
  border: none;
  border-radius: 999px;
  box-shadow: var(--shadow-hover);
  transition: transform 0.28s ease;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .collection-card,
  .product-card,
  .drawer-panel,
  .mobile-drawer__panel {
    transition: none;
  }
}
