/* ========================================
   FREE GIFT PROMOTION SYSTEM — STYLES
   AAN Luxe Premium E-Commerce
   ======================================== */

/* ─── PDP Free Gift Section ─── */
.pdp-free-gift-section {
  margin-top: 18px;
  margin-bottom: 14px;
  animation: giftFadeIn 0.5s ease-out;
}

@keyframes giftFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pdp-gift-banner {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3cd 100%);
  border: 1.5px solid #fbbf24;
  border-radius: 14px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  position: relative;
  overflow: hidden;
}

.pdp-gift-banner::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(196, 105, 8, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.pdp-gift-banner-icon {
  width: 38px;
  height: 38px;
  background: #4d2600;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 17px;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(77, 38, 0, 0.3);
}

[data-theme="dark"] .pdp-gift-banner-icon,
body.dark-mode .pdp-gift-banner-icon {
  background: #D7C1A1 !important;
  color: #4d2600 !important;
}

.pdp-gift-banner-text {
  font-weight: 700;
  font-size: 14px;
  color: #92400e;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pdp-gift-card {
  background: #fff;
  border: 1.5px solid #fde68a;
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all 0.3s ease;
  position: relative;
}

.pdp-gift-card:hover {
  border-color: #4d2600;
  box-shadow: 0 6px 24px rgba(196, 105, 8, 0.12);
  transform: translateY(-2px);
}

.pdp-gift-card-image {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  background: #fffbeb;
  flex-shrink: 0;
  border: 1px solid #fde68a;
}

.pdp-gift-card-info {
  flex: 1;
  min-width: 0;
}

.pdp-gift-card-label {
  font-size: 10px;
  font-weight: 700;
  color: #4d2600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.pdp-gift-card-label i {
  font-size: 11px;
}

.pdp-gift-card-title {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pdp-gift-card-price {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pdp-gift-card-free {
  font-size: 14px;
  font-weight: 700;
  color: #4d2600;
}

.pdp-gift-card-original {
  font-size: 12px;
  color: #9ca3af;
  text-decoration: line-through;
}

.pdp-gift-card-badge {
  position: absolute;
  top: -1px;
  right: 14px;
  background: #4d2600;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px 5px;
  border-radius: 0 0 8px 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(139, 69, 19, 0.3);
}

/* ─── Cart Free Gift Banner ─── */
.cart-gift-progress-banner {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 1.5px solid #fcd34d;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: giftFadeIn 0.4s ease-out;
}

.cart-gift-progress-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
}

.cart-gift-progress-text {
  font-size: 13.5px;
  font-weight: 600;
  color: #92400e;
  line-height: 1.4;
}

.cart-gift-progress-text strong {
  color: #b45309;
}

.cart-gift-unlocked-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 1.5px solid #86efac;
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: giftFadeIn 0.4s ease-out;
}

.cart-gift-unlocked-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(34, 197, 94, 0.3);
}

.cart-gift-unlocked-text {
  font-size: 13.5px;
  font-weight: 600;
  color: #15803d;
}

/* ─── Cart Gift Item ─── */
.cart-item-gift {
  background: linear-gradient(135deg, #f0fdf4 0%, #f9fafb 100%) !important;
  border: 1.5px solid #86efac !important;
  position: relative;
}

.cart-item-gift .item-price {
  color: #22c55e !important;
  font-weight: 700 !important;
}

.cart-gift-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.cart-gift-tag i {
  font-size: 10px;
}

.cart-gift-no-remove {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}

/* ─── Checkout Gift Label ─── */
.checkout-gift-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #742500, #16a34a);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: 8px;
}

.checkout-gift-price {
  color: #22c55e !important;
  font-weight: 700 !important;
}

/* ─── Cart Attached (Product) Gift (nested inside cart item) ─── */
.cart-attached-gift {
  margin-top: 0;
  padding: 12px;
  background: rgba(34, 197, 94, 0.06);
  border: 1px dashed rgba(34, 197, 94, 0.4);
  border-radius: 10px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.cart-attached-gift-row {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 12px;
}

@media (min-width: 992px) {
  .cart-item {
    position: relative;
    overflow: visible;
  }

  .cart-item-main .cart-attached-gift-row {
    width: calc(100% + 180px);
    max-width: calc(100% + 180px);
    transform: translateX(0);
    margin-left: 0;
    margin-right: -180px;
  }

  .cart-item .cart-attached-gift {
    width: 100%;
  }
}

.cart-attached-gift__img {
  width: 58px;
  height: 60px;
  border-radius: 10px;
  object-fit: cover;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  flex: 0 0 auto;
}

.cart-attached-gift__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-attached-gift__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #16a34a;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  line-height: 1.2;
}

