/* Loader */
.loader-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-fixed);
  display: grid;
  place-items: center;
  background: radial-gradient(600px 400px at 50% 0%, rgba(32, 178, 170, 0.08), transparent 40%), var(--bg);
}

.loader-card {
  width: 300px;
  padding: 22px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .8);
  box-shadow: var(--shadow);
  text-align: center;
}

.progress {
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, .08);
  overflow: hidden;
  border: 1px solid var(--border);
}

.progress>i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
}

.spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, .15);
  border-top-color: var(--accent2);
  margin: 10px auto 16px;
  animation: spin var(--duration-normal) linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Enhanced zipper compare */
.zipper {
  position: relative;
  height: 400px;
  border-radius: var(--radius-xxl);
  overflow: hidden;
  border: 2px solid var(--accent);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 30px rgba(32, 178, 170, 0.4);
  margin: 30px 0;
  /* Add animation to make it more visually appealing */
  animation: zipperGlow 2s ease-in-out infinite alternate;
}

@keyframes zipperGlow {
  0% {
    box-shadow: 0 0 20px rgba(32, 178, 170, 0.3);
    border-color: var(--accent);
  }

  100% {
    box-shadow: 0 0 50px rgba(32, 178, 170, 0.6), 0 0 20px var(--accent2);
    border-color: var(--accent2);
  }
}

.zipper .left,
.zipper .right {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.zipper .left {
  /* Use local before image */
  background-image: url('before.png');
  clip-path: polygon(0 0, var(--split, 50%) 0, var(--split, 50%) 100%, 0 100%);
  transition: clip-path 0.1s linear;
  /* Add a subtle animation */
  animation: leftPanelPulse 3s ease-in-out infinite;
}

.zipper .right {
  /* Use local after image */
  background-image: url('After.png');
  /* Add a subtle animation to make it more noticeable */
  animation: rightPanelPulse 4s ease-in-out infinite;
}

@keyframes leftPanelPulse {

  0%,
  100% {
    filter: brightness(1) saturate(1);
  }

  50% {
    filter: brightness(1.1) saturate(1.2);
  }
}

@keyframes rightPanelPulse {

  0%,
  100% {
    filter: brightness(1) contrast(1);
  }

  50% {
    filter: brightness(1.1) contrast(1.1);
  }
}

/* Mobile-specific, smaller background images to reduce mobile LCP payload */
@media (max-width: 480px) {
  .zipper .left {
    background-image: url('before.png');
  }

  .zipper .right {
    background-image: url('After.png');
  }
}

.zipper .handle {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50px;
  left: calc(var(--split, 50%) - 25px);
  background: linear-gradient(180deg, rgba(32, 178, 170, 0.2), rgba(32, 178, 170, 0.1));
  border-left: 3px solid var(--accent2);
  border-right: 3px solid var(--accent2);
  display: grid;
  place-items: center;
  cursor: ew-resize;
  transition: all 0.3s ease;
  z-index: 10;
  /* Add glow effect */
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
  /* Add pulsing animation */
  animation: handlePulse 2s ease-in-out infinite;
}

@keyframes handlePulse {

  0%,
  100% {
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
  }

  50% {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
  }
}

.zipper .handle:hover {
  transform: scale(1.1);
  box-shadow: var(--glow-yellow), 0 0 30px rgba(255, 215, 0, 0.8);
}

.zipper .pull {
  width: 30px;
  height: 70px;
  border-radius: 10px;
  background: var(--accent2);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: bold;
  /* Add pulsing effect */
  animation: pullPulse 1.5s ease-in-out infinite;
}

@keyframes pullPulse {

  0%,
  100% {
    transform: scale(1);
    box-shadow: var(--shadow);
  }

  50% {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 20px var(--accent2);
  }
}

.zipper input[type=range] {
  position: absolute;
  inset: 0;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
  z-index: 20;
}

.zipper input[type=range]::-webkit-slider-thumb {
  appearance: none;
  width: 60px;
  height: 60px;
  background: transparent;
  cursor: ew-resize;
}

.zipper .label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(0, 0, 0, .6);
  padding: 10px 15px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  backdrop-filter: blur(5px);
  animation: labelPulse 2s infinite;
}

@keyframes labelPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }
}

