:root {
  --bg: #f7f1eb;
  --bg-soft: #fcfaf7;
  --surface: rgba(255, 251, 247, 0.88);
  --surface-strong: #fffaf4;
  --ink: #211a17;
  --muted: #70635c;
  --line: rgba(70, 48, 37, 0.14);
  --accent: #be9d82;
  --accent-deep: #8f6951;
  --shadow: 0 24px 60px rgba(94, 68, 53, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 118px;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(208, 189, 172, 0.25), transparent 28%),
    linear-gradient(180deg, #fbf8f4 0%, #f4ede6 100%);
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

.page-shell {
  width: min(1440px, calc(100% - 32px));
  margin: 14px auto 20px;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px 24px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 249, 0.92);
  backdrop-filter: blur(18px);
}

.site-header.search-open {
  grid-template-columns: auto 1fr auto;
}

.logo-box {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: 84px;
}

.site-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 2vw, 40px);
}

.site-nav a {
  position: relative;
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding: 10px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

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

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

.cart-wrapper {
  position: relative;
}

.search-toggle[aria-expanded="true"] {
  background: rgba(190, 157, 130, 0.12);
  border-radius: 999px;
}

.header-search {
  position: absolute;
  right: 132px;
  top: calc(100% + 12px);
  width: min(360px, calc(100% - 32px));
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 249, 0.97);
  box-shadow: 0 20px 40px rgba(73, 51, 39, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.site-header.search-open .header-search {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.header-search-input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  background: #fffdfa;
  color: var(--ink);
  padding: 12px 14px;
  outline: none;
}

.header-search-input::placeholder {
  color: #93857d;
}

.header-search-submit {
  flex-shrink: 0;
  min-height: 46px;
  padding: 0 16px;
  background: #1d1815;
  color: #fff9f4;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.account-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.account-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.account-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 19, 15, 0.42);
  backdrop-filter: blur(6px);
}

.account-dialog {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100% - 28px));
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 252, 249, 0.98), rgba(246, 237, 229, 0.98));
  box-shadow: 0 28px 60px rgba(55, 38, 29, 0.22);
}

.account-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  color: var(--ink);
}

.account-kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  color: var(--muted);
}

.account-dialog h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  line-height: 1;
}