.cart-attached-gift__title {
  font-weight: 650;
  font-size: 13px;
  color: #1f2937;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.cart-attached-gift__timer {
  align-self: flex-start;
  margin-top: 6px;
  font-size: 11px;
  color: #b45309;
  background: #fffbeb;
  padding: 3px 8px;
  border-radius: 8px;
  border: 1px solid #fde68a;
  max-width: 100%;
  flex-wrap: wrap;
}

@media (max-width: 575.98px) {
  .cart-attached-gift {
    padding: 10px;
    gap: 10px;
  }

  .cart-attached-gift__title {
    font-weight: 600;
    font-size: 11px;

  }

  .cart-attached-gift__img {
    width: 40px;
    height: 40px;
    border-radius: 9px;
  }
}

/* ─── Homepage / Global Gift Banner ─── */
.global-gift-banner {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border-radius: 16px;
  padding: 20px 28px;
  margin: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.global-gift-banner::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.global-gift-banner-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.global-gift-banner-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.35);
}

.global-gift-banner-text {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.global-gift-banner-text span {
  color: #4ade80;
  font-weight: 700;
}

.global-gift-banner-cta {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.global-gift-banner-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
  color: #fff;
}

/* ─── Admin Free Gifts Page ─── */
.admin-gift-page {
  min-height: 100vh;
}

.admin-promo-header {
  background: #4d2600;
  color: white;
  padding: 24px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.admin-promo-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0;
}

.admin-promo-subtitle {
  opacity: 0.9;
  margin: 0;
  font-size: 0.95rem;
}

/* Stats Cards */
.promo-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.promo-stat-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border: 1px solid #f3f4f6;
  transition: all 0.3s ease;
}

.promo-stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.promo-stat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.promo-stat-icon.green {
  background: #dcfce7;
  color: #16a34a;
}

.promo-stat-icon.blue {
  background: #dbeafe;
  color: #2563eb;
}

.promo-stat-icon.amber {
  background: #fef3c7;
  color: #d97706;
}

.promo-stat-icon.red {
  background: #fecaca;
  color: #dc2626;
}

.promo-stat-value {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1;
}

.promo-stat-label {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 2px;
}

/* Promotions Table */
.promo-table-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border: 1px solid #f3f4f6;
}

.promo-table-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.promo-table-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1f2937;
}

.promo-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.promo-filter-pill {
  padding: 6px 16px;
  border-radius: 20px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
}

.promo-filter-pill.active,
.promo-filter-pill:hover {
  background: #4d2600;
  color: #fff;
  border-color: transparent;
}

.promo-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}

.promo-table thead th {
  background: #f9fafb;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e5e7eb;
  white-space: nowrap;
}

.promo-table tbody td {
  padding: 14px 16px;
  font-size: 13.5px;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
  vertical-align: middle;
}

.promo-table tbody tr {
  transition: background 0.2s ease;
}

.promo-table tbody tr:hover {
  background: #f9fafb;
}

.promo-type-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.promo-type-badge.product {
  background: #dbeafe;
  color: #1d4ed8;
}

.promo-type-badge.cart {
  background: #fef3c7;
  color: #b45309;
}

.promo-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
}

.promo-status-badge.active {
  background: #dcfce7;
  color: #16a34a;
}

.promo-status-badge.inactive {
  background: #f3f4f6;
  color: #9ca3af;
}

.promo-status-badge.expired {
  background: #fecaca;
  color: #dc2626;
}

.promo-action-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
}

.promo-action-btn.edit {
  background: #dbeafe;
  color: #2563eb;
}

.promo-action-btn.toggle {
  background: #dcfce7;
  color: #16a34a;
}

.promo-action-btn.delete {
  background: #fecaca;
  color: #dc2626;
}

.promo-action-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.12);
}

/* Create/Edit Modal */
.promo-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2000;
  overflow-y: auto;
  padding: 40px 16px;
  animation: fadeIn 0.2s ease;
}

