:root {
  --color-black: #111111;
  --color-gold: #9a7048;
  --color-gold-dark: #7d5a37;
  --color-cream: #ffffff;
  --color-cream-dark: #ececec;
  --color-burgundy: #8c2f2f;
  --color-text: #1f1f1f;
  --font-heading: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --max-width: 1320px;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  margin: 0 0 0.5em;
  color: var(--color-black);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 50;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 6px 20px rgba(17, 17, 17, 0.08);
  border-bottom-color: var(--color-cream-dark);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 20px;
}

.logo img {
  height: 40px;
}

.main-nav {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.main-nav a {
  position: relative;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-black);
  padding: 8px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav a.active {
  color: var(--color-gold-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cart-link {
  position: relative;
  display: flex;
  align-items: center;
  padding: 4px;
  transition: color 0.2s;
}

.cart-link:hover {
  color: var(--color-gold-dark);
}

.cart-icon {
  width: 24px;
  height: 24px;
}

.search-toggle {
  display: flex;
  align-items: center;
  padding: 4px;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  transition: color 0.2s;
}

.search-toggle:hover {
  color: var(--color-gold-dark);
}

.search-toggle svg {
  width: 21px;
  height: 21px;
}

.search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 20px 40px rgba(17, 17, 17, 0.15);
  border-top: 1px solid var(--color-cream-dark);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.25s ease;
  z-index: 40;
}

.search-panel.open {
  max-height: 80vh;
  opacity: 1;
  overflow-y: auto;
}

/* .search-panel-inner dijeli .container klasu radi iste max-width/padding
   kao ostatak sajta, ali .site-header .container pravilo (za logo/nav/akcije
   red) inace nehotice pretvori i ovaj div u flex red - eksplicitno vracamo
   block, sa selektorom dovoljno specificnim (#id + klasa) da uvijek pobijedi. */
#searchPanel .container {
  display: block;
}

.search-panel-inner {
  padding: 22px 0 28px;
}

.search-panel-form {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--color-cream-dark);
  border-radius: 999px;
  padding: 4px 8px 4px 20px;
  background: var(--color-cream);
}

.search-panel-form svg {
  width: 19px;
  height: 19px;
  color: #6a6a6a;
  flex-shrink: 0;
}

.search-panel-form input[type="text"] {
  flex: 1;
  width: auto;
  min-width: 0;
  border: none;
  background: none;
  padding: 12px 0;
  font-size: 1rem;
  font-family: var(--font-body);
}

.search-panel-form input[type="text"]:focus {
  outline: none;
}

.search-panel-close {
  border: none;
  background: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #6a6a6a;
  padding: 6px 8px;
  flex-shrink: 0;
}

.search-panel-results {
  margin-top: 6px;
}

.search-panel-results:not(:empty) {
  margin-top: 18px;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 6px;
  border-radius: 10px;
  transition: background 0.15s ease;
}

.search-result-item:hover {
  background: var(--color-cream);
}

.search-result-item img {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  background: var(--color-cream-dark);
  flex-shrink: 0;
}

.search-result-name {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-black);
}

.search-result-price {
  font-size: 0.84rem;
  color: var(--color-black);
  margin-top: 2px;
}

.search-result-empty,
.search-result-hint {
  padding: 16px 6px;
  color: #6a6a6a;
  font-size: 0.9rem;
}

.search-result-viewall {
  display: block;
  text-align: center;
  padding: 14px 6px 4px;
  margin-top: 6px;
  border-top: 1px solid var(--color-cream-dark);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--color-gold-dark);
}

.account-link {
  display: flex;
  align-items: center;
  padding: 4px;
  transition: color 0.2s;
}

.account-link:hover {
  color: var(--color-gold-dark);
}

.account-link svg {
  width: 23px;
  height: 23px;
}

.cart-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--color-burgundy);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 6px;
  min-width: 17px;
  text-align: center;
  line-height: 1.5;
}

.nav-toggle {
  display: none;
  position: relative;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--color-black);
  transition: transform 0.3s ease, opacity 0.2s ease, top 0.3s ease;
}

.nav-toggle span:nth-child(1) {
  top: 0;
}

.nav-toggle span:nth-child(2) {
  top: 9px;
}

.nav-toggle span:nth-child(3) {
  top: 18px;
}

.nav-toggle.active span:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

.mobile-nav-close,
.mobile-nav-divider,
.mobile-nav-account,
.mobile-nav-social,
.mobile-nav-drawer,
.nav-overlay {
  display: none;
}

/* Cart drawer */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 200;
}

.cart-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: 420px;
  max-width: 92vw;
  background: var(--color-cream);
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

/* Sjena samo na otvorenoj ladici - zatvorena bi je bacala preko desnog ruba ekrana. */
.cart-drawer.open {
  transform: translateX(0);
  box-shadow: -12px 0 30px rgba(0, 0, 0, 0.15);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid var(--color-cream-dark);
}

.cart-drawer-header h3 {
  margin: 0;
  font-size: 1.2rem;
}

.cart-drawer-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-black);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
}

.drawer-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.drawer-item {
  display: flex;
  gap: 12px;
  position: relative;
  padding-bottom: 18px;
  padding-right: 20px;
  border-bottom: 1px solid var(--color-cream-dark);
}

.drawer-item img {
  width: 66px;
  height: 66px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--color-cream-dark);
}

.drawer-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.drawer-item-info > a {
  font-weight: 700;
  font-size: 0.9rem;
}

.drawer-item-meta {
  font-size: 0.75rem;
  color: #6a6a6a;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.drawer-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}

.qty-stepper {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-cream-dark);
}

.qty-btn {
  background: none;
  border: none;
  width: 26px;
  height: 26px;
  cursor: pointer;
  font-size: 1rem;
}

.qty-btn:hover {
  background: var(--color-cream-dark);
}

.qty-value {
  min-width: 22px;
  text-align: center;
  font-size: 0.85rem;
}

.drawer-item-price {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-black);
  font-size: 0.92rem;
}

.drawer-item-remove {
  position: absolute;
  top: 0;
  right: 0;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: #8a8a8a;
  cursor: pointer;
  line-height: 1;
}

.drawer-item-remove:hover {
  color: var(--color-burgundy);
}

.drawer-empty,
.drawer-loading {
  text-align: center;
  margin: auto;
  padding: 40px 0;
  color: #6a6a6a;
}

.drawer-empty p {
  margin-bottom: 16px;
  color: var(--color-text);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--color-cream-dark);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.drawer-checkout-btn {
  text-align: center;
}

body.drawer-locked {
  overflow: hidden;
}

/* Site popup (newsletter-style) */
.site-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.site-popup-overlay.open {
  opacity: 1;
  visibility: visible;
}

.site-popup {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #fff;
  max-width: 760px;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  transform: scale(0.96);
  transition: transform 0.3s ease;
}

.site-popup-overlay.open .site-popup {
  transform: scale(1);
}

.site-popup-image {
  background: var(--color-cream-dark);
}

.site-popup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 260px;
}