.account-intro {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.account-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.account-form input {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
  padding: 14px 16px;
}

.account-submit {
  min-height: 52px;
  margin-top: 4px;
  background: #1d1815;
  color: #fff9f4;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
}

.mini-cart {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: min(360px, calc(100vw - 32px));
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 252, 249, 0.98);
  box-shadow: 0 20px 40px rgba(73, 51, 39, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.cart-wrapper:hover .mini-cart,
.cart-wrapper:focus-within .mini-cart {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mini-cart-head,
.mini-cart-total-row,
.cart-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mini-cart-head {
  margin-bottom: 12px;
  font-weight: 700;
}

.mini-cart-total-count {
  color: var(--muted);
  font-size: 0.82rem;
}

.mini-cart-empty,
.cart-modal-empty {
  color: var(--muted);
  line-height: 1.6;
}

.mini-cart-list,
.cart-modal-list {
  display: grid;
  gap: 10px;
}

.mini-cart-item,
.cart-modal-item {
  display: grid;
  align-items: center;
  gap: 10px 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.mini-cart-item {
  grid-template-columns: 40px minmax(0, 1fr) auto;
}

.cart-modal-item {
  grid-template-columns: 40px minmax(0, 1fr) auto;
}

.cart-item-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--line);
  background-color: rgba(255, 251, 247, 0.92);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.mini-cart-item-info,
.cart-modal-item-info {
  min-width: 0;
}

.mini-cart-item-name,
.cart-modal-item-name {
  font-weight: 700;
}

.mini-cart-item-meta,
.cart-modal-item-meta {
  color: var(--muted);
  font-size: 0.88rem;
}

.mini-cart-item-price,
.cart-modal-item-price {
  font-weight: 700;
  white-space: nowrap;
}

.cart-modal-item-price {
  min-width: 92px;
  text-align: right;
}

.cart-item-controls {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.cart-quantity-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.cart-quantity-button {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: var(--ink);
}

.cart-quantity-value {
  min-width: 32px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.mini-cart-footer,
.cart-summary {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.mini-cart-checkout,
.cart-pay-button {
  width: 100%;
  min-height: 48px;
  margin-top: 12px;
  background: #1d1815;
  color: #fff9f4;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
}

.cart-modal {
  position: fixed;
  inset: 0;
  z-index: 31;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.cart-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.cart-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(26, 19, 15, 0.42);
  backdrop-filter: blur(6px);
}

.cart-dialog {
  position: relative;
  z-index: 1;
  width: min(620px, calc(100% - 28px));
  max-height: min(80vh, 760px);
  overflow: auto;
  padding: 30px 28px 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 252, 249, 0.98), rgba(246, 237, 229, 0.98));
  box-shadow: 0 28px 60px rgba(55, 38, 29, 0.22);
}

.cart-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-size: 1.8rem;
  color: var(--ink);
}

.cart-item-remove {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  align-self: center;
}

.icon-button {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--ink);
}

.cart-button {
  margin-left: 2px;
}

.cart-count {
  position: absolute;
  top: 3px;
  right: 1px;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  font-size: 0.72rem;
}

.icon-search,
.icon-user,
.icon-bag {
  display: block;
  position: relative;
}

.icon-search {
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-search::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -6px;
  width: 10px;
  height: 2px;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: center;
}

.icon-user {
  width: 20px;
  height: 22px;
}

.icon-user::before,
.icon-user::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.icon-user::before {
  top: 0;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.icon-user::after {
  bottom: 0;
  width: 18px;
  height: 10px;
  border: 2px solid currentColor;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  border-bottom: 0;
}

.icon-bag {
  width: 18px;
  height: 22px;
  border: 2px solid currentColor;
}

.icon-bag::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -7px;
  width: 10px;
  height: 8px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  transform: translateX(-50%);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.hero-section,
.category-grid,
.feature-strip,
.products-section,
.story-section,
.gallery-section,
.newsletter-section,
.site-footer {
  margin-top: 22px;
}

#products,
#about,
#gallery,
#contact {
  scroll-margin-top: 118px;
}

#about {
  scroll-margin-top: 420px;
}

.webshop-placeholder {
  margin-top: 22px;
  min-height: calc(100vh - 220px);
  padding: 72px 84px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(223, 201, 183, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(255, 250, 244, 0.94), rgba(247, 239, 231, 0.94));
}

.webshop-placeholder h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.webshop-placeholder p:not(.eyebrow) {
  max-width: 700px;
  margin: 24px 0 0;
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--muted);
}

.webshop-placeholder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.checkout-state {
  margin-top: 22px;
  min-height: calc(100vh - 220px);
  padding: 72px 84px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(223, 201, 183, 0.2), transparent 28%),
    linear-gradient(180deg, rgba(255, 253, 251, 0.94), rgba(245, 237, 229, 0.84));
}

.checkout-state h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.checkout-state p:not(.eyebrow) {
  max-width: 700px;
  margin: 24px 0 0;
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--muted);
}

.checkout-state-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-section {
  position: relative;
  display: block;
  min-height: 380px;
  padding: 0;
  border: 0;
  background: url("./hero-reference-crop.png") right center/cover no-repeat;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #f8f4ef 0%,
      #f8f4ef 28%,
      rgba(248, 244, 239, 0.98) 36%,
      rgba(248, 244, 239, 0.84) 45%,
      rgba(248, 244, 239, 0.46) 54%,
      rgba(248, 244, 239, 0) 64%
    );
  z-index: 0;
}

.hero-copy {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(36%, 470px);
  max-width: none;
  padding: 36px 0 36px 84px;
  z-index: 1;
}

.eyebrow {
  margin: 0 0 18px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 600;
  font-size: clamp(0.98rem, 1.2vw, 1.2rem);
  color: #171311;
}

.hero-copy h1,
.story-copy h2,
.newsletter-copy h2 {
  margin: 0;
  font-family: "Marck Script", cursive;
  font-size: clamp(3.5rem, 5vw, 5.2rem);
  line-height: 0.94;
  font-weight: 400;
  color: #2b2320;
}