/* Enhanced Products row */
.products-row {
  display: flex;
  gap: var(--spacing-xl);
  overflow: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
}

.product {
  min-width: 240px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .1));
  overflow: hidden;
  transition: var(--transition-slow);
  transform-style: preserve-3d;
  position: relative;
  backdrop-filter: blur(10px);
}

.product:hover {
  transform: rotateY(15deg) translateZ(20px);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, .2),
    0 0 25px var(--glow-green),
    inset 0 0 10px rgba(255, 255, 255, .3);
  border: 1px solid rgba(32, 178, 170, 0.6);
}

.product .thumb {
  height: 180px;
  width: 100%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--border);
}

.product .thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--glow-yellow);
}

.product .pbody {
  padding: var(--spacing-md) var(--spacing-lg);
}

.product h4 {
  margin: var(--spacing-sm) 0 var(--spacing-xs);
  font-weight: 600;
}

.product .price {
  color: var(--accent2);
  font-weight: 700;
  font-size: var(--font-size-lg);
}

/* Enhanced Auth card */
.auth-wrap {
  min-height: calc(100vh - 70px);
  display: grid;
  place-items: center;
}

.auth-card {
  width: min(880px, 94vw);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-xxl);
  overflow: hidden;
  background: linear-gradient(180deg, var(--glass), rgba(255, 255, 255, .1));
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 20px rgba(32, 178, 170, 0.15);
  animation: cardEntrance var(--duration-slower) ease-out;
}

@keyframes cardEntrance {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-visual {
  padding: 26px;
  background:
    radial-gradient(800px 500px at 0% 0%, rgba(32, 178, 170, 0.1), rgba(0, 0, 0, 0)),
    linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 215, 0, 0.05));
  position: relative;
  overflow: hidden;
}

.auth-visual::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(32, 178, 170, 0.08) 0%, transparent 70%);
  animation: rotate 10s linear infinite;
}

.auth-visual h2 {
  margin: 0 0 8px;
  animation: fadeInUp var(--duration-normal) ease-out;
}

.auth-form {
  padding: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, .05));
  position: relative;
}

.field {
  display: grid;
  gap: 6px;
  margin: 12px 0;
  animation: fadeIn var(--duration-fast) ease-out;
}

.field:nth-child(1) {
  animation-delay: 0.1s;
}

.field:nth-child(2) {
  animation-delay: 0.2s;
}

.field:nth-child(3) {
  animation-delay: 0.3s;
}

.input {
  padding: 12px 12px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, .1);
  color: var(--text);
  outline: none;
  transition: var(--transition-normal);
  width: 100%;
}

.input:focus {
  border-color: var(--accent2);
  box-shadow: 0 0 10px var(--glow-yellow);
  transform: translateY(-2px);
}

.input::placeholder {
  color: var(--text-muted);
  transition: var(--transition-normal);
}

.input:focus::placeholder {
  color: transparent;
}

.inline {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  animation: fadeIn var(--duration-fast) ease-out;
}

.inline:nth-child(4) {
  animation-delay: 0.4s;
}

.inline:nth-child(5) {
  animation-delay: 0.5s;
}

.link {
  color: var(--accent2);
  transition: var(--transition-normal);
}

.link:hover {
  color: var(--accent);
  text-shadow: 0 0 10px rgba(32, 178, 170, 0.6);
}

.switch {
  margin-top: 10px;
  text-align: center;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  .auth-card {
    grid-template-columns: 1fr;
  }
}