.site-popup-body {
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.site-popup-body h3 {
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.site-popup-body p {
  color: var(--color-text);
  margin-bottom: 22px;
}

.site-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--color-black);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1;
}

.site-popup-close:hover {
  background: #fff;
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 12, 9, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 300;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 60px;
}

.lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-image {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.28);
}

.lightbox-nav.prev {
  left: 18px;
}

.lightbox-nav.next {
  right: 18px;
}

.story-gallery img {
  cursor: pointer;
}

/* Category tabs */
.tab-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.tab-btn {
  padding: 10px 26px;
  border: 1px solid var(--color-black);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--color-black);
  color: #fff;
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: block;
}

/* Workshop banner */
.workshop-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--color-black);
}

.workshop-banner-overlay {
  background: rgba(17, 17, 17, 0.55);
  padding: 110px 0;
}

.workshop-banner .eyebrow {
  color: var(--color-gold);
}

.workshop-banner h2 {
  color: #fff;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.workshop-banner p {
  color: #f3f3f3;
  font-size: 1.05rem;
  margin-bottom: 28px;
}

/* Story teaser */
.story-teaser {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.story-teaser-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
}

/* Product shelf (horizontal scroll, homepage) */
.shelf-cta {
  padding: 14px 36px;
}

.shelf-heading {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.product-shelf {
  position: relative;
}

.product-shelf-track {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.product-shelf-track::-webkit-scrollbar {
  display: none;
}

.shelf-card {
  flex: 0 0 auto;
  width: 230px;
}

.shelf-card-image-link {
  display: block;
  position: relative;
  background: var(--color-cream-dark);
  margin-bottom: 14px;
  overflow: hidden;
}

.shelf-card-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.shelf-card-image-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.shelf-card-image-link:hover .shelf-card-image-hover {
  opacity: 1;
}

.shelf-card-info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.shelf-card-text h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.4;
  margin: 0 0 6px;
  min-height: 4.2em;
}

.shelf-card-text h4 a {
  color: var(--color-black);
}

.shelf-card-price {
  font-size: 0.85rem;
  color: #4b4b4b;
}

.shelf-add-btn {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--color-cream-dark);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-black);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.shelf-add-btn svg {
  width: 16px;
  height: 16px;
}

.shelf-add-btn:hover {
  background: var(--color-black);
  color: #fff;
  border-color: var(--color-black);
}

.shelf-scroll-btn {
  position: absolute;
  top: 38%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #fff;
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  color: var(--color-black);
}

.shelf-scroll-btn:hover {
  background: var(--color-gold);
}

.shelf-scroll-btn.prev {
  left: -18px;
}

.shelf-scroll-btn.next {
  right: -18px;
}

.shelf-scroll-btn[hidden] {
  display: none;
}

/* Lifestyle banner (full-bleed, text bottom-left) */
.lifestyle-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-color: var(--color-black);
  min-height: 560px;
  display: flex;
  align-items: flex-end;
}

.lifestyle-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.3) 45%, rgba(0, 0, 0, 0.1) 75%, rgba(0, 0, 0, 0.25) 100%);
}

.lifestyle-banner .container {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 50px;
  padding-bottom: 50px;
}

.lifestyle-banner-content {
  max-width: 480px;
}

.lifestyle-banner-content .eyebrow {
  color: var(--color-gold);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.lifestyle-banner-content h2 {
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.lifestyle-banner-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  color: #fff;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--color-black);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.85rem;
  padding: 13px 30px;
  border-radius: 999px;
  border: 1px solid var(--color-black);
  background: var(--color-black);
  color: #fff;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.btn:hover {
  background: #333333;
  border-color: #333333;
  color: #fff;
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.18);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.btn-outline {
  background: transparent;
  color: var(--color-black);
}

.btn-outline:hover {
  background: var(--color-black);
  color: #fff;
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.25);
  transform: translateY(-2px);
}

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

.btn-primary:hover {
  background: #333333;
  border-color: #333333;
  color: #fff;
  box-shadow: 0 10px 22px rgba(17, 17, 17, 0.18);
  transform: translateY(-2px);
}

.btn-danger {
  background: var(--color-burgundy);
  border-color: var(--color-burgundy);
}

.btn-danger:hover {
  background: #501e24;
  border-color: #501e24;
  color: #fff;
  box-shadow: 0 10px 22px rgba(110, 42, 50, 0.35);
  transform: translateY(-2px);
}

.btn-small {
  padding: 9px 18px;
  font-size: 0.75rem;
  border-radius: 6px;
}

/* Hero */
.hero {
  position: relative;
  background: var(--color-black);
  color: #fff;
  overflow: hidden;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 640px;
}

.hero-image {
  width: 100%;
  height: 640px;
  object-fit: cover;
  opacity: 0.55;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: hero-fade 24s infinite;
  animation-fill-mode: backwards;
}

@keyframes hero-fade {
  0% { opacity: 0; }
  4.17% { opacity: 0.55; }
  20.83% { opacity: 0.55; }
  25% { opacity: 0; }
  100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    animation: none;
    opacity: 0;
  }
  .hero-slide:first-child {
    opacity: 0.55;
  }
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-content h1 {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.4rem);
  max-width: 780px;
}

.hero-content p {
  max-width: 560px;
  font-size: 1.1rem;
  margin-bottom: 1.5em;
}

.eyebrow {
  color: var(--color-gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

/* Sections */
.section {
  padding: 90px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 40px;
}

.divider {
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  margin: 16px auto;
  border: none;
}

.watermark-divider {
  display: flex;
  justify-content: center;
  padding: 30px 0;
  opacity: 0.15;
}

.watermark-divider img {
  height: 60px;
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 32px;
}

.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: 0 2px 14px rgba(17, 17, 17, 0.07);
  transition: box-shadow 0.3s, transform 0.3s;
}

.product-card:hover {
  box-shadow: 0 22px 40px rgba(17, 17, 17, 0.16);
  transform: translateY(-6px);
}

.product-card-image-link {
  display: block;
  position: relative;
  overflow: hidden;
}

.product-card-image {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background: var(--color-cream-dark);
}

.product-card-image-hover {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.product-card-image-link:hover .product-card-image-hover {
  opacity: 1;
}

.product-card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 999px;
}

.product-card-tag-gold {
  background: var(--color-gold);
  color: var(--color-black);
}

.product-card-tag-dark {
  background: rgba(17, 17, 17, 0.85);
  left: auto;
  right: 12px;
}

.product-card-tag-sale {
  background: var(--color-burgundy);
  color: #fff;
}

.price-old {
  color: #9a9186;
  text-decoration: line-through;
  font-weight: 500;
  font-size: 0.85em;
  margin-right: 6px;
}

.price-now {
  color: var(--color-burgundy);
}

.product-card-category {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gold-dark);
  font-weight: 700;
  margin-bottom: 8px;
}

