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

:root {
  --font-primary: "Skia", -apple-system, BlinkMacSystemFont, "Segoe UI",
                  system-ui, sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* TOP SHIPPING BAR */
.shipping-bar {
  background-color: #4e5424;        
  color: #ffffff;
  font-size: 14px;
}

.shipping-bar-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 8px 24px;
  display: flex;
  align-items: center;
}

.shipping-bar-inner p {
  margin: 0 auto;                  
}

.lang-switch {
  margin-left: auto;
  font-size: 14px;
}

/* MAIN HEADER */
.site-header {
  background-color: #ffffff;
}

.header-row {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 24px 14px;
  display: grid;
  grid-template-columns: 1.6fr auto 1.6fr;
  align-items: center;
  column-gap: 32px;
}

.header-left-nav,
.header-right {
  display: flex;
  align-items: center;
}

.header-logo {
  text-align: center;
}

.header-logo .logo-text {
  text-decoration: none;
  color: #3f3826;
  letter-spacing: 0.35em;
  font-weight: 600;
  font-size: 14px;
}

.site-header .primary-menu {
  list-style: none;              
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
  font-size: 14px;
}

.site-header .primary-menu li {
  margin: 0;
  padding: 0;
}

.site-header .primary-menu a {
  text-decoration: none;
  color: #4b4635;
}

.site-header .primary-menu a:hover {
  color: #5c6525;
}

.header-right {
  justify-content: flex-end;
  gap: 32px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.header-actions a {
  text-decoration: none;
  color: #4b4635;
}

.account-icon {
  font-size: 18px;
}

.header-divider {
  border-bottom: 1px solid #d5c8a0;
}

/* Footer */
.site-footer {
  background-color: #f7f1e0;
  padding: 24px 0;
  font-size: 14px;
  color: #4b4635;
}

.footer-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.footer-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
}

.footer-menu a {
  text-decoration: none;
  color: #4b4635;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-newsletter {
  display: flex;
  gap: 8px;
}

.footer-newsletter input {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #d5c8a0;
  min-width: 180px;
}

.footer-newsletter button {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #5c6525;
  background: #5c6525;
  color: #fff;
  cursor: pointer;
}

/* Hero content */
.hero-content {
  text-align: center;
  padding: 72px 24px 40px;
}

.hero-title {
  font-size: 40px;
  line-height: 130%;
  margin: 0 0 16px;
  color: #535829;
  font-weight: 1;

}

.hero-subtitle {
  font-size: 16px;
  margin: 0 0 24px;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 0;
  text-decoration: none;
  font-weight: 600;
}

.btn-primary {
  background-color: #5c6525;
  color: #fff;
}

/* Hero image */
.hero-image-wrapper {
  width: 100%;
  overflow: hidden;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Scroll indicator */
.hero-scroll-indicator {
  text-align: center;
  padding: 12px 0 24px;
  font-size: 14px;
  color: #4b4635;
}

.hero-scroll-indicator .arrow {
  display: block;
  font-size: 18px;
}

/* Products section */
.products-section {
  padding: 64px 0 80px;
  background-color: #ffffff;
}

.section-title {
  text-align: center;
  font-size: 28px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 40px;
  color: #49422f;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* Product card */
/* Grid ostaje isto ako ti već radi */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

/* Product card */
.product-card {
  border: 1px solid #e4ddc3;
  background-color: #ffffff;
  padding: 32px 28px 24px;
}

.product-card-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-image {
  text-align: center;
  margin-bottom: 24px;
}

.product-image img {
  max-height: 320px;  
  width: auto;
}

.product-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #8b866e;
  margin-bottom: 8px;
}

.product-badge {
  padding: 2px 10px;
  border-radius: 999px;
  border: 1px solid #c6b58a;
  font-size: 11px;
}

.product-volume {
  font-size: 11px;
}

/* Naslov + cena */
.product-title {
  font-size: 20px;
  font-weight: 1;
  margin: 0 0 6px;
  color: #604100;
}

.product-price-row {
  margin-bottom: 12px;
}

.product-price {
  font-weight: 700;
  font-size: 24px;
  color: #BD8800;
}

/* Dugmici – sakriveni by default, vide se na hover kartice */
.product-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;

  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.product-card:hover .product-actions {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Dugmad */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  font-size: 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 500;
}

.btn-primary {
  background-color: #5c6525;
  color: #ffffff;
  border-color: #535829;
}

.btn-outline {
  background-color: transparent;
  color: #5c6525;
  border-color: #5c6525;
}

.btn:hover {
  opacity: 0.9;
}





/* Responsive */
@media (max-width: 960px) {
  .hero-header {
    flex-direction: column;
    gap: 16px;
  }

  .hero-nav .primary-menu {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-row {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .footer-right {
    flex-direction: column;
  }
}


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

  .hero-header {
    padding: 12px 16px;
  }

  .hero-content {
    padding: 48px 16px 32px;
  }

  .hero-title {
    font-size: 24px;
  }
}
