/* Timeline Shop - Custom Luxury & High-Converting Mobile & SEO Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800&family=Hind+Siliguri:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-green: #059669;
  --primary-green-dark: #047857;
  --dark-bg: #090d16;
  --card-bg: #111827;
  --card-border: #1f293d;
  --accent-cyan: #06b6d4;
  --font-bangla: 'Hind Siliguri', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Cinzel', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  -webkit-text-size-adjust: 100%;
  touch-action: manipulation;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--dark-bg);
  color: #e2e8f0;
  overflow-x: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Fast tap response & touch target standards */
button, a, input, select, textarea, label {
  touch-action: manipulation;
}

.bangla-text {
  font-family: var(--font-bangla);
}

.heading-font {
  font-family: var(--font-heading);
}

/* Glassmorphism */
.glass-card {
  background: rgba(17, 24, 39, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
@media (hover: hover) {
  .glass-card-hover:hover {
    transform: translateY(-4px);
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 12px 30px -10px rgba(16, 185, 129, 0.15);
  }
}

/* Glowing text and badges */
.gold-glow {
  text-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.cyan-glow {
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.box-gold-glow {
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.25);
}

/* Radiant Gold Button with pulse */
.btn-gold-pulse {
  background: linear-gradient(135deg, #059669 0%, #047857 100%);
  color: #fff;
  font-weight: 700;
  position: relative;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
  transition: all 0.3s ease;
  animation: pulse-ring 2.2s infinite;
}

.btn-gold-pulse:hover, .btn-gold-pulse:active {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.7);
  transform: scale(1.015);
}

@keyframes pulse-ring {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* Marquee Announcement Bar */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Live Sales Notification */
#sales-popup {
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform: translateX(-150%);
}
#sales-popup.show {
  transform: translateX(0);
}

/* Variant card selected state */
.variant-card.selected {
  border-color: #059669;
  background: rgba(16, 185, 129, 0.12);
  box-shadow: 0 0 16px rgba(16, 185, 129, 0.25);
}

/* Thumbnail selected */
.thumb-item.active {
  border-color: #059669;
  transform: scale(1.05);
}

/* Mobile Drawer */
#mobile-drawer {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(100%);
}
#mobile-drawer.open {
  transform: translateX(0);
}