.promo-modal-overlay.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.promo-modal {
  background: #fff;
  border-radius: 16px;
  max-width: 640px;
  margin: 0 auto;
  overflow: hidden;
  animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.promo-modal-header {
  background: #4d2600;
  color: #fff;
  padding: 20px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.promo-modal-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.promo-modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.2s;
}

.promo-modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.promo-modal-body {
  padding: 28px;
}

.promo-form-group {
  margin-bottom: 18px;
}

.promo-form-label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: #4b5563;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.promo-form-input,
.promo-form-select {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  color: #1f2937;
  background: #fff;
  transition: all 0.2s ease;
  font-family: 'Poppins', sans-serif;
}

.promo-form-input:focus,
.promo-form-select:focus {
  border-color: #4d2600;
  box-shadow: 0 0 0 3px rgba(196, 105, 8, 0.1);
  outline: none;
}

.promo-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.promo-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.promo-toggle {
  position: relative;
  width: 44px;
  height: 24px;
}

.promo-toggle input {
  display: none;
}

.promo-toggle-slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #d1d5db;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.promo-toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  top: 3px;
  left: 3px;
  transition: transform 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.promo-toggle input:checked+.promo-toggle-slider {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.promo-toggle input:checked+.promo-toggle-slider::before {
  transform: translateX(20px);
}

.promo-modal-footer {
  padding: 0 28px 24px;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.promo-btn {
  padding: 10px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Poppins', sans-serif;
}

.promo-btn.primary {
  background: #4d2600;
  color: #fff;
}

.promo-btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(196, 105, 8, 0.35);
}

.promo-btn.secondary {
  background: #f3f4f6;
  color: #6b7280;
}

.promo-btn.secondary:hover {
  background: #e5e7eb;
}

.promo-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #9ca3af;
}

.promo-empty-state i {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.4;
}

.promo-empty-state h4 {
  color: #6b7280;
  margin-bottom: 8px;
}

/* ─── Order Gift Items in Admin ─── */
.order-gift-indicator {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-left: 6px;
}

/* ─── Responsive ─── */
@media (max-width: 767px) {
  .pdp-gift-card {
    flex-direction: row;
    gap: 12px;
    padding: 12px;
  }

  .pdp-gift-card-image {
    width: 56px;
    height: 56px;
  }

  .global-gift-banner {
    flex-direction: column;
    text-align: center;
    padding: 18px;
  }

  .global-gift-banner-left {
    flex-direction: column;
  }

  .promo-form-row {
    grid-template-columns: 1fr;
  }

  .promo-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .promo-table-card {
    overflow-x: auto;
  }
}

@media (max-width: 479px) {
  .promo-stats-grid {
    grid-template-columns: 1fr;
  }

  .promo-stat-card {
    padding: 14px;
  }

  .promo-modal-body {
    padding: 18px;
  }
}

/* =============================================
   GIFT BADGE — Compact Product Card Overlay
   Theme-matched, no height increase, clickable
   ============================================= */

/* Glow pulse animation */
@keyframes shGiftGlow {

  0%,
  100% {
    box-shadow: 0 2px 12px rgba(196, 105, 8, 0.15), 0 0 0 1px rgba(139, 69, 19, 0.15);
  }

  50% {
    box-shadow: 0 2px 20px rgba(196, 105, 8, 0.35), 0 0 0 2px rgba(196, 105, 8, 0.2);
  }
}

@keyframes shGiftSlideIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.9);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* ── Floating gift tag on product image ── */
.sh-gift-float {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 8px;
  padding: 4px 8px 4px 4px;
  text-decoration: none !important;
  z-index: 6;
  box-shadow: 0 2px 12px rgba(196, 105, 8, 0.15), 0 0 0 1px rgba(139, 69, 19, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  max-width: 67%;
  overflow: hidden;
  animation: shGiftSlideIn 0.5s ease-out, shGiftGlow 2.5s ease-in-out infinite 0.5s;
}

.sh-gift-float:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 18px rgba(139, 69, 19, 0.2), 0 0 0 1.5px rgba(139, 69, 19, 0.25);
  text-decoration: none !important;
}

.sh-gift-float-img {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  object-fit: cover;
  border: 1.5px solid rgba(139, 69, 19, 0.2);
  flex-shrink: 0;
}

.sh-gift-float-label {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.sh-gift-float-text {
  font-size: 8px;
  font-weight: 800;
  color: #fff;
  background: #4d2600;
  padding: 1px 6px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  line-height: 1.4;
  display: inline-block;
  white-space: nowrap;
}

.sh-gift-float-timer {
  font-size: 9.5px;
  margin-top: 2.4px;
  color: #92400e;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.sh-gift-float-mini {
  bottom: 6px;
  left: 6px;
  padding: 3px 6px 3px 3px;
  gap: 4px;
}

.sh-gift-float-mini .sh-gift-float-img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
}

.sh-gift-float-mini .sh-gift-float-text {
  font-size: 7px;
  padding: 1px 4px;
}