.hero-text,
.story-copy p,
.newsletter-copy p,
.product-body p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-text {
  display: none;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 54px;
  padding: 0 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #1d1815;
  color: #fff9f4;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  transition: transform 0.25s ease, background 0.25s ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  background: #30251f;
}

.primary-button:disabled,
.add-to-cart:disabled,
.mini-cart-checkout:disabled,
.cart-pay-button:disabled,
.account-submit:disabled {
  opacity: 0.72;
  cursor: default;
  transform: none;
}

.secondary-link {
  display: none;
}

.secondary-link::after {
  display: none;
}

.hero-visual {
  display: none;
}

.scene-arch {
  position: absolute;
  border-radius: 240px 240px 0 0;
  border: 12px solid rgba(195, 166, 139, 0.18);
  border-bottom: 0;
}

.arch-back {
  width: 170px;
  height: 252px;
  right: 184px;
  top: 92px;
  opacity: 0.9;
}

.arch-front {
  width: 124px;
  height: 208px;
  right: 84px;
  top: 126px;
  opacity: 0.82;
}

.scene-vase {
  position: absolute;
  left: 162px;
  top: 214px;
  width: 102px;
  height: 168px;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(249, 236, 223, 0.92), rgba(223, 195, 169, 0.85));
  box-shadow: 0 24px 40px rgba(182, 146, 118, 0.1);
  z-index: 2;
}

.scene-vase::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 24px;
  background: repeating-linear-gradient(
    90deg,
    rgba(194, 159, 129, 0.16) 0 7px,
    rgba(255, 248, 242, 0.28) 7px 16px
  );
}

.stem {
  position: absolute;
  bottom: 140px;
  left: 50%;
  width: 3px;
  background: #b98f67;
  transform-origin: bottom center;
}

.stem-1 {
  height: 120px;
  transform: translateX(-18px) rotate(-24deg);
}

.stem-2 {
  height: 130px;
  transform: translateX(-2px) rotate(2deg);
}

.stem-3 {
  height: 160px;
  transform: translateX(20px) rotate(18deg);
}

.stem::after {
  content: "";
  position: absolute;
  top: -7px;
  left: -8px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(222, 205, 190, 0.96);
  box-shadow:
    16px -12px 0 -2px rgba(232, 220, 208, 0.85),
    -12px 10px 0 -3px rgba(232, 220, 208, 0.82),
    12px 18px 0 -5px rgba(232, 220, 208, 0.78);
}

.scene-plate {
  position: absolute;
  right: 156px;
  bottom: 92px;
  width: 234px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(167, 123, 84, 0.38), rgba(167, 123, 84, 0.22));
  filter: blur(0.4px);
  z-index: 1;
}

.scene-candle {
  position: absolute;
  right: 168px;
  bottom: 118px;
  width: 226px;
  height: 286px;
  border-radius: 64px 64px 40px 40px;
  background: linear-gradient(180deg, #f8efe6 0%, #f5e8dc 62%, #e0bf9d 100%);
  box-shadow: 0 26px 46px rgba(172, 135, 104, 0.18);
  z-index: 2;
}

.scene-candle::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 50%;
  width: 166px;
  height: 46px;
  border-radius: 50%;
  background: #fbf3ea;
  transform: translateX(-50%);
}

.scene-candle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 44px;
  width: 28px;
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 243, 221, 0.88), rgba(255, 243, 221, 0));
  transform: translateX(-50%);
}

