/* ============================================================
   C2 Tides — Featured Product (modern / social-media style)
   Palette: navy #0B1320 · card #121C2F · teal #18C4D8
            steel #2C4E68 · coral #F56A3D · ivory #F5F3EF
   ============================================================ */

.c2-featured {
  position: relative;
  padding: 3rem 1rem 3.5rem;
  background:
    radial-gradient(120% 90% at 15% 0%, rgba(24, 196, 216, 0.14), transparent 55%),
    radial-gradient(110% 80% at 100% 100%, rgba(245, 106, 61, 0.12), transparent 55%),
    linear-gradient(160deg, #0E1C30 0%, #152942 55%, #0B1728 100%);
  color: #f5f3ef;
  overflow: hidden;
}

.c2-featured-inner {
  max-width: 1120px;
  margin: 0 auto;
}

/* ---- Section heading ---- */
.c2-featured-head {
  text-align: center;
  margin-bottom: 2rem;
}

.c2-featured-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #18c4d8;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(24, 196, 216, 0.35);
  border-radius: 999px;
  background: rgba(24, 196, 216, 0.08);
}

.c2-featured-title-main {
  margin-top: 0.85rem;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.c2-featured-title-main span {
  color: #18c4d8;
}

/* ---- Card ---- */
.c2-featured-card {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(180deg, #1A2F4A 0%, #15283F 100%);
  border: 1px solid rgba(36, 65, 94, 0.55);
  box-shadow: 0 30px 70px -30px rgba(8, 20, 33, 0.55), 0 0 0 1px rgba(24, 196, 216, 0.05);
}

/* ---- Media side ---- */
.c2-featured-media {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(24, 196, 216, 0.22), transparent 70%),
    linear-gradient(160deg, #0e1a2e 0%, #0a1220 100%);
  overflow: hidden;
}

.c2-featured-glow {
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 196, 216, 0.35), transparent 65%);
  filter: blur(30px);
  animation: c2FeaturedPulse 6s ease-in-out infinite;
  z-index: 0;
}

@keyframes c2FeaturedPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  50% { transform: scale(1.08); opacity: 0.9; }
}

.c2-featured-img {
  position: relative;
  z-index: 1;
  max-width: 78%;
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 22px rgba(24, 196, 216, 0.28));
  transform: translateZ(0);
  transition: transform 0.25s ease, filter 0.25s ease;
  animation: c2FeaturedFloat 5.5s ease-in-out infinite;
  will-change: transform;
}

@keyframes c2FeaturedFloat {
  0%, 100% { transform: translateY(0) rotate(-0.5deg); }
  50% { transform: translateY(-14px) rotate(0.5deg); }
}

.c2-featured-media.is-dragging .c2-featured-img {
  animation-play-state: paused;
  filter: drop-shadow(0 30px 48px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 34px rgba(24, 196, 216, 0.5));
}

.c2-featured-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 700;
  color: #f5f3ef;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(245, 106, 61, 0.9), rgba(245, 106, 61, 0.65));
  box-shadow: 0 8px 20px -6px rgba(245, 106, 61, 0.6);
  backdrop-filter: blur(4px);
}