.product-card-body {
  padding: 20px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-body h3 {
  font-size: 1rem;
  line-height: 1.35;
  margin: 0 0 10px;
  min-height: 2.7em;
}

.product-card-body h3 a {
  color: inherit;
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.product-price {
  color: var(--color-black);
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 1.15rem;
}

.catalog-search {
  display: flex;
  max-width: 420px;
  margin: 0 auto 22px;
  border: 1px solid var(--color-cream-dark);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}

.catalog-search input[type="text"] {
  flex: 1;
  width: auto;
  border: none;
  padding: 12px 18px;
  font-size: 0.92rem;
  font-family: var(--font-body);
  background: transparent;
}

.catalog-search input[type="text"]:focus {
  outline: none;
}

.catalog-search button {
  border: none;
  background: var(--color-black);
  color: #fff;
  width: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.catalog-search button svg {
  width: 18px;
  height: 18px;
}

.category-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}

.category-filters a {
  padding: 8px 18px;
  border: 1px solid var(--color-black);
  border-radius: 999px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.category-filters a.active {
  background: var(--color-black);
  color: #fff;
}

/* Product detail */
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: flex-start;
}

.product-gallery-main {
  position: relative;
}

.product-gallery-main img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--color-cream-dark);
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 18px rgba(17, 17, 17, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-black);
  transition: background 0.2s, transform 0.2s;
}

.gallery-nav-btn:hover {
  background: var(--color-gold);
}

.gallery-nav-btn.prev {
  left: 14px;
}

.gallery-nav-btn.next {
  right: 14px;
}

.product-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.product-gallery-thumbs img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
}

.product-gallery-thumbs img.active {
  border-color: var(--color-gold);
}

.product-info .product-price {
  font-size: 1.6rem;
  margin: 10px 0 20px;
}

.form-row {
  margin-bottom: 20px;
}

.form-row label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.pill-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.pill-options label {
  border: 1px solid var(--color-black);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 400;
  text-transform: none;
  font-size: 0.9rem;
}

.pill-options input {
  display: none;
}

.pill-options input:checked + span,
.pill-options label:has(input:checked) {
  background: var(--color-black);
  color: #fff;
}

.pill-options label.pill-disabled {
  cursor: not-allowed;
  color: #b0a89a;
  border-color: var(--color-cream-dark);
  text-decoration: line-through;
}

/* Izbor velicine i boje na stranici proizvoda */
.option-label {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.option-chosen {
  margin-left: 2px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: #6a6a6a;
}

.option-chosen.is-set {
  color: var(--color-text);
}

.option-input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.size-options,
.color-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.form-row .size-option,
.form-row .color-option {
  position: relative;
  display: block;
  margin: 0;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.size-option > span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 46px;
  padding: 0 10px;
  border: 1px solid #dedede;
  border-radius: 10px;
  background: #fff;
  font-size: 0.95rem;
  transition: border-color 0.15s, background-color 0.15s, color 0.15s;
}

.size-option:hover > span {
  border-color: var(--color-black);
}

.size-option input:checked + span {
  background: var(--color-black);
  border-color: var(--color-black);
  color: #fff;
}

.form-row .size-option.is-soldout {
  cursor: not-allowed;
}

.size-option.is-soldout > span,
.size-option.is-soldout:hover > span {
  color: #b9b0a0;
  border-color: #e4e4e4;
  background: linear-gradient(to top right, transparent calc(50% - 0.5px), #dedede 50%, transparent calc(50% + 0.5px)) #f9f9f9;
}

.color-option-inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px 7px 8px;
  border: 1px solid #dedede;
  border-radius: 999px;
  background: #fff;
  font-size: 0.92rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.color-option:hover .color-option-inner {
  border-color: var(--color-black);
}

.color-option input:checked + .color-option-inner {
  border-color: var(--color-black);
  box-shadow: 0 0 0 1px var(--color-black);
}

.color-swatch {
  display: inline-block;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--swatch, #ccc);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.color-swatch.is-unknown {
  background: conic-gradient(#b2222c, #e2c04a, #2f6b3a, #2f5ea8, #6b3f8f, #b2222c);
}

.size-option input:focus-visible + span,
.color-option input:focus-visible + .color-option-inner {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.option-group.needs-choice .size-option:not(.is-soldout) > span,
.option-group.needs-choice .color-option-inner {
  border-color: #a3262e;
}

.option-error {
  margin: 8px 0 0;
  color: #a3262e;
  font-size: 0.85rem;
}

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

input.qty-input {
  width: 80px;
  padding: 10px;
  border: 1px solid var(--color-black);
  font-size: 1rem;
}

/* Forms (checkout, admin, login) */
.form-panel {
  background: #fff;
  border: 1px solid var(--color-cream-dark);
  border-radius: 16px;
  padding: 32px;
  max-width: 640px;
}

.checkout-layout {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
}

.checkout-form {
  flex: 1 1 480px;
}

.checkout-summary {
  flex: 1 1 320px;
  max-width: 360px;
}

.checkout-summary-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.checkout-summary-item img {
  flex-shrink: 0;
}

.checkout-summary-item-info {
  min-width: 0;
}

.checkout-summary-item-info span {
  display: block;
  word-break: break-word;
}

.checkout-summary-item-meta {
  font-size: 0.8rem;
  color: #6a6a6a;
  margin-top: 2px;
}

.promo-code-row {
  display: flex;
  gap: 8px;
}

.promo-code-row input {
  flex: 1;
}

.promo-code-row .btn {
  flex-shrink: 0;
  padding: 10px 18px;
}

#promoMessage {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
}

.review-box {
  background: var(--color-cream);
  border: 1px solid var(--color-cream-dark);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 16px;
}

.review-box p {
  margin: 0 0 10px;
  font-size: 0.92rem;
}

.review-box p:last-child {
  margin-bottom: 0;
}

@media (max-width: 720px) {
  .checkout-layout {
    gap: 24px;
  }

  .checkout-form,
  .checkout-summary {
    flex-basis: 100%;
    max-width: 100%;
    width: 100%;
  }

  .form-panel {
    padding: 22px;
  }

  .cart-table th,
  .cart-table td {
    padding: 10px 6px;
    font-size: 0.9rem;
  }

  .cart-table img {
    width: 52px;
    height: 52px;
  }
}

/* OAuth dugmad */
.oauth-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--color-cream-dark);
  border-radius: 8px;
  padding: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text);
  background: #fff;
  transition: background 0.2s, border-color 0.2s;
}

.oauth-btn:hover {
  background: var(--color-cream);
  border-color: var(--color-black);
}

.oauth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  color: #8a8a8a;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.oauth-divider::before,
.oauth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-cream-dark);
}

.oauth-divider span {
  padding: 0 12px;
}

/* Provjerite e-mail */
.check-email-box {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-cream-dark);
  border-radius: 20px;
  padding: 56px 40px;
}

.check-email-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--color-cream);
  color: var(--color-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.check-email-icon svg {
  width: 30px;
  height: 30px;
}

.check-email-box p {
  color: var(--color-text);
}

/* Nalog */
.account-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  align-items: start;
}

.account-profile {
  background: #fff;
  border: 1px solid var(--color-cream-dark);
  border-radius: 16px;
  padding: 32px 28px;
  text-align: center;
}

.account-avatar {
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--color-black);
  color: var(--color-gold);
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.account-profile h3 {
  margin-bottom: 18px;
}

