/* ── Gift Thermos Popup ─────────────────────── */
.omh-gift-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(26,26,24,0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s ease;
}
.omh-gift-overlay.is-open {
  opacity: 1; pointer-events: all;
}
.omh-gift-card {
  background: #FAFAF8;
  border-radius: 2px;
  width: 100%; max-width: 440px;
  overflow: hidden;
  transform: translateY(12px);
  transition: transform 0.25s ease;
}
.omh-gift-overlay.is-open .omh-gift-card {
  transform: translateY(0);
}
.omh-gift-header {
  background: #1A1A18;
  padding: 1rem 1.2rem;
  display: flex; align-items: center; gap: 0.7rem;
}
.omh-gift-header svg { flex-shrink: 0; }
.omh-gift-header-text strong {
  display: block;
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 1.05rem; font-weight: 400;
  color: #FAFAF8; margin-bottom: 0.2rem;
}
.omh-gift-header-text span {
  font-size: 0.68rem; color: rgba(255,255,255,0.6);
  font-family: 'Inter', sans-serif;
}
.omh-gift-body { padding: 1.2rem; }

/* Image grid swatches */
.omh-gift-swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.omh-gift-swatch {
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 2px;
  background: none;
  padding: 0;
  overflow: hidden;
  transition: border-color 0.15s;
  font-family: 'Inter', sans-serif;
  text-align: center;
}
.omh-gift-swatch:hover { border-color: #6B6660; }
.omh-gift-swatch.selected { border-color: #1A1A18; }

.omh-gift-swatch-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.omh-gift-swatch-label {
  font-size: 0.58rem;
  color: #6B6660;
  padding: 0.3rem 0.2rem;
  display: block;
  background: #FAFAF8;
  line-height: 1.2;
}
.omh-gift-swatch.selected .omh-gift-swatch-label {
  color: #1A1A18;
  font-weight: 500;
}

.omh-gift-swatch.is-unavailable {
  cursor: not-allowed;
  opacity: 0.45;
  pointer-events: none;
  position: relative;
}
.omh-gift-swatch.is-unavailable::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  bottom: calc(1.5rem + 8px); /* above label */
  background: linear-gradient(
    to bottom right,
    transparent calc(50% - 0.5px),
    rgba(100,95,90,0.5) calc(50% - 0.5px),
    rgba(100,95,90,0.5) calc(50% + 0.5px),
    transparent calc(50% + 0.5px)
  );
  pointer-events: none;
}
.omh-gift-swatch.is-unavailable .omh-gift-swatch-label {
  color: #B0AAA4;
}
#omh-gift-overlay .omh-gift-confirm {
  display: block !important;
  width: 100% !important;
  padding: 0.8rem 1.5rem !important;
  background: #1A1A18 !important;
  color: #FAFAF8 !important;
  border: none !important;
  border-radius: 1px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  cursor: pointer !important;
  margin: 0 0 0.6rem 0 !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}
#omh-gift-overlay .omh-gift-confirm:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}
#omh-gift-overlay .omh-gift-skip {
  display: block !important;
  width: 100% !important;
  text-align: center !important;
  font-size: 0.62rem !important;
  color: #6B6660 !important;
  font-family: 'Inter', sans-serif !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  text-decoration: underline !important;
  padding: 0.2rem 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* Badge on product page */
.omh-gift-badge {
  display: flex; align-items: flex-start; gap: 0.7rem;
  padding: 0.85rem 1rem;
  border-left: 2px solid #B8935A;
  background: linear-gradient(90deg, #FDFAF5 0%, transparent 80%);
  margin-bottom: 1.2rem;
}
.omh-gift-badge-text strong {
  display: block; font-size: 0.7rem; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: #B8935A; margin-bottom: 0.2rem;
  font-family: 'Inter', sans-serif;
}
.omh-gift-badge-text p {
  font-size: 0.68rem; color: #6B6660; line-height: 1.55;
  font-family: 'Inter', sans-serif;
}