.flame {
  position: absolute;
  left: 50%;
  top: -58px;
  width: 34px;
  height: 58px;
  border-radius: 60% 60% 60% 60%;
  background: radial-gradient(circle at 50% 30%, #fff7d9 0%, #ffcc67 42%, #e59231 100%);
  box-shadow: 0 0 40px rgba(255, 182, 69, 0.4);
  transform: translateX(-50%);
}

.candle-logo {
  position: absolute;
  left: 50%;
  bottom: 60px;
  width: 118px;
  height: 118px;
  background: url("./monogram-transparent.png") center/contain no-repeat;
  opacity: 0.46;
  filter: sepia(0.72) saturate(0.64) hue-rotate(345deg) brightness(0.7);
  transform: translateX(-50%);
}

.scene-sign {
  position: absolute;
  right: 34px;
  bottom: 98px;
  width: 194px;
  height: 290px;
  padding: 42px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 10px;
  background: linear-gradient(135deg, #d8aa72, #d7a169 55%, #cf9b63);
  box-shadow: 0 26px 44px rgba(174, 130, 89, 0.18);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 1.1rem;
  text-align: center;
  color: #251b17;
}

.scene-stone {
  position: absolute;
  background: linear-gradient(180deg, #f5ece5, #e4cdb9);
  box-shadow: 0 18px 34px rgba(178, 138, 108, 0.08);
  z-index: 1;
}

.stone-left {
  left: 74px;
  bottom: 110px;
  width: 132px;
  height: 88px;
  border-radius: 26px;
}

.stone-right {
  left: 418px;
  bottom: 142px;
  width: 96px;
  height: 164px;
  border-radius: 30px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.category-card {
  position: relative;
  min-height: 226px;
  aspect-ratio: 505 / 226;
  border: 0;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.category-card--soft {
  background-image: url("./svijeće od voska.jpeg");
  background-position: 72% 58%;
}

.category-card--cream {
  background-image: url("./posuda.png");
  background-position: 63% 50%;
}

.category-card--wood {
  background-image: url("./lasersko-graviranje-card.png");
  background-position: center;
  background-size: cover;
}

.card-visual {
  display: none;
}

.candle-visual::before,
.pot-visual::before,
.laser-visual::before {
  content: "";
  position: absolute;
}

.candle-visual::before {
  right: 38px;
  bottom: 34px;
  width: 180px;
  height: 180px;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 247, 229, 0.9), transparent 14%),
    linear-gradient(180deg, #fdf3ea, #dfbe9f);
  box-shadow: var(--shadow);
}

.candle-visual::after {
  content: "";
  position: absolute;
  right: 118px;
  bottom: 188px;
  width: 18px;
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(circle at 50% 30%, #fff9de, #f2ab3f 58%, #d0751f 100%);
}

.pot-visual::before {
  right: 30px;
  bottom: 28px;
  width: 188px;
  height: 130px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.2), transparent 18%),
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.24) 0 12px,
      rgba(231, 213, 197, 0.48) 12px 24px
    );
  box-shadow: var(--shadow);
}

.laser-visual::before {
  inset: auto 32px 28px auto;
  width: 210px;
  height: 144px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(45, 32, 24, 0.15), rgba(45, 32, 24, 0)),
    linear-gradient(135deg, #8c5c38, #ddb184);
  box-shadow: var(--shadow);
}

.laser-visual::after {
  content: "";
  position: absolute;
  right: 88px;
  top: 38px;
  width: 12px;
  height: 168px;
  background: linear-gradient(180deg, #201711, #544135);
  box-shadow: 0 0 0 18px rgba(56, 38, 26, 0.14);
}

.category-copy {
  position: absolute;
  top: 34px;
  left: 24px;
  bottom: auto;
  max-width: 206px;
  padding: 18px 18px 16px;
  background: rgba(255, 251, 247, 0.84);
  backdrop-filter: blur(5px);
}

.category-copy h2 {
  margin: 0;
  font-size: clamp(0.98rem, 1.35vw, 1.18rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.45;
}

.category-copy a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--muted);
}

.category-copy a::after {
  content: "›";
  font-size: 1.1rem;
}

.category-copy a::after {
  content: ">";
  margin-left: 2px;
  font-size: 1rem;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: rgba(255, 251, 247, 0.74);
}

.feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 84px;
  padding: 12px 18px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.82rem;
}

.feature-item + .feature-item {
  border-left: 1px solid var(--line);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #16110f;
  flex: 0 0 auto;
}

.feature-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.products-section,
.gallery-section {
  padding: 10px 0;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 26px;
}

.section-heading p {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-weight: 600;
}

.section-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.product-card {
  border: 1px solid var(--line);
  background: rgba(255, 252, 248, 0.78);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 50px rgba(86, 60, 43, 0.12);
}

