/* ========================= */
/* CAROUSEL */
/* ========================= */
.carousel-container {
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.carousel-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
}

.carousel-slide {
  flex: 0 0 auto;
  width: 400px;
  height: 400px;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* ========================= */
/* HEADER */
/* ========================= */
.sdf-header {
  background: #1e1e2f;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sdf-header .brand {
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
}

.sdf-header nav a {
  color: white;
  margin-left: 2rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
}

/* ========================= */
/* HERO (TEXT SIDE) */
/* ========================= */
.sdf-hero {
  text-align: center;
  padding: 6rem 2rem;
}

.sdf-hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #000;
}

.sdf-hero p {
  font-size: 1.25rem;
  color: #555;
}

/* ========================= */
/* FOOTER */
/* ========================= */
.sdf-footer {
  text-align: center;
  font-size: 0.9rem;
  color: #888;
  padding: 2rem;
  border-top: 1px solid #eee;
  margin-top: 40px;
}

/* ========================= */
/* DEALBOARD */
/* ========================= */
.sdf-dealboard {
  padding: 3rem 2rem;
}

.sdf-dealboard-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #000;
}

.sdf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
}

/* ========================= */
/* DEAL CARD */
/* ========================= */
.sdf-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.sdf-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.sdf-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.sdf-card-image-wrapper {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sdf-card-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.sdf-card:hover .sdf-card-image-wrapper img {
  transform: scale(1.05);
}

.sdf-card-body {
  padding: 0.75rem;
}

.sdf-card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.sdf-card-price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #aa0047 !important;
  margin-bottom: 0.5rem;
}

.sdf-card-description {
  font-size: 0.85rem;
  line-height: 1.3;
}

/* ========================= */
/* CATEGORY ICONS */
/* ========================= */
.sdf-card-categories {
  display: flex;
  gap: 6px;
  margin-bottom: 8px;
}

.sdf-cat-icon {
  font-size: 18px;
  opacity: 0.85;
  transition: transform 0.25s ease;
}

.sdf-cat-icon:hover {
  animation: sdf-bounce-glow 0.45s ease;
}

/* ========================= */
/* BADGES */
/* ========================= */

/* NEW — short diagonal ribbon top-left */
.sdf-badge-new {
  position: absolute;
  top: 6px;
  left: -6px;
  padding: 3px 14px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;

  /* FORCE the diagonal tilt */
  transform: rotate(-25deg) !important;
  transform-origin: center;

  background: linear-gradient(135deg, #e60b83, #b30763);
  border-radius: 4px;
  z-index: 30;

  animation:
    sdf-badge-fade 0.45s ease-out forwards,
    sdf-badge-pulse 1.6s ease-out 0.45s 1,
    sdf-glow-trail 2.2s ease-out 0.45s infinite;
}


.sdf-badge-new span {
  pointer-events: none;
}

.sdf-badge-new::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  border-left: 4px solid #d11378;
  border-top: 4px solid transparent;
  transform: rotate(25deg);
}

/* LIMITED TIME — pill badge */
.sdf-badge-limited {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: #ffb74d;
  color: #4a2c00;
  padding: 4px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 12px;
  z-index: 20;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  animation: sdf-badge-fade 0.35s ease-out forwards;
  transition: background 0.4s ease, color 0.4s ease, transform 0.3s ease;
}

/* EXPIRED — folded corner top-right */
.sdf-badge-expired {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #b00020;
  color: white;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: bold;
  border-bottom-left-radius: 6px;
  z-index: 20;
  animation:
    sdf-badge-fade 0.35s ease-out forwards,
    sdf-flip 0.45s ease-out 0.1s;
}

/* expired card dim */
.sdf-expired-card {
  opacity: 0.45;
  filter: grayscale(100%);
}

/* ========================= */
/* COUNTDOWN */
/* ========================= */
.sdf-card-countdown {
  font-size: 12px;
  color: #d35400;
  margin-top: 4px;
}

/* ========================= */
/* CATEGORY CHIPS */
/* ========================= */
/* DEFAULT: horizontal row — fully transparent */
.sdf-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 30px;
  position: sticky;
  top: 70px;
  z-index: 50;

  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;

  padding: 10px 0;
  transition: all 0.3s ease;
  box-shadow: none !important;
}