/* Horizontal Ring - Plates Around Invisible Pole */
.ring-wrap {
  perspective: 1500px;
  width: 100%;
  /* reduced height to remove excessive top gap */
  height: 360px;
  position: relative;
  /* smaller top margin so heading sits closer; preserve bottom margin for spacing */
  margin: 6px 0 100px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

.ring {
  /* scaled down ring to fit reduced container */
  width: 320px;
  height: 320px;
  position: relative;
  transform-style: preserve-3d;
  will-change: transform;
}

.ring:hover {
  animation-play-state: paused;
}

/* Circle layout for auto-rotating product showcase */
.ring .panel {
  width: 220px;
  height: 260px;
}

.ring .thumb {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin: 0 auto 12px;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 0 20px rgba(32, 178, 170, 0.4);
}

.ring .meta {
  text-align: center;
  font-weight: 700;
}

/* Reduce h2 spacing inside the hologram/featured section to remove gap */
section.hologram-scan>h2,
section.hologram-scan h2.slide-in-element {
  /* remove top gap while keeping reasonable bottom spacing */
  margin: 0 0 16px 0;
  /* top right bottom left */
}

/* Minimal mode for Featured Products: show only the circular thumbs */
section.hologram-scan.minimal {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

section.hologram-scan.minimal>h2,
section.hologram-scan.minimal>p,
section.hologram-scan.minimal .hologram-scan::before,
section.hologram-scan.minimal .hologram-scan::after {
  display: none !important;
}

.ring-wrap.minimal {
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.ring.minimal {
  width: 300px !important;
  height: 300px !important;
}

.ring.minimal .thumb {
  width: 140px !important;
  height: 140px !important;
  margin-bottom: 6px !important;
}

/* Hairline and underline fixes for ring/popup */
/* Remove borders that can show as thin lines during 3D rotation */
.ring .panel-front,
.ring .panel-back {
  border: none !important;
}

/* Ensure hover state doesn't reintroduce borders */
.ring .panel:hover .panel-front,
.ring .panel:hover .panel-back {
  border: none !important;
}

/* Prevent hairline artifacts on 3D faces */
.panel,
.panel-front,
.panel-back {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

/* Remove link underlines inside buttons (e.g., emergency button link) */
.btn a {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

/* Card-like panels that flip */
.panel {
  position: absolute;
  width: 180px;
  height: 240px;
  left: 50%;
  top: 50%;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

/* Front and back of the card */
.panel-front,
.panel-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--radius-xl);
  padding: 20px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, .3),
    0 0 20px rgba(32, 178, 170, 0.3);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border);
}

.panel-front {
  background: linear-gradient(180deg, rgba(255, 255, 255, .25), rgba(255, 255, 255, .1));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.panel-back {
  background: linear-gradient(180deg, rgba(32, 178, 170, 0.15), rgba(255, 215, 0, 0.08));
  transform: rotateY(180deg);
  padding: 15px;
  overflow-y: auto;
}

/* Panel positioning around the horizontal ring */
.panel:nth-child(1) {
  transform: translate(-50%, -50%) rotateY(0deg) translateZ(200px);
}

.panel:nth-child(2) {
  transform: translate(-50%, -50%) rotateY(60deg) translateZ(200px);
}

.panel:nth-child(3) {
  transform: translate(-50%, -50%) rotateY(120deg) translateZ(200px);
}

.panel:nth-child(4) {
  transform: translate(-50%, -50%) rotateY(180deg) translateZ(200px);
}

.panel:nth-child(5) {
  transform: translate(-50%, -50%) rotateY(240deg) translateZ(200px);
}

.panel:nth-child(6) {
  transform: translate(-50%, -50%) rotateY(300deg) translateZ(200px);
}

/* Flipped state */
.panel.flipped .panel-front {
  transform: rotateY(-180deg);
}

.panel.flipped .panel-back {
  transform: rotateY(0deg);
}

/* Hover effects */
.panel:hover {
  transform: translate(-50%, -50%) rotateY(var(--panel-rotation, 0deg)) translateZ(250px) scale(1.1);
  z-index: 10;
}

.panel:hover .panel-front,
.panel:hover .panel-back {
  box-shadow:
    0 20px 50px rgba(0, 0, 0, .4),
    0 0 40px rgba(32, 178, 170, 0.8),
    inset 0 0 20px rgba(255, 255, 255, .3);
  border: 2px solid rgba(32, 178, 170, 0.9);
}

/* Front card content */
.panel-front .thumb {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin-bottom: 15px;
  border: 3px solid rgba(32, 178, 170, 0.6);
  transition: all 0.3s ease;
}

.panel-front .meta {
  color: var(--text-heading);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.panel-front .price {
  color: var(--accent2);
  font-weight: 600;
  font-size: 1rem;
}

.panel-front .flip-hint {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--text-muted);
  opacity: 0.7;
  animation: pulse 2s infinite;
}

/* Back card content */
.panel-back h3 {
  color: var(--text-heading);
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-align: center;
}

.panel-back .product-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 15px;
}

.panel-back .detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text);
}

