/* =========================================================
   Demo Deals Plugin — style.css v1.2.0
   ========================================================= */

/* Font loaded via wp_enqueue_style in PHP — not imported here to prevent global leakage */

/* =========================================================
   All CSS variables scoped to #dd-wrapper only.
   This PREVENTS font/color leakage into theme header/nav.
   ========================================================= */
#dd-wrapper {
  --dd-primary:      #4f46e5;
  --dd-primary-dark: #3730a3;
  --dd-danger:       #e74c3c;
  --dd-text:         #111111;
  --dd-subtext:      #666666;
  --dd-card-bg:      #ffffff;
  --dd-border:       #e8e8e8;
  --dd-radius:       14px;
  --dd-shadow:       0 2px 16px rgba(0,0,0,0.07);
  --dd-shadow-hover: 0 8px 32px rgba(0,0,0,0.13);
  --dd-font:         'DM Sans', sans-serif;
  --dd-mono:         'DM Mono', monospace;
  --dd-ease:         0.22s cubic-bezier(0.4,0,0.2,1);
  box-sizing:        border-box;
}
#dd-wrapper *, #dd-wrapper *::before, #dd-wrapper *::after {
  box-sizing: border-box;
}

/* ---- Wrapper reset ---- */
#dd-wrapper {
  margin-top:    0 !important;
  padding-top:   0 !important;
  font-family:   var(--dd-font);
}
#dd-wrapper > *:first-child { margin-top: 0 !important; }
.entry-content > #dd-wrapper,
.site-content   > #dd-wrapper,
article         > #dd-wrapper,
.elementor-widget-container > #dd-wrapper,
.wp-block-shortcode > #dd-wrapper {
  margin-top:  0 !important;
  padding-top: 0 !important;
}

/* Guaranteed breathing room above the section badge/heading — the resets
   above zero out theme/page-builder wrapper spacing (to avoid a large,
   inconsistent gap depending on theme), but that left the badge sitting
   flush against the site header with no gap at all. This is the later,
   winning rule for #dd-wrapper's own top margin. */
#dd-wrapper {
  margin-top: 24px !important;
}

/* Collapse empty <p> WordPress auto-inserts before the shortcode
   (e.g. from a blank line in the editor) — the #1 cause of a leading gap */
