/* =========================
   GLOBAL RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #fff;
  color: #222;
  padding-top: 116px; /* 36px top strip + ~80px header */
}

/* =========================
   TOP PREMIUM MOVING STRIP
========================= */
.top-strip {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 36px;
  background: #000;
  overflow: hidden;
  z-index: 10001;
  display: flex;
  align-items: center;
}

.top-strip-track {
  white-space: nowrap;
  display: inline-block;
  animation: moveText 45s linear infinite;
}

.top-strip-track span {
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.4px;
  padding-left: 100%;
}

.top-strip:hover .top-strip-track {
  animation-play-state: paused;
}

@keyframes moveText {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* =========================
   HEADER (FIXED)
========================= */
.header {
  position: fixed;
  top: 36px;
  left: 0;
  width: 100%;
  background: #fff;
  display: flex;
  justify-content: space-between;
  padding: 15px 30px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  z-index: 10000;
}

.logo {
  font-weight: 600;
  font-size: 22px;
}

.main-nav {
  display: flex;
  gap: 20px;
}

.nav-item {
  position: relative;
}

.nav-item > a {
  text-decoration: none;
  color: #222;
  padding: 8px 10px;
  font-weight: 500;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 10000;
}

.dropdown a {
  display: block;
  padding: 10px 15px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.dropdown a:hover {
  background: #f5f5f5;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.actions input {
  padding: 6px 10px;
}

#cartIcon {
  cursor: pointer;
  position: relative;
  z-index: 10000;
}

/* =========================
   HERO SLIDER
========================= */
.hero-slider {
  position: relative;
  width: 100%;
  height: 52vh;
  overflow: hidden;
  min-height: 420px;
  background: #000;
}

.slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  padding: 30px;
  border-radius: 14px;
  max-width: 420px;
}

.hero-content.hidden {
  opacity: 0;
  visibility: hidden;
}

.hero-content h1 {
  font-size: 42px;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 15px;
}


/* =========================
   BUTTONS
========================= */
.btn {
  padding: 8px 14px;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

.primary {
  background: #000;
  color: #fff;
}

/* =========================
   PRODUCTS
========================= */
.products {
  padding: 40px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 260px));
  gap: 24px;
}

.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  padding: 15px;
  display: flex;
  flex-direction: column;
  transition: transform 180ms cubic-bezier(.2,.9,.2,1), box-shadow 180ms cubic-bezier(.2,.9,.2,1);
  transform-origin: center center;
}

.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.product-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.product-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.price {
  font-weight: 600;
}

.product-card .btn {
  width: 100%;
  margin-top: auto;
}

/* =========================
   ADD TO CART (HOVER QTY)
========================= */
.add-cart-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.add-cart-btn .add-text {
  display: block;
}

.add-cart-btn .qty-box {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  background: #000;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.add-cart-btn.has-qty:hover .qty-box {
  opacity: 1;
  pointer-events: auto;
}

.add-cart-btn.has-qty:hover .add-text {
  opacity: 0;
}

/* =========================
   CART MODAL
========================= */
.cart-modal {
  position: fixed;
  right: 20px;
  top: 80px;
  width: 340px;
  background: #fff;
  padding: 22px;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
  display: none;
}

.cart-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  margin: 18px 0;
  font-weight: 600;
}

/* =========================
   LOGIN OVERLAY
========================= */
.login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 9999;
  display: none;
}

body.login-open {
  overflow: hidden;
}

body.login-open > *:not(.login-overlay) {
  pointer-events: none;
}

/* =========================
   LOGIN PANEL
========================= */
.login-panel {
  position: absolute;
  top: 50%;
  right: -1000px;
  transform: translateY(-50%);
  width: 900px;
  height: 400px;
  background: #fff;
  display: flex;
  overflow: hidden;
  transition: right 0.5s ease;
}

.login-overlay.active .login-panel {
  right: 50%;
  transform: translate(50%, -50%);
}

/* CLOSE */
.login-close {
  position: absolute;
  top: 12px;
  right: 14px;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
}

/* =========================
   LEFT LOGIN (WHITE)
========================= */
.login-left {
  width: 60%;
  padding: 32px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-title {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 24px;
}

/* SPLIT */
.login-split {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* GOOGLE */
.google-login {
  padding: 12px 18px;
  background: #e0673c;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

/* Stack social buttons vertically */
.login-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.login-whatsapp {
  margin-top: 12px;
}

.whatsapp-login {
  padding: 12px 18px;
  background: #25D366;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

/* OR DIVIDER (VERTICAL) */
.login-divider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-divider::before {
  content: "";
  width: 1px;
  height: 140px;
  background: #bbb;
  position: absolute;
}

.login-divider span {
  background: #fff;
  padding: 6px;
  font-size: 12px;
  z-index: 1;
  color: #777;
}

/* FORM */
.login-form {
  flex: 1;
}

.login-field {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #aaa;
  margin-bottom: 18px;
}

.login-field .icon {
  margin-right: 10px;
  font-size: 14px;
  opacity: 0.6;
}

.login-field input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  padding: 8px 0;
}

.keep-line {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin: 14px 0;
}

.signin {
  width: 140px;
  padding: 10px;
  background: #ff4b6e;
  color: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

.login-links {
  display: flex;
  justify-content: space-between;
  margin-top: 16px;
  font-size: 13px;
}

.login-links a {
  text-decoration: none;
  color: #555;
}

/* =========================
   RIGHT VIDEO PANEL
========================= */
.login-video {
  width: 40%;
  height: 100%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-video video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* WHATSAPP PANEL (small modal) */
.whatsapp-panel {
  position: absolute;
  top: 50%;
  right: 50%;
  transform: translate(50%, -50%);
  width: 380px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.login-overlay.active .whatsapp-panel {
  /* keep centered using its own transform */
}

/* =========================
   FOOTER
========================= */
footer {
  background: #111;
  color: #fff;
  padding: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
}