.sdf-category-chips.is-sticky {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.sdf-chip {
  padding: 8px 14px;
  background: #f3f3f3;
  border-radius: 20px;
  font-size: 14px;
  text-decoration: none;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.sdf-category-chips.scrolled {
  justify-content: flex-end;
}

.sdf-chip:hover {
  background: #e0e0e0;
  transform: translateY(-3px);
}

.sdf-chip-active {
  background: #007bff;
  color: white;
}

.sdf-chip[title] {
  position: relative;
}

.sdf-chip[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0.9;
}

/* When scrolled, push icons to the right */
.sdf-category-chips.scrolled {
  justify-content: flex-end;
}

/* ========================= */
/* ANIMATIONS */
/* ========================= */
@keyframes sdf-badge-fade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes sdf-badge-pulse {
  0% {
    transform: rotate(-25deg) scale(0.85);
  }

  50% {
    transform: rotate(-25deg) scale(1.08);
  }

  100% {
    transform: rotate(-25deg) scale(1);
  }
}

@keyframes sdf-glow-trail {
  0% {
    box-shadow: 0 0 4px rgba(230, 11, 131, 0.3);
  }

  50% {
    box-shadow: 0 0 14px rgba(230, 11, 131, 0.7);
  }

  100% {
    box-shadow: 0 0 4px rgba(230, 11, 131, 0.3);
  }
}

@keyframes sdf-shake {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-2px);
  }

  50% {
    transform: translateX(2px);
  }

  75% {
    transform: translateX(-1px);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes sdf-flip {
  0% {
    transform: rotateY(90deg);
    opacity: 0;
  }

  100% {
    transform: rotateY(0deg);
    opacity: 1;
  }
}

@keyframes sdf-bounce-glow {
  0% {
    transform: translateY(0);
    text-shadow: none;
  }

  40% {
    transform: translateY(-4px);
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
  }

  60% {
    transform: translateY(2px);
  }

  100% {
    transform: translateY(0);
    text-shadow: none;
  }
}

/* ========================= */
/* HOVER EFFECTS */
/* ========================= */
.sdf-badge-new:hover,
.sdf-badge-limited:hover,
.sdf-badge-expired:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
  transition: all 0.25s ease;
}

/* ripple only on LIMITED + EXPIRED */
.sdf-badge-limited,
.sdf-badge-expired {
  overflow: hidden;
  position: relative;
}

.sdf-badge-limited::after,
.sdf-badge-expired::after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
}

.sdf-badge-limited:hover::after,
.sdf-badge-expired:hover::after {
  width: 200%;
  height: 200%;
  top: 50%;
  left: 50%;
  opacity: 1;
  transition: width 0.4s ease, height 0.4s ease, opacity 0.4s ease;
}

/* ========================= */
/* HERO WRAPPER (BOX) */
/* ========================= */
.sdf-hero-wrapper {
  background: #e6e6ea;
  border-radius: 18px;
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 2rem auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.sdf-hero-content {
  flex: 1;
}

.sdf-hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1rem;
}

.sdf-hero-title span {
  color: #aa0047;
}

