/* ============================================================
   SAJOSH.COM — Main CSS
   All pages load this. Change variables here to retheme site.
   ============================================================ */

/* ── Google Font ── */
@import url('https://fonts.googleapis.com/css2?family=Hind+Siliguri:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables ── */
:root {
  --primary: #841316;
  --primary-dark: #b81920;
  --primary-light: #ff4d53;
  --secondary: #1a1a2e;
  --accent: #f59e0b;
  --success: #10b981;
  --text-main: #1a1a2e;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --bg-page: #f8f9fa;
  --bg-card: #ffffff;
  --bg-light: #f3f4f6;
  --border: #e5e7eb;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, .10);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, .14);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: all .25s cubic-bezier(.4, 0, .2, 1);
  --font: 'Hind Siliguri', sans-serif;
  --navbar-h: 68px;
}

/* ── Reset ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  cursor: pointer;
  font-family: var(--font);
}

input,
select,
textarea {
  font-family: var(--font);
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 3px;
}

/* ── Utility ── */
.section-padding {
  padding: 60px 0;
}

.section-padding-sm {
  padding: 40px 0;
}

.bg-light-custom {
  background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
}

/* ── Section Header ── */
.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-label {
  display: inline-block;
  background: rgba(232, 35, 42, .08);
  color: var(--primary);
  border: 1px solid rgba(232, 35, 42, .18);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .08em;
  padding: 5px 16px;
  border-radius: 50px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

.section-title span {
  color: var(--primary);
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.section-divider::before,
.section-divider::after {
  content: '';
  width: 50px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary));
}

.section-divider::after {
  transform: rotate(180deg);
}

.section-divider-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 1.8s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1
  }

  50% {
    transform: scale(1.4);
    opacity: .6
  }
}

/* ── Navbar ── */
#mainNav {
  background: var(--primary);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: var(--navbar-h);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  transition: var(--transition);
}

.nav-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

.brand-text {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -.5px;
  margin-left: 8px;
}

.brand-dot {
  color: var(--primary);
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, .82) !important;
  font-weight: 500;
  font-size: .95rem;
  padding: 6px 14px !important;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: #fff !important;
  background: rgba(232, 35, 42, .18);
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

/* ============================================================
   NAVBAR ADDITIONS — mobile product link + animated toggle
   Add these to your main.css (navbar section)
   ============================================================ */

/* ── Mobile product quick-link (beside toggle, hidden on lg+) ── */
.nav-link-mobile-product {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: .82rem;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid #fff;
    text-decoration: none;
    transition: all .25s ease;
    white-space: nowrap;
}

.nav-link-mobile-product i {
    font-size: .9rem;
    color: #fff;
}

.nav-link-mobile-product:hover,
.nav-link-mobile-product.active {
    background: var(--primary, #e8232a);
    border-color: var(--primary, #e8232a);
    color: #fff;
}

.nav-link-mobile-product.active i,
.nav-link-mobile-product:hover i {
    color: #fff;
}

/* ── Animated hamburger → close toggle button ── */
/* ── Animated hamburger → close toggle button ── */
.navbar-toggler {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 4px;
    cursor: pointer;
    color: #fff;
}

.navbar-toggler .nav-toggle-open,
.navbar-toggler .nav-toggle-close {
    font-size: 1.7rem;
    color: #fff;
    display: block;
    line-height: 1;
}

/* Default: menu icon দেখাবে, close লুকাবে */
.navbar-toggler .nav-toggle-open  { display: block !important; }
.navbar-toggler .nav-toggle-close { display: none !important; }

/* Open হলে উল্টো */
.navbar-toggler.is-open .nav-toggle-open  { display: none !important; }
.navbar-toggler.is-open .nav-toggle-close { display: block !important; }


.btn-contact {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff !important;
  border-radius: 50px;
  padding: 8px 20px !important;
  font-weight: 600;
  font-size: .9rem;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(232, 35, 42, .35);
}

.btn-contact:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 35, 42, .5);
  color: #fff !important;
}

