.zippo-quick-tags {
  margin: 0 0 10px;
}

.zippo-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zippo-quick-tag {
  flex: 0 0 auto;
  padding: 7px 11px;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.zippo-quick-tag:hover,
.zippo-quick-tag[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.zippo-quick-tag:focus-visible,
.zippo-quick-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.zippo-quick-toggle {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 6px 0 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
}

.zippo-quick-toggle::before {
  content: "";
  width: 17px;
  height: 2px;
  border-radius: 3px;
  background: currentColor;
}

.zippo-quick-toggle::after {
  content: "";
  width: 5px;
  height: 5px;
  margin: 0 0 2px 1px;
  border: solid currentColor;
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}

.zippo-quick-toggle[aria-expanded="true"]::after {
  margin-block: 3px 0;
  transform: rotate(225deg);
}

@media (max-width: 450px) {
  .zippo-quick-row { gap: 6px; }
  .zippo-quick-tag { padding-inline: 7px; font-size: 11px; }
}

@media (max-width: 350px) {
  .zippo-quick-row { gap: 4px; }
  .zippo-quick-tag { padding-inline: 4px; }
}

.gift-page-head {
  display: block;
  position: static;
  z-index: auto;
  background: transparent;
  border: 0;
  padding-block: 23px 26px;
}

.gift-page-head h1 {
  margin-block: 8px 10px;
}

.gift-page-head p {
  max-width: 61ch;
  margin-block: 0;
}

.gift-page-head.has-gift-guide p {
  font-size: 14px;
  line-height: 1.55;
}

.gift-page-head.has-gift-guide p + p {
  margin-top: 8px;
}

.gift-page-head.has-gift-guide p a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: .15em;
}

.gift-filter-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 15px;
  background: var(--soft);
  border-radius: 8px;
}

.gift-filter {
  display: grid;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
}

.gift-filter select {
  appearance: auto;
  color: var(--ink);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 5px;
  min-height: 40px;
  min-width: 0;
  padding: 7px 10px;
  font: inherit;
  font-size: 14px;
}

.gift-results {
  color: var(--muted);
  font-size: 13px;
  margin-block: 18px;
  display: flex;
  gap: 16px;
}

.gift-catalog > .products {
  margin-bottom: 54px;
}

.gift-card .product-image img {
  max-width: 86%;
  max-height: 90%;
  object-fit: contain;
}

.gift-stock {
  flex-basis: 100%;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.35;
}

.product-card--sold-out .product-image img {
  filter: grayscale(1);
  opacity: .62;
}

.gift-stock[data-stock-state="sold-out"],
.availability[data-stock-state="sold-out"],
.variant-stock-feedback {
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 3px 7px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 650;
}

.gift-stock[data-stock-state="store-check"] {
  color: var(--ink);
  font-weight: 600;
}

.variant-stock-feedback {
  flex: 0 0 auto;
  margin: 2px 0;
  font-size: .75rem;
}

.gift-detail [data-supplier-buy]:disabled {
  opacity: .5;
  cursor: not-allowed;
}

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

.gift-home-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--card);
  overflow: hidden;
  padding: 0 18px 18px;
}

.gift-home-card:hover,
.gift-variant:hover {
  border-color: var(--accent);
}

.gift-home-photo {
  grid-column: 1 / -1;
  margin-inline: -18px;
  display: grid;
  place-items: center;
  background: #f7f4ed;
  height: 177px;
}

.gift-home-photo img {
  width: min(70%, 200px);
  height: 152px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.gift-home-card h3,
.gift-home-card p {
  margin: 0;
}

.gift-home-card h3 {
  font-size: 19px;
  line-height: 1.25;
}

.gift-home-card p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.gift-variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.gift-variant {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 39px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 13px;
}

.gift-variant-options--detail { margin: 0 0 12px; }
.gift-variant-options--compact { gap: 2px; margin: -2px 0 4px; }
.gift-variant-options--compact .gift-variant {
  justify-content: center;
  width: 28px;
  min-height: 28px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
}
.gift-variant:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.gift-variant[aria-current],
.gift-variant[aria-pressed="true"] {
  border-color: var(--accent);
  background: var(--accent-soft);
  font-weight: 650;
}

.gift-swatch {
  position: relative;
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  border: 1px solid #8a827855;
  border-radius: 50%;
  background: #a99c8d;
}

.gift-swatch[data-color="Crna"] { background: #332f2e; }
.gift-swatch[data-color="Braon"] { background: #7d523a; }
.gift-swatch[data-color="Konjak"] { background: #af7447; }
.gift-swatch[data-color="Plava"] { background: #34485d; }
.gift-swatch[data-color="Crvena"] { background: #983941; }
.gift-swatch[data-color="Roze"] { background: #dba9b6; }
.gift-swatch[data-color="Bela"] { background: #f8f8f4; }
.gift-swatch[data-color="Zelena"] { background: #637c62; }
.gift-swatch[data-color="Maslinasta"] { background: #686d48; }
.gift-swatch[data-color="Bež"] { background: #c8ab81; }
.gift-swatch[data-color="Drvo"] { background: #bf9665; }
.gift-swatch[data-color="Srebrna"] { background: linear-gradient(140deg, #8c9197, #f2f4f5 52%, #a3a8ad); }
.gift-variant.gift-variant--unavailable {
  border-color: var(--line);
  background: var(--soft);
  color: var(--muted);
  cursor: not-allowed;
}
.gift-variant--unavailable .gift-swatch {
  filter: grayscale(1);
  opacity: .55;
}
.gift-variant--unavailable .gift-swatch::after {
  content: '';
  position: absolute;
  top: calc(50% - 1px);
  left: 1px;
  right: 1px;
  height: 2px;
  background: #fff;
  box-shadow: 0 0 0 1px #282827;
  transform: rotate(-45deg);
}

.gift-detail .gallery-main > img {
  object-fit: contain;
  padding: 12px;
}

.gift-editor-position {
  display: grid;
  gap: 3px;
  margin: 0;
  padding: 10px 13px;
  background: var(--soft);
  border-radius: 5px;
  line-height: 1.45;
}

.gift-editor-position span {
  color: var(--muted);
}

.gift-detail #engraving-preview {
  background: #fbfaf7;
  border-radius: 5px;
}

.gift-photo-pending {
  display: grid;
  place-items: center;
  min-height: 260px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 6px;
}

.gift-related {
  margin-top: 54px;
}

@media (max-width: 700px) {
  .gift-page-head { padding-block: 17px 20px; }
  .gift-filter-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .gift-filter select { font-size: 13px; }
  .gift-home-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .gift-home-card { display: flex; flex-direction: column; align-items: flex-start; padding: 0 8px 11px; }
  .gift-home-photo { width: calc(100% + 16px); margin-inline: -8px; height: 82px; }
  .gift-home-photo img { height: 72px; width: 90%; }
  .gift-home-card h3 { font-size: 11px; }
  .gift-home-card p { display: none; }
  .gift-home-card > .arrow-icon { display: none; }
}

.gift-home-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gift-swatch[data-color="Siva"] { background: #6a6766; }
.gift-swatch[data-color="Teget"] { background: #253346; }
.gift-swatch[data-color="Kamel"] { background: #bb8e65; }
.gift-swatch[data-color="Bordo"] { background: #762c43; }
.gift-swatch[data-color="Žuta"] { background: #e4c637; }
@media (max-width: 820px) {
  .gift-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