.panel-back .detail-icon {
  font-size: 1.1rem;
  filter: drop-shadow(0 0 5px rgba(120, 219, 255, 0.6));
}

.panel-back .product-description {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 15px;
}

.panel-back .product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 15px;
}

.panel-back .feature-tag {
  background: rgba(32, 178, 170, 0.2);
  border: 1px solid rgba(32, 178, 170, 0.4);
  border-radius: 12px;
  padding: 4px 8px;
  font-size: 0.7rem;
  color: var(--accent);
}

.panel-back .action-buttons {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.panel-back .btn-small {
  flex: 1;
  padding: 8px 12px;
  font-size: 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(32, 178, 170, 0.1);
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s ease;
}

.panel-back .btn-small:hover {
  background: rgba(32, 178, 170, 0.25);
  transform: translateY(-2px);
}

.panel-back .btn-small.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #051019;
  font-weight: 600;
}

.panel-back .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: rgba(255, 215, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: var(--accent2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.panel-back .close-btn:hover {
  background: rgba(255, 215, 0, 0.4);
  transform: scale(1.1);
}

.thumb {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  margin-bottom: 15px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.thumb:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--glow-yellow);
}

.meta {
  color: var(--text);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.price {
  color: var(--accent2);
  font-weight: 700;
  font-size: 1.2rem;
}

/* Enhanced Card Component */
.card {
  grid-column: span 4;
  background: linear-gradient(180deg, rgba(255, 255, 255, .95), rgba(248, 255, 254, .9));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 18px;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform: translateZ(0);
  box-shadow: var(--shadow);
}

.card:hover {
  transform: translateZ(20px) translateY(-8px);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, .2),
    0 0 25px var(--glow-green),
    inset 0 0 10px rgba(255, 255, 255, .3);
  border: 1px solid rgba(32, 178, 170, 0.6);
}

.card.floating {
  animation: float 6s ease-in-out infinite;
}

.card.large {
  grid-column: span 8;
}

.card .art {
  height: 180px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(250px 150px at 70% 10%, rgba(32, 178, 170, 0.12), transparent 40%),
    radial-gradient(250px 150px at 30% 90%, rgba(255, 215, 0, 0.08), transparent 40%),
    linear-gradient(135deg, rgba(255, 255, 255, .95), rgba(248, 255, 254, .85));
  border: 1px solid var(--border);
  box-shadow: inset 0 0 60px rgba(26, 26, 26, 0.05);
  transition: all 0.4s ease;
}

.card .art:hover {
  box-shadow:
    inset 0 0 30px var(--glow-green),
    0 0 20px var(--glow-green);
  transform: scale(1.02);
}

.card h3 {
  margin: 10px 0 6px;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: .95rem;
}

.pill {
  position: absolute;
  right: 16px;
  top: 16px;
  font-size: .75rem;
  opacity: .85;
  background: rgba(255, 215, 0, 0.2);
  border: 1px solid rgba(255, 215, 0, 0.4);
  padding: 6px 10px;
  border-radius: var(--radius-full);
  transition: all 0.3s ease;
}

.pill:hover {
  background: rgba(255, 215, 0, 0.4);
  box-shadow: 0 0 15px var(--glow-yellow);
  transform: scale(1.1);
}

@media (max-width: 900px) {
  .card {
    grid-column: span 12;
  }

  .card.large {
    grid-column: span 12;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateZ(0) translateY(0);
  }

  50% {
    transform: translateZ(10px) translateY(-15px);
  }
}

/* Enhanced button animations */
.btn {
  padding: 14px 20px;
  border-radius: 14px;
  border: 1px solid var(--border);
  cursor: pointer;
  font-weight: 700;
  background: var(--accent);
  color: #051019;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: all 0.8s ease;
}

.btn:hover {
  box-shadow:
    0 0 25px var(--glow-green),
    inset 0 0 15px rgba(255, 255, 255, .5);
  transform: translateY(-5px);
}

.btn:hover::before {
  left: 100%;
}

.btn:active {
  transform: translateY(0) scale(0.98);
}

.btn.ghost {
  background: var(--glass);
  color: var(--text);
  box-shadow: 0 0 10px rgba(255, 255, 255, .1);
}

.btn.ghost:hover {
  background: linear-gradient(135deg, rgba(32, 178, 170, 0.15), rgba(255, 215, 0, 0.1));
  box-shadow:
    0 0 25px var(--glow-green),
    inset 0 0 10px rgba(255, 255, 255, .3);
}

/* Enhanced tag component */
.tag {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(32, 178, 170, 0.12), rgba(255, 215, 0, 0.08));
  border: 1px solid rgba(32, 178, 170, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(5px);
}

.tag:hover {
  background: linear-gradient(135deg, rgba(32, 178, 170, 0.2), rgba(255, 215, 0, 0.15));
  box-shadow:
    0 0 20px var(--glow-yellow),
    inset 0 0 15px rgba(255, 255, 255, .3);
  transform: translateY(-3px) scale(1.05);
}

/* Depth effects */
.depth-container {
  perspective: 1000px;
  transform-style: preserve-3d;
}

.depth-element {
  transform: translateZ(0);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.depth-element:hover {
  transform: translateZ(30px);
}

.depth-shadow-1 {
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.1),
    0 0 8px rgba(32, 178, 170, 0.3);
}

.depth-shadow-2 {
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.15),
    0 0 15px rgba(32, 178, 170, 0.4),
    inset 0 0 8px rgba(255, 215, 0, 0.2);
}

