/* WhatsApp Floating Button */
.whtsapp-icon {
  position: fixed;
  bottom: 15px;
  right: 20px;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, #1EBE57, #0ba360);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10001;
  box-shadow: 0 8px 20px rgba(30, 190, 87, 0.4);
  cursor: pointer;
  overflow: visible;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whtsapp-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 28px rgba(30, 190, 87, 0.6);
}

.whtsapp-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.ripple {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 2px solid rgba(30, 190, 87, 0.4);
  border-radius: 50%;
  z-index: 1;
  animation: ripple-animation 1.8s infinite;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

@keyframes ripple-animation {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0.5;
  }
  70% {
    transform: translate(-50%, -50%) scale(1.6);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .whtsapp-icon {
    bottom: 30px;
    right: 15px;
  }
}

.btn-default {
    background-color: #8B0000;
    color: #ffffff !important;
    border: none;
}

.btn-default:hover {
    background-color: #c1121f;
}

.checkout-sec,
.our-products {
  background-color: #e2efca;
}

body {
  background: linear-gradient(to bottom, #e2efca 100%, #ffffff 100%);
  margin: 0;
  padding: 0;
}

/* Style for Update Qty & Continue to Checkout buttons */
.btn.btn-primary,
.btn.btn-primary:disabled {
  background-color: #8B0000 !important; /* Dark red */
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

/* Hover effect */
.btn.btn-primary:hover {
  background-color: #c1121f !important; /* Lighter red on hover */
  color: #ffffff !important;
}

/* Default (Desktop): Floating Button */
.post-ship-btn {
    position: fixed !important;
    bottom: 210px;
    left: 50px;
    z-index: 9999;
}

/* Mobile: Not floating, just in normal flow */
@media (max-width: 768px) {
    .post-ship-btn {
        position: static !important; /* removes fixed positioning */
        margin: 20px auto;
        display: block;
    }
}

@media (max-width: 768px) {
  .logo {
    max-height: 50px;  /* Adjust the logo height as needed */
    width: auto;
  }
}

@media screen and (max-width: 768px) {
  .btn-highlighted {
    margin-left: 100px; /* Adjust as needed */
  }
}

@keyframes glitter-left-to-right {
  0% {
    left: -150%;
  }
  100% {
    left: 100%;
  }
}

.btn.btn-primary {
  position: relative;
  overflow: hidden; /* Needed for ::after shimmer to stay inside */
  z-index: 1;
}

/* White shimmer line effect ONLY — no layout change */
.btn.btn-primary::after {
  content: "";
  position: absolute;
  top: -75%;
  left: -150%;
  width: 100%;
  height: 250%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: glitter-left-to-right 1.6s infinite;
  transform: rotate(30deg);
  pointer-events: none;
  z-index: 2;
}

.btn-default {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px; /* spacing between text and arrow */
  background-color: #8B0000;
  color: white;
  padding: 14px 48px; /* increased padding */
  border-radius: 40px; /* slightly more rounded */
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  overflow: hidden;
  animation: pulse-grow 1.5s infinite;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-default:hover {
  background-color: #c1121f;
  transform: scale(1.05);
}

/* Glittering Effect */
.btn-default::after {
  content: "";
  position: absolute;
  top: -75%;
  left: -150%;
  width: 100%;
  height: 250%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: glitter-left-to-right 1.6s infinite, pulse-opacity 2s infinite;
  transform: rotate(30deg);
  pointer-events: none;
  z-index: 2;
}

/* Pulse Animation */
@keyframes pulse-grow {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(139, 0, 0, 0.4);
  }
  70% {
    transform: scale(1.06);
    box-shadow: 0 0 0 16px rgba(139, 0, 0, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(139, 0, 0, 0);
  }
}

/* Glitter Keyframes */
@keyframes glitter-left-to-right {
  0% { left: -150%; }
  100% { left: 100%; }
}

@keyframes pulse-opacity {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.3; }
}

.product-slider .product-button-next::before,
.product-slider .product-button-prev::before {
  content: none !important;
  display: none !important;
}

.post-ship-btn:hover {
  background-color: #c1121f !important;
}

.pr-rem {
    font-weight: bold;
    color: #1b5ca6;
}

#salesFloatBar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #151d44;
    color: #ffffff;
    padding: 12px 20px;
    font-family: 'Arial', sans-serif;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    display: none;
  }

  .sales-float-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    flex-wrap: wrap;
  }

  .float-left,
  .float-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }

  .float-left {
    font-weight: bold;
  }

  .float-left .timer-label {
    font-size: 15px;
    margin-bottom: 4px;
  }

  .float-left .timer {
    font-size: 20px;
    font-weight: bold;
    color: #f3ff00;
  }

  .float-right {
    text-align: right;
    align-items: flex-end;
  }

  .float-right .free-text {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 4px;
  }

  .float-right .cta-message {
    background: #c1121f;
    color: #ffffff;
    font-weight: bold;
    padding: 6px 18px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 4px;
    user-select: none;
    pointer-events: none;
  }

  .float-right .limit-text {
    font-size: 16px;
    color: #ffffff;
    font-weight: bold;
  }

  @media (max-width: 768px) {
  .sales-float-content {
    flex-direction: row !important;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 6px;
    padding: 6px 12px !important;
  }

  .float-left,
  .float-right {
    width: auto !important;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
  }

  .float-left .timer-label {
    font-size: 12px;
    line-height: 1.2;
    margin-bottom: 2px;
  }

  .float-left .timer {
    font-size: 14px;
    font-weight: bold;
    color: #f3ff00;
  }

  .float-right .free-text,
  .float-right .limit-text {
    font-size: 10px;
    margin: 0;
    padding: 0;
    line-height: 1.2;
  }

  .float-right .cta-message {
    font-size: 13px;
    padding: 4px 12px;
    margin-left: 8px;
    border-radius: 20px;
    white-space: nowrap;
    pointer-events: none;
  }
}

.cta-message {
  background: #c1121f;
  color: #ffffff;
  font-weight: 600;
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 15px;
  user-select: none;
  pointer-events: none; /* Unclickable */
  animation: subtleBounce 2.5s infinite ease-in-out;
  box-shadow: 0 4px 16px rgba(193, 18, 31, 0.3);
  display: inline-block;
  text-align: center;
  letter-spacing: 0.5px;
  transition: transform 0.3s ease;
}

/* Subtle professional bounce animation */
@keyframes subtleBounce {
  0%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-4px);
  }
  60% {
    transform: translateY(2px);
  }
}

/* Unique Napquina Logo Styling in Float Bar */
.napquina-float-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0) 80%);
  border-radius: 50px;
  animation: logoPulseFloatBar 3s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.25);
}

.napquina-float-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* Animation specific to float bar logo */
@keyframes logoPulseFloatBar {
  0%, 100% {
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
  }
}

/* ✅ Mobile Support */
@media (max-width: 768px) {
  .napquina-float-logo {
    height: 28px;
  }

  .sales-float-content {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }

  .napquina-float-logo-container {
    order: 2; /* Position between float-left and float-right if needed */
  }

  .float-left,
  .float-right {
    order: 1;
  }
}

.finger-down {
  font-size: 22px;
  text-align: center;
  margin-top: 4px;
  animation: bounceFinger 1.5s infinite;
  line-height: 1;
}

/* Bouncing finger animation */
@keyframes bounceFinger {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
}

/* ✅ Mobile adjustments */
@media (max-width: 768px) {
  .finger-down {
    font-size: 18px;
    margin-top: 6px;
  }
}