.account-info-row {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 10px 0;
  border-bottom: 1px solid var(--color-cream-dark);
  font-size: 0.9rem;
}

.account-info-row:last-of-type {
  border-bottom: none;
}

.account-info-row svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: var(--color-gold-dark);
}

.account-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
}

.account-orders h3 {
  margin-bottom: 20px;
}

.order-card {
  background: #fff;
  border: 1px solid var(--color-cream-dark);
  border-radius: 16px;
  padding: 22px 24px;
  margin-bottom: 18px;
}

.order-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-cream-dark);
  font-size: 0.9rem;
  color: #4b4b4b;
}

.order-status {
  display: inline-block;
  background: var(--color-cream-dark);
  color: var(--color-text);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-left: 10px;
}

.order-card-items {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  font-size: 0.92rem;
  color: var(--color-text);
}

.order-card-items li {
  padding: 3px 0;
}

.order-card-total {
  font-family: var(--font-heading);
  font-size: 1.05rem;
}

/* Kontakt */
.contact-panel {
  background: #fff;
  border: 1px solid var(--color-cream-dark);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 2px 16px rgba(17, 17, 17, 0.05);
}

.contact-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-hero-text h1 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  max-width: 460px;
  margin-bottom: 16px;
}

.contact-hero-text > p {
  max-width: 440px;
  margin-bottom: 40px;
  color: var(--color-text);
}

.contact-methods {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px 24px;
}

.contact-method h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  letter-spacing: 0;
  color: var(--color-black);
  margin: 0 0 6px;
  font-family: var(--font-heading);
  font-weight: 700;
}

.contact-method h4 svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-gold-dark);
}

.contact-method p,
.contact-method p a {
  color: #4b4b4b;
  font-size: 0.9rem;
  margin: 0;
}

.contact-social-icons {
  display: flex;
  gap: 10px;
}

.contact-social-icons a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid var(--color-cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-black);
  transition: background 0.2s, color 0.2s;
}

.contact-social-icons a svg {
  width: 15px;
  height: 15px;
}

.contact-social-icons a:hover {
  background: var(--color-black);
  color: #fff;
}

.contact-form-panel h3 {
  margin-bottom: 22px;
}

.contact-form-panel .form-row {
  margin-bottom: 16px;
}

.contact-form-panel input,
.contact-form-panel textarea {
  width: 100%;
  background: var(--color-cream-dark);
  border: none;
  border-radius: 10px;
  padding: 17px 18px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
}

.contact-form-panel textarea {
  resize: vertical;
  min-height: 170px;
}

.contact-form-panel button {
  width: 100%;
  border-radius: 10px;
  padding: 17px;
}

.contact-map {
  margin-top: 64px;
  border-radius: 16px;
  overflow: hidden;
  line-height: 0;
}

input[type="text"],
input[type="tel"],
input[type="password"],
input[type="number"],
input[type="email"],
input[type="url"],
select,
textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--color-black);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--color-cream);
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  text-transform: none;
}

/* Cart & checkout tables */
.cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 32px;
}

.cart-table th,
.cart-table td {
  padding: 14px 10px;
  border-bottom: 1px solid var(--color-cream-dark);
  text-align: left;
  vertical-align: middle;
}

.cart-table img {
  width: 64px;
  height: 64px;
  object-fit: cover;
}

.cart-total-row {
  font-size: 1.2rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

/* Story / about */
.story-content {
  max-width: 760px;
  margin: 0 auto;
}

.story-content p {
  margin-bottom: 1.2em;
}

.story-content h3 {
  margin: 1.6em 0 0.6em;
}

.story-content ul {
  margin: 0 0 1.2em;
  padding-left: 1.3em;
}

.story-content ul li {
  margin-bottom: 0.5em;
}

.story-content ul li::marker {
  color: var(--color-gold-dark);
}

.story-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
  margin: 40px 0;
}

.story-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* Footer */
.newsletter-signup {
  background: var(--color-cream);
  padding: 56px 0;
  border-top: 1px solid var(--color-cream-dark);
}

.newsletter-signup h2 {
  margin-bottom: 10px;
}

.newsletter-signup p {
  color: #4b4b4b;
  max-width: 480px;
  margin: 0 auto 24px;
}

.newsletter-form {
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-form-row {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.newsletter-form-row input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--color-black);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: #fff;
}

.newsletter-consent {
  justify-content: center;
  font-size: 0.82rem;
  color: #4b4b4b;
}

.newsletter-consent a {
  color: var(--color-gold-dark);
  text-decoration: underline;
}

.newsletter-consent.invalid {
  color: var(--color-burgundy);
  font-weight: 700;
}

.site-footer {
  background: var(--color-black);
  color: #e2e2e2;
  padding: 68px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  margin-bottom: 28px;
  border-bottom: 1px solid #333333;
}

.footer-brand p {
  max-width: 320px;
  color: #b3ab9c;
  margin: 0 0 20px;
}

.footer-col h4 {
  color: var(--color-gold);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.footer-col p {
  margin: 0 0 10px;
}

.footer-top a {
  position: relative;
  transition: color 0.2s;
}

.footer-top a:hover {
  color: var(--color-gold);
}

.footer-logo img {
  height: 34px;
  margin-bottom: 18px;
}

.footer-legal-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 18px;
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
}

.footer-legal-links a {
  color: #ab9f89;
}

.footer-legal-links a:hover {
  color: var(--color-gold);
}

.footer-bottom {
  padding-top: 4px;
  font-size: 0.82rem;
  text-align: center;
  color: #918a7a;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-credit {
  color: #6f6858;
  font-size: 0.76rem;
  letter-spacing: 0.03em;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #444444;
  color: #e2e2e2;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s;
}

.social-links a svg {
  width: 18px;
  height: 18px;
}

.social-links a:hover {
  background: var(--color-gold);
  border-color: var(--color-gold);
  color: var(--color-black);
  transform: translateY(-2px);
}

/* Toast notifikacija (npr. newsletter prijava) - ne zavisi od reload-a stranice */
.toast-notification {
  position: fixed;
  top: 86px;
  left: 50%;
  transform: translateX(-50%) translateY(-16px);
  background: var(--color-black);
  color: #fff;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.3);
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  max-width: min(90vw, 420px);
  text-align: center;
  pointer-events: none;
}

.toast-notification.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast-notification.error {
  background: var(--color-burgundy);
}

/* Flash messages */
.flash {
  padding: 14px 20px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-size: 0.95rem;
}

.flash-success {
  background: #e6f2e1;
  color: #2e5a24;
  border: 1px solid #b6dba9;
}

.flash-error {
  background: #f7e3e3;
  color: #7a2222;
  border: 1px solid #e3a9a9;
}

/* Misc */
.text-center {
  text-align: center;
}

.mt-lg {
  margin-top: 40px;
}

/* Value propositions */
.value-props {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-prop {
  display: block;
  text-align: center;
  padding: 28px 16px;
  color: inherit;
  text-decoration: none;
  border-radius: 12px;
  transition: background 0.2s;
}

.value-prop:hover {
  background: rgba(154, 112, 72, 0.08);
}

.value-prop-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--color-cream-dark);
  color: var(--color-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s;
}

