/* ======================================================================
   GreyPeanut — nova.css
   Design system matching greypeanut.com reference (GreyPeanut_test).
   Fonts: Playfair Display (headings) + Montserrat (body)
   Palette: #8B5E3C brown, #F3D3B1 tan, #F9F5F0 cream, #1A1A1A black
   Buttons: border-radius 0 (square), GSAP-driven scroll animations
   ====================================================================== */

/* ── Tokens ─────────────────────────────────────────────────────────── */
:root {
  --gp-primary:    #8B5E3C;
  --gp-tan:        #F3D3B1;
  --gp-black:      #1A1A1A;
  --gp-cream:      #F9F5F0;
  --gp-cream-dark: #F2EDE4;
  --gp-transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Aliases used by rewritten templates */
  --gp-slate:      #1A1A1A;
  --gp-slate-mid:  #333333;
  --gp-amber:      #8B5E3C;
  --gp-amber-dk:   #6E4A2E;
  --gp-amber-lt:   #F3D3B1;
  --gp-green:      #8B5E3C;
  --gp-green-dk:   #6E4A2E;
  --gp-green-lt:   #F3D3B1;
  --gp-bg:         #F9F5F0;
  --gp-stone:      #6E6E6E;
  --gp-stone-lt:   #F2EDE4;
  --gp-radius:     0px;
}

/* ── Base typography ─────────────────────────────────────────────────── */
body {
  font-family: 'Montserrat', sans-serif !important;
  color: var(--gp-black);
  background-color: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.cat-title, .section-title, .gp-section-title, .serif {
  font-family: 'Playfair Display', serif !important;
}

.italic { font-style: italic; }

/* ── Navbar ──────────────────────────────────────────────────────────── */
.gp-navbar {
  padding: 20px 0;
  transition: var(--gp-transition);
  background: transparent;
}

.gp-navbar.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  padding: 10px 0 !important;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05) !important;
  backdrop-filter: blur(8px);
}

.gp-navbar .nav-link {
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  text-transform: uppercase !important;
  color: var(--gp-black) !important;
  margin: 0 8px !important;
  font-family: 'Montserrat', sans-serif !important;
  letter-spacing: 0.05em;
}

.gp-navbar .nav-link:hover,
.gp-navbar .nav-link.active {
  color: var(--gp-primary) !important;
}

.gp-nav-icon-link {
  color: var(--gp-black);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
}

.gp-nav-icon-link:hover {
  color: var(--gp-primary);
  transform: translateY(-2px);
}

/* Book Visit CTA in navbar */
.gp-book-visit {
  background: var(--gp-primary) !important;
  color: #fff !important;
  border-radius: 0 !important;
  padding: 8px 16px !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  border: none !important;
}
.gp-book-visit:hover {
  background: var(--gp-black) !important;
  color: #fff !important;
}

.cart-badge-premium {
  position: absolute;
  top: -5px;
  right: -10px;
  background-color: #78685A;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(213, 185, 162, 0.4);
}

/* ── Preloader ───────────────────────────────────────────────────────── */
#preloader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100vh;
  background: white;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.running-monkey {
  width: 80px;
  animation: monkeyRun 1s infinite linear;
}

@keyframes monkeyRun {
  0%   { transform: translateX(-20px) rotate(-10deg); }
  50%  { transform: translateX(20px)  rotate(10deg); }
  100% { transform: translateX(-20px) rotate(-10deg); }
}

/* ── Hero section ────────────────────────────────────────────────────── */
.hero-section {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.parallax-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 120%;
  background-size: cover;
  background-position: center;
  z-index: -1;
}

.hero-title {
  font-size: 5rem;
  font-family: 'Playfair Display', serif;
  color: white;
  text-shadow: 2px 2px 20px rgba(0,0,0,0.2);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
}

/* ── News ticker ─────────────────────────────────────────────────────── */
.news-ticker {
  background: var(--gp-tan);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
}

.ticker-wrapper {
  display: inline-block;
  animation: ticker 30s linear infinite;
}