/* Toggler */
.navbar-toggler {
  border: none;
  padding: 6px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.toggler-icon {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff !important;
  margin: 5px 0;
  border-radius: 2px;
  transition: var(--transition);
}

/* Return link in stat bar */
.stat-return-link {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
  border-bottom: 1px dashed rgba(255,255,255,.4);
  padding-bottom: 1px;
}
.stat-return-link:hover {
  color: var(--primary-light, #ff6b70);
  border-bottom-color: var(--primary-light, #ff6b70);
}
/* ── Product Card ── */
.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(232, 35, 42, .2);
}

.product-card-img-wrap {
  position: relative;
  overflow: hidden;
  background: #f8f8f8;
  aspect-ratio: 1/1;
}

.product-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.product-card:hover .product-card-img-wrap img {
  transform: scale(1.07);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 50px;
  z-index: 1;
}

.product-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(232, 35, 42, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.product-hover-overlay i {
  font-size: 1.6rem;
  color: #fff;
}

.product-card:hover .product-hover-overlay {
  opacity: 1;
}

.product-card-body {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-card-name {
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-price-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.price-offer {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

.price-regular {
  font-size: .8rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-rating-row {
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-rating-row .stars {
  color: var(--accent);
  font-size: .78rem;
}

.rating-num {
  font-size: .75rem;
  color: var(--text-muted);
}

.btn-buy-now {
  margin-top: auto;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: .82rem;
  font-weight: 600;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: var(--transition);
}

.btn-buy-now:hover {
  background: linear-gradient(135deg, var(--primary-dark), #8a0f14);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232, 35, 42, .4);
}

/* ── Generic Buttons ── */
.btn-primary-custom {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 50px;
  padding: 12px 28px;
  font-size: .95rem;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(232, 35, 42, .3);
}

.btn-primary-custom:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 35, 42, .45);
  color: #fff;
}

/* ── Breadcrumb ── */
.breadcrumb-bar {
  background: var(--secondary);
  padding: 10px 0;
}

.breadcrumb {
  background: none;
  margin: 0;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, .6);
  font-size: .82rem;
}

.breadcrumb-item a:hover {
  color: #fff;
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, .9);
  font-size: .82rem;
}

.breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, .3);
}

/* ── Custom Inputs ── */
.custom-input {
  background: var(--bg-light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: .9rem;
  color: var(--text-main);
  width: 100%;
  transition: var(--transition);
}

.custom-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 35, 42, .1);
  outline: none;
  background: #fff;
}

.input-group-custom {
  position: relative;
}

.input-group-custom>i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
  font-size: .9rem;
  pointer-events: none;
}

.input-group-custom .custom-input {
  padding-left: 36px;
}

/* ── Footer ── */
.site-footer {
  background: linear-gradient(160deg, #0f0f1e 0%, #1a1a2e 100%);
  color: rgba(255, 255, 255, .75);
}

.footer-top {
  padding: 50px 0 30px;
}

.footer-logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.footer-logo-img {
  height: 36px;
  width: auto;
  border-radius: 6px;
}

.footer-brand-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.footer-brand-text span {
  color: var(--primary);
}

.footer-desc {
  font-size: .85rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 16px;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .9rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.footer-widget-title {
  font-size: .95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  font-size: .83rem;
  color: rgba(255, 255, 255, .55);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a i {
  font-size: .7rem;
  color: var(--primary);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-contact-list {
  list-style: none;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: .83rem;
  color: rgba(255, 255, 255, .55);
}

.footer-contact-list li i {
  color: var(--primary);
  font-size: .9rem;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 16px 0;
}

.footer-bottom p {
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
}

.payment-icons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.payment-badge {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .6);
  font-size: .72rem;
  padding: 3px 10px;
  border-radius: 4px;
}

/* ── Modal Base ── */
.custom-modal {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}

.custom-modal .modal-header {
  background: linear-gradient(135deg, var(--secondary), #2d2d50);
  border: none;
  padding: 18px 24px;
}

.custom-modal .modal-title {
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
}

.modal-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  border: none;
}

.modal-close-btn:hover {
  background: var(--primary);
}

.custom-modal .modal-body {
  padding: 24px;
}

.custom-modal .modal-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--border);
  gap: 10px;
}

.btn-modal-cancel {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-light);
  color: var(--text-muted);
  border-radius: 8px;
  padding: 9px 18px;
  font-size: .88rem;
  font-weight: 600;
  transition: var(--transition);
}

.btn-modal-cancel:hover {
  background: var(--border);
  color: var(--text-main);
}

.btn-modal-next {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: .88rem;
  font-weight: 700;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(232, 35, 42, .3);
}

.btn-modal-next:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 35, 42, .45);
}

/* ── Page Hero ── */
.page-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #2d2d50 100%);
  padding: 40px 0 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23e8232a' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-title {
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 700;
  color: #fff;
  position: relative;
}

.page-hero-sub {
  color: rgba(255, 255, 255, .55);
  font-size: .9rem;
  margin-top: 6px;
  position: relative;
}

/* ── Responsive ── */
@media (max-width:767px) {
  .section-padding {
    padding: 40px 0;
  }
  .section-padding-sm {
    padding: 28px 0;
  }

  .section-title {
    font-size: 1.4rem;
  }

#mainNav .navbar-collapse {
    background: var(--primary);
    border-radius: 0 0 16px 16px;
    padding: 12px 16px 16px;
    margin-top: 4px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

#mainNav .navbar-collapse .nav-link {
    padding: 10px 14px !important;
    border-radius: 8px;
    margin-bottom: 2px;
}

#mainNav .navbar-collapse .nav-link:hover,
#mainNav .navbar-collapse .nav-link.active {
    background: rgba(255,255,255,.15);
}

#mainNav .navbar-collapse .navbar-actions {
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,.12);
}
  .navbar-actions {
    margin-top: 10px;
  }

  .btn-contact {
    width: 100%;
    justify-content: center;
  }

  .product-card-body {
    padding: 10px;
  }

  .product-card-name {
    font-size: .83rem;
  }

  .price-offer {
    font-size: .95rem;
  }

  .btn-buy-now {
    padding: 7px 10px;
    font-size: .78rem;
  }

  .footer-top {
    padding: 36px 0 20px;
  }

  .payment-icons {
    justify-content: center;
  }

  .footer-bottom .row>div {
    text-align: center !important;
  }
}

@media (max-width:400px) {
  .product-card-body {
    padding: 8px;
    gap: 4px;
  }

  .price-offer {
    font-size: .88rem;
  }

  .btn-buy-now {
    font-size: .75rem;
    padding: 6px 8px;
  }
}