.depth-shadow-3 {
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.2),
    0 0 25px rgba(32, 178, 170, 0.5),
    inset 0 0 12px rgba(255, 215, 0, 0.3);
}


/* =========================================
   Pet Parivaar New Sections (HUFT Style)
   ========================================= */

/* Species Selector */
.pp-species-selector {
  padding: 40px 20px 60px;
  background: white;
  position: relative;
  z-index: 2;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  margin-top: -30px;
}

.species-header {
  text-align: center;
  margin-bottom: 35px;
}

.species-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #333;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.paw-icon {
  animation: wave 2s infinite;
  display: inline-block;
}

@keyframes wave {

  0%,
  100% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-20deg);
  }

  75% {
    transform: rotate(20deg);
  }
}

.species-header p {
  color: #666;
  font-size: 1rem;
}

.species-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.species-bubble {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  position: relative;
  cursor: pointer;
}

.species-icon-wrap {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  padding: 4px;
  position: relative;
  transition: all 0.3s ease;
}

/* Gradient Ring */
.species-icon-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(45deg, var(--ring-color-1, #ccc), var(--ring-color-2, #eee));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.6;
  transition: all 0.3s ease;
}

.species-bubble:hover .species-icon-wrap::before {
  opacity: 1;
  animation: ringPulse 1.5s ease-in-out infinite;
}

@keyframes ringPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.7;
  }
}

.species-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  overflow: hidden;
}

.species-bubble:hover .species-inner {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.species-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.species-bubble:hover .species-img {
  transform: scale(1.1);
}

.species-icon-wrap.dog {
  --ring-color-1: #FF782C;
  --ring-color-2: #FFAB76;
}

.species-icon-wrap.dog .species-inner {
  background: linear-gradient(135deg, #FF782C, #FFAB76);
}

.species-icon-wrap.cat {
  --ring-color-1: #9C27B0;
  --ring-color-2: #E1BEE7;
}

.species-icon-wrap.cat .species-inner {
  background: linear-gradient(135deg, #9C27B0, #E1BEE7);
}

.species-icon-wrap.bird {
  --ring-color-1: #4CAF50;
  --ring-color-2: #A5D6A7;
}

.species-icon-wrap.bird .species-inner {
  background: linear-gradient(135deg, #4CAF50, #A5D6A7);
}

.species-icon-wrap.small {
  --ring-color-1: #2196F3;
  --ring-color-2: #90CAF9;
}

.species-icon-wrap.small .species-inner {
  background: linear-gradient(135deg, #2196F3, #90CAF9);
}

.species-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #333;
  transition: all 0.3s ease;
}

.species-bubble:hover .species-name {
  color: #FF782C;
}

/* Tooltip on hover */
.species-bubble::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.species-bubble:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .pp-species-selector {
    padding: 35px 16px 45px;
    border-radius: 24px;
  }

  .species-header h2 {
    font-size: 1.5rem;
  }

  .species-grid {
    gap: 20px;
  }

  .species-icon-wrap {
    width: 85px;
    height: 85px;
  }

  .species-name {
    font-size: 0.9rem;
  }

  .species-bubble::after {
    display: none;
  }
}


/* Pet Care Essentials */
.pp-care-essentials {
  padding: 50px 20px;
  background: #ffffff;
  margin-bottom: 40px;
}

.essentials-header {
  margin-bottom: 30px;
}

.essentials-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 8px;
}

.essentials-header p {
  color: #666;
  font-size: 1rem;
  margin: 0;
}

.essentials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.essential-card {
  background: linear-gradient(180deg, #fdf6f3 0%, #f9ece6 100%);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.essential-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.essential-img-wrap {
  position: relative;
  margin-bottom: 15px;
}

.essential-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
}

.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
  padding: 8px 12px;
  border-radius: 50%;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.4);
  min-width: 60px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.discount-badge .small-text {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
}

.discount-badge .big-text {
  font-size: 1.2rem;
  line-height: 1;
}

.essential-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}