.product-image {
  min-height: 300px;
  background-size: cover;
}

.product-image--linen {
  background:
    radial-gradient(circle at 48% 22%, rgba(255, 248, 222, 0.96), transparent 10%),
    radial-gradient(circle at 62% 66%, rgba(255, 255, 255, 0.3), transparent 26%),
    linear-gradient(140deg, #f7ede6 0%, #d7b69f 100%);
}

.product-image--cupcake {
  background: url("./cupcake s ružama.png") center 68%/cover no-repeat;
}

.product-image--shell {
  background:
    radial-gradient(circle at 66% 42%, rgba(255, 255, 255, 0.3), transparent 16%),
    linear-gradient(140deg, #efdfd2 0%, #cab09f 100%);
}

.product-image--lines {
  background: url("./Svijeća u posudi.png") center/cover no-repeat;
}

.product-image--wood {
  background:
    linear-gradient(145deg, rgba(53, 35, 23, 0.16), rgba(53, 35, 23, 0)),
    linear-gradient(140deg, #d4aa81 0%, #9e6744 100%);
}

.product-image--popular-1 {
  background: url("./boy.png") center 34%/cover no-repeat;
}

.product-image--gift {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0)),
    linear-gradient(140deg, #eddccf 0%, #b48868 100%);
}

.product-image--popular-2 {
  background: url("./srce ruža.png") center/cover no-repeat;
}

.product-body {
  padding: 20px 18px 22px;
}

.product-body h3 {
  margin: 0 0 10px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.product-meta span {
  font-weight: 700;
}

.add-to-cart {
  padding: 12px 16px;
  border: 1px solid var(--line);
  background: var(--surface-strong);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.7rem;
}

.story-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 38px;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255, 253, 249, 0.88), rgba(243, 229, 219, 0.9));
}

.story-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-photo {
  width: min(100%, 520px);
  min-height: 520px;
  border-radius: 28px;
  background: url("./O nama.jpeg") center/cover no-repeat;
  box-shadow: var(--shadow);
}

.portrait-card {
  width: min(100%, 440px);
  aspect-ratio: 0.9;
  padding: 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(220, 197, 179, 0.45));
  box-shadow: var(--shadow);
}

.portrait-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 22px;
  background: linear-gradient(145deg, #f6ece4, #ddbea8);
  overflow: hidden;
}

.portrait-circle {
  position: absolute;
  left: 50%;
  top: 16%;
  width: 56%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 248, 241, 0.5);
  transform: translateX(-50%);
}

.portrait-candle {
  position: absolute;
  left: 50%;
  bottom: 14%;
  width: 40%;
  height: 46%;
  border-radius: 32px 32px 26px 26px;
  background: linear-gradient(180deg, #fff3e9, #d6b49c);
  transform: translateX(-50%);
}

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow--small {
  font-size: 0.82rem;
}

.story-copy h2,
.newsletter-copy h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.06;
  font-weight: 600;
}

.story-list {
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.9;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  flex: 1;
}

.gallery-grid.is-sliding-out-next {
  animation: gallery-slide-out-next 0.24s ease forwards;
}

.gallery-grid.is-sliding-in-next {
  animation: gallery-slide-in-next 0.24s ease forwards;
}

.gallery-grid.is-sliding-out-prev {
  animation: gallery-slide-out-prev 0.24s ease forwards;
}

.gallery-grid.is-sliding-in-prev {
  animation: gallery-slide-in-prev 0.24s ease forwards;
}

.gallery-card {
  border: 1px solid var(--line);
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: rgba(255, 251, 247, 0.74);
}

.gallery-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
}

.gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-arrow {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 251, 247, 0.86);
  color: var(--ink);
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.gallery-arrow:hover {
  transform: translateY(-1px);
  background: rgba(255, 248, 243, 0.98);
  box-shadow: 0 10px 24px rgba(89, 62, 45, 0.1);
}

.gallery-arrow span {
  font-size: 1.75rem;
  line-height: 1;
}

@keyframes gallery-slide-out-next {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(-34px);
  }
}

