/* =============================================
   INCENDIO WATCHES — Main Stylesheet
   Mobile-first, brand palette from logo
   ============================================= */

:root {
  --purple-deep:  #2D2059;
  --purple-dark:  #1A1040;
  --rose:         #E07878;
  --rose-light:   #F4ADAD;
  --rose-dark:    #C55B5B;
  --lavender:     #F5F2FF;
  --white:        #FFFFFF;
  --gray-light:   #F8F8F8;
  --gray-mid:     #DDDDDD;
  --gray-text:    #666666;
  --green:        #27AE60;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 20px rgba(45, 32, 89, 0.12);
  --shadow-lg:    0 8px 40px rgba(45, 32, 89, 0.2);
  --transition:   0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); color: var(--purple-dark); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }

.section-title { font-family: var(--font-display); font-size: clamp(1.6rem, 5vw, 2.4rem); color: var(--purple-dark); text-align: center; margin-bottom: 8px; }
.section-subtitle { text-align: center; color: var(--gray-text); font-size: 0.95rem; margin-bottom: 28px; }
.highlight { color: var(--rose); }

/* ── Header ─────────────────────────────── */
#header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--purple-deep);
  padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.header-logo { height: 34px; width: auto; }
.header-logo-text { font-family: var(--font-display); font-size: 1.3rem; color: var(--white); font-weight: 700; display: none; }
.header-nav { display: none; gap: 18px; align-items: center; }
.header-nav a { color: rgba(255,255,255,0.85); font-size: 0.88rem; font-weight: 500; transition: var(--transition); }
.header-nav a:hover { color: var(--rose-light); }

.header-cart-btn {
  display: flex; align-items: center; gap: 5px;
  color: rgba(255,255,255,0.85);
  background: none; border: none; padding: 0;
  font-size: 0.88rem; font-weight: 500;
  transition: var(--transition); cursor: pointer; white-space: nowrap;
  font-family: inherit;
}
.header-cart-btn:hover { color: var(--rose-light); }
.header-cart-badge {
  background: var(--rose); color: var(--white);
  border-radius: 50px; font-size: 0.68rem; font-weight: 700;
  padding: 1px 6px; min-width: 18px; text-align: center; display: none;
}
.header-cart-badge.show { display: inline-block; }

.hamburger { display: flex; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav { display: none; flex-direction: column; background: var(--purple-dark); padding: 10px 20px 18px; gap: 2px; }
.mobile-nav.open { display: flex; }
.mobile-nav a, .mobile-nav-btn {
  color: rgba(255,255,255,0.85); font-size: 0.95rem;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  font-weight: 500; text-align: left; width: 100%;
  background: none; cursor: pointer; font-family: inherit;
  display: flex; align-items: center; gap: 8px;
}

/* ── Mini Hero Banner ───────────────────── */
#hero {
  background: linear-gradient(135deg, var(--purple-dark) 0%, var(--purple-deep) 100%);
  padding: 14px 20px;
  display: flex; flex-direction: row;
  align-items: center; justify-content: center;
  gap: 0;
}
.hero-brand {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  padding-right: 18px;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.hero-logo {
  height: 54px; width: auto;
  filter: drop-shadow(0 3px 10px rgba(224,120,120,0.4));
}
.hero-logo-fallback {
  display: none;
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
  color: var(--white); letter-spacing: 4px;
}
.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; gap: 3px;
  padding-left: 18px;
  text-align: left;
}
.hero-badge {
  display: inline-block;
  background: rgba(224,120,120,0.22);
  border: 1px solid rgba(244,173,173,0.4);
  color: var(--rose-light); font-size: 0.6rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 50px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 3.5vw, 1.6rem);
  color: var(--white); line-height: 1.2; font-weight: 700;
}
.hero-title span { color: var(--rose-light); }
.hero-tagline {
  color: rgba(255,255,255,0.62); font-size: clamp(0.68rem, 2vw, 0.82rem);
  line-height: 1.45;
}