.sdf-hero-subtitle {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.sdf-hero-button {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  background: #aa0047;
  color: white;
  border-radius: 8px;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.25s ease;
}

.sdf-hero-button:hover {
  background: #8a003a;
}

/* Coming soon badge */
.sdf-coming-soon-badge {
  margin-top: 1.5rem;
  background: #fff4f9;
  border-left: 4px solid #aa0047;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #aa0047;
  display: inline-block;
  max-width: 100%;
  white-space: normal;
}

.sdf-badge-sub {
  display: block;
  font-size: 0.8rem;
  color: #555;
  margin-top: 4px;
}

/* ========================= */
/* HERO ILLUSTRATION (ORBIT) */
/* ========================= */
.sdf-hero-illustration {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* MAIN CIRCLE — responsive */
.sdf-hero-circle {
  width: clamp(180px, 45vw, 300px);
  height: clamp(180px, 45vw, 300px);
  background: radial-gradient(circle at 30% 30%, #ffffff, #f2f2f2);
  border-radius: 50%;
  position: relative;
  animation: sdf-rotate 18s linear infinite;
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.8) inset,
    0 0 25px rgba(0, 0, 0, 0.08);
}

/* ORBITING ICONS */
.sdf-hero-icon {
  position: absolute;
  font-size: 2.2rem;
  animation: sdf-orbit 18s linear infinite;
  transform-origin: center;
}

/* Each icon offset via delay */
.sdf-hero-icon:nth-child(2) {
  animation-delay: 0s;
}

.sdf-hero-icon:nth-child(3) {
  animation-delay: -6s;
}

.sdf-hero-icon:nth-child(4) {
  animation-delay: -12s;
}

/* KEYFRAMES */
@keyframes sdf-rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Orbit radius tuned to stay inside circle on mobile */
@keyframes sdf-orbit {
  from {
    transform: rotate(0deg) translateX(65%) rotate(0deg);
  }

  to {
    transform: rotate(360deg) translateX(65%) rotate(-360deg);
  }
}

/* MOBILE HERO LAYOUT */
@media (max-width: 768px) {
  .sdf-hero-wrapper {
    flex-direction: column;
    text-align: center;
  }
}

/* ========================= */
/* SCROLL DOWN ARROW */
/* ========================= */
.sdf-scroll-down {
  text-align: center;
  font-size: 1.4rem;
  margin-top: -1rem;
  margin-bottom: 2rem;
  color: #aaa;
}

/* ========================= */
/* SEARCH BAR */
/* ========================= */
.sdf-search-section {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.sdf-search-input {
  width: 280px;
  padding: 0.8rem 1rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}

.sdf-search-button {
  padding: 0.8rem 1rem;
  background: #aa0047;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

/* ========================= */
/* FEATURED DEALS */
/* ========================= */
.sdf-featured-section {
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.sdf-section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #222;
}

.sdf-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.sdf-featured-card {
  text-decoration: none;
  background: white;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}

.sdf-featured-card:hover {
  transform: translateY(-4px);
}

.sdf-featured-card img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 1rem;
}

/* ========================= */
/* WHY SMARTDEALFIND */
/* ========================= */
.sdf-why-section {
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.sdf-why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.sdf-why-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sdf-why-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

/* ========================= */
/* CATEGORIES */
/* ========================= */
.sdf-categories-section {
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.sdf-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
}

.sdf-category-card {
  background: white;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  text-decoration: none;
  color: #222;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease;
}

.sdf-category-card:hover {
  transform: translateY(-4px);
}

.sdf-category-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

/* ========================= */
/* THEME VARIABLES */
/* ========================= */
:root {
  --bg-light: #ffffff;
  --text-light: #222222;
  --bg-dark: #1e1e2f;
  --text-dark: #e5e5e5;
  --card-light: #ffffff;
  --card-dark: #2a2a3d;
  --border-light: #e5e5e5;
  --border-dark: #3a3a4f;
}

/* LIGHT MODE */
body {
  background: var(--bg-light);
  color: var(--text-light);
  transition: background 0.3s ease, color 0.3s ease;
}

/* DARK MODE */
body.dark-mode {
  background: var(--bg-dark);
  color: var(--text-dark);
}

/* CARDS IN DARK MODE */
body.dark-mode .sdf-featured-card,
body.dark-mode .sdf-why-card,
body.dark-mode .sdf-category-card,
body.dark-mode .sdf-card {
  background: var(--card-dark);
  color: var(--text-dark);
  border-color: var(--border-dark);
}

/* HERO BOX IN DARK MODE */
body.dark-mode .sdf-hero-wrapper {
  background: #2a2a3d;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* SEARCH BAR DARK MODE */
body.dark-mode .sdf-search-input {
  background: #2a2a3d;
  border: 1px solid var(--border-dark);
  color: var(--text-dark);
}

body.dark-mode .sdf-search-button {
  background: #aa0047;
  color: white;
}

/* ========================= */
/* NEWSLETTER */
/* ========================= */
.sdf-newsletter {
  max-width: 900px;
  margin: 3rem auto;
  padding: 2.5rem 2rem;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease;
}

.sdf-newsletter h3 {
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.sdf-newsletter p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.sdf-newsletter-form {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.sdf-newsletter-form input[type="email"] {
  padding: 0.8rem 1rem;
  width: 260px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
  color: #222;
  transition: background 0.3s ease, color 0.3s ease, border 0.3s ease;
}

.sdf-newsletter-form button {
  padding: 0.8rem 1.2rem;
  background: #aa0047;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.25s ease;
}

.sdf-newsletter-form button:hover {
  background: #8a003a;
}

.sdf-newsletter small {
  display: block;
  margin-top: 0.5rem;
  color: #777;
  font-size: 0.85rem;
}

/* NEWSLETTER — DARK MODE */
body.dark-mode .sdf-newsletter {
  background: #2a2a3d;
  color: var(--text-dark);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

body.dark-mode .sdf-newsletter h3 {
  color: #ffffff;
}

body.dark-mode .sdf-newsletter p {
  color: #cccccc;
}

body.dark-mode .sdf-newsletter small {
  color: #aaaaaa;
}

body.dark-mode .sdf-newsletter-form input[type="email"] {
  background: #1f1f2d;
  border: 1px solid #3a3a4f;
  color: #e5e5e5;
}

body.dark-mode .sdf-newsletter-form button {
  background: #aa0047;
  color: white;
}

/* ========================= */
/* FINAL LIMITED BADGE FIX + URGENCY */
/* ========================= */
.sdf-card>.sdf-badge-limited {
  position: absolute !important;
  bottom: 8px !important;
  right: 8px !important;
  background: #f7980a !important;
  color: #4a2c00 !important;
  padding: 4px 10px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  z-index: 50 !important;
}

/* Tooltip
.sdf-badge-limited[data-tooltip] {
  position: relative;
}

.sdf-badge-limited[data-tooltip]::after {
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
}
*/

.sdf-badge-limited[data-tooltip]:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 120%;
  right: 0;
  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

/* < 24 hours */
.sdf-badge-limited.sdf-soon {
  background: #ff7043 !important;
  color: #3a1a00 !important;
}

/* < 18 hours — Today Only */
.sdf-badge-limited.sdf-today {
  background: #ff5722 !important;
  color: #fff !important;
}

/* < 12 hours — urgent */
.sdf-badge-limited.sdf-urgent {
  background: #e53935 !important;
  color: #fff !important;
  animation: sdf-shake 0.4s ease-in-out infinite !important;
}

/* < 6 hours — pulse */
.sdf-badge-limited.sdf-pulse {
  animation: sdf-pulse 1.2s infinite ease-in-out !important;
}

@keyframes sdf-pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }

  100% {
    transform: scale(1);
  }
}

/* When ANY chip is selected, fade the rest */
.sdf-chip.dimmed {
  opacity: 0.45;
  filter: grayscale(1);
}

/* Selected chips stay bold and bright */
.sdf-chip.sdf-chip-active {
  opacity: 1 !important;
  filter: none !important;
}

/* Dim inactive chips */
.sdf-chip.dimmed {
  opacity: 0.45;
  filter: grayscale(1);
}

/* Clear Filters chip */
.sdf-chip-clear {
  background: #eee;
  color: #444;
  border: 1px solid #ccc;
}

.sdf-chip-clear:hover {
  background: #ddd;
}

/* Fade animation for cards */
.sdf-card {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.sdf-card.hiding {
  opacity: 0;
  transform: scale(0.97);
}

.sdf-card.hidden {
  display: none;
}

/* DEFAULT: horizontal row */
.sdf-category-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 30px;
  position: sticky;
  top: 70px;
  z-index: 50;
  background: transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 10px 0;
  transition: all 0.3s ease;
}

/* SCROLLED MODE: vertical right-side column */
.sdf-category-chips.scrolled {
  flex-direction: column;
  align-items: flex-end;
  width: fit-content;
  margin-left: auto;
  gap: 14px;
  padding-right: 10px;
}

.sdf-card-disclaimer {
  font-size: 11px;
  color: #999;
  margin-top: 6px;
}

.sdf-card-disclaimer {
  font-size: 11px;
  color: #999;
  margin-top: 6px;
}

/* Single page css */
.sdf-single-deal {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 16px 60px;
}

.sdf-single-title {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
  color: #222;
}

.sdf-single-image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  margin: 16px 0 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.sdf-single-image img {
  width: 100%;
  display: block;
}

.sdf-single-badges {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.sdf-badge-limited,
.sdf-badge-new,
.sdf-badge-expired {
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  display: inline-block;
}

.sdf-badge-limited {
  background: #fff3cd;
  color: #8a6d3b;
}

.sdf-badge-new {
  background: #ffe8e8;
  color: #d9534f;
}

.sdf-badge-expired {
  background: #f2f2f2;
  color: #777;
}

.sdf-single-meta {
  text-align: center;
  margin-bottom: 20px;
}

.sdf-single-price {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #222;
}

.sdf-single-coupon {
  font-size: 15px;
  color: #444;
  margin-bottom: 14px;
}

.sdf-single-button {
  display: inline-block;
  background: #0077ff;
  color: #fff;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.sdf-single-button:hover {
  background: #005fcc;
}

.sdf-single-countdown {
  margin-top: 12px;
  font-size: 14px;
  color: #d9534f;
  font-weight: 600;
}

.sdf-single-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
  font-size: 14px;
  color: #555;
}

.sdf-single-categories .sdf-cat-icon {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sdf-page-disclaimer {
  font-size: 13px;
  color: #777;
  text-align: center;
  margin-top: 30px;
}

.sdf-single-deal {
  animation: sdfFadeIn 0.35s ease;
}

@keyframes sdfFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sdf-single-button:hover {
  transform: translateY(-2px);
}

@media (max-width: 600px) {

  .sdf-single-deal {
    padding: 20px 14px 50px;
  }

  .sdf-single-title {
    font-size: 22px;
    margin-bottom: 10px;
    line-height: 1.3;
  }

  .sdf-single-image {
    width: 100%;
    max-width: 480px;
    margin: 0 auto 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  }

  .sdf-single-image img {
    width: 100%;
    height: auto;
    max-height: 360px;
    object-fit: contain;
    display: block;
  }


  .sdf-single-meta {
    margin-bottom: 18px;
  }

  .sdf-single-price {
    font-size: 20px;
  }

  .sdf-single-coupon {
    font-size: 14px;
  }

  .sdf-single-button {
    width: 100%;
    padding: 14px 0;
    font-size: 15px;
    border-radius: 10px;
  }

  .sdf-single-countdown {
    font-size: 13px;
    margin-top: 10px;
  }

  .sdf-single-categories {
    gap: 8px;
    margin: 16px 0;
    font-size: 13px;
  }

  .sdf-single-description {
    font-size: 15px;
    line-height: 1.55;
    margin-top: 16px;
  }

  .sdf-page-disclaimer {
    font-size: 12px;
    margin-top: 24px;
  }
}

/* Hidden by default on desktop */
.sdf-mobile-sticky-bar {
  display: none;
}

/* Mobile sticky bar */
.sdf-mobile-sticky-bar {
  display: none;
}

@media (max-width: 600px) {
  .sdf-mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    padding: 12px 16px;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: center;
    z-index: 9999;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .sdf-mobile-sticky-bar.sdf-hidden {
    transform: translateY(100%);
    opacity: 0;
  }

  .sdf-mobile-sticky-button {
    background: #0077ff;
    color: #fff;
    padding: 14px 0;
    width: 100%;
    max-width: 480px;
    text-align: center;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
  }

  .sdf-mobile-sticky-button:hover {
    background: #005fcc;
    transform: translateY(-2px);
  }
}

@media (max-width: 600px) {
  .sdf-single-image img {
    max-height: 300px;
  }
}

@media (prefers-color-scheme: dark) {
  .sdf-dealboard-title {
    color: #f5f5f5;
  }
}

@media (prefers-color-scheme: dark) {
  .sdf-dealboard-title {
    color: #fff;
    text-shadow: 0 0 6px rgba(255,255,255,0.08);
  }
}