/* Sticky Mobile CTA Bar with safe area padding */
.sticky-mobile-cta {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(9, 13, 22, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
}

/* Image zoom & aspect ratio support for CLS prevention */
.img-zoom-container {
  overflow: hidden;
}
.img-zoom-container img {
  transition: transform 0.5s ease;
}
.img-zoom-container:hover img {
  transform: scale(1.06);
}

/* Shimmer Highlight text */
.text-shimmer {
  background: linear-gradient(90deg, #ffffff 0%, #059669 50%, #ffffff 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: shine 4s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #090d16;
}
::-webkit-scrollbar-thumb {
  background: #1f293d;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #059669;
}

/* Inoven Animated Special Offer Banner */
.dd-offer-wrap {
  --brand: #065f46;
  --brand-dark: #064e3b;
  display: flex;
  justify-content: center;
  padding: 6px;
  background: #ecfdf5;
  border-radius: 28px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  transition: transform 0.2s ease;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
}
.dd-offer-wrap:hover {
  transform: scale(1.01);
}
.dd-offer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  padding: 14px 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand), #059669);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 0 0 0 rgba(6, 95, 70, .6);
  animation: ddPulse 2s infinite;
  text-align: left;
}
/* shine sweep */
.dd-offer::before {
  content: "";
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .45), transparent);
  transform: skewX(-25deg);
  animation: ddShine 3s infinite;
}
/* dashed inner border */
.dd-offer::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 2px dashed rgba(255, 255, 255, .4);
  border-radius: 17px;
  pointer-events: none;
}
.dd-icon {
  flex: 0 0 auto;
  width: 52px; height: 52px;
  background: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  animation: ddBounce 1.4s ease-in-out infinite;
  position: relative; z-index: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.dd-icon svg {
  width: 28px; height: 28px;
  fill: var(--brand);
}
.dd-text {
  position: relative; z-index: 1;
  line-height: 1.25;
  flex: 1 1 auto;
}
.dd-text small {
  display: block;
  font-size: 13px;
  letter-spacing: .5px;
  opacity: .95;
  font-weight: 600;
  color: #a7f3d0;
}
.dd-text strong {
  display: block;
  font-size: 21px;
  font-weight: 800;
  color: #fff;
}
.dd-text strong em {
  font-style: normal;
  background: #fff;
  color: var(--brand);
  padding: 1px 10px;
  border-radius: 8px;
  margin: 0 4px;
  display: inline-block;
  animation: ddBlink 1.2s infinite;
  font-weight: 900;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.dd-badge {
  position: relative; z-index: 1;
  flex: 0 0 auto;
  background: #a7f3d0;
  color: #000;
  font-weight: 800;
  font-size: 14px;
  padding: 7px 16px;
  border-radius: 50px;
  animation: ddWiggle 2.5s infinite;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  white-space: nowrap;
}
@keyframes ddPulse {
  0% { box-shadow: 0 0 0 0 rgba(6, 95, 70, .55); }
  70% { box-shadow: 0 0 0 18px rgba(6, 95, 70, 0); }
  100% { box-shadow: 0 0 0 0 rgba(6, 95, 70, 0); }
}
@keyframes ddShine {
  0% { left: -75%; }
  60%, 100% { left: 130%; }
}
@keyframes ddBounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}
@keyframes ddBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .85; transform: scale(1.05); }
}
@keyframes ddWiggle {
  0%, 88%, 100% { transform: rotate(0); }
  90% { transform: rotate(-6deg); }
  94% { transform: rotate(6deg); }
  98% { transform: rotate(-3deg); }
}
@media (max-width: 640px) {
  .dd-offer-wrap {
    border-radius: 20px;
    padding: 4px;
  }
  .dd-offer {
    padding: 10px 14px;
    gap: 8px;
    border-radius: 16px;
  }
  .dd-offer::after {
    inset: 4px;
    border-radius: 12px;
  }
  .dd-icon {
    width: 38px; height: 38px;
  }
  .dd-icon svg {
    width: 20px; height: 20px;
  }
  .dd-text small {
    font-size: 11px;
  }
  .dd-text strong {
    font-size: 14px;
  }
  .dd-text strong em {
    padding: 0 5px;
    font-size: 13px;
  }
  .dd-badge {
    font-size: 11px;
    padding: 5px 10px;
  }
}

/* Inoven Exact Price Pill */
.price-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 1.5px solid #059669;
  background: rgba(17, 24, 39, 0.9);
  border-radius: 500px;
  padding: 10px 22px;
  font-family: 'Hind Siliguri', 'Segoe UI', sans-serif;
  max-width: 420px;
  margin: 12px auto;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.12);
}
.price-old {
  font-size: 18px;
  color: #94a3b8;
  text-decoration: line-through;
  text-decoration-color: #94a3b8;
  font-weight: 600;
}
.price-new {
  background: #059669;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  padding: 8px 20px;
  border-radius: 6px;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(16, 185, 129, 0.3);
}
.price-save {
  color: #059669;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

/* Inoven Gold Rotating Border Button */
@property --gold-angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}
.specialbtn {
  --b-width: 2.5px;
  --b-radius: 500px;
  --gold: #34d399;
  position: relative;
  padding: 3px;
  border-radius: var(--b-radius);
  z-index: 1;
  display: inline-block;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.specialbtn:hover {
  transform: scale(1.03);
}
.specialbtn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--b-radius);
  padding: var(--b-width);
  background: conic-gradient(
    from var(--gold-angle, 0deg),
    transparent 65%,
    var(--gold) 85%,
    #ecfdf5 95%,
    var(--gold) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: specialbtn-spin 3s linear infinite;
  pointer-events: none;
}
@keyframes specialbtn-spin {
  to { --gold-angle: 360deg; }
}
.specialbtn-inner-btn {
  background-color: #065f46;
  font-family: "Hind Siliguri", sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: #FFFFFF;
  border-radius: 500px;
  padding: 13px 55px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(6, 95, 70, 0.35);
  transition: all 0.2s ease;
  white-space: nowrap;
}
.specialbtn-inner-btn:hover {
  background-color: #064e3b;
}
@media (max-width: 640px) {
  .price-pill {
    padding: 8px 16px;
    gap: 10px;
  }
  .price-old {
    font-size: 15px;
  }
  .price-new {
    font-size: 16px;
    padding: 6px 14px;
  }
  .price-save {
    font-size: 13px;
  }
  .specialbtn-inner-btn {
    font-size: 18px;
    padding: 12px 40px;
  }
}
