/*Styles for Product Page Button*/
:root{
  --sale-red:#e63946;
  --sale-red-end:#bc2b36;
  --save-green:#1f9d55;
  --save-green-end:#12824a;
  --ink:#0f172a;
  --muted:#4b5563;
}

.price-line{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap;margin:0}
.price-mrp del{opacity:.7}
.off-badge{
  background: linear-gradient(135deg,var(--sale-red),var(--sale-red-end));
  color:#fff;font-weight:700;
  padding:.25rem .6rem;border-radius:999px;font-size:1rem;
  box-shadow:0 6px 16px rgba(230,57,70,.25);
}

.you-save{
  display:inline-flex;align-items:center;gap:.45rem;
  margin-top:.35rem;font-size:1.5rem;font-weight:600;color:#0c5132;
}

.you-save-badge{
  display:inline-flex;align-items:center;gap:.45rem;
  background:linear-gradient(135deg,var(--save-green),var(--save-green-end));
  color:#fff;padding:.45rem .65rem;border-radius:12px;
  box-shadow:0 8px 20px rgba(18,130,74,.25);
  position:relative; isolation:isolate;
}

/* subtle pulse halo for attention (respects reduced motion) */
.you-save-badge::after{
  content:""; position:absolute; inset:-4px; border-radius:14px;
  box-shadow:0 0 0 0 rgba(18,130,74,.35);
  animation:savePulse 1.8s ease-out infinite;
  z-index:-1;
}
@keyframes savePulse{
  0%{box-shadow:0 0 0 0 rgba(18,130,74,.35)}
  70%{box-shadow:0 0 0 12px rgba(18,130,74,0)}
  100%{box-shadow:0 0 0 0 rgba(18,130,74,0)}
}
@media (prefers-reduced-motion: reduce){
  .you-save-badge::after{animation:none}
}
.you-save-badge .icon{
  display:inline-flex;width:22px;height:22px;border-radius:999px;
  background:#fff1;justify-content:center;align-items:center;
}

/*End styles for product page buttons*/

/* Transparent overlay that fills entire screen */
.promo-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: transparent; /* Fully transparent */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Modal box: centered container */
.promo-modal {
  position: relative;
  width: 100%;
  max-width: 500px;
  max-height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.2); /* Optional: make modal transparent too */
  border-radius: 2px;
  padding: 0;
}

/* Wrapper ensures aspect ratio containment */
.promo-img-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Image fits within modal */
.promo-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* Close button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  background: #fff;
  color: #000;
  font-size: 20px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
  z-index: 1;
}

/* On small devices scale modal */
@media (max-width: 540px) {
  .promo-modal {
    max-width: 90vw;
    max-height: 90vw;
  }
}

/* Base styles — Mobile First (<576px) */
.featured-collections-item small {
  display: block;
  font-size: 14px;
  color: #fff;
  text-align: center;
  margin-bottom: 10px;
}


.ws-works-item img,
#ws-products-carousel .item img {
  width: 100%;
  max-width: 250px;
  height: 250px;
  object-fit: contain;
  object-position: center;
  display: block;
  margin: 0 auto;
  background: #fff;
}

#ws-products-carousel .item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 250px;
  overflow: hidden;
  text-align: center;
}

/* Small devices ONLY (≥576px and <768px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  #ws-products-carousel .item {
    height: 300px;
  }

  #ws-products-carousel .item img {
    max-width: 300px;
    height: 300px;
  }

  .featured-collections-item h3 {
    font-size: 16px;
  }

  .featured-collections-item small {
    font-size: 13px;
  }
}

@media (max-width: 575.98px) {
  .ws-parallax-header .ws-parallax-holder h1,
  .ws-simple-header-caption h1 {
    font-size: 24px;
    line-height: 1.3;
    word-break: break-word;
    text-align: center;
  }
}

/* Medium devices ONLY (≥768px and <992px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .ws-works-item img {
    max-width: 250px;
    height: 250px;
  }

  #ws-products-carousel .item {
    height: 350px;
  }

  #ws-products-carousel .item img {
    max-width: 350px;
    height: 350px;
  }

  .tp-caption.ws-hero-title {
    max-width: none !important;
    width: auto !important;
  }

  .tp-caption.ws-hero-title h1 {
    white-space: normal !important;
    width: 100% !important;
    max-width: 100% !important;
    font-size: 20px !important;
    line-height: 1.4 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    display: block !important;
  }
}

/* Large devices ONLY (≥992px and <1200px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .ws-works-item img {
    max-width: 300px;
    height: 300px;
  }

  #ws-products-carousel .item {
    height: 400px;
  }

  #ws-products-carousel .item img {
    max-width: 400px;
    height: 400px;
  }
}

/* Extra large devices ONLY (≥1200px and <1600px) */
@media (min-width: 1200px) and (max-width: 1599.98px) {
  .ws-works-item img {
    max-width: 300px;
    height: 300px;
  }

  #ws-products-carousel .item {
    height: 450px;
  }

  #ws-products-carousel .item img {
    max-width: 450px;
    height: 450px;
  }
}

/* Ultra-wide screens ONLY (≥1600px) */
@media (min-width: 1600px) {
  .ws-works-item img {
    max-width: 400px;
    height: 400px;
  }

  #ws-products-carousel .item {
    height: 500px;
  }

  #ws-products-carousel .item img {
    max-width: 500px;
    height: 500px;
  }
}


/* Menu link styling with border + glow */
.ws-navbar .nav > li > a {
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.6);   /* subtle border */
  border-radius: 6px;
/*  text-shadow: 0 0 6px rgba(0, 0, 0, 0.8),     
               0 0 8px rgba(255, 255, 255, 0.6);  light glow */
  transition: all 0.3s ease;
}

/* Hover / focus effect */
.ws-navbar .nav > li > a:hover,
.ws-navbar .nav > li > a:focus {
  color: #fff;
  border-color: #fff;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.8); /* strong glow */
  text-decoration: none;
}

 .ws-navbar .nav > li > a {
  color: #fff;
  font-weight: 600;
  letter-spacing: .02em;
  padding: 10px 16px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.5);  /* semi-transparent background */
  border: 1px solid rgba(255, 255, 255, 0.4);
 /* text-shadow: 0 0 6px rgba(0,0,0,0.8);*/
  transition: all 0.3s ease;
}

/* Hover effect */
.ws-navbar .nav > li > a:hover,
.ws-navbar .nav > li > a:focus {
  background: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

/*Cart Plus minus Buttons*/
.product-quantity {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.product-quantity a {
  display: inline-block;
  width: 30px;
  height: 30px;
  line-height: 28px;
  text-align: center;
  background: #f8f8f8;
  color: #333;
  font-weight: bold;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.product-quantity input {
  width: 40px;
  text-align: center;
  border: none;
  outline: none;
}



/* Default header background for mobile devices */
@media (max-width: 767px) {
  .ws-header-static,
  .ws-header-transparent,
  .navbar.ws-navbar {
    background-color: gray;   /* choose your brand color */
    border-color: #222 !important;
  }

  .navbar.ws-navbar .navbar-nav > li > a {
    color: #fff !important;   /* make links visible */
  }

  .navbar.ws-navbar .navbar-toggle .icon-bar {
    background-color: #fff !important;
  }
}