@media (max-width: 992px) {
  .essentials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 576px) {
  .essentials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .essential-img {
    height: 120px;
  }

  .discount-badge {
    min-width: 50px;
    min-height: 50px;
    padding: 6px 8px;
  }

  .discount-badge .big-text {
    font-size: 1rem;
  }

  .essential-name {
    font-size: 0.95rem;
  }
}


/* Amazing Offers */
.pp-amazing-offers {
  padding: 50px 20px;
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  margin-bottom: 40px;
}

.offers-header {
  margin-bottom: 30px;
}

.offers-header h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1a1a1a;
  margin: 0 0 8px;
}

.offers-header p {
  color: #666;
  font-size: 1rem;
  margin: 0;
}

.offers-scroll-wrapper {
  overflow-x: auto;
  padding-bottom: 15px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.offers-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.offers-grid {
  display: flex;
  gap: 20px;
  min-width: max-content;
}

.offer-ticket {
  width: 160px;
  flex-shrink: 0;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
}

.offer-ticket:hover {
  transform: translateY(-8px);
}

.ticket-envelope {
  width: 100%;
  height: 140px;
  border-radius: 20px 20px 30px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 15px 10px 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.offer-ticket:hover .ticket-envelope {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Envelope notch at bottom */
.ticket-envelope::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: inherit;
  border-radius: 50%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Hole punch effect */
.ticket-envelope::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -8px;
  width: 16px;
  height: 16px;
  background: #f8f9fa;
  border-radius: 50%;
  box-shadow: inset 2px 0 4px rgba(0, 0, 0, 0.1);
}

.ticket-envelope.blue {
  background: linear-gradient(180deg, #3498db 0%, #2980b9 100%);
}

.ticket-envelope.red {
  background: linear-gradient(180deg, #e74c3c 0%, #c0392b 100%);
}

.ticket-envelope.orange {
  background: linear-gradient(180deg, #e67e22 0%, #d35400 100%);
}

.ticket-envelope.green {
  background: linear-gradient(180deg, #27ae60 0%, #1e8449 100%);
}

.ticket-envelope.purple {
  background: linear-gradient(180deg, #9b59b6 0%, #8e44ad 100%);
}

.ticket-envelope.teal {
  background: linear-gradient(180deg, #1abc9c 0%, #16a085 100%);
}

.ticket-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2px;
  padding: 8px;
}

.ticket-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.ticket-offer {
  color: white;
  text-align: center;
}

.ticket-offer .offer-type {
  font-size: 0.7rem;
  font-weight: 600;
  opacity: 0.9;
  text-transform: uppercase;
}

.ticket-offer .offer-value {
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.1;
}

.ticket-label {
  margin-top: 25px;
  font-size: 0.85rem;
  color: #555;
  text-align: center;
  font-weight: 600;
}

@media (max-width: 768px) {
  .offer-ticket {
    width: 140px;
  }

  .ticket-envelope {
    height: 120px;
  }

  .ticket-icon {
    width: 40px;
    height: 40px;
    padding: 6px;
  }

  .ticket-offer .offer-value {
    font-size: 1.1rem;
  }
}