/* ── Section Wrapper ────────────────────── */
.section { padding: 36px 16px; }
.section-lavender { background: var(--lavender); }
.section-white { background: var(--white); }
.container { max-width: 1100px; margin: 0 auto; }

/* ── Tabs (Men / Women) ─────────────────── */
#collections { scroll-margin-top: 62px; }
.collections-top {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 20px; flex-wrap: wrap; gap: 10px;
}
.tabs-header {
  display: flex; border-radius: 50px;
  background: var(--gray-mid); padding: 4px; width: fit-content;
}
.tab-btn {
  padding: 10px 28px; border-radius: 50px;
  font-weight: 600; font-size: 0.9rem; color: var(--gray-text); transition: var(--transition);
}
.tab-btn.active { background: var(--purple-deep); color: var(--white); box-shadow: 0 2px 8px rgba(45,32,89,0.25); }
.tab-panel { display: none; animation: fadeIn 0.3s ease; }
.tab-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* ── Products Grid ──────────────────────── */
.products-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }

/* ── Product Card ───────────────────────── */
.product-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: var(--transition); display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

.product-card-img-wrap {
  position: relative; padding-top: 72%; overflow: hidden; background: var(--lavender);
}
.product-card-img-wrap img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.5s ease;
}
.product-card:hover .product-card-img-wrap img { transform: scale(1.05); }

/* Discount badge — bigger, more prominent */
.product-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--rose); color: var(--white);
  font-size: 0.88rem; font-weight: 800;
  padding: 5px 13px; border-radius: 50px;
  box-shadow: 0 2px 10px rgba(224,120,120,0.55);
  letter-spacing: 0.2px;
}
/* "Save ৳X" chip top-right */
.product-save-chip {
  position: absolute; top: 10px; right: 10px;
  background: rgba(26,16,64,0.85); color: #FFD700;
  font-size: 0.68rem; font-weight: 700;
  padding: 4px 8px; border-radius: 6px; white-space: nowrap;
}

.product-card-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }
.product-name-link { display: block; text-decoration: none; }
.product-name-link:hover .product-name { color: var(--rose); }
.product-name { font-family: var(--font-display); font-size: 1rem; font-weight: 600; margin-bottom: 6px; color: var(--purple-dark); transition: color 0.2s; }
/* Make the image link fill the wrap */
.product-card-img-wrap a { display: block; position: absolute; inset: 0; }

.product-pricing { display: flex; align-items: baseline; gap: 8px; margin-bottom: 3px; flex-wrap: wrap; }
.price-original { text-decoration: line-through; color: var(--gray-text); font-size: 0.8rem; }
.price-discounted { color: var(--rose); font-size: 1.28rem; font-weight: 800; }
.price-savings {
  font-size: 0.75rem; font-weight: 700; color: var(--green);
  background: #E8FBF1; padding: 2px 9px; border-radius: 50px;
  margin-bottom: 10px; display: inline-block;
}