.value-prop:hover .value-prop-icon {
  background: var(--color-gold);
  color: #fff;
}

.value-prop-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.value-prop h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}

.value-prop p {
  font-size: 0.9rem;
  color: var(--color-text);
  margin: 0;
}

/* FAQ accordion */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-cream-dark);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  text-align: left;
  padding: 20px 4px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-black);
  cursor: pointer;
}

.faq-question .faq-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.faq-question .faq-icon::before,
.faq-question .faq-icon::after {
  content: '';
  position: absolute;
  background: var(--color-gold-dark);
  transition: transform 0.25s ease;
}

.faq-question .faq-icon::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  transform: translateY(-50%);
}

.faq-question .faq-icon::after {
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  transform: translateX(-50%);
}

.faq-item.open .faq-question .faq-icon::after {
  transform: translateX(-50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 4px 20px;
  margin: 0;
  color: var(--color-text);
}

.faq-item.open .faq-answer {
  max-height: 400px;
}

/* Trust badges (product page) */
.trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 24px 0;
  padding: 20px 0;
  border-top: 1px solid var(--color-cream-dark);
  border-bottom: 1px solid var(--color-cream-dark);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
}

.trust-badge .trust-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-gold-dark);
}

.trust-badge .trust-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
}

.badge-placeholder {
  display: inline-block;
  background: var(--color-cream-dark);
  color: var(--color-text);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 4px;
  margin-top: 8px;
}

@media (max-width: 860px) {
  .product-detail {
    grid-template-columns: 1fr;
  }

  .value-props {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .contact-hero,
  .account-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-panel {
    padding: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .story-teaser {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .story-teaser-image img {
    aspect-ratio: 16 / 10;
  }

  .workshop-banner-overlay {
    padding: 70px 0;
  }

  .lifestyle-banner {
    min-height: 420px;
  }
}

@media (max-width: 480px) {
  .value-props,
  .trust-badges,
  .footer-top,
  .contact-methods {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    padding: 22px;
  }

  .cart-drawer {
    width: 100vw;
  }

  .lightbox-overlay {
    padding: 20px;
  }

  .site-popup {
    grid-template-columns: 1fr;
  }

  .site-popup-image img {
    min-height: 160px;
  }

  .site-popup-body {
    padding: 32px 24px;
  }

  .lightbox-nav.prev {
    left: 6px;
  }

  .lightbox-nav.next {
    right: 6px;
  }

  .shelf-scroll-btn.prev {
    left: 2px;
  }

  .shelf-scroll-btn.next {
    right: 2px;
  }

  .trust-strip {
    gap: 28px;
  }
}

/* Mobilni meni: ispod 1080 px glavni meni ne stane u jedan red. */
@media (max-width: 1080px) {
  .main-nav {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 12, 9, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 215;
  }

  .nav-overlay.open {
    opacity: 1;
    visibility: visible;
  }

  .mobile-nav-drawer {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    width: min(300px, 82vw);
    background: var(--color-cream);
    flex-direction: column;
    padding: 90px 28px 32px;
    transform: translateX(100%);
    transition: transform 0.32s ease;
    z-index: 220;
    overflow-y: auto;
  }

  .mobile-nav-drawer.open {
    transform: translateX(0);
    box-shadow: -12px 0 32px rgba(0, 0, 0, 0.18);
  }

  .mobile-nav-drawer a {
    padding: 15px 0;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-black);
    border-bottom: 1px solid var(--color-cream-dark);
  }

  .mobile-nav-drawer a.active {
    color: var(--color-gold-dark);
  }

  .mobile-nav-close {
    display: block;
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    font-size: 1.9rem;
    line-height: 1;
    cursor: pointer;
    color: var(--color-black);
  }

  .mobile-nav-divider {
    display: block;
    height: 1px;
    background: var(--color-cream-dark);
    margin: 18px 0;
  }

  .mobile-nav-account {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0 15px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--color-gold-dark);
  }

  .mobile-nav-account svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  .mobile-nav-social {
    display: flex;
    gap: 16px;
    margin-top: auto;
    padding-top: 20px;
  }

  .mobile-nav-social svg {
    width: 20px;
    height: 20px;
  }

}

@media (max-width: 720px) {
  .newsletter-form-row {
    flex-direction: column;
  }

  .search-panel-inner {
    padding: 16px 0 20px;
  }

  .search-panel.open {
    max-height: 70vh;
  }

  .hero-carousel,
  .hero-image {
    height: 460px;
  }
}

/* --- Putanja, slicni proizvodi, popust, narudzba, zastita forme --- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.85rem;
  color: #6a6a6a;
}
.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}
.breadcrumbs a:hover {
  text-decoration: underline;
}
.breadcrumbs [aria-current="page"] {
  color: #1f1f1f;
}
.related-products {
  margin-top: 64px;
}
.price-discount-tag {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #8a2b2b;
  color: #fff;
  font-size: 0.8rem;
  vertical-align: middle;
}
.checkout-note {
  margin: 0 0 16px;
  color: #6a6a6a;
  font-size: 0.85rem;
}
.checkout-note a,
.faq-answer a,
.checkbox-row a {
  text-decoration: underline;
}
/* Polje vidljivo samo botovima - bez display:none, jer ga botovi tada preskacu. */
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
/* Iznos ostaje u jednom redu i na uskom ekranu. */
.form-panel .cart-table td:last-child {
  white-space: nowrap;
}

/* Tabela velicina na stranici proizvoda */
.option-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.size-chart-link {
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-text);
  font: inherit;
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.size-chart-link:hover {
  color: var(--color-gold-dark);
}

.size-chart-table {
  width: 100%;
  max-width: 360px;
  margin: 0 0 20px;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.size-chart-table th,
.size-chart-table td {
  padding: 8px 12px;
  border-bottom: 1px solid var(--color-cream-dark);
  text-align: left;
}

.size-chart-table th {
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.size-chart-table td + td,
.size-chart-table th + th {
  text-align: right;
}

.order-card-tracking {
  margin: 8px 0;
  font-size: 0.92rem;
}

.order-card-tracking a {
  text-decoration: underline;
}

/* ===================== Boa Belts ===================== */

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
  width: auto;
}

.logo-text {
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--color-black);
  white-space: nowrap;
}

.main-nav {
  gap: 26px;
  flex-wrap: nowrap;
}

.mobile-nav-drawer a.mobile-nav-sub {
  padding-left: 14px;
  font-size: 0.85rem;
  font-weight: 600;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-logo img {
  height: 34px;
  width: auto;
  margin: 0;
  filter: invert(1);
}

h1, h2, h3, h4 {
  letter-spacing: -0.01em;
}

.eyebrow {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
}

.boa-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-black);
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  white-space: nowrap;
}

.boa-link-arrow::after {
  content: '\2192';
}

.boa-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.boa-section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.boa-section-head p {
  margin: 8px 0 0;
  color: #4b4b4b;
}

