.co-gift-picker__header{display:flex;align-items:center;gap:14px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid #e5e7eb}.co-gift-picker__icon{width:48px;height:48px;background:linear-gradient(135deg, #f0fdf4, #dcfce7);border-radius:12px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.co-gift-picker__icon svg{width:24px;height:24px;stroke:#16a34a}.co-gift-picker__title{font-size:1.1rem;font-weight:700;margin:0}.co-gift-picker__subtitle{font-size:.8rem;color:#6b7280;margin:2px 0 0}.co-gift-grid{display:grid;grid-template-columns:repeat(auto-fill, minmax(220px, 1fr));gap:16px}@media(max-width: 500px){.co-gift-grid{grid-template-columns:1fr}}.co-gift-card{display:flex;flex-direction:column;border:1.5px solid #e5e7eb;border-radius:14px;overflow:hidden;background:#fff;transition:box-shadow .2s,transform .2s,border-color .2s}.co-gift-card:hover{box-shadow:0 8px 24px rgba(0,0,0,.08);transform:translateY(-2px);border-color:#16a34a}.co-gift-card--disabled{opacity:.6;pointer-events:none}.co-gift-card--disabled:hover{transform:none;box-shadow:none;border-color:#e5e7eb}.co-gift-card__img{display:block;position:relative;background:#f9fafb}.co-gift-card__img img{width:100%;aspect-ratio:1/1;object-fit:cover;display:block}.co-gift-card__unavailable{position:absolute;inset:0;background:rgba(0,0,0,.5);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem}.co-gift-card__body{padding:14px;display:flex;flex-direction:column;gap:8px;flex:1}.co-gift-card__name{font-weight:700;font-size:.9rem;margin:0;line-height:1.3}.co-gift-card__desc{font-size:.8rem;color:#6b7280;margin:0;line-height:1.4}.co-gift-card__footer{margin-top:auto;display:flex;flex-direction:column;gap:8px}.co-gift-card__stock{font-size:.75rem;font-weight:600;display:flex;align-items:center;gap:4px}.co-gift-card__stock--in{color:#16a34a}.co-gift-card__stock--out{color:#dc2626}.co-gift-card__btn{width:100%;padding:10px 16px;background:#16a34a;color:#fff;border:none;border-radius:8px;font-size:.85rem;font-weight:600;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;transition:background .15s}.co-gift-card__btn:hover{background:#15803d}.co-gift-card__btn:disabled{background:#d1d5db;cursor:not-allowed}
/* ===== Newsletter Modal ===== */

.nl-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(0);
  visibility: hidden;
  pointer-events: none;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, visibility 0s 0.3s;
  padding: 16px;
}

.nl-modal-overlay.is-open {
  visibility: visible;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, visibility 0s 0s;
}

/* Modal box */
.nl-modal {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0,0,0,0.04);
  transform: translateY(30px) scale(0.96);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.nl-modal-overlay.is-open .nl-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Close button */
.nl-modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  color: #555;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.nl-modal__close:hover {
  background: rgba(0, 0, 0, 0.12);
  color: #111;
  transform: scale(1.1);
}

/* Body */
.nl-modal__body {
  padding: 32px 28px 28px;
}

/* Loader */
.nl-modal__loader {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 160px;
}

.nl-spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #e5e5e5;
  border-top-color: #888;
  border-radius: 50%;
  animation: nl-spin 0.7s linear infinite;
}

@keyframes nl-spin {
  to { transform: rotate(360deg); }
}

/* ===== Content blocks ===== */

.nl-block-image {
  margin-bottom: 16px;
  border-radius: 10px;
  overflow: hidden;
}

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

.nl-block-heading {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
  color: #111;
}

.nl-block-text {
  font-size: 0.93rem;
  color: #666;
  line-height: 1.55;
  margin-bottom: 16px;
}

/* Form */
.nl-form-group {
  margin-bottom: 12px;
}

.nl-form-input {
  display: block;
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  background: #fafafa;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.nl-form-input:focus {
  border-color: #888;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
  background: #fff;
}

.nl-form-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: #777;
  line-height: 1.4;
}

.nl-form-check input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
}

.nl-form-check a {
  color: inherit;
  text-decoration: underline;
}

.nl-form-submit {
  display: block;
  width: 100%;
  padding: 13px 20px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s;
  position: relative;
  overflow: hidden;
}

.nl-form-submit:hover {
  opacity: 0.9;
}

.nl-form-submit:active {
  transform: scale(0.98);
}

.nl-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Submit spinner */
.nl-form-submit .nl-btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: nl-spin 0.6s linear infinite;
  margin: 0 auto;
}

.nl-form-submit.is-loading .nl-btn-label { visibility: hidden; }
.nl-form-submit.is-loading .nl-btn-spinner { display: block; position: absolute; top: 50%; left: 50%; margin: -9px 0 0 -9px; }

/* ===== Message states ===== */

.nl-message {
  font-size: 0.88rem;
  line-height: 1.4;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 12px;
  text-align: center;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.3s, transform 0.3s;
}

.nl-message.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.nl-message.is-error {
  background: #fff0f0;
  color: #c0392b;
  border: 1px solid #f5c6cb;
}

.nl-message.is-success {
  background: #f0fff4;
  color: #1a7f37;
  border: 1px solid #b7ebc9;
}

.nl-message.is-loading {
  background: #f5f5f5;
  color: #888;
  border: 1px solid #e0e0e0;
}

/* Success icon animation */
.nl-success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px 0 8px;
  animation: nl-pop 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.nl-success-icon svg {
  width: 56px;
  height: 56px;
}

.nl-success-icon circle {
  fill: #1a7f37;
}

.nl-success-icon path {
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: nl-check-draw 0.4s 0.2s ease-out forwards;
}

.nl-success-text {
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 600;
  color: #1a7f37;
}

@keyframes nl-pop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes nl-check-draw {
  to { stroke-dashoffset: 0; }
}

/* Nudge shake on backdrop click */
@keyframes nl-shake {
  0%, 100% { transform: translateX(0); }
  15% { transform: translateX(-6px); }
  30% { transform: translateX(5px); }
  45% { transform: translateX(-4px); }
  60% { transform: translateX(3px); }
  75% { transform: translateX(-2px); }
}

.nl-modal.is-shaking {
  animation: nl-shake 0.4s ease-in-out;
}

/* Close button pulse on backdrop click */
@keyframes nl-close-pulse {
  0% { transform: scale(1); background: rgba(0,0,0,0.06); }
  30% { transform: scale(1.35); background: rgba(220,53,69,0.2); color: #dc3545; }
  100% { transform: scale(1); background: rgba(0,0,0,0.06); color: #555; }
}

.nl-modal__close.is-pulsing {
  animation: nl-close-pulse 0.6s ease;
}

/* ===== Mobile ===== */

@media (max-width: 576px) {
  .nl-modal-overlay {
    align-items: flex-end;
    padding: 0;
  }

  .nl-modal {
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    max-height: 90vh;
    transform: translateY(100%);
  }

  .nl-modal-overlay.is-open .nl-modal {
    transform: translateY(0);
  }

  .nl-modal__body {
    padding: 24px 20px 28px;
  }

  .nl-modal__close {
    top: 10px;
    right: 10px;
  }
}