/* Card buttons — 90:10 split */
.card-btn-row { display: flex; gap: 6px; margin-top: auto; }
.btn-order {
  flex: 9; padding: 12px 6px;
  background: var(--purple-deep); color: var(--white);
  border-radius: var(--radius); font-weight: 600; font-size: 0.9rem;
  transition: var(--transition); min-height: 46px; text-align: center;
}
.btn-order:hover { background: var(--rose); }
.btn-cart-add {
  flex: 1; min-width: 42px; padding: 12px 4px;
  background: var(--lavender); color: var(--purple-deep);
  border-radius: var(--radius); font-size: 1.25rem; font-weight: 700;
  transition: var(--transition); min-height: 46px;
  border: 1.5px solid var(--gray-mid);
  display: flex; align-items: center; justify-content: center;
}
.btn-cart-add:hover { background: var(--purple-deep); color: var(--white); border-color: var(--purple-deep); }
.btn-cart-add.in-cart { background: #E8FBF1; color: var(--green); border-color: var(--green); font-size: 1rem; }
.btn-cart-add.in-cart:hover { background: #C8F0DA; }

/* ── Pagination ─────────────────────────── */
.pagination {
  display: flex; justify-content: center; align-items: center;
  gap: 6px; margin-top: 24px; flex-wrap: wrap;
}
.page-btn {
  width: 36px; height: 36px; border-radius: 50%;
  font-size: 0.85rem; font-weight: 600;
  color: var(--purple-dark); background: var(--lavender);
  border: 1.5px solid transparent; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.page-btn:hover { background: var(--purple-deep); color: var(--white); }
.page-btn.active { background: var(--purple-deep); color: var(--white); }
.page-btn.prev-next { width: auto; padding: 0 14px; border-radius: 50px; }
.page-btn:disabled { opacity: 0.3; cursor: not-allowed; }

/* ── Floating Cart Button ───────────────── */
.cart-float {
  position: fixed; bottom: 20px; right: 16px; z-index: 8000;
  transform: translateY(120px); opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
  pointer-events: none;
}
.cart-float.show { transform: translateY(0); opacity: 1; pointer-events: auto; }
.cart-float-btn {
  background: var(--white); color: var(--purple-deep);
  border-radius: 50px; padding: 13px 20px;
  font-weight: 700; font-size: 0.9rem;
  border: 2px solid var(--rose);
  box-shadow: 0 6px 28px rgba(224,120,120,0.45);
  display: flex; align-items: center; gap: 8px;
  transition: var(--transition); white-space: nowrap;
  cursor: pointer; font-family: inherit;
}
.cart-float-btn:hover { background: var(--rose); color: var(--white); border-color: var(--rose); transform: translateY(-2px); }
.cart-float-count {
  background: var(--rose); color: var(--white);
  border-radius: 50%; width: 22px; height: 22px;
  font-size: 0.72rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ── Cart Modal ─────────────────────────── */
#cart-modal .modal-sheet { display: flex; flex-direction: column; }
.cart-items-list { flex: 1; overflow-y: auto; max-height: 40vh; padding: 2px 0; }
.cart-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 0; border-bottom: 1px solid var(--gray-mid);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: var(--lavender); flex-shrink: 0; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-weight: 600; font-size: 0.85rem; color: var(--purple-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-price { color: var(--rose); font-weight: 700; font-size: 0.82rem; margin-top: 2px; }
.cart-item-controls { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.qty-btn {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--lavender); color: var(--purple-deep);
  font-size: 1.1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition); border: none; cursor: pointer; font-family: inherit;
}
.qty-btn:hover { background: var(--purple-deep); color: var(--white); }
.qty-display { font-weight: 700; font-size: 0.95rem; color: var(--purple-dark); min-width: 20px; text-align: center; }
.cart-item-remove {
  color: var(--gray-text); font-size: 0.95rem; padding: 4px; border-radius: 50%;
  transition: var(--transition); cursor: pointer; background: none; border: none; line-height: 1;
}
.cart-item-remove:hover { color: var(--rose-dark); background: #FFF0F0; }

.cart-total-bar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-top: 2px solid var(--lavender);
  border-bottom: 1px solid var(--gray-mid); margin-bottom: 14px; font-weight: 700;
}
.cart-total-label { color: var(--gray-text); font-size: 0.86rem; }
.cart-total-amount { color: var(--rose); font-size: 1.2rem; }

/* ── Order Modal (single product) ───────── */
.modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(26,16,64,0.7); z-index: 9000;
  backdrop-filter: blur(4px); align-items: flex-end;
}
.modal-overlay.open { display: flex; }
.modal-sheet {
  background: var(--white); border-radius: 24px 24px 0 0;
  padding: 22px 20px 34px; width: 100%; max-width: 480px; margin: 0 auto;
  animation: slideUp 0.4s ease; max-height: 92vh; overflow-y: auto; position: relative;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.modal-handle { width: 40px; height: 4px; background: var(--gray-mid); border-radius: 2px; margin: 0 auto 16px; }
.modal-title { font-family: var(--font-display); font-size: 1.2rem; color: var(--purple-dark); margin-bottom: 4px; }
.modal-product-name { font-size: 0.83rem; color: var(--rose); font-weight: 600; margin-bottom: 14px; }
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--lavender); color: var(--purple-dark);
  font-size: 1rem; display: flex; align-items: center; justify-content: center; transition: var(--transition);
}
.modal-close:hover { background: var(--rose); color: var(--white); }

.form-group { margin-bottom: 13px; }
.form-group label { display: block; font-size: 0.79rem; font-weight: 600; color: var(--purple-dark); margin-bottom: 5px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px; border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius); font-size: 0.92rem; font-family: var(--font-body);
  color: var(--purple-dark); background: var(--white); transition: var(--transition); min-height: 44px;
}
.form-group input:focus, .form-group textarea:focus {
  outline: none; border-color: var(--purple-deep); box-shadow: 0 0 0 3px rgba(45,32,89,0.1);
}
.form-group input[readonly] { background: var(--lavender); color: var(--rose); font-weight: 600; }

.form-submit {
  width: 100%; padding: 13px; background: var(--purple-deep); color: var(--white);
  border-radius: var(--radius); font-weight: 700; font-size: 0.97rem;
  transition: var(--transition); margin-top: 6px; min-height: 48px;
}
.form-submit:hover { background: var(--rose); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Success Screen */
.success-screen { display: none; flex-direction: column; align-items: center; text-align: center; padding: 14px 0; gap: 10px; }
.success-screen.show { display: flex; }
.success-icon { width: 66px; height: 66px; border-radius: 50%; background: #E8FBF1; color: var(--green); font-size: 1.8rem; display: flex; align-items: center; justify-content: center; }
.success-title { font-family: var(--font-display); font-size: 1.2rem; color: var(--purple-dark); font-weight: 700; }
.success-subtitle { font-size: 0.86rem; color: var(--gray-text); line-height: 1.5; max-width: 280px; }
.success-order-num { font-size: 0.9rem; font-weight: 700; color: var(--purple-deep); background: var(--lavender); padding: 4px 14px; border-radius: 50px; }
.success-actions { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 6px; }
.btn-whatsapp { background: #25D366; color: var(--white); border-radius: var(--radius); padding: 12px; font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; gap: 8px; transition: var(--transition); min-height: 44px; }
.btn-whatsapp:hover { background: #1EBE5A; }
.btn-messenger { background: #0084FF; color: var(--white); border-radius: var(--radius); padding: 12px; font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; justify-content: center; gap: 8px; transition: var(--transition); min-height: 44px; }
.btn-messenger:hover { background: #006FCC; }
.btn-close-success { background: var(--lavender); color: var(--purple-deep); border-radius: var(--radius); padding: 10px; font-weight: 600; font-size: 0.88rem; min-height: 42px; transition: var(--transition); }
.btn-close-success:hover { background: var(--gray-mid); }

/* ── Benefits Strip ─────────────────────── */
#benefits { background: var(--purple-deep); padding: 36px 16px; }
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.benefit-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; color: var(--white); }
.benefit-icon { width: 50px; height: 50px; background: rgba(255,255,255,0.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; }
.benefit-title { font-weight: 700; font-size: 0.88rem; }
.benefit-desc { font-size: 0.74rem; color: rgba(255,255,255,0.6); line-height: 1.45; }

/* ── Reviews ────────────────────────────── */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.review-card { background: var(--white); border-radius: var(--radius-lg); padding: 18px 16px; box-shadow: var(--shadow); border-left: 4px solid var(--rose); }
.review-stars { color: #F5A623; font-size: 0.95rem; margin-bottom: 8px; letter-spacing: 2px; }
.review-text { font-size: 0.86rem; line-height: 1.6; color: var(--gray-text); margin-bottom: 12px; font-style: italic; }
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--purple-deep); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.8rem; flex-shrink: 0; }
.review-name { font-weight: 700; font-size: 0.82rem; color: var(--purple-dark); }
.review-location { font-size: 0.72rem; color: var(--gray-text); }

/* ── About ──────────────────────────────── */
#about { background: var(--lavender); text-align: center; padding: 48px 24px; }
.about-inner { max-width: 600px; margin: 0 auto; }
.about-logo { height: 58px; margin: 0 auto 14px; }
.about-text { color: var(--gray-text); font-size: 0.92rem; line-height: 1.8; margin-bottom: 24px; }
.about-stats { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--rose); line-height: 1; }
.stat-label { font-size: 0.72rem; color: var(--gray-text); margin-top: 4px; }

/* ── Footer ─────────────────────────────── */
#footer { background: var(--purple-dark); color: rgba(255,255,255,0.75); padding: 36px 16px 20px; }
.footer-inner { max-width: 1000px; margin: 0 auto; }
.footer-top { display: flex; flex-direction: column; gap: 24px; margin-bottom: 28px; }
.footer-brand .footer-logo { height: 40px; margin-bottom: 10px; }
.footer-brand p { font-size: 0.8rem; line-height: 1.6; max-width: 280px; }
.footer-col h4 { color: var(--white); font-size: 0.86rem; font-weight: 700; margin-bottom: 10px; letter-spacing: 0.5px; }
.footer-col p, .footer-col a { font-size: 0.78rem; line-height: 2; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col a:hover { color: var(--rose-light); }
.footer-social { display: flex; gap: 10px; margin-top: 12px; }
.social-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: var(--white); transition: var(--transition); font-size: 0.9rem; }
.social-btn:hover { background: var(--rose); transform: translateY(-2px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 14px; text-align: center; font-size: 0.74rem; color: rgba(255,255,255,0.35); }

/* ── Skeleton ───────────────────────────── */
.skeleton { background: linear-gradient(90deg, var(--lavender) 25%, #EDE8FF 50%, var(--lavender) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: var(--radius); }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.skeleton-card { border-radius: var(--radius-lg); overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.skeleton-img { height: 200px; }
.skeleton-text { height: 13px; margin: 10px 14px 5px; }
.skeleton-text.short { width: 60%; height: 11px; }
.skeleton-btn { height: 42px; margin: 8px 14px 14px; }

/* ── Toast ──────────────────────────────── */
.toast { position: fixed; bottom: 84px; left: 50%; transform: translateX(-50%) translateY(100px); background: var(--purple-dark); color: var(--white); padding: 10px 22px; border-radius: 50px; font-size: 0.88rem; font-weight: 600; z-index: 9999; transition: transform 0.4s ease; white-space: nowrap; box-shadow: var(--shadow-lg); }
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── Responsive: Tablet 600px+ ──────────── */
@media (min-width: 600px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid  { grid-template-columns: repeat(2, 1fr); }
  .benefits-grid { grid-template-columns: repeat(4, 1fr); }
  .modal-overlay { align-items: center; }
  .modal-sheet   { border-radius: 24px; margin: 20px; max-height: 88vh; }
  .header-nav { display: flex; }
  .hamburger  { display: none; }
  #hero { padding: 16px 48px; }
  .hero-logo { height: 68px; }
  .hero-brand { padding-right: 28px; }
  .hero-text { padding-left: 28px; gap: 5px; }
  .cart-items-list { max-height: 50vh; }
}

/* ── Responsive: Desktop 900px+ ─────────── */
@media (min-width: 900px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid  { grid-template-columns: repeat(3, 1fr); }
  .footer-top    { flex-direction: row; justify-content: space-between; }
  .section       { padding: 52px 40px; }
}