.ticker-wrapper span {
  margin-right: 50px;
  font-weight: 600;
  font-size: 0.8rem;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

/* ── Category section with parallax ──────────────────────────────────── */
.category-section { overflow: hidden; }

.category-grid { height: 800px; }

@media (max-width: 768px) { .category-grid { height: auto; } }

.cat-card {
  position: relative;
  overflow: hidden;
}

.cat-card img {
  width: 100%;
  height: 500px;
  border-radius: 10px;
  object-fit: cover;
  transition: var(--gp-transition);
}

.cat-card:hover img { transform: scale(1.1); }

.cat-title {
  position: absolute;
  bottom: 20px; left: 20px;
  color: white;
  font-size: 2.5rem;
  font-family: 'Playfair Display', serif;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* ── Section layout ──────────────────────────────────────────────────── */
.gp-section { padding: 80px 0; }
.bg-cream { background-color: var(--gp-cream); }

.gp-hr-short {
  width: 60px;
  height: 2px;
  background-color: var(--gp-primary);
  opacity: 1;
  border: none;
  margin: 0;
}

.feat-badge {
  display: inline-block;
  padding: 5px 15px;
  background: var(--gp-tan);
  color: var(--gp-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-radius: 50px;
}

/* ── Buttons ─────────────────────────────────────────────────────────── */

/* Primary brown button (hero CTA) */
.gp-btn-animated,
.btn.gp-btn-animated {
  background: var(--gp-primary);
  color: white !important;
  padding: 15px 40px;
  border-radius: 0 !important;
  border: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Montserrat', sans-serif;
  transition: var(--gp-transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gp-btn-animated:hover,
.btn.gp-btn-animated:hover {
  background: var(--gp-black);
  transform: scale(1.05);
  color: white !important;
}

/* Solid dark → brown-fill on hover */
.gp-btn-solid {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 14px 35px;
  background-color: var(--gp-black);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  border: none;
  z-index: 1;
  border-radius: 0 !important;
  font-family: 'Montserrat', sans-serif;
}

.gp-btn-solid::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 0; height: 100%;
  background-color: var(--gp-primary);
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: -1;
}

.gp-btn-solid:hover {
  color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(139, 94, 60, 0.2);
}

.gp-btn-solid:hover::before { width: 100%; }

/* Explore link with expanding underline */
.gp-btn-explore {
  position: relative;
  color: var(--gp-black);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 0;
  transition: color 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.gp-btn-explore::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 30%;
  height: 2px;
  background-color: var(--gp-tan);
  transition: width 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.gp-btn-explore:hover { color: var(--gp-primary); }
.gp-btn-explore:hover::after { width: 100%; background-color: var(--gp-primary); }

/* Dark modern (featured section) */
.gp-btn-dark-modern,
.btn.gp-btn-dark-modern {
  background: var(--gp-black);
  color: white !important;
  padding: 15px 40px;
  border-radius: 0 !important;
  font-weight: 600;
  border: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--gp-transition);
}

.gp-btn-dark-modern:hover,
.btn.gp-btn-dark-modern:hover {
  background: var(--gp-primary) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(139, 94, 60, 0.2);
  color: white !important;
}

/* Link button */
.gp-btn-link {
  color: var(--gp-black);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid var(--gp-tan);
  transition: var(--gp-transition);
  font-family: 'Montserrat', sans-serif;
}

.gp-btn-link:hover {
  border-color: var(--gp-primary);
  padding-right: 10px;
  color: var(--gp-black);
}

/* Bootstrap primary remap */
.btn-primary {
  background: var(--gp-primary) !important;
  border-color: var(--gp-primary) !important;
  border-radius: 0 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn-primary:hover {
  background: var(--gp-black) !important;
  border-color: var(--gp-black) !important;
}

.btn-outline-primary {
  color: var(--gp-primary) !important;
  border-color: var(--gp-primary) !important;
  border-radius: 0 !important;
}

.btn-outline-primary:hover {
  background: var(--gp-primary) !important;
  color: #fff !important;
}

.btn-dark {
  background: var(--gp-black) !important;
  border-color: var(--gp-black) !important;
  border-radius: 0 !important;
  font-family: 'Montserrat', sans-serif !important;
}

/* ── Form inputs ─────────────────────────────────────────────────────── */
.form-control, .form-select {
  border-radius: 0 !important;
  border-color: rgba(26,26,26,0.2);
  font-family: 'Montserrat', sans-serif;
}

.form-control:focus, .form-select:focus {
  border-color: var(--gp-primary);
  box-shadow: 0 0 0 0.2rem rgba(139,94,60,0.15);
}

/* ── Product card (core hover animation) ─────────────────────────────── */
.gp-product-card {
  position: relative;
  background: #fff;
  padding: 10px;
  transition: var(--gp-transition);
  border: none;
}

.product-img-container {
  position: relative;
  overflow: hidden;
  background-color: var(--gp-cream);
}

.product-img-container img,
.gp-product-img img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gp-primary);
  color: white;
  font-size: 0.7rem;
  padding: 4px 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-family: 'Montserrat', sans-serif;
}

.gp-product-info {
  padding: 20px 10px;
  text-align: center;
  position: relative;
  background: #fff;
  z-index: 2;
  transition: var(--gp-transition);
}

.product-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--gp-black);
  font-family: 'Montserrat', sans-serif;
}

.product-price {
  font-family: 'Montserrat', sans-serif;
  color: var(--gp-primary);
  font-weight: 400;
}

.btn-details-slide {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gp-black);
  text-decoration: none;
  letter-spacing: 1px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
  font-family: 'Montserrat', sans-serif;
  border-bottom: 1px solid var(--gp-tan);
  padding-bottom: 2px;
}