@media (max-width: 720px) {
  .logo-text {
    display: none;
  }

  .boa-section-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.story-lead {
  font-size: 1.15rem;
  color: #3a3a3a;
}

.loyalty-card-box {
  background: #111111;
  color: #f3f3f3;
  border-radius: 20px;
  padding: 30px 34px;
  margin-top: 30px;
}

.loyalty-card-box ul {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.loyalty-card-box li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.loyalty-card-box li::before {
  content: '\25C6';
  color: #d9b58c;
  margin-right: 12px;
}

.loyalty-card-box p {
  margin: 0;
  color: #d9b58c;
  font-weight: 700;
}

/* Galerija revije: kolone u kojima svaka fotografija zadrzava svoj oblik
   (uspravne i polozene), bez sjecenja. */
.revija-gallery {
  display: block;
  columns: 3;
  column-gap: 16px;
  margin: 8px 0 40px;
}

.revija-item {
  margin: 0 0 16px;
  break-inside: avoid;
  overflow: hidden;
  border-radius: 6px;
  background: var(--color-cream, #f6f2ed);
}

.revija-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: initial;
  transition: transform 0.6s ease, opacity 0.3s ease;
}

@media (hover: hover) {
  .revija-item:hover img {
    transform: scale(1.03);
    opacity: 0.92;
  }
}

@media (max-width: 900px) {
  .revija-gallery {
    columns: 2;
    column-gap: 10px;
  }
  .revija-item {
    margin-bottom: 10px;
    border-radius: 4px;
  }
}

/* Kaiš po mjeri: obim struka na stranici proizvoda. */
.waist-field input {
  max-width: 180px;
}
.waist-help {
  margin: 8px 0 0;
  font-size: 0.85rem;
  color: #6a6a6a;
  line-height: 1.5;
}

/* ===== Pocetna ===== */
.announcement-bar {
  background: #111111;
  color: #f2f2f2;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 9px 16px;
}

.announcement-bar span + span::before {
  content: '\00B7';
  margin: 0 14px;
  color: #d9b58c;
}

/* Hero preko cijele sirine */
.home-hero {
  position: relative;
  height: min(84vh, 760px);
  min-height: 520px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a1a1a;
  color: #fff;
}

.home-hero-media,
.home-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-slide {
  object-fit: cover;
  object-position: 70% 30%;
  opacity: 0;
}

.home-hero-slide.is-static {
  opacity: 1;
  animation: none;
}

.home-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, 0.78) 0%, rgba(10, 10, 10, 0.45) 45%, rgba(10, 10, 10, 0) 75%);
  pointer-events: none;
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
}

.home-hero-text {
  max-width: 560px;
}

.home-hero-text .eyebrow {
  color: #d9b58c;
  margin-bottom: 16px;
}

.home-hero-text h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.home-hero-text p {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 460px;
  margin: 0 0 30px;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn.home-btn-light {
  background: #fff;
  border-color: #fff;
  color: #111;
}

.btn.home-btn-light:hover {
  background: #ececec;
  border-color: #ececec;
  color: #111;
}

.btn.home-btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
}

.btn.home-btn-ghost:hover {
  background: #fff;
  color: #111;
}

/* Traka s prednostima */
.home-usp {
  border-bottom: 1px solid var(--color-cream-dark);
}

.home-usp-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-usp-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
}

.home-usp-item + .home-usp-item {
  border-left: 1px solid var(--color-cream-dark);
}

.home-usp-item svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-usp-item strong {
  display: block;
  font-size: 0.92rem;
  color: #111;
}

.home-usp-item span {
  display: block;
  font-size: 0.82rem;
  color: #6a6a6a;
}

/* Kategorije: mozaik, prva je velika */
.home-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 260px;
  gap: 16px;
}

.home-category {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #f2f2f2;
  color: #fff;
}

.home-category.is-large {
  grid-column: span 2;
  grid-row: span 2;
}

.home-categories.count-1 .home-category.is-large,
.home-categories.count-2 .home-category,
.home-categories.count-3 .home-category {
  grid-column: span 2;
  grid-row: span 1;
}

.home-category img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.home-category:hover img {
  transform: scale(1.05);
}

.home-category::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.62) 100%);
}

.home-category-label {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.home-category-label strong {
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.home-category.is-large .home-category-label strong {
  font-size: 1.6rem;
}

.home-category-label strong::after {
  content: ' \2192';
  display: inline-block;
  transition: transform 0.25s ease;
}

.home-category:hover .home-category-label strong::after {
  transform: translateX(4px);
}

.home-category-label small {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
  white-space: nowrap;
}

/* Proizvodi s karticama */
.home-products-section {
  padding-top: 0;
}

.home-products-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.home-products-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.home-tabs {
  display: flex;
  gap: 8px;
}

.home-tab {
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--color-cream-dark);
  background: #fff;
  color: #111;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.home-tab:hover {
  border-color: #111;
}

.home-tab.is-active {
  background: #111;
  border-color: #111;
  color: #fff;
}

.home-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 20px;
}

.home-grid .product-card {
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}

.home-grid .product-card:hover {
  box-shadow: none;
  transform: none;
}

.home-grid .product-card-image-link {
  border-radius: 12px;
  overflow: hidden;
}

.home-grid .product-card-body {
  padding: 14px 2px 0;
}

.home-products-more {
  text-align: center;
  margin-top: 36px;
}

/* Kais po mjeri */
.home-measure {
  background: #f6f2ed;
  padding: 90px 0;
}

.home-measure-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
}

.home-measure-image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 16px;
}

.home-measure-text h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  margin: 12px 0 16px;
}

.home-measure-text > p {
  color: #4b4b4b;
  font-size: 1.02rem;
  margin: 0 0 28px;
}

.home-steps {
  list-style: none;
  counter-reset: step;
  padding: 0;
  margin: 0 0 32px;
}

.home-steps li {
  counter-increment: step;
  position: relative;
  padding: 0 0 22px 58px;
}

.home-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-steps li:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 18px;
  top: 42px;
  bottom: 4px;
  width: 1px;
  background: #d8cfc4;
}

.home-steps strong {
  display: block;
  font-size: 1rem;
  color: #111;
  padding-top: 7px;
}

.home-steps span {
  display: block;
  color: #5a5a5a;
  font-size: 0.92rem;
  margin-top: 2px;
}

/* BH Fashion Week baner */
.home-banner {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  background: #111;
}

.home-banner picture,
.home-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10, 10, 10, 0.85) 0%, rgba(10, 10, 10, 0.35) 55%, rgba(10, 10, 10, 0.1) 100%);
}

.home-banner-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 60px;
  padding-bottom: 60px;
}

.home-banner .eyebrow {
  color: #d9b58c;
}

.home-banner h2 {
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.1;
  max-width: 640px;
  margin: 12px 0 12px;
}

.home-banner p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 520px;
  margin: 0 0 24px;
}

/* Nasa prica */
.home-story {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 70px;
  align-items: center;
}

.home-story-image img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 16px;
}

.home-story-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.12;
  margin: 12px 0 16px;
}