p:empty:has(+ #dd-wrapper),
p:has(> br:only-child):has(+ #dd-wrapper) {
  display: none !important;
  margin:  0 !important;
  padding: 0 !important;
}

/* ---- Grid ---- */
.dd-grid {
  display: grid;
  grid-template-columns: repeat(var(--dd-cols-desktop, 4), 1fr);
  gap: 22px;
  font-family: 'DM Sans', system-ui, sans-serif;
}
@media (max-width: 1024px) { .dd-grid { grid-template-columns: repeat(var(--dd-cols-tablet, 2), 1fr); } }
@media (max-width: 600px)  { .dd-grid { grid-template-columns: repeat(var(--dd-cols-mobile, 1), 1fr); gap: 14px; } }

/* ---- Card ---- */
.dd-card {
  background:     var(--dd-card-bg);
  border-radius:  18px;
  box-shadow:     0 1px 2px rgba(17,17,17,0.04), 0 8px 24px rgba(17,17,17,0.06);
  border:         1px solid var(--dd-border);
  display:        flex;
  flex-direction: column;
  position:       relative;
  overflow:       hidden;
  transition:     box-shadow var(--dd-ease), transform var(--dd-ease), border-color var(--dd-ease);
  animation:      ddFadeIn 0.4s ease both;
}
.dd-card::before {
  content:    "";
  position:   absolute;
  top: 0; left: 0; right: 0;
  height:     4px;
  z-index:    21;
  background: linear-gradient(90deg, #6366f1, #a855f7, #ec4899);
  opacity:    0;
  transition: opacity var(--dd-ease);
}
.dd-card:hover::before { opacity: 1; }
.dd-card:hover {
  box-shadow:   0 1px 2px rgba(17,17,17,0.05), 0 20px 40px -8px rgba(99,102,241,0.35);
  transform:    translateY(-6px);
  border-color: #ddd6fe;
}
@keyframes ddFadeIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Skeleton loading cards ---- */
@keyframes ddShimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.dd-skeleton {
  pointer-events:  none;
  border-radius:   18px;
  overflow:        hidden;
  border:          1px solid #ebebeb;
  background:      #fff;
  box-shadow:      0 1px 4px rgba(0,0,0,0.04);
}
.dd-sk-img {
  width:  100%;
  height: 190px;
  background: linear-gradient(90deg, #f4f4f4 25%, #eaeaea 50%, #f4f4f4 75%);
  background-size: 1200px 100%;
  animation: ddShimmer 1.6s ease-in-out infinite;
}
.dd-sk-line {
  height:        12px;
  border-radius: 6px;
  background:    linear-gradient(90deg, #f4f4f4 25%, #eaeaea 50%, #f4f4f4 75%);
  background-size: 1200px 100%;
  animation:     ddShimmer 1.6s ease-in-out infinite;
  width: 80%;
  margin-bottom: 8px;
}
.dd-sk-line--wide  { width: 100%; }
.dd-sk-line--short { width: 45%; margin-bottom: 0; }

/* ---- Realtime removal (deal deleted in admin / expired) ---- */
.dd-card-removing {
  animation: ddFadeOut 0.3s ease both;
  pointer-events: none;
}
@keyframes ddFadeOut {
  from { opacity: 1; transform: scale(1); }
  to   { opacity: 0; transform: scale(0.92); }
}
.dd-card-just-added {
  animation: ddFadeIn 0.35s ease both, ddNewGlow 2.2s ease-out;
}
@keyframes ddNewGlow {
  0%   { box-shadow: 0 0 0 3px rgba(79,70,229,0.45), var(--dd-shadow); }
  100% { box-shadow: var(--dd-shadow); }
}

/* ---- Card Image — full natural size, download restricted via CSS + JS ---- */
.dd-card-image {
  width:         100%;
  border-radius: var(--dd-radius) var(--dd-radius) 0 0;
  overflow:      hidden;
  background:    #f5f5f5;
  line-height:   0;
  /* Prevent drag-to-save */
  user-select:       none;
  -webkit-user-select: none;
  -moz-user-select:    none;
}
.dd-card-image img {
  width:   100%;
  height:  auto;
  display: block;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  /* Block right-click save & drag */
  pointer-events:         none;
  -webkit-user-drag:      none;
  user-drag:              none;
  -webkit-touch-callout:  none;
}
.dd-card:hover .dd-card-image img { transform: scale(1.045); }

/* ---- Card Video ---- */
.dd-card-video {
  width:         100%;
  border-radius: var(--dd-radius) var(--dd-radius) 0 0;
  overflow:      hidden;
  background:    linear-gradient(135deg, #1e1b4b 0%, #312e81 55%, #4c1d95 100%);
  line-height:   0;
  position:      relative;
}
.dd-card-video video {
  width:   100%;
  height:  auto;
  display: block;
}

/* ---- Video thumbnail overlay ---- */
.dd-video-thumb-wrap {
  aspect-ratio: 16/9;
  cursor:       pointer;
  position:     relative;
}
.dd-video-canvas {
  width:    100%;
  height:   100%;
  display:  none;
  position: absolute;
  top:      0;
  left:     0;
  object-fit: cover;
}
.dd-video-thumb-overlay {
  position:        absolute;
  inset:           0;
  display:         flex;
  align-items:     center;
  justify-content: center;
  background:      rgba(0,0,0,0.28);
  z-index:         2;
  transition:      background .2s;
}
.dd-video-thumb-wrap:hover .dd-video-thumb-overlay { background: rgba(0,0,0,0.18); }
.dd-video-play-btn {
  width:           60px;
  height:          60px;
  border-radius:   50%;
  background:      rgba(255,255,255,0.95);
  border:          none;
  display:         flex;
  align-items:     center;
  justify-content: center;
  cursor:          pointer;
  box-shadow:      0 4px 20px rgba(0,0,0,0.4);
  transition:      transform .15s, box-shadow .15s;
  -webkit-tap-highlight-color: transparent;
}
.dd-video-play-btn:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(0,0,0,0.5); }
.dd-video-play-btn svg {
  display:     block;
  width:       20px;
  height:      20px;
  fill:        #1a1a2e;
  margin-left: 4px; /* optical center */
  flex-shrink: 0;
}
.dd-youtube-embed-wrap {
  position:    relative;
  width:       100%;
  padding-top: 56.25%; /* 16:9 */
}
.dd-youtube-embed-wrap iframe {
  position: absolute;
  top:      0;
  left:     0;
  width:    100%;
  height:   100%;
  border:   0;
}

/* ---- No-image placeholder ---- */
.dd-no-image { display: none; }

/* ---- Card Body ---- */
.dd-card-body {
  padding: 16px 18px 18px;
  flex:    1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ---- Deal Message ---- */
.dd-deal-message {
  font-family:   var(--dd-font);
  font-size:     14.5px;
  line-height:   1.6;
  color:         var(--dd-text);
  white-space:   pre-wrap;
  word-break:    break-word;
  overflow-wrap: break-word;
  margin:        0;
  flex:          1;
}
.dd-deal-message a {
  color:           var(--dd-primary);
  font-weight:     600;
  text-decoration: none;
}
.dd-deal-message a:hover { text-decoration: underline; }

/* ---- Card footer (countdown + expiry) ---- */
.dd-card-body > .dd-countdown {
  padding-top:  10px;
  border-top:   1px solid #f0f0f0;
  margin-top:   auto;
}

/* ---- Fake visitor count (social proof) ---- */
.dd-visitor-count {
  display:      inline-flex;
  align-items:  center;
  gap:          6px;
  font-family:  var(--dd-font);
  font-size:    12px;
  font-weight:  600;
  color:        #16a34a;
}
.dd-visitor-dot {
  width:         7px;
  height:        7px;
  border-radius: 50%;
  background:    #22c55e;
  flex:          0 0 auto;
  box-shadow:    0 0 0 0 rgba(34,197,94,0.6);
  animation:     ddPulseDot 1.6s ease-out infinite;
}
@keyframes ddPulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(34,197,94,0.55); }
  70%  { box-shadow: 0 0 0 6px rgba(34,197,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); }
}

/* ---- Countdown ---- */
.dd-countdown {
  display:     flex;
  align-items: center;
  flex-wrap:   wrap;
  gap:         6px;
  font-family: var(--dd-mono);
  font-size:   12px;
  font-weight: 600;
  color:       var(--dd-subtext);
}
.dd-countdown.dd-ending-soon {
  color: #ea580c;
}
.dd-countdown.dd-ending-soon .dd-time-seg {
  background:  linear-gradient(135deg, #f97316, #ea580c);
  animation:   ddUrgentPulse 1.1s ease-in-out infinite;
}
.dd-countdown.dd-ending-soon::before {
  content:       "⏳ Ending Soon!";
  display:       inline-block;
  font-family:   var(--dd-font);
  font-size:     11px;
  font-weight:   700;
  color:         #fff;
  background:    linear-gradient(90deg, #f97316, #ea580c);
  padding:       2px 9px;
  border-radius: 20px;
  margin-right:  4px;
  animation:     ddUrgentPulse 1.1s ease-in-out infinite;
}
@keyframes ddUrgentPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(234,88,12,0.45); }
  50%      { box-shadow: 0 0 0 5px rgba(234,88,12,0); }
}
.dd-countdown.dd-expired {
  color:        var(--dd-danger);
  font-family:  var(--dd-font);
  font-weight:  600;
  background:   #fef2f2;
  padding:      6px 10px;
  border-radius: 8px;
  border-top:   none !important;
}
.dd-time-seg {
  background:    linear-gradient(135deg, #6366f1, #8b5cf6);
  color:         #fff;
  border-radius: 7px;
  padding:       4px 9px;
  min-width:     30px;
  text-align:    center;
  display:       inline-block;
  font-weight:   700;
  box-shadow:    0 2px 6px rgba(99,102,241,0.35);
}
.dd-expiry-label {
  font-size:   11px;
  color:       var(--dd-subtext);
  font-family: 'DM Sans', system-ui, sans-serif;
  display:     flex;
  align-items: center;
  gap:         4px;
}
.dd-expiry-label::before {
  content:   "⏰";
  font-size: 11px;
}

/* ---- Buttons ---- */
.dd-btn {
  display:         inline-flex;
  align-items:     center;
  justify-content: center;
  gap:             5px;
  padding:         8px 16px;
  border-radius:   8px;
  font-family:     var(--dd-font);
  font-size:       13px;
  font-weight:     600;
  cursor:          pointer;
  border:          none;
  transition:      background var(--dd-ease), transform 0.1s ease;
  text-decoration: none;
  white-space:     nowrap;
  line-height:     1;
}
.dd-btn:active { transform: scale(0.95); }

.dd-btn-primary {
  background:    linear-gradient(90deg, #6366f1, #a855f7);
  color:         #fff;
  padding:       12px 30px;
  font-size:     15px;
  border-radius: 10px;
  box-shadow:    0 4px 14px rgba(139,92,246,0.35);
}
.dd-btn-primary:hover { background: linear-gradient(90deg, #4f46e5, #9333ea); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(139,92,246,0.45); }
.dd-btn-primary:disabled { opacity: .7; cursor: not-allowed; transform: none; }

.dd-btn-submit {
  width:       100%;
  margin-top:  6px;
  padding:     14px 30px;
}

.dd-btn-upload { background: #f0f0f0; color: #333; }
.dd-btn-upload:hover { background: #e0e0e0; }

.dd-btn-danger { background: #fdecea; color: var(--dd-danger); font-size: 12px; padding: 6px 10px; }
.dd-btn-danger:hover { background: var(--dd-danger); color: #fff; }

.dd-btn-loadmore {
  background:    linear-gradient(90deg, #1e1b4b, #4c1d95);
  color:         #fff;
  padding:       13px 44px;
  border-radius: 50px;
  font-size:     15px;
  font-weight:   600;
  letter-spacing: .02em;
  box-shadow:    0 4px 14px rgba(76,29,149,0.3);
  transition:    transform var(--dd-ease), box-shadow var(--dd-ease);
}
.dd-btn-loadmore:hover { background: linear-gradient(90deg, #312e81, #5b21b6); box-shadow: 0 8px 24px rgba(76,29,149,0.45); transform: translateY(-1px); }

/* ---- Media Tabs ---- */
.dd-media-tabs {
  display:   flex;
  gap:       6px;
  margin-bottom: 4px;
}
.dd-tab-btn {
  padding:       8px 16px;
  border-radius: 8px;
  border:        1.5px solid #e8e8e8;
  background:    #fafafa;
  font-family:   'DM Sans', system-ui, sans-serif;
  font-size:     13px;
  font-weight:   600;
  cursor:        pointer;
  color:         #666;
  transition:    all 0.22s ease;
}
.dd-tab-btn:hover { border-color: #4f46e5; color: #4f46e5; background: #eef2ff; }
.dd-tab-btn.dd-tab-active {
  background:    #4f46e5;
  color:         #fff;
  border-color:  #4f46e5;
}

/* ---- Loader ---- */
.dd-loader {
  text-align:  center;
  padding:     32px;
  color:       var(--dd-subtext);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size:   15px;
}
.dd-spinner {
  display:       inline-block;
  width:         18px;
  height:        18px;
  border:        3px solid #e0e0e0;
  border-top:    3px solid var(--dd-primary);
  border-radius: 50%;
  animation:     ddSpin 0.7s linear infinite;
  vertical-align: middle;
  margin-right:  6px;
}
@keyframes ddSpin { to { transform: rotate(360deg); } }

/* ---- Empty ---- */
.dd-empty {
  text-align:    center;
  padding:       60px 24px;
  color:         var(--dd-subtext);
  font-family:   var(--dd-font);
  font-size:     15px;
  background:    linear-gradient(135deg, #f8f7ff 0%, #faf5ff 100%);
  border-radius: 18px;
  border:        1.5px dashed #c7d2fe;
  font-weight:   500;
}
.dd-empty::before {
  content:     "🔍";
  display:     block;
  font-size:   40px;
  margin-bottom: 12px;
  opacity:     0.6;
}

/* ---- Direct file picker upload ---- */
.dd-file-pick-label {
  cursor:      pointer;
  display:     inline-flex;
  align-items: center;
  gap:         6px;
}
.dd-file-pick-name {
  font-size:    12px;
  color:        var(--dd-subtext);
  max-width:    140px;
  overflow:     hidden;
  text-overflow: ellipsis;
  white-space:  nowrap;
  vertical-align: middle;
}
.dd-upload-bar {
  height:       6px;
  border-radius: 6px;
  background:   #f0f0f0;
  overflow:     hidden;
  width:        200px;
  max-width:    100%;
  display:      inline-block;
  vertical-align: middle;
}
.dd-upload-bar-fill {
  height:     100%;
  background: linear-gradient(90deg, #6366f1, #a855f7);
  border-radius: 6px;
  transition: width 0.15s;
  width:      0%;
}
.dd-upload-status {
  font-size:    12px;
  color:        var(--dd-subtext);
  margin-left:  8px;
}

/* ---- Subscribe Widget ---- */
.dd-subscribe-wrap {
  background:    #fff;
  border-radius: 18px;
  box-shadow:    0 4px 28px rgba(17,17,17,0.08), 0 1px 3px rgba(17,17,17,0.04);
  border:        1px solid #e8e8e8;
  padding:       30px 32px;
  font-family:   'DM Sans', system-ui, sans-serif;
  max-width:     560px;
  margin:        30px auto;
}
.dd-subscribe-title { margin: 0 0 6px; font-size: 20px; font-weight: 800; color: #111; }
.dd-subscribe-sub   { margin: 0 0 20px; font-size: 13.5px; color: #666; line-height: 1.5; }
.dd-subscribe-brands { display: flex; flex-wrap: wrap; gap: 8px; }
.dd-subscribe-brand-chip {
  display:        inline-flex;
  align-items:    center;
  gap:            6px;
  padding:        6px 13px;
  border-radius:  50px;
  border:         1.5px solid var(--dd-border);
  background:     #f9f9fb;
  font-size:      13px;
  font-weight:    600;
  color:          var(--dd-subtext);
  cursor:         pointer;
  transition:     all var(--dd-ease);
}
.dd-subscribe-brand-chip:has(input:checked) {
  background:   linear-gradient(90deg, #6366f1, #a855f7);
  border-color: transparent;
  color:        #fff;
}
.dd-subscribe-brand-chip input { accent-color: #fff; }

/* ---- Add Deal Frontend Form ---- */
.dd-form-wrap {
  background:    #fff;
  border-radius: 18px;
  box-shadow:    0 4px 28px rgba(17,17,17,0.08), 0 1px 3px rgba(17,17,17,0.04);
  border:        1px solid #e8e8e8;
  padding:       32px 36px;
  font-family:   'DM Sans', system-ui, sans-serif;
  max-width:     680px;
  margin:        32px auto;
  position:      relative;
  overflow:      hidden;
}
.dd-form-wrap::before {
  content:    "";
  position:   absolute;
  top: 0; left: 0; right: 0;
  height:     4px;
  background: linear-gradient(90deg, #4f46e5, #818cf8);
}
@media (max-width: 768px) {
  .dd-form-wrap { padding: 22px 16px; margin: 12px auto; border-radius: 14px; }
}
.dd-form-title   {
  margin: 0 0 24px; font-size: 22px; font-weight: 800; color: #111;
  letter-spacing: -.01em;
}
.dd-form-group   { margin-bottom: 18px; }
.dd-form-group label {
  display:       block;
  font-size:     13.5px;
  font-weight:   700;
  color:         #111;
  margin-bottom: 7px;
}
.dd-hint     { font-weight: 400; color: #888; font-size: 12px; }
.dd-required { color: #e74c3c; }

.dd-textarea,
.dd-input {
  width:         100%;
  box-sizing:    border-box;
  border:        1.5px solid #e8e8e8;
  border-radius: 10px;
  padding:       10px 14px;
  font-family:   'DM Sans', system-ui, sans-serif;
  font-size:     14px;
  color:         #111;
  background:    #fafafa;
  transition:    border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
  display:       block;
}
.dd-textarea {
  resize:     vertical;
  min-height: 100px;
  max-height: 260px;
}
.dd-textarea:focus,
.dd-input:focus {
  outline:      none;
  border-color: #4f46e5;
  background:   #fff;
  box-shadow:   0 0 0 4px rgba(79,70,229,0.12);
}

.dd-input-date {
  max-width:  220px;
  cursor:     pointer;
  color:      #444;
}

.dd-media-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dd-or { font-size: 13px; color: #888; font-style: italic; }

.dd-tab-panel { margin-top: 8px; }

.dd-form-message {
  padding:       12px 16px;
  border-radius: 10px;
  font-size:     14px;
  font-weight:   500;
  margin-bottom: 18px;
  border:        1px solid transparent;
}
.dd-form-message.dd-success { background: #ecfdf3; color: #15803d; border-color: #bbf7d0; }
.dd-form-message.dd-error   { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }


.dd-admin-wrap  { font-family: var(--dd-font, sans-serif); max-width: 1200px; margin: 20px auto; }
.dd-admin-title { font-size: 26px !important; margin-bottom: 20px !important; }

.dd-admin-form-card {
  background:    #fff;
  border:        1px solid #e0e0e0;
  border-radius: 10px;
  padding:       28px;
  max-width:     720px;
  box-shadow:    0 2px 8px rgba(0,0,0,0.06);
}
.dd-admin-form-card .dd-form-group   { margin-bottom: 22px; }
.dd-admin-form-card .dd-form-group label { font-weight: 600; display: block; margin-bottom: 6px; }

.dd-admin-search-form {
  display: flex; gap: 8px; margin: 16px 0 16px; flex-wrap: wrap;
}
.dd-admin-search-input {
  padding: 8px 12px; border: 1.5px solid #ccc; border-radius: 7px; font-size: 14px; min-width: 260px;
}

.dd-btn-delete-expired {
  background:    #fff3cd;
  color:         #856404;
  border:        1px solid #ffc107 !important;
  border-radius: 7px;
  padding:       7px 14px;
  font-weight:   600;
  font-size:     13px;
  text-decoration: none;
  display:       inline-flex;
  align-items:   center;
  gap:           8px;
}
.dd-btn-delete-expired:hover { background: #ffc107; color: #000; }
.dd-expired-count-badge {
  background:    #dc3545;
  color:         #fff;
  border-radius: 50%;
  width:         22px;
  height:        22px;
  display:       inline-flex;
  align-items:   center;
  justify-content: center;
  font-size:     11px;
  font-weight:   700;
}

.dd-admin-table-wrap {
  background:    #fff;
  border-radius: 10px;
  box-shadow:    0 2px 8px rgba(0,0,0,0.07);
  overflow:      hidden;
  border:        1px solid #e0e0e0;
}
.dd-admin-bulk-bar {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  border-bottom: 1px solid #e0e0e0; background: #fafafa;
}
.dd-admin-count { font-size: 13px; color: #666; }

.dd-admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dd-admin-table th {
  background: #f5f5f5; padding: 10px 12px; text-align: left;
  font-weight: 600; border-bottom: 1px solid #e0e0e0; font-size: 13px; color: #333;
}
.dd-admin-table td { padding: 10px 12px; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
.dd-admin-table tr:last-child td { border-bottom: none; }
.dd-admin-table tr:hover td      { background: #f9f9ff; }
.dd-expired-row td               { background: #fff5f5 !important; }

.dd-admin-thumb  { width: 60px; height: 42px; object-fit: cover; border-radius: 5px; border: 1px solid #e0e0e0; }
.dd-admin-msg-cell { max-width: 360px; }
.dd-admin-msg {
  font-family: var(--dd-mono, monospace); font-size: 12px; white-space: pre-wrap;
  word-break: break-word; margin: 0; color: #444; max-height: 70px; overflow: hidden;
  background: #f8f8f8; padding: 6px 8px; border-radius: 5px; border: 1px solid #ebebeb;
}

.dd-badge          { display: inline-block; padding: 3px 11px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.dd-badge-active   { background: #d4edda; color: #155724; }
.dd-badge-expired  { background: #fdecea; color: #c0392b; }

.dd-admin-pagination { margin-top: 16px; display: flex; gap: 5px; flex-wrap: wrap; }

/* =========================================================
   CATEGORY PHOTO CHIPS
   ========================================================= */
.dd-cat-chips {
  display:        flex;
  gap:            10px;
  overflow-x:     auto;
  padding:        4px 4px 12px;
  margin-bottom:  6px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.dd-cat-chips::-webkit-scrollbar { display: none; }

.dd-cat-chip {
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            5px;
  flex:           0 0 auto;
  width:          64px;
  background:     transparent !important;
  background-color: transparent !important;
  border:         none !important;
  outline:        none !important;
  cursor:         pointer;
  font-family:    var(--dd-font);
  padding:        0 !important;
  margin:         0 !important;
  box-shadow:     none !important;
  -webkit-appearance: none !important;
  appearance:     none !important;
  -webkit-tap-highlight-color: transparent !important;
  color:          inherit;
}
.dd-cat-chip:focus,
.dd-cat-chip:active,
.dd-cat-chip:hover,
.dd-cat-chip:visited {
  background:       transparent !important;
  background-color: transparent !important;
  box-shadow:       none !important;
  outline:          none !important;
  border:           none !important;
}

.dd-cat-chips-wrapper {
  position:   relative;
  margin-bottom: 6px;
}
.dd-cat-chips-arrow {
  position:        absolute;
  top:             50%;
  transform:       translateY(-50%);
  width:           28px;
  height:          28px;
  border-radius:   50%;
  background:      #fff;
  border:          1px solid var(--dd-border);
  box-shadow:      0 2px 8px rgba(0,0,0,0.12);
  cursor:          pointer;
  display:         flex;
  align-items:     center;
  justify-content: center;
  z-index:         10;
  font-size:       12px;
  color:           var(--dd-text);
  transition:      opacity var(--dd-ease);
  padding:         0;
  line-height:     1;
}
.dd-cat-chips-arrow:hover { background: var(--dd-primary); color: #fff; border-color: var(--dd-primary); }
.dd-cat-chips-arrow.dd-arrow-left  { left: -6px; }
.dd-cat-chips-arrow.dd-arrow-right { right: -6px; }
.dd-cat-chips-arrow[hidden] { display: none; }

.dd-cat-chips {
  display:        flex;
  gap:            10px;
  overflow-x:     auto;
  padding:        4px 4px 14px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}
.dd-cat-chips::-webkit-scrollbar { display: none; }

.dd-cat-chip {
  display:        flex;
  flex-direction: column;
  align-items:    center;
  gap:            6px;
  flex:           0 0 auto;
  width:          70px;
  background:     transparent !important;
  background-color: transparent !important;
  border:         none !important;
  outline:        none !important;
  cursor:         pointer;
  padding:        0 !important;
  margin:         0 !important;
  box-shadow:     none !important;
  -webkit-appearance: none !important;
  appearance:     none !important;
  -webkit-tap-highlight-color: transparent !important;
  color:          inherit;
}
.dd-cat-chip:focus,
.dd-cat-chip:active,
.dd-cat-chip:hover,
.dd-cat-chip:visited {
  background:       transparent !important;
  background-color: transparent !important;
  box-shadow:       none !important;
  outline:          none !important;
  border:           none !important;
}

.dd-cat-chip-thumb {
  width:               56px;
  height:              56px;
  border-radius:       50%;
  overflow:            hidden;
  display:             flex;
  align-items:         center;
  justify-content:     center;
  background-color:    #fff;
  background-size:     contain;
  background-position: center;
  background-repeat:   no-repeat;
  border:              2px solid #e5e7eb;
  font-size:           22px;
  transition:          border-color var(--dd-ease), transform var(--dd-ease), box-shadow var(--dd-ease);
  flex-shrink:         0;
  padding:             6px;
}
.dd-cat-chip-thumb-all {
  background:   linear-gradient(135deg, #eef2ff, #f5f3ff);
  padding:      0;
}
.dd-cat-chip-label {
  font-size:      10px;
  font-weight:    600;
  color:          var(--dd-subtext);
  text-align:     center;
  line-height:    1.3;
  max-width:      70px;
  text-transform: none !important;
  letter-spacing: normal !important;
  display:        -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow:       hidden;
  word-break:     break-word;
}
.dd-cat-chip:hover .dd-cat-chip-thumb {
  transform:    translateY(-2px);
  box-shadow:   0 4px 12px rgba(0,0,0,0.12);
  border-color: #c7d2fe;
}
.dd-cat-chip.is-active .dd-cat-chip-thumb {
  border-color: var(--dd-primary);
  border-width: 2.5px;
  box-shadow:   0 0 0 3px rgba(79,70,229,.15);
}
.dd-cat-chip.is-active .dd-cat-chip-label { color: var(--dd-primary); font-weight: 700; }

@media (max-width: 600px) {
  .dd-cat-chip       { width: 62px; }
  .dd-cat-chip-thumb { width: 50px; height: 50px; font-size: 20px; }
  .dd-cat-chip-label { max-width: 62px; }
  .dd-cat-chips-arrow { display: none; }
}

.dd-sort-row {
  display:        flex;
  justify-content: flex-end;
  margin-bottom:  14px;
}
@media (max-width: 600px) { .dd-sort-row { justify-content: stretch; } .dd-sort-row .dd-sort-select { flex: 1; max-width: 100%; } }

/* =========================================================
   BRAND FILTER ROW
   ========================================================= */

.dd-filter-row {
  display:       flex;
  align-items:   center;
  flex-wrap:     wrap;
  gap:           10px;
  margin-bottom: 16px;
  background:    #fff;
  border:        1.5px solid var(--dd-border);
  border-radius: 12px;
  padding:       10px 16px;
  box-shadow:    var(--dd-shadow);
}
@media (max-width: 1024px) { .dd-filter-row { margin-bottom: 12px; padding: 9px 12px; } }
@media (max-width: 600px)  { .dd-filter-row { margin-bottom: 10px; padding: 8px 10px; gap: 6px; } }

.dd-filter-label {
  display:     flex;
  align-items: center;
  gap:         6px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size:   14px;
  font-weight: 600;
  color:       var(--dd-text);
  white-space: nowrap;
  flex-shrink: 0;
}
.dd-filter-label svg { color: var(--dd-primary); }

.dd-filter-controls {
  display:     flex;
  align-items: center;
  gap:         8px;
  flex:        1;
  flex-wrap:   wrap;
}

/* The native select — styled to look custom */
.dd-brand-select {
  flex:           1;
  min-width:      180px;
  max-width:      340px;
  height:         42px;
  padding:        0 38px 0 14px;
  border:         1.5px solid var(--dd-border);
  border-radius:  9px;
  background:     #fafafa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance:     none;
  -webkit-appearance: none;
  font-family:    var(--dd-font);
  font-size:      14px;
  color:          var(--dd-text);
  cursor:         pointer;
  transition:     border-color var(--dd-ease), box-shadow var(--dd-ease);
}
.dd-brand-select:focus {
  outline:      none;
  border-color: var(--dd-primary);
  box-shadow:   0 0 0 3px rgba(79,70,229,.12);
  background-color: #fff;
}

.dd-sort-select {
  flex:           0 0 auto;
  min-width:      130px;
  max-width:      170px;
  height:         42px;
  padding:        0 36px 0 14px;
  border:         1.5px solid var(--dd-border);
  border-radius:  9px;
  background:     #fafafa url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 12px center;
  appearance:     none;
  -webkit-appearance: none;
  font-family:    var(--dd-font);
  font-size:      14px;
  color:          var(--dd-text);
  cursor:         pointer;
  transition:     border-color var(--dd-ease), box-shadow var(--dd-ease);
}
.dd-sort-select:focus {
  outline:      none;
  border-color: var(--dd-primary);
  box-shadow:   0 0 0 3px rgba(79,70,229,.12);
  background-color: #fff;
}
@media (max-width: 600px) { .dd-sort-select { max-width: 100%; flex: 1; } }

/* Clear / Reset button */
.dd-brand-reset-btn {
  display:       inline-flex;
  align-items:   center;
  gap:           5px;
  height:        42px;
  padding:       0 16px;
  border-radius: 9px;
  border:        1.5px solid #e0e0e0;
  background:    #fafafa;
  color:         var(--dd-subtext);
  font-family:   var(--dd-font);
  font-size:     13px;
  font-weight:   600;
  cursor:        pointer;
  white-space:   nowrap;
  flex-shrink:   0;
  transition:    all var(--dd-ease);
}
.dd-brand-reset-btn:hover {
  border-color: var(--dd-danger);
  color:        var(--dd-danger);
  background:   #fdecea;
}

/* Active brand indicator pill */
.dd-active-brand-wrap {
  margin-bottom: 14px;
}
.dd-active-pill {
  display:       inline-flex;
  align-items:   center;
  gap:           6px;
  background:    #eef2ff;
  border:        1px solid #c7d2fe;
  border-radius: 50px;
  padding:       5px 14px;
  font-size:     13px;
  font-family:   var(--dd-font);
  font-weight:   500;
  color:         var(--dd-primary);
}
.dd-active-pill strong { font-weight: 700; }

/* ---- Brand tag on deal cards ---- */
.dd-card-brand {
  margin-bottom: 7px;
}
.dd-brand-tag {
  display:        inline-flex;
  align-items:    center;
  gap:            5px;
  padding:        5px 13px;
  border-radius:  20px;
  font-size:      11px;
  font-weight:    700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background:     linear-gradient(90deg, #6366f1, #a855f7);
  color:          #fff;
  border:         none;
  box-shadow:     0 2px 8px rgba(99,102,241,.35);
}
.dd-brand-tag-img {
  width:         18px;
  height:        18px;
  border-radius: 50%;
  object-fit:    cover;
  background:    #fff;
  border:        1.5px solid #fff;
  box-shadow:    0 0 0 1px rgba(0,0,0,0.06);
  flex:          0 0 auto;
}

/* ---- Form brand select ---- */
.dd-select {
  appearance:          none;
  -webkit-appearance:  none;
  background-image:    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='2.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:   no-repeat;
  background-position: right 13px center;
  padding-right:       40px;
  cursor:              pointer;
}

/* ---- Admin table brand column ---- */
.dd-admin-table th.dd-brand-col,
.dd-admin-table td.dd-brand-col { white-space: nowrap; }
.dd-brand-pill {
  display:       inline-block;
  padding:       3px 10px;
  border-radius: 20px;
  background:    #eef2ff;
  color:         var(--dd-primary);
  font-size:     12px;
  font-weight:   600;
  border:        1px solid #c7d2fe;
}

/* Responsive: stack on small screens */
@media (max-width: 600px) {
  .dd-filter-row { flex-direction: column; align-items: flex-start; }
  .dd-filter-controls { width: 100%; }
  .dd-brand-select { max-width: 100%; }
  .dd-brand-reset-btn { justify-content: center; }
}

/* =========================================================
   FRONTEND SECTION HEADING
   ========================================================= */

.dd-section-heading {
  margin-bottom:  20px;
  padding:        0;
  text-align:     center;
}
@media (max-width: 600px) { .dd-section-heading { margin-bottom: 14px; } }

.dd-section-badge {
  display:        inline-flex;
  align-items:    center;
  gap:            5px;
  padding:        5px 16px;
  border-radius:  50px;
  font-size:      11px;
  font-weight:    700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color:          #fff;
  margin-bottom:  10px;
  box-shadow:     0 2px 8px rgba(79,70,229,0.3);
}

.dd-section-title {
  margin:         0 0 8px;
  font-family:    var(--dd-font);
  font-weight:    800;
  line-height:    1.1;
  letter-spacing: -.025em;
  font-size:      clamp(24px, 5vw, var(--dd-h-size, 36px));
}
.dd-section-sub {
  margin:      0;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size:   15px;
  line-height: 1.6;
  max-width:   500px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 600px) {
  .dd-section-sub { font-size: 13.5px; }
}

/* =========================================================
   DEAL LABEL — card badge + form presets
   ========================================================= */

/*
 * .dd-card is position:relative + overflow:hidden
 * The badge span sits right after mediaHtml inside the card,
 * so it overlays the image/video at top-left.
 */
/* ---- Wishlist heart button (top-right overlay on card) ---- */
.dd-wishlist-btn {
  position:        absolute;
  top:             10px;
  right:           10px;
  z-index:         22;
  width:           32px;
  height:          32px;
  border-radius:   50%;
  background:      rgba(255,255,255,0.92);
  border:          none;
  display:         flex;
  align-items:     center;
  justify-content: center;
  cursor:          pointer;
  color:           #e11d48;
  box-shadow:      0 2px 8px rgba(0,0,0,0.18);
  transition:      background .15s, transform .15s;
  -webkit-tap-highlight-color: transparent;
  padding:         0;
}
.dd-wishlist-btn svg {
  display:        block;
  width:          16px;
  height:         16px;
  stroke:         #e11d48;
  stroke-width:   2;
  fill:           none;
  transition:     fill .15s;
}
.dd-wishlist-btn.is-saved svg { fill: #e11d48; }
.dd-wishlist-btn:hover { background: #fff; transform: scale(1.12); }
.dd-wishlist-btn.dd-wishlist-pop { transform: scale(1.3); }

/* ---- Expiry row: expiry label + share button, side by side ---- */
.dd-expiry-row {
  display:         flex;
  align-items:     center;
  justify-content: space-between;
  gap:             8px;
  margin-top:      6px;
}
.dd-expiry-row .dd-expiry-label { margin-top: 0; }

/* ---- Share button (inline, next to expiry date) ---- */
.dd-share-btn {
  flex-shrink:     0;
  width:           28px;
  height:          28px;
  border-radius:   50%;
  background:      #f4f4fb;
  border:          1px solid var(--dd-line, #e5e7eb);
  display:         flex;
  align-items:     center;
  justify-content: center;
  cursor:          pointer;
  color:           #475569;
  transition:      background .15s, transform .15s;
  -webkit-tap-highlight-color: transparent;
  padding:         0;
}
.dd-share-btn img {
  display:       block;
  width:         14px;
  height:        14px;
  border-radius: 4px;
}
.dd-share-btn:hover { background: #eef0f8; transform: scale(1.1); }

/* ---- Wishlist "Saved" filter chip ---- */
.dd-wishlist-toggle-row { display: flex; justify-content: flex-end; margin-bottom: 10px; min-height: 32px; }
.dd-wishlist-toggle-btn {
  display:        inline-flex;
  align-items:    center;
  gap:            6px;
  padding:        7px 16px;
  border-radius:  50px;
  border:         1.5px solid var(--dd-border);
  background:     #fff;
  color:          var(--dd-text);
  font-family:    var(--dd-font);
  font-size:      13px;
  font-weight:    600;
  cursor:         pointer;
  transition:     all var(--dd-ease);
}
.dd-wishlist-toggle-btn:hover { border-color: #fda4af; color: #e11d48; }
.dd-wishlist-toggle-btn.is-active {
  background:   linear-gradient(90deg, #f43f5e, #e11d48);
  border-color: transparent;
  color:        #fff;
}
.dd-wishlist-chip-count {
  background:    rgba(0,0,0,0.08);
  border-radius: 20px;
  padding:       1px 7px;
  font-size:     11px;
}
.dd-wishlist-toggle-btn.is-active .dd-wishlist-chip-count { background: rgba(255,255,255,0.25); }

.dd-deal-label-badge {
  position:       absolute;
  top:            12px;
  left:           12px;
  z-index:        20;
  display:        inline-block;
  padding:        5px 13px;
  border-radius:  30px;
  font-size:      11px;
  font-weight:    700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color:          #fff;
  background:     linear-gradient(135deg, #f43f5e, #e11d48);
  box-shadow:     0 3px 12px rgba(225,29,72,.4);
  pointer-events: none;
  white-space:    nowrap;
  max-width:      calc(100% - 24px);
  overflow:       hidden;
  text-overflow:  ellipsis;
  line-height:    1.4;
}

/* Deals with no media — badge still needs to show, shift down slightly */
.dd-no-image ~ .dd-deal-label-badge,
.dd-deal-label-badge:first-child {
  top: 8px;
  left: 8px;
}

/* Label field presets — frontend form */
.dd-label-field-wrap { display: flex; flex-direction: column; gap: 8px; }
.dd-label-presets {
  display:   flex;
  flex-wrap: wrap;
  gap:       6px;
}
.dd-preset-btn {
  padding:       5px 12px;
  border-radius: 50px;
  border:        1.5px solid var(--dd-border);
  background:    #f9f9fb;
  font-family:   var(--dd-font);
  font-size:     12px;
  font-weight:   600;
  color:         var(--dd-subtext);
  cursor:        pointer;
  transition:    all var(--dd-ease);
  white-space:   nowrap;
}
.dd-preset-btn:hover,
.dd-preset-btn.dd-preset-active {
  background:   var(--dd-primary);
  border-color: var(--dd-primary);
  color:        #fff;
}

/* Admin form preset buttons */
.dd-admin-preset-btn {
  display:       inline-flex;
  align-items:   center;
  padding:       4px 11px;
  border-radius: 50px;
  border:        1.5px solid #ddd;
  background:    #f5f5f8;
  font-size:     12px;
  font-weight:   600;
  color:         #555;
  cursor:        pointer;
  transition:    all .15s;
  margin:        2px;
}
.dd-admin-preset-btn:hover {
  background:   #4f46e5;
  border-color: #4f46e5;
  color:        #fff;
}

/* Admin table label pill */
.dd-label-pill {
  display:       inline-block;
  padding:       3px 10px;
  border-radius: 20px;
  background:    linear-gradient(90deg,#fff0f3,#ffe4e6);
  color:         #e11d48;
  font-size:     11px;
  font-weight:   700;
  border:        1px solid #fecdd3;
  white-space:   nowrap;
}

/* Label inline (no-image cards) — sits in card body above brand */
.dd-card-label-row {
  margin-bottom: 8px;
}
.dd-deal-label-inline {
  display:        inline-flex;
  align-items:    center;
  padding:        4px 12px;
  border-radius:  30px;
  font-size:      11px;
  font-weight:    700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color:          #fff;
  background:     linear-gradient(135deg, #f43f5e, #e11d48);
  box-shadow:     0 2px 8px rgba(244,63,94,.30);
  white-space:    nowrap;
}

/* ---- Deal detail popup (opened by clicking a card, or a shared link) ---- */
.dd-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(3px);
}
.dd-modal-box {
  background: #fff;
  border-radius: 18px;
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  animation: dd-modal-in .22s ease;
}
@keyframes dd-modal-in {
  from { opacity: 0; transform: translateY(20px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.dd-modal-close {
  position: sticky;
  top: 12px;
  float: right;
  margin: 12px 12px 0 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background .2s;
}
.dd-modal-close:hover { background: #fee2e2; color: var(--dd-danger); }
.dd-modal-img-wrap { width: 100%; clear: both; }
.dd-modal-img {
  width: 100%;
  max-height: 340px;
  object-fit: contain;
  background: #f8fafc;
  display: block;
  border-radius: 18px 18px 0 0;
}
.dd-modal-body { padding: 18px 20px 24px; clear: both; }
.dd-modal-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.dd-modal-brand {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 30px;
  background: #eef2ff;
  color: var(--dd-primary);
}
.dd-modal-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 30px;
  color: #fff;
  background: linear-gradient(135deg, #f43f5e, #e11d48);
}
.dd-modal-message {
  font-size: 15px;
  line-height: 1.6;
  color: var(--dd-text);
  white-space: pre-line;
  margin-bottom: 14px;
}
.dd-modal-message a { color: var(--dd-primary); word-break: break-word; }
.dd-modal-expiry { font-size: 13px; color: var(--dd-subtext); margin-bottom: 16px; }
.dd-modal-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  background: var(--dd-primary);
  color: #fff !important;
  font-weight: 700;
  font-size: 15px;
  border-radius: 12px;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: background .15s;
}
.dd-modal-cta:hover { background: var(--dd-primary-dark); }
.dd-modal-cta-multi {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.dd-modal-cta-hidden {
  display: none;
}
.dd-modal-cta-hidden.dd-cta-shown {
  display: flex;
}
.dd-modal-cta-compact {
  width: auto;
  min-width: 0;
  padding: 11px 10px;
  font-size: 13px;
  border-radius: 30px;
}
.dd-modal-more-toggle {
  grid-column: 1 / -1;
  background: var(--dd-bg, #f3f4f6);
  color: var(--dd-primary) !important;
  border: 1px solid var(--dd-primary);
  cursor: pointer;
}
.dd-modal-more-toggle:hover { background: var(--dd-bg, #f3f4f6); filter: brightness(.97); }
@media (max-width: 480px) {
  .dd-modal-cta-multi { grid-template-columns: 1fr; }
}
.dd-card { cursor: pointer; }

/* Share toast — desktop clipboard-copy confirmation */
.dd-share-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1e293b;
  color: #fff;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 600;
  opacity: 0;
  transition: opacity .25s, transform .25s;
  z-index: 999999;
  white-space: normal;
  max-width: 320px;
  text-align: center;
  pointer-events: none;
}
.dd-share-toast.dd-share-toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---- Desktop share menu (multi-app) ---- */
.dd-share-menu {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,.22), 0 2px 8px rgba(0,0,0,.1);
  padding: 6px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  min-width: 210px;
  border: 1px solid #f1f5f9;
}
.dd-share-menu a {
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #1e293b;
  text-decoration: none;
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background .1s;
}
.dd-share-menu a svg { flex-shrink: 0; border-radius: 50%; }
.dd-share-menu a:hover { background: #f3f4f6; }
.dd-share-menu-copied {
  padding: 10px 14px 4px;
  font-size: 12px;
  color: #10b981;
  font-weight: 700;
}
.dd-share-menu-label {
  padding: 2px 14px 8px;
  font-size: 11px;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.dd-share-overlay {
  position: fixed;
  inset: 0;
  z-index: 999998;
  background: transparent;
}