/* THE signature hover effect */
.gp-product-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.gp-product-card:hover .product-img-container img,
.gp-product-card:hover .gp-product-img img {
  transform: scale(0.92);
}

.gp-product-card:hover .btn-details-slide {
  opacity: 1;
  transform: translateY(0);
}

.gp-product-card:hover .gp-product-info {
  transform: translateY(-10px);
}

/* view-all */
.view-all-link {
  color: var(--gp-black);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  opacity: 0.6;
  transition: 0.3s;
  font-family: 'Montserrat', sans-serif;
}

.view-all-link:hover { opacity: 1; color: var(--gp-primary); }

/* ── New Arrivals slider ──────────────────────────────────────────────── */
.arrival-deck-container {
  position: relative;
  height: 600px;
  margin-bottom: 50px;
}

.arrival-slide {
  position: absolute;
  top: 0; left: 0; width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease;
}

.arrival-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.img-reveal-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  height: 550px;
}

.main-arrival-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 1.5s ease;
}

.arrival-slide.active .main-arrival-img { transform: scale(1); }

.variant-float-tag {
  position: absolute;
  bottom: 30px; right: 30px;
  background: white;
  padding: 10px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.arrival-nav-wrapper {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.arrival-nav-item {
  width: 150px;
  cursor: pointer;
  opacity: 0.5;
  transition: 0.3s;
}

.arrival-nav-item.active { opacity: 1; }

.nav-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
}

.progress-bar-bg {
  width: 100%; height: 3px;
  background: #e0e0e0;
  position: relative;
}

.progress-fill {
  position: absolute;
  top: 0; left: 0; height: 100%;
  width: 0%;
  background: var(--gp-primary);
}

.arrival-nav-item.active .progress-fill {
  animation: fillProgress 5s linear forwards;
}

@keyframes fillProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

/* ── Featured editorial section ──────────────────────────────────────── */
.feat-img-wrapper {
  overflow: hidden;
  height: 600px;
  width: 100%;
  position: relative;
}

.feat-img-parallax {
  width: 100%;
  height: 130% !important;
  object-fit: cover;
  will-change: transform;
}

.variant-thumbs-float {
  position: absolute;
  bottom: -20px;
  right: 20px;
  display: flex;
  gap: 10px;
}

.thumb-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid white;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: var(--gp-transition);
}

.thumb-circle:hover { transform: translateY(-5px) scale(1.1); }

.thumb-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── General cards ───────────────────────────────────────────────────── */
.gp-card {
  background: #fff;
  border: 1px solid rgba(26,26,26,0.07);
  border-radius: 0;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}