.home-story-text p {
  color: #4b4b4b;
  margin: 0 0 24px;
}

/* Program lojalnosti */
.home-loyalty-section {
  padding: 0 0 80px;
}

.home-loyalty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: #111;
  color: #fff;
  border-radius: 18px;
  padding: 40px 48px;
}

.home-loyalty .eyebrow {
  color: #d9b58c;
}

.home-loyalty h2 {
  color: #fff;
  font-size: 1.7rem;
  margin: 8px 0 6px;
}

.home-loyalty p {
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 560px;
}

.home-loyalty .btn {
  flex-shrink: 0;
}

@media (max-width: 1080px) {
  .home-usp-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-usp-item:nth-child(3) {
    border-left: 0;
  }

  .home-usp-item:nth-child(n + 3) {
    border-top: 1px solid var(--color-cream-dark);
  }

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

  .home-grid .product-card:nth-child(n + 7) {
    display: none;
  }

  .home-categories {
    grid-auto-rows: 210px;
  }
}

@media (max-width: 860px) {
  .home-measure-inner,
  .home-story {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-measure {
    padding: 60px 0;
  }

  .home-measure-image img {
    aspect-ratio: 4 / 3;
    object-position: center 30%;
  }

  .home-products-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 720px) {
  .announcement-bar {
    font-size: 0.66rem;
    letter-spacing: 0.06em;
    padding: 8px 10px;
  }

  .announcement-bar .announcement-extra {
    display: none;
  }

  .home-hero {
    height: auto;
    min-height: 0;
    align-items: flex-end;
    padding-top: 58vh;
  }

  .home-hero-slide {
    object-position: 72% 20%;
  }

  .home-hero::after {
    background: linear-gradient(180deg, rgba(10, 10, 10, 0) 30%, rgba(10, 10, 10, 0.6) 55%, rgba(10, 10, 10, 0.92) 100%);
  }

  .home-hero-inner {
    padding-bottom: 30px;
  }

  .home-hero-text h1 {
    font-size: 2.05rem;
    margin-bottom: 12px;
  }

  .home-hero-text p {
    font-size: 0.98rem;
    margin-bottom: 22px;
  }

  .home-hero-actions .btn {
    flex: 1 1 100%;
    text-align: center;
  }

  .home-usp-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 18px 14px;
  }

  .home-usp-item svg {
    width: 24px;
    height: 24px;
  }

  .home-usp-item strong {
    font-size: 0.85rem;
  }

  .home-usp-item span {
    font-size: 0.76rem;
  }

  .home-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 190px;
    gap: 10px;
  }

  .home-category.is-large {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 260px;
  }

  .home-categories.count-2 .home-category,
  .home-categories.count-3 .home-category,
  .home-categories.count-5 .home-category:last-child {
    grid-column: span 2;
  }

  .home-category {
    border-radius: 12px;
  }

  .home-category-label {
    left: 14px;
    right: 14px;
    bottom: 12px;
    flex-direction: column;
    gap: 0;
  }

  .home-category-label strong {
    font-size: 1.05rem;
  }

  .home-category.is-large .home-category-label strong {
    font-size: 1.35rem;
  }

  .home-tabs {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 2px;
  }

  .home-tabs::-webkit-scrollbar {
    display: none;
  }

  .home-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
  }

  .home-grid .product-card h3 {
    font-size: 0.92rem;
  }

  .home-grid .shelf-add-btn {
    display: none;
  }

  .home-banner {
    min-height: 460px;
  }

  .home-banner-inner {
    padding-bottom: 36px;
  }

  .home-loyalty-section {
    padding-bottom: 56px;
  }

  .home-loyalty {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
  }

  .home-loyalty .btn {
    width: 100%;
    text-align: center;
  }
}

/* Pocetna: dorade kartica, kategorija i mobilnog prikaza */
.home-grid .product-card-category {
  display: none;
}

.home-grid .product-card-body h3 {
  min-height: 0;
  margin-bottom: 4px;
  font-weight: 600;
}

.home-grid .product-card-footer {
  margin-top: 0;
}

.home-grid .product-price {
  font-size: 0.95rem;
}

.home-category-label strong::after {
  content: '\2192';
  margin-left: 8px;
}

@media (max-width: 720px) {
  .home-hero {
    padding-top: 46vh;
  }

  .home-hero-slide {
    object-position: 52% 20%;
  }

  .home-hero-actions {
    flex-wrap: nowrap;
    gap: 10px;
  }

  .home-hero-actions .btn {
    flex: 1 1 0;
    padding: 13px 10px;
    font-size: 0.78rem;
  }

  .home-categories {
    grid-auto-rows: auto;
  }

  .home-category,
  .home-category.is-large {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .home-category.is-large,
  .home-categories.count-5 .home-category:last-child {
    aspect-ratio: 16 / 11;
  }

  .home-banner {
    min-height: 540px;
  }

  .home-banner img {
    object-position: 40% top;
  }

  .home-banner::after {
    background: linear-gradient(0deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.8) 40%, rgba(10, 10, 10, 0) 72%);
  }
}

@media (min-width: 721px) {
  .home-hero-text {
    max-width: 620px;
  }

  .home-hero-text h1 {
    font-size: clamp(2.2rem, 3.8vw, 3.3rem);
  }
}

@media (max-width: 720px) {
  .home-hero {
    padding-top: 40vh;
  }

  .home-categories.count-5 .home-category:last-child {
    grid-column: auto;
  }

  .home-category {
    aspect-ratio: 1 / 1;
  }

  .home-categories.count-5 .home-category:last-child {
    aspect-ratio: 1 / 1;
  }
}

/* ===== Animacije ===== */

/* Traka s obavjestenjima: na mobitelu poruke klize u krug */
.announcement-copy {
  display: none;
}