.c2-featured-stats {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.c2-featured-stats > div {
  text-align: center;
  padding: 0.55rem 0.4rem;
  border-radius: 14px;
  background: rgba(11, 19, 32, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.c2-featured-stats strong {
  display: block;
  font-size: 0.95rem;
  color: #18c4d8;
  font-weight: 800;
}

.c2-featured-stats span {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9fb2c6;
}

/* ---- Body side ---- */
.c2-featured-body {
  padding: 2.1rem 2rem 2rem;
  display: flex;
  flex-direction: column;
}

.c2-featured-name {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  margin-bottom: 0.35rem;
  line-height: 1.1;
}

.c2-featured-name em {
  font-style: normal;
  font-size: 0.62em;
  font-weight: 500;
  color: #18c4d8;
}

.c2-featured-official {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #d6dfea;
  margin-bottom: 0.75rem;
}

.c2-featured-official strong { color: #ffffff; }

.c2-featured-desc {
  font-size: 0.82rem;
  line-height: 1.6;
  color: #9fb2c6;
  margin-bottom: 1rem;
}

.c2-featured-list {
  list-style: none;
  margin: 0 0 1.15rem;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}

.c2-featured-list li {
  font-size: 0.82rem;
  color: #c7d3e0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.c2-featured-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 50%;
  background: rgba(24, 196, 216, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2318C4D8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* ---- Price ---- */
.c2-featured-price {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.c2-featured-was {
  font-size: 1.05rem;
  color: #6f8199;
  text-decoration: line-through;
}

.c2-featured-now {
  font-size: 2.1rem;
  font-weight: 800;
  color: #f56a3d;
  text-shadow: 0 0 22px rgba(245, 106, 61, 0.35);
}

.c2-featured-save {
  font-size: 0.68rem;
  font-weight: 700;
  color: #0b1320;
  background: #18c4d8;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

/* ---- Bundles ---- */
.c2-featured-bundles {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.15rem;
}

.c2-bundle {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.86rem;
}

.c2-bundle:hover { border-color: rgba(24, 196, 216, 0.5); transform: translateY(-1px); }

.c2-bundle.selected {
  border-color: #18c4d8;
  background: rgba(24, 196, 216, 0.12);
  box-shadow: 0 0 0 1px rgba(24, 196, 216, 0.4);
}

.c2-bundle strong { color: #18c4d8; }

.c2-bundle .c2-bundle-tag {
  position: absolute;
  top: -9px;
  right: 12px;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b1320;
  background: #f56a3d;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
}

/* ---- Actions ---- */
.c2-featured-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
  flex-wrap: wrap;
}

.c2-qty {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0.2rem;
}

.c2-qty button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #f5f3ef;
  font-size: 1.15rem;
  cursor: pointer;
  transition: background 0.15s ease;
}

.c2-qty button:hover { background: rgba(24, 196, 216, 0.3); }

.c2-qty span {
  min-width: 26px;
  text-align: center;
  font-weight: 700;
}

.c2-featured-add {
  flex: 1 1 auto;
  min-width: 180px;
  border: none;
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #f56a3d 0%, #f56a3d 45%, #18c4d8 100%);
  box-shadow: 0 14px 30px -10px rgba(245, 106, 61, 0.6);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.c2-featured-add:hover { transform: translateY(-2px); filter: brightness(1.05); }
.c2-featured-add:active { transform: translateY(0); }

/* ---- Social share ---- */
.c2-featured-share {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.65rem;
}

.c2-featured-share span {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6f8199;
}

.c2-featured-share button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #c7d3e0;
  cursor: pointer;
  font-size: 0.85rem;
  transition: transform 0.15s ease, color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.c2-featured-share button:hover {
  transform: translateY(-2px);
  color: #18c4d8;
  border-color: rgba(24, 196, 216, 0.5);
  background: rgba(24, 196, 216, 0.1);
}

.c2-featured-ruo {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6f8199;
  margin-top: auto;
  padding-top: 0.75rem;
}

/* ---- Toast (share/add feedback) ---- */
.c2-featured-flash {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: #121c2f;
  color: #f5f3ef;
  border: 1px solid rgba(24, 196, 216, 0.4);
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, 0.7);
  opacity: 0;
  pointer-events: none;
  z-index: 12000;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.c2-featured-flash.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .c2-featured { padding: 2.25rem 0.85rem 2.5rem; }
  .c2-featured-card { grid-template-columns: 1fr; }
  .c2-featured-media { min-height: 340px; padding: 1.5rem 1rem 4.5rem; }
  .c2-featured-img { max-width: 72%; max-height: 300px; }
  .c2-featured-body { padding: 1.5rem 1.25rem 1.5rem; }
  .c2-featured-now { font-size: 1.85rem; }
}

@media (max-width: 480px) {
  .c2-featured-img { max-width: 82%; }
  .c2-featured-actions { flex-direction: column; align-items: stretch; }
  .c2-qty { align-self: flex-start; }
  .c2-featured-add { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .c2-featured-glow,
  .c2-featured-img { animation: none !important; }
}