@keyframes gallery-slide-in-next {
  from {
    opacity: 0;
    transform: translateX(34px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes gallery-slide-out-prev {
  from {
    opacity: 1;
    transform: translateX(0);
  }

  to {
    opacity: 0;
    transform: translateX(34px);
  }
}

@keyframes gallery-slide-in-prev {
  from {
    opacity: 0;
    transform: translateX(-34px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.newsletter-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 250, 246, 0.9), rgba(238, 226, 216, 0.92));
}

.newsletter-form {
  display: grid;
  gap: 14px;
}

.newsletter-form input,
.newsletter-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--ink);
}

.newsletter-form textarea {
  resize: vertical;
  min-height: 120px;
}

.site-footer {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 26px 10px 10px;
  color: var(--muted);
}

.logo-box--footer {
  min-width: auto;
}

.logo-box--footer .logo-image {
  width: auto;
  height: 58px;
}

.footer-links {
  display: flex;
  gap: 20px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.footer-note {
  margin: 0;
  justify-self: end;
  font-size: 0.82rem;
}

@media (max-width: 1180px) {
  .site-header {
    grid-template-columns: auto auto 1fr auto;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: fixed;
    top: 100px;
    left: 16px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 20px;
    border: 1px solid var(--line);
    background: rgba(255, 252, 248, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .header-search {
    right: 16px;
    left: 16px;
    width: auto;
  }

  body.menu-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .hero-section,
  .story-section,
  .newsletter-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
    background-position: 72% center;
  }

  .webshop-placeholder {
    padding: 56px 40px;
  }

  .checkout-state {
    padding: 56px 40px;
  }

  .story-photo {
    min-height: 420px;
  }

  .hero-copy {
    position: relative;
    width: min(48%, 460px);
    padding: 34px 0 34px 40px;
  }

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

  .category-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  html {
    scroll-padding-top: 96px;
  }

  .page-shell {
    width: calc(100% - 18px);
    margin: 9px auto 16px;
  }

  .site-header {
    gap: 14px;
    padding: 16px;
  }

  .logo-box {
    min-width: auto;
  }

  .logo-image {
    width: auto;
    height: 62px;
  }

  .logo-box--footer .logo-image {
    width: auto;
    height: 48px;
  }

  .header-actions {
    gap: 2px;
  }

  .header-search {
    top: calc(100% + 8px);
    padding: 10px;
  }

  .header-search-submit {
    min-height: 42px;
    padding: 0 14px;
  }

  .mini-cart {
    right: -8px;
    width: min(340px, calc(100vw - 24px));
    padding: 14px;
  }

  .account-dialog {
    padding: 24px 20px 22px;
  }

  .account-dialog h2 {
    font-size: 2rem;
  }

  .cart-dialog {
    padding: 24px 20px 22px;
  }

  .cart-modal-item {
    grid-template-columns: 1fr;
  }

  .cart-item-controls {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .cart-item-remove {
    width: auto;
  }

  .hero-section {
    min-height: auto;
    padding: 0;
    background-position: 76% center;
  }

  .webshop-placeholder {
    min-height: auto;
    padding: 36px 24px;
  }

  .checkout-state {
    min-height: auto;
    padding: 36px 24px;
  }

  .story-photo {
    min-height: 320px;
  }

  .webshop-placeholder-actions {
    flex-direction: column;
  }

  .checkout-state-actions {
    flex-direction: column;
  }

  .hero-copy h1 {
    font-size: 3.2rem;
  }

  .hero-copy {
    width: 100%;
    min-height: 360px;
    padding: 28px 24px;
    background: linear-gradient(180deg, rgba(250, 246, 242, 0.8), rgba(250, 246, 242, 0.14));
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .eyebrow {
    font-size: 0.9rem;
    letter-spacing: 0.22em;
  }

  .primary-button {
    min-height: 50px;
    padding: 0 22px;
  }

  .product-grid,
  .feature-strip,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-carousel {
    gap: 8px;
  }

  .gallery-arrow {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .feature-item + .feature-item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  #products,
  #about,
  #gallery,
  #contact {
    scroll-margin-top: 96px;
  }

  #about {
    scroll-margin-top: 240px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  .footer-note {
    justify-self: start;
  }
}