/* Hero: tekst ulazi odozdo, jedan red za drugim */
@keyframes home-rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes home-zoom-once {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

.home-hero-text > * {
  animation: home-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.home-hero-text > *:nth-child(1) { animation-delay: 0.15s; }
.home-hero-text > *:nth-child(2) { animation-delay: 0.3s; }
.home-hero-text > *:nth-child(3) { animation-delay: 0.45s; }
.home-hero-text > *:nth-child(4) { animation-delay: 0.6s; }

.home-hero-slide.is-static {
  animation: home-zoom-once 9s ease-out both;
}

/* Elementi se pojavljuju dok se skrola (klase dodaje main.js) */
.js .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal-zoom {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 1s ease, transform 1.2s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--reveal-delay, 0s);
}

.js .reveal-zoom.is-visible {
  opacity: 1;
  transform: none;
}

/* Baner: fotografija se polako priblizava kad dodje na ekran */
.home-banner img {
  transform: scale(1.12);
  transition: transform 2.4s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.home-banner.is-visible img {
  transform: scale(1);
}

/* Proizvodi i fotografije: blago uvecanje na prelaz misem */
.home-grid .product-card-image {
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.4s ease;
}

.home-grid .product-card:hover .product-card-image {
  transform: scale(1.05);
}

.home-measure-image,
.home-story-image {
  overflow: hidden;
  border-radius: 16px;
}

.home-measure-image img,
.home-story-image img {
  transition: transform 1s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.home-measure-image:hover img,
.home-story-image:hover img {
  transform: scale(1.04);
}

/* Koraci: krugovi se popune zlatnom bojom kad se pojave */
.home-steps li::before {
  transition: background 0.6s ease 0.3s;
}

.js .home-steps li.reveal.is-visible::before {
  background: var(--color-gold);
}

/* Dugmad: strelica se pomjeri udesno */
.boa-link-arrow::after {
  transition: transform 0.25s ease;
}

.boa-link-arrow:hover::after {
  transform: translateX(4px);
}

.btn {
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.home-hero .btn:hover,
.home-banner .btn:hover,
.home-loyalty:hover .btn {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.home-loyalty {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.home-loyalty:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(17, 17, 17, 0.22);
}

@keyframes announcement-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 720px) {
  .announcement-bar {
    overflow: hidden;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
  }

  .announcement-track {
    display: inline-flex;
    white-space: nowrap;
    animation: announcement-scroll 22s linear infinite;
  }

  .announcement-bar .announcement-copy,
  .announcement-bar .announcement-extra {
    display: inline;
  }

  .announcement-bar span + span::before {
    content: none;
  }

  .announcement-bar span::after {
    content: '\00B7';
    margin: 0 16px;
    color: #d9b58c;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-text > *,
  .home-hero-slide.is-static,
  .announcement-track {
    animation: none;
  }

  .js .reveal,
  .js .reveal-zoom,
  .home-banner img {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ===== Lista zelja ===== */
.product-card {
  position: relative;
}

.wish-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #111;
  transition: transform 0.2s ease, background 0.2s ease;
}

.wish-btn:hover {
  transform: scale(1.08);
}

.wish-btn svg {
  width: 19px;
  height: 19px;
  fill: transparent;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linejoin: round;
  transition: fill 0.2s ease, stroke 0.2s ease;
}

.wish-btn.is-active svg {
  fill: #b2222c;
  stroke: #b2222c;
}

.wish-btn.pop svg {
  animation: wish-pop 0.45s ease;
}

@keyframes wish-pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.product-buy-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wish-btn.wish-btn-large {
  position: static;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid #111;
  box-shadow: none;
  background: #fff;
}

.wish-btn.wish-btn-large svg {
  width: 22px;
  height: 22px;
}

.wish-link {
  position: relative;
}

.wish-badge {
  position: absolute;
  top: -4px;
  right: -8px;
  background: #b2222c;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 1px 6px;
  min-width: 17px;
  text-align: center;
  line-height: 1.5;
}

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

.wishlist-title {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.wishlist-empty {
  text-align: center;
  padding: 50px 20px 30px;
}

.wishlist-empty svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: var(--color-gold);
  stroke-width: 1.3;
  margin-bottom: 10px;
}

.wishlist-empty p {
  color: #6a6a6a;
  margin: 0 0 22px;
}

.wishlist-loading {
  color: #6a6a6a;
}

/* ===== Pitanje o proizvodu (Viber / WhatsApp) ===== */
.product-ask {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-top: 20px;
  font-size: 0.9rem;
  color: #4b4b4b;
}

.product-ask-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.82rem;
  color: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.product-ask-link:hover {
  transform: translateY(-1px);
  opacity: 0.92;
  color: #fff;
}

.product-ask-link.chat-whatsapp {
  background: #1fa855;
}

.product-ask-link.chat-viber {
  background: #7360f2;
}

/* ===== Plutajuce dugme "Pisite nam" ===== */
.chat-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.chat-float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 0;
  background: #111;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, background 0.25s ease;
  animation: chat-nudge 6s ease-in-out 3s infinite;
}

.chat-float-btn:hover {
  transform: scale(1.06);
}

.chat-float-btn svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chat-float .chat-icon-close,
.chat-float.is-open .chat-icon-open {
  display: none;
}

.chat-float.is-open .chat-icon-close {
  display: block;
}

.chat-float.is-open .chat-float-btn {
  animation: none;
}

@keyframes chat-nudge {
  0%, 88%, 100% { transform: none; }
  91% { transform: translateY(-6px); }
  94% { transform: none; }
  97% { transform: translateY(-3px); }
}

.chat-float-menu {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  padding: 14px;
  width: 230px;
  animation: chat-menu-in 0.25s ease;
}

.chat-float-menu[hidden] {
  display: none;
}

@keyframes chat-menu-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.chat-float-menu p {
  margin: 2px 4px 10px;
  font-size: 0.85rem;
  color: #4b4b4b;
}

.chat-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #fff;
  transition: opacity 0.2s ease;
}

.chat-option + .chat-option {
  margin-top: 8px;
}

.chat-option:hover {
  opacity: 0.9;
  color: #fff;
}

.chat-option svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.chat-option.chat-whatsapp {
  background: #1fa855;
}

.chat-option.chat-viber {
  background: #7360f2;
}

@media (max-width: 720px) {
  .chat-float {
    right: 14px;
    bottom: 14px;
  }

  .chat-float-btn {
    width: 52px;
    height: 52px;
  }

  .wish-btn {
    top: 8px;
    right: 8px;
    width: 34px;
    height: 34px;
  }

  .wish-btn svg {
    width: 17px;
    height: 17px;
  }

  .header-actions .account-link-user {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-float-btn,
  .chat-float-menu,
  .wish-btn.pop svg {
    animation: none;
  }
}

/* Stranice iz admina (blokovi) */
.pb-block + .pb-block.section,
.pb-title + .pb-block.section {
  padding-top: 0;
}

.pb-heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 18px;
}

.pb-text.is-center {
  text-align: center;
}

.pb-text .story-content a,
.pb-rich a {
  color: var(--color-gold-dark, #8a5a2b);
  text-decoration: underline;
}

.pb-image {
  margin: 0 0 56px;
}

.pb-image figure {
  margin: 0 auto;
}

.pb-image.is-normal figure {
  max-width: 760px;
}

.pb-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

.pb-image.is-full img {
  border-radius: 0;
  max-height: 85vh;
  object-fit: cover;
}

.pb-image figcaption,
.pb-caption {
  text-align: center;
  color: #6f675c;
  font-size: 0.9rem;
  margin-top: 10px;
}

.pb-video-frame {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.pb-video-frame iframe,
.pb-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.pb-banner {
  margin-bottom: 56px;
}

.pb-banner-heading {
  color: #fff;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.1;
  max-width: 640px;
  margin: 12px 0 12px;
}

.pb-image-text .home-story.is-reversed .home-story-image {
  order: 2;
}

.pb-rich p {
  color: #4b4b4b;
  margin: 0 0 16px;
}

.pb-rich + .btn {
  margin-top: 8px;
}

.pb-products .shelf-heading {
  text-align: center;
}

.preview-bar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #c9a24b;
  color: #111;
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 16px;
}

@media (max-width: 900px) {
  .pb-image-text .home-story.is-reversed .home-story-image {
    order: 0;
  }
  .pb-image {
    margin-bottom: 36px;
  }
}
