
/* Hind Siliguri - Local Self-Hosted */
@font-face {
  font-family: 'Hind Siliguri';
  src: url('../fonts/HindSiliguri-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Hind Siliguri';
  src: url('../fonts/HindSiliguri-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Hind Siliguri';
  src: url('../fonts/HindSiliguri-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Hind Siliguri';
  src: url('../fonts/HindSiliguri-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'Hind Siliguri';
  src: url('../fonts/HindSiliguri-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

* { font-family: 'Hind Siliguri', sans-serif; }
.hero-bg { background: linear-gradient(135deg, #fff5f5 0%, #fff 60%, #fef2f2 100%); }
.badge-pulse { animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.7} }
.card-hover { transition: transform .25s, box-shadow .25s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(200,16,46,.14); }
.img-hover { transition: transform .4s; overflow: hidden; border-radius: 12px; }
.img-hover img { transition: transform .4s; }
.img-hover:hover img { transform: scale(1.07); }
.section-line { width: 60px; height: 4px; background: var(--primary); border-radius: 2px; margin: 10px auto 40px; }
.dark-section { background: #0f172a; }
.testimonial-card { background: #fff; border-radius: 16px; box-shadow: 0 2px 20px rgba(0,0,0,.07); }
.form-input { border: 1.5px solid #e2e8f0; border-radius: 8px; padding: 12px 16px; width: 100%; font-size: 15px; outline: none; transition: border-color .2s; background: #fff; }
.form-input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb),.08); }
.gallery-img { object-fit: cover; width: 100%; height: 180px; border-radius: 12px; transition: transform .4s; }
.gallery-img:hover { transform: scale(1.05); }
.hero-img-wrap { position: relative; }
.guarantee-badge {
  position: absolute; bottom: 20px; left: -16px;
  background: #fff; border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.15);
  padding: 10px 18px; display: flex; align-items: center; gap: 10px;
}
.float-badge { animation: float 3s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .6s; }
.fade-in.visible { opacity: 1; transform: none; }

/* ===== PRODUCT CARD ===== */
.product-card {
  background: #fff;
  border: 2px solid #f1f5f9;
  border-radius: 20px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  overflow: hidden;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(var(--primary-rgb),.13); border-color: #fca5a5; }
.product-card.in-cart { border-color: var(--primary); }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-img { transform: scale(1.06); }
.badge-tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.qty-btn {
  width: 34px; height: 34px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 700; cursor: pointer;
  border: none; transition: background .15s, transform .1s;
  user-select: none;
}
.qty-btn:active { transform: scale(.92); }
.qty-btn.minus { background: rgba(var(--primary-rgb), .1); color: var(--primary); }
.qty-btn.plus { background: var(--primary); color: #fff; }
.qty-btn.plus:hover { background: var(--hover); }
.qty-display { min-width: 36px; text-align: center; font-size: 18px; font-weight: 700; color: #0f172a; }
.off-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #22c55e;
  color: #fff;
  padding: 4px 10px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 13px;
  z-index: 10;
  box-shadow: 0 8px 16px rgba(34, 197, 94, 0.3);
  letter-spacing: 0.5px;
  animation: badge-pop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes badge-pop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

/* ===== CART BAR ===== */
.cart-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 -4px 30px rgba(0,0,0,.12);
  padding: 14px 20px;
  z-index: 100;
  transform: translateY(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.cart-bar.show { transform: translateY(0); }

/* ===== KG SLIDER ===== */
.kg-slider { -webkit-appearance: none; appearance: none; height: 6px; border-radius: 3px; outline: none; cursor: pointer; }
.kg-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); cursor: pointer; box-shadow: 0 2px 8px rgba(var(--primary-rgb),.4); }
.kg-slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--primary); cursor: pointer; border: none; }

/* ===== ORDER SUMMARY ===== */
.order-summary-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
.order-summary-row:last-child { border-bottom: none; }

/* ===== STEPPER ===== */
.step-node { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; transition: all .3s; }
.step-node.active { background: var(--primary); color: #fff; box-shadow: 0 0 0 4px rgba(var(--primary-rgb),.15); }
.step-node.inactive { background: #e2e8f0; color: #64748b; }
.step-node.completed { background: #22c55e; color: #fff; }
.step-line { flex: 1; height: 2px; background: #e2e8f0; transition: background .3s; }
.step-line.active { background: var(--primary); }

.payment-opt { 
  border: 2px solid #f1f5f9; border-radius: 12px; padding: 10px 14px; cursor: pointer; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); display: flex; align-items: center; gap: 12px;
  background: #fff;
}
.payment-opt:hover:not(.disabled) { border-color: rgba(var(--primary-rgb), .3); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.payment-opt.selected { border-color: var(--primary); background: rgba(var(--primary-rgb), .02); box-shadow: 0 8px 20px rgba(var(--primary-rgb),0.08); }
.payment-opt.disabled { opacity: 0.6; cursor: not-allowed; background: #f8fafc; border-color: #e2e8f0; }

/* ===== ORDER CARD ===== */
.order-card { 
    background: var(--primary); 
    border-radius: 24px; 
    box-shadow: 0 10px 40px rgba(var(--primary-rgb), .25); 
    position: relative;
    overflow: hidden;
}
.order-card::before {
    content: ""; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px;
    background: rgba(255,255,255,0.1); border-radius: 50%; z-index: 0;
}
.order-card * { position: relative; z-index: 1; }

/* ===== TESTIMONIAL REFINEMENT ===== */
.testimonial-card { 
    background: #fff; 
    border-radius: 24px !important; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); 
    transition: transform 0.3s;
}
.testimonial-card:hover { transform: translateY(-5px); }

/* ===== SWIPER CUSTOM ===== */
.swiper-pagination-bullet-active { background: var(--primary) !important; }
.swiper { padding-bottom: 50px !important; }

/* ===== LIGHTBOX ===== */
#lightbox {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.9); z-index: 9999;
  display: none; align-items: center; justify-content: center;
  backdrop-filter: blur(5px); cursor: zoom-out;
}
#lightbox img { max-width: 90%; max-height: 90%; border-radius: 8px; box-shadow: 0 0 50px rgba(0,0,0,0.5); cursor: default; }
.gallery-img { cursor: zoom-in; }

/* ===== CUSTOM MODAL ===== */
#custom-modal {
  position: fixed; inset: 0; background: rgba(15,23,42,0.6); backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center; z-index: 99999;
  opacity: 0; transition: opacity 0.3s;
}
#custom-modal.active { display: flex; opacity: 1; }
#custom-modal .modal-box {
  background: #fff; padding: 32px; border-radius: 24px; width: 90%; max-width: 400px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); text-align: center;
}
#custom-modal.active .modal-box { transform: scale(1); }
.modal-icon { width: 60px; height: 60px; background: #fff1f2; color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.modal-msg { font-size: 17px; font-weight: 600; color: #1e293b; line-height: 1.6; margin-bottom: 28px; }
.modal-btn { background: #0f172a; color: #fff; padding: 14px 40px; border-radius: 14px; font-weight: 700; cursor: pointer; border: none; transition: all 0.2s; width: 100%; font-size: 16px; }
.modal-btn:hover { background: #1e293b; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