/* ── Thin inline strip below price ── */
.sh-gift-strip {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 6px;
  margin: 4px 0 2px;
  background: linear-gradient(135deg, #fef3cd 0%, #fde68a 100%);
  border: 1px solid rgba(196, 105, 8, 0.2);
  border-radius: 6px;
  text-decoration: none !important;
  cursor: pointer;
  transition: all 0.2s ease;
  overflow: hidden;
}

.sh-gift-strip:hover {
  background: linear-gradient(135deg, #fde68a 0%, #fbbf24 100%);
  border-color: rgba(196, 105, 8, 0.35);
  box-shadow: 0 2px 8px rgba(196, 105, 8, 0.15);
  text-decoration: none !important;
}

.sh-gift-strip-img {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid rgba(139, 69, 19, 0.15);
  flex-shrink: 0;
}

.sh-gift-strip-info {
  display: flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.sh-gift-strip-tag {
  font-size: 8px;
  font-weight: 800;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.sh-gift-strip-name {
  font-size: 9px;
  font-weight: 600;
  color: #78350f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  line-height: 1.2;
}

/* ── Wishlist row gift strip ── */
.sh-gift-wl-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  margin-top: 6px;
  background: linear-gradient(135deg, #fef3cd, #fde68a);
  border: 1px dashed rgba(196, 105, 8, 0.3);
  border-radius: 8px;
  text-decoration: none !important;
  cursor: pointer;
  font-size: 11px;
  color: #92400e;
  transition: all 0.2s ease;
}

.sh-gift-wl-strip:hover {
  background: linear-gradient(135deg, #fde68a, #fbbf24);
  text-decoration: none !important;
  color: #78350f;
}

.sh-gift-wl-strip-img {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  object-fit: cover;
  border: 1px solid rgba(139, 69, 19, 0.15);
  flex-shrink: 0;
}

.sh-gift-wl-strip strong {
  color: #78350f;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .sh-gift-float {
    bottom: 6px;
    left: 6px;
    padding: 3px 6px 3px 3px;
    gap: 5px;
    border-radius: 6px;
    max-width: 70%;
  }

  .sh-gift-float-img {
    width: 26px;
    height: 26px;
    border-radius: 5px;
  }

  .sh-gift-float-text {
    font-size: 7px;
    padding: 1px 4px;
  }

  .sh-gift-float-timer {
    font-size: 7px;
  }

  .sh-gift-strip {
    padding: 3px 5px;
    gap: 5px;
    margin: 3px 0 1px;
  }

  .sh-gift-strip-img {
    width: 20px;
    height: 20px;
  }

  .sh-gift-strip-tag {
    font-size: 7px;
  }

  .sh-gift-strip-name {
    font-size: 8px;
  }

  .sh-gift-wl-strip {
    font-size: 10px;
    padding: 5px 8px;
  }

  .sh-gift-wl-strip-img {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 480px) {
  .sh-gift-float {
    padding: 2px 5px 2px 2px;
    gap: 4px;
    border-radius: 5px;
    max-width: 72%;
  }

  .sh-gift-float-img {
    width: 22px;
    height: 22px;
    border-radius: 4px;
  }

  .sh-gift-float-text {
    font-size: 6.5px;
  }

  .sh-gift-strip {
    padding: 3px 4px;
    gap: 4px;
    border-radius: 5px;
  }

  .sh-gift-strip-img {
    width: 18px;
    height: 18px;
    border-radius: 3px;
  }

  .sh-gift-strip-name {
    font-size: 8px;
  }
}

/* ── Dark mode ── */
body.dark .sh-gift-float {
  background: rgba(30, 30, 30, 0.92);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(196, 105, 8, 0.25);
}

body.dark .sh-gift-float-timer {
  color: #fbbf24;
}

body.dark .sh-gift-strip {
  background: linear-gradient(135deg, rgba(196, 105, 8, 0.12), rgba(139, 69, 19, 0.08));
  border-color: rgba(196, 105, 8, 0.2);
}

body.dark .sh-gift-strip-tag {
  color: #fbbf24;
}

body.dark .sh-gift-strip-name {
  color: #fde68a;
}

body.dark .sh-gift-wl-strip {
  background: linear-gradient(135deg, rgba(196, 105, 8, 0.1), rgba(139, 69, 19, 0.06));
  border-color: rgba(196, 105, 8, 0.2);
  color: #fbbf24;
}

body.dark .sh-gift-wl-strip strong {
  color: #fde68a;
}