.gp-card:hover {
  box-shadow: 0 12px 40px rgba(26,26,26,0.10);
  transform: translateY(-4px);
}

/* ── Badges ──────────────────────────────────────────────────────────── */
.gp-badge-amber, .gp-badge-green, .gp-badge-tan {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  background: var(--gp-tan);
  color: var(--gp-primary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Montserrat', sans-serif;
}

.gp-badge-dark {
  display: inline-flex;
  align-items: center;
  padding: 4px 14px;
  background: var(--gp-black);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
}

/* ── Dropdowns ───────────────────────────────────────────────────────── */
.dropdown-item:hover, .dropdown-item:focus {
  background: var(--gp-cream) !important;
  color: var(--gp-primary) !important;
}

/* ── Scroll reveal (data-gp-reveal attr) ─────────────────────────────── */
[data-gp-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-gp-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Auth / form pages ───────────────────────────────────────────────── */
.gp-auth-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gp-cream);
  padding: 80px 0;
}

.gp-auth-card {
  background: #fff;
  padding: 48px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.06);
  max-width: 480px;
  margin: 0 auto;
}

/* ── Footer ──────────────────────────────────────────────────────────── */
.gp-footer, footer.footer, .footer {
  background: var(--gp-cream) !important;
  position: relative;
}

.contact-big {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  color: var(--gp-black);
}

.footer-heading {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 30px;
  color: var(--gp-black);
  font-family: 'Montserrat', sans-serif;
}

.footer-links-list {
  padding: 0;
  list-style: none;
}

.footer-links-list li { margin-bottom: 12px; }

.footer-links-list a {
  text-decoration: none;
  color: #666;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

.footer-links-list a:hover {
  color: var(--gp-black);
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* Social stack — original layout, no box overrides */
.gp-social-stack {
  display: flex;
  flex-direction: column;
}

.gp-social-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #666;
  transition: all 0.4s ease;
  position: relative;
  padding: 8px 0;
}

.social-icon {
  width: 30px;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.social-label {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  margin-left: 10px;
  font-family: 'Montserrat', sans-serif;
}

.gp-social-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 20px;
  height: 1px;
  background: var(--gp-tan);
  transition: width 0.4s ease;
}

.gp-social-link:hover { color: var(--gp-primary); }
.gp-social-link:hover .social-icon { transform: translateX(5px); }
.gp-social-link:hover::after { width: 100%; background: var(--gp-primary); }

/* Payment grid */
.payment-grid {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.payment-item {
  font-size: 1.8rem;
  color: #d1d1d1;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.payment-item:hover {
  color: var(--gp-black);
  transform: translateY(-3px);
}

.bkash-box {
  border: 1.5px solid #d1d1d1;
  border-radius: 4px;
  width: 42px;
  height: 28px;
  font-size: 1rem;
  font-weight: 900;
}

.bkash-box:hover {
  border-color: #D12053;
  color: #D12053 !important;
}

.cod-box {
  border: 1.5px solid #d1d1d1;
  border-radius: 4px;
  padding: 0 8px;
  height: 28px;
  gap: 5px;
}

.cod-box i { font-size: 0.9rem; }

.cod-text {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
}

.cod-box:hover {
  border-color: var(--gp-primary);
  color: var(--gp-primary) !important;
}

/* Watermark */
.footer-huge-text {
  font-size: 15vw;
  text-align: center;
  color: var(--gp-primary);
  opacity: 0.6;
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  user-select: none;
  pointer-events: none;
  font-family: 'Playfair Display', serif;
}

/* Footer credit */
.footer-credit {
  font-size: 0.75rem;
  color: #707070;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  font-family: 'Montserrat', sans-serif;
}

.wisec-link {
  position: relative;
  display: inline-block;
  color: var(--gp-black);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.4s ease;
  margin-left: 4px;
}

.link-line {
  position: absolute;
  bottom: -2px; left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--gp-tan);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.wisec-link:hover { color: var(--gp-primary); }
.wisec-link:hover .link-line { transform: scaleX(1); transform-origin: left; }
