:root {
  --primary: #0056b3;
  --primary-dark: #003d82;
  --primary-light: #e8f0fe;
  --accent: #ff6b00;
  --accent-light: #fff3e8;
  --text: #1a1a2e;
  --text-muted: #6c757d;
  --border: #e0e0e0;
  --bg: #f5f7fa;
  --white: #ffffff;
  --success: #198754;
  --danger: #dc3545;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 24px rgba(0,0,0,0.14);
  --radius: 10px;
  --header-h: 70px;
}


/* CityFinSol redesign */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:'Segoe UI',Roboto,system-ui,-apple-system,sans-serif;color:#1f2937;background:#fff;line-height:1.55}
img{max-width:100%;display:block;height:auto}
a{color:inherit;text-decoration:none}
.container{width:100%;max-width:1240px;margin:0 auto;padding:0 16px}

/* Top bar */
.topbar{background:#0b2a4a;color:#cfd8e3;font-size:13px;padding:8px 0}
.topbar .container{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}
.topbar a:hover{color:#ff8a1a}

/* Header */
.header{background:#fff;border-bottom:1px solid #eef0f3;position:sticky;top:0;z-index:50}
.header-inner{display:flex;align-items:center;gap:18px;padding:14px 0;flex-wrap:wrap}
.brand img{height:54px;width:auto}
.search{flex:1;min-width:240px;display:flex;background:#f3f5f8;border-radius:10px;overflow:hidden;border:1px solid #e6e9ee}
.search input{flex:1;border:0;background:transparent;padding:12px 14px;font-size:14px;outline:none}
.search button{border:0;background:#0b2a4a;color:#fff;padding:0 18px;cursor:pointer}
.header-actions{display:flex;align-items:center;gap:14px}
.icon-link{display:inline-flex;align-items:center;gap:6px;color:#0b2a4a;font-size:14px}
.icon-link:hover{color:#ff8a1a}
.btn{display:inline-block;padding:10px 18px;border-radius:8px;font-weight:600;cursor:pointer;border:0;font-size:14px;transition:.2s}
.btn-primary{background:#ff8a1a;color:#fff}
.btn-primary:hover{background:#e67510}
.btn-outline{background:transparent;border:1px solid #0b2a4a;color:#0b2a4a}
.btn-outline:hover{background:#0b2a4a;color:#fff}

/* Nav */
.nav{background:#fff;border-bottom:1px solid #eef0f3}
.nav-inner{display:flex;align-items:center;gap:6px;overflow-x:auto;padding:6px 0}
.nav a{padding:10px 14px;font-size:14px;color:#0b2a4a;font-weight:500;white-space:nowrap;border-radius:6px}
.nav a:hover,.nav a.active{background:#fff4ea;color:#ff8a1a}
.menu-toggle{display:none;background:none;border:0;font-size:22px;cursor:pointer;color:#0b2a4a}

/* Hero */
.hero{position:relative;min-height:460px;display:flex;align-items:center;background:linear-gradient(120deg,#fff8f1 0%,#eaf2ff 100%);overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;padding:48px 0}
.hero h1{font-size:clamp(28px,4vw,46px);line-height:1.15;margin:0 0 16px;color:#0b2a4a}
.hero h1 span{color:#ff8a1a}
.hero p{font-size:17px;color:#475569;margin:0 0 24px;max-width:520px}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap}
.hero-img{border-radius:16px;overflow:hidden;box-shadow:0 20px 60px -20px rgba(11,42,74,.4)}
.hero-img img{width:100%;height:100%;object-fit:cover}

/* Sections */
section{padding:56px 0}
.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:28px;flex-wrap:wrap;gap:10px}
.section-head h2{margin:0;font-size:28px;color:#0b2a4a}
.section-head a{color:#ff8a1a;font-weight:600;font-size:14px}

/* Categories */
.cat-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:18px}
.cat{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center}
.cat-img{width:120px;height:120px;border-radius:50%;overflow:hidden;border:3px solid #fff;box-shadow:0 6px 20px rgba(11,42,74,.12);transition:.25s}
.cat:hover .cat-img{transform:translateY(-4px);box-shadow:0 10px 30px rgba(255,138,26,.35)}
.cat-img img{width:100%;height:100%;object-fit:cover}
.cat span{font-size:14px;color:#0b2a4a;font-weight:600}

/* Product grid */
.product-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.product{background:#fff;border:1px solid #eef0f3;border-radius:12px;overflow:hidden;transition:.25s;display:flex;flex-direction:column}
.product:hover{transform:translateY(-4px);box-shadow:0 18px 40px -15px rgba(11,42,74,.25)}
.product-img{aspect-ratio:1/1;overflow:hidden;background:#f5f7fa}
.product-img img{width:100%;height:100%;object-fit:cover;transition:.4s}
.product:hover .product-img img{transform:scale(1.05)}
.product-body{padding:14px 16px;display:flex;flex-direction:column;gap:6px;flex:1}
.product-cat{font-size:11px;text-transform:uppercase;color:#94a3b8;letter-spacing:.5px}
.product-title{font-size:15px;font-weight:600;color:#0b2a4a;margin:0;min-height:42px}
.product-price{font-size:18px;color:#ff8a1a;font-weight:700;margin-top:auto}
.product-price small{color:#94a3b8;font-weight:400;text-decoration:line-through;margin-left:6px;font-size:13px}
.product-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#64748b}

/* CTA banner */
.cta-banner{background:linear-gradient(120deg,#0b2a4a,#173b66);color:#fff;border-radius:16px;padding:40px;display:flex;justify-content:space-between;align-items:center;gap:20px;flex-wrap:wrap}
.cta-banner h3{margin:0 0 6px;font-size:24px}
.cta-banner p{margin:0;color:#cfd8e3}

/* Footer */
.footer{background:#0b2a4a;color:#cfd8e3;padding:50px 0 20px;margin-top:40px}
.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:30px;margin-bottom:30px}
.footer h4{color:#fff;font-size:15px;margin:0 0 14px;text-transform:uppercase;letter-spacing:.5px}
.footer ul{list-style:none;padding:0;margin:0}
.footer li{margin-bottom:8px;font-size:14px}
.footer a:hover{color:#ff8a1a}
.footer-bottom{border-top:1px solid #1c3d65;padding-top:18px;text-align:center;font-size:13px}
.footer .brand-light img{filter:brightness(0) invert(1);height:50px;margin-bottom:12px}
.socials{display:flex;gap:10px;margin-top:12px}
.socials a{width:34px;height:34px;border-radius:50%;background:#1c3d65;display:flex;align-items:center;justify-content:center}
.socials a:hover{background:#ff8a1a;color:#fff}

/* Forms (login/register/sell) */
.form-wrap{max-width:480px;margin:60px auto;background:#fff;padding:36px;border-radius:14px;border:1px solid #eef0f3;box-shadow:0 18px 50px -25px rgba(11,42,74,.25)}
.form-wrap h2{margin:0 0 6px;color:#0b2a4a}
.form-wrap p.lead{color:#64748b;margin:0 0 22px;font-size:14px}
.field{margin-bottom:16px}
.field label{display:block;font-size:13px;font-weight:600;color:#334155;margin-bottom:6px}
.field input,.field select,.field textarea{width:100%;padding:11px 13px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;font-family:inherit;outline:none;transition:.15s}
.field input:focus,.field select:focus,.field textarea:focus{border-color:#ff8a1a;box-shadow:0 0 0 3px rgba(255,138,26,.15)}
.form-wrap .btn{width:100%;padding:13px}
.form-wrap .alt{text-align:center;margin-top:16px;font-size:14px;color:#64748b}
.form-wrap .alt a{color:#ff8a1a;font-weight:600}

/* Listing page */
.listing-layout{display:grid;grid-template-columns:260px 1fr;gap:30px;padding:30px 0}
.filters{background:#fff;border:1px solid #eef0f3;border-radius:12px;padding:20px;height:fit-content;position:sticky;top:90px}
.filters h4{margin:0 0 12px;font-size:14px;text-transform:uppercase;color:#0b2a4a;letter-spacing:.5px}
.filter-block{margin-bottom:22px;padding-bottom:18px;border-bottom:1px solid #eef0f3}
.filter-block:last-child{border:0;margin-bottom:0;padding:0}
.filter-block label{display:flex;align-items:center;gap:8px;font-size:14px;color:#475569;margin-bottom:8px;cursor:pointer}
.toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px;flex-wrap:wrap;gap:10px}
.toolbar select{padding:8px 12px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;background:#fff}
.crumbs{font-size:13px;color:#64748b;padding:14px 0}
.crumbs a{color:#0b2a4a}
.crumbs span{color:#ff8a1a}

/* Product detail */
.pdp{display:grid;grid-template-columns:1fr 1fr;gap:40px;padding:30px 0}
.pdp-gallery{background:#f5f7fa;border-radius:14px;overflow:hidden;aspect-ratio:1/1}
.pdp-gallery img{width:100%;height:100%;object-fit:cover}
.pdp h1{font-size:28px;color:#0b2a4a;margin:0 0 10px}
.pdp .price{font-size:32px;color:#ff8a1a;font-weight:700;margin:14px 0}
.pdp .price small{color:#94a3b8;text-decoration:line-through;font-size:18px;font-weight:400;margin-left:10px}
.pdp .desc{color:#475569;line-height:1.7;margin:14px 0 24px}
.pdp .actions{display:flex;gap:12px;flex-wrap:wrap}

/* Responsive */
@media (max-width:1024px){
  .cat-grid{grid-template-columns:repeat(4,1fr)}
  .product-grid{grid-template-columns:repeat(3,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr}
  .listing-layout{grid-template-columns:1fr}
  .filters{position:static}
}
@media (max-width:768px){
  .hero-grid,.pdp{grid-template-columns:1fr}
  .hero-img{order:-1;max-height:280px}
  .product-grid{grid-template-columns:repeat(2,1fr)}
  .cat-grid{grid-template-columns:repeat(3,1fr)}
  .cat-img{width:96px;height:96px}
  .menu-toggle{display:inline-block}
  .nav-inner{display:none;flex-direction:column;align-items:stretch;padding:10px 0}
  .nav-inner.open{display:flex}
  .nav a{padding:12px 14px;border-radius:0}
  .topbar .container{justify-content:center;text-align:center}
  .header-actions .label{display:none}
  section{padding:40px 0}
  .cta-banner{padding:28px;text-align:center;flex-direction:column}
  .form-wrap{margin:30px 16px;padding:24px}
}
@media (max-width:480px){
  .product-grid{grid-template-columns:1fr 1fr;gap:14px}
  .cat-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr}
  .brand img{height:44px}
  .hero h1{font-size:26px}
}


/* hero slider */


/* ---- Hero Slider ---- */
.hero-slider {
  position: relative;
  overflow: hidden;
  /* height: 320px; */
  height: auto;
  /* background: var(--primary); */
}
.slider-container { display: flex; height: 100%; transition: transform 0.5s ease; }
.slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 5%;
  opacity: 0;
  transition: opacity 0.3s;
}
.slide.active { opacity: 1; }
.slide-content { max-width: 500px; color: white; }
.slide-content h1 { font-size: 28px; font-weight: 700; margin-bottom: 12px; line-height: 1.2; }
.slide-content p { font-size: 14px; opacity: 0.9; margin-bottom: 24px; }
.slide-content .btn-primary {
  display: inline-block;
  padding: 11px 28px;
  background: #e05900;
  color: white;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s, transform 0.1s;
}
.slide-content .btn-primary:hover { background: #e05900; transform: translateY(-1px); }
.slide-image { flex-shrink: 0; }
.slide-img-placeholder {
  width:600px;
  height: 300px;
  /* width: 180px;
  height: 180px; */
  /* background: rgba(255,255,255,0.15); */
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: rgba(255,255,255,0.5);
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.2);
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}
.slider-btn:hover { background: rgba(255,255,255,0.35); }
.slider-btn.prev { left: 16px; }
.slider-btn.next { right: 16px; }

.slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.dot.active { background: white; transform: scale(1.3); }


/* Tablets */
@media (max-width: 900px) {
 
  .slide-content h1 { font-size: 22px; }
  .slide-image { display: none; }
  .hero-slider { height: 260px; }
  
}

@media (max-width: 600px) {
  

  /* .hero-slider { height: 200px; } */
  .hero-slider { height:auto; }
  .slide-content h1 { font-size: 17px; }
  .slide-content p { font-size: 12px; margin-bottom: 16px; }
  .slide-content .btn-primary { padding: 8px 18px; font-size: 12px; }
  .slider-btn { width: 32px; height: 32px; font-size: 13px; }

  }

  /* ---- Breadcrumb ---- */
.breadcrumb-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb-bar .container {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  flex-wrap: wrap;
}
.breadcrumb-bar a { color: var(--primary); }
.breadcrumb-bar i { font-size: 10px; color: var(--text-muted); }
.breadcrumb-bar .current { color: var(--text-muted); }



/* ---- Product Detail ---- */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.product-gallery { }
.main-image {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  border: 1px solid var(--border);
}
.product-img-placeholder {
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 80px;
  color: white;
  font-weight: 700;
}
.product-img-placeholder.health { background: linear-gradient(135deg, #8b1a1a, #dc3545); }
.product-img-placeholder span { font-size: 18px; letter-spacing: 1px; }

.thumb-images { display: flex; gap: 8px; }
.thumb {
  width: 70px;
  height: 70px;
  border-radius: 8px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: white;
  cursor: pointer;
  transition: border-color 0.2s;
}
.thumb.active { border-color: var(--primary); }
.health-thumb { background: linear-gradient(135deg, #8b1a1a, #dc3545); }
.inv-thumb { background: linear-gradient(135deg, #1a3c6e, #0056b3); }
.life-thumb { background: linear-gradient(135deg, #1a4a2e, #198754); }

.product-title { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.seller-info { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.seller-info a { color: var(--primary); font-weight: 500; }
.product-meta-row { display: flex; align-items: center; gap: 16px; margin-bottom: 8px; flex-wrap: wrap; }
.rating { display: flex; align-items: center; gap: 6px; }
.rating i { color: #ffc107; font-size: 13px; }
.review-count { font-size: 13px; color: var(--text-muted); }
.meta-actions { display: flex; gap: 12px; font-size: 13px; color: var(--text-muted); }
.upload-info { font-size: 12px; color: var(--text-muted); margin-bottom: 20px; }

.product-cta { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.btn-contact-seller {
  background: var(--primary);
  color: white;
  padding: 11px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  transition: background 0.2s;
}
.btn-contact-seller:hover { background: var(--primary-dark); }
.btn-wishlist {
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--border);
  padding: 11px 20px;
  border-radius: 6px;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.2s, color 0.2s;
}
.btn-wishlist:hover { border-color: var(--danger); color: var(--danger); }

.share-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.share-row span { font-size: 13px; font-weight: 500; }
.share-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 13px;
  transition: opacity 0.2s;
}
.share-icon:hover { opacity: 0.85; }
.share-icon.fb { background: #1877f2; }
.share-icon.tw { background: #1da1f2; }
.share-icon.wa { background: #25d366; }
.share-icon.li { background: #0077b5; }
.share-icon.pin { background: #e60023; }

/* ---- Tabs ---- */
.product-tabs { margin-bottom: 40px; }
.tab-headers {
  display: flex;
  border-bottom: 2px solid var(--border);
  gap: 0;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-content {
  display: none;
  padding: 28px 0;
}
.tab-content.active { display: block; }
.tab-content p { font-size: 14px; color: var(--text); margin-bottom: 14px; line-height: 1.8; }
.tab-content h4 { font-size: 15px; margin: 16px 0 10px; }
.service-list { padding: 0; }
.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--text);
}
.service-list i { color: var(--success); }
.btn-report {
  display: inline-block;
  margin-top: 20px;
  font-size: 13px;
  color: var(--danger);
  border: 1px solid var(--danger);
  padding: 7px 16px;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}
.btn-report:hover { background: var(--danger); color: white; }

.map-placeholder {
  height: 200px;
  background: #f0f4f8;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  gap: 8px;
  font-size: 14px;
}
.map-placeholder i { font-size: 40px; color: var(--primary); }
.map-note { font-size: 12px; }
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px;
  color: var(--text-muted);
  font-size: 14px;
}
.empty-state i { font-size: 48px; color: var(--border); }

/* ---- Related Section ---- */
.related-section { margin-bottom: 40px; }
.related-section h3 { font-size: 18px; font-weight: 700; margin-bottom: 20px; }

/* ---- Auth Pages ---- */
.auth-page { background: linear-gradient(135deg, #e8f0fe 0%, #f5f7fa 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.auth-container { width: 100%; max-width: 460px; padding: 20px; }
.auth-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.auth-logo { display: block; text-align: center; margin-bottom: 20px; font-family: 'Nunito', sans-serif; font-size: 26px; font-weight: 800; }
.auth-card h2 { font-size: 22px; text-align: center; margin-bottom: 4px; }
.auth-sub { text-align: center; color: var(--text-muted); font-size: 13px; margin-bottom: 28px; }
.auth-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 500; }
.input-icon {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon i {
  position: absolute;
  left: 12px;
  color: var(--text-muted);
  font-size: 14px;
}
.input-icon input,
.input-icon select {
  width: 100%;
  padding: 10px 12px 10px 36px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
  background: white;
}
.input-icon input:focus,
.input-icon select:focus { border-color: var(--primary); }
.toggle-pass {
  position: absolute;
  right: 10px;
  color: var(--text-muted);
  font-size: 14px;
}
textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s;
}
textarea:focus { border-color: var(--primary); }
.form-row-between { display: flex; align-items: center; justify-content: space-between; }
.checkbox-label { display: flex; align-items: center; gap: 8px; font-size: 13px; cursor: pointer; }
.forgot-link { font-size: 13px; color: var(--primary); }
.btn-auth {
  background: var(--primary);
  color: white;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s;
}
.btn-auth:hover { background: var(--primary-dark); }
.auth-divider { text-align: center; position: relative; }
.auth-divider::before {
  content: '';
  position: absolute;
  left: 0; right: 0; top: 50%;
  height: 1px;
  background: var(--border);
}
.auth-divider span {
  position: relative;
  background: white;
  padding: 0 12px;
  color: var(--text-muted);
  font-size: 12px;
}
.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}
.btn-social:hover { background: #f8f9fa; }
.btn-social.google { color: #e34133; }
.btn-social.facebook { color: #1877f2; }
.auth-switch { text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 16px; }
.auth-switch a { color: var(--primary); font-weight: 500; }
.back-home { display: block; text-align: center; font-size: 13px; color: var(--text-muted); margin-top: 12px; }
.back-home:hover { color: var(--primary); }



/* ---- Products Grid ---- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.product-card-img {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: white;
}
.product-card-body { padding: 12px; }
.product-card-body h4 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-card-body p {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 8px;
}
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 1100px) {
  .categories-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
 
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .product-detail-grid { grid-template-columns: 1fr; }
  
}


@media (max-width: 600px) {
  

  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .product-card-img { height: 100px; font-size: 36px; }

  
  .product-title { font-size: 19px; }
  .product-cta { flex-direction: column; }
 
}

/* Very small screens */
@media (max-width: 380px) {

  .products-grid { grid-template-columns: 1fr 1fr; }
}

.investment {
    background: linear-gradient(135deg, #1a3c6e, #0056b3);
}

.product-card-img {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
}

/* modelpopup */

.modal-open {
    overflow: hidden;
}

.modal-open .modal {
    overflow-x: hidden;
    overflow-y: auto;
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}
.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
}
.modal.fade .modal-dialog {
    transition: -webkit-transform 0.3s ease-out;
    transition: transform 0.3s ease-out;
    transition:
        transform 0.3s ease-out,
        -webkit-transform 0.3s ease-out;
    -webkit-transform: translate(0, -50px);
    transform: translate(0, -50px);
}
@media (prefers-reduced-motion: reduce) {
    .modal.fade .modal-dialog {
        transition: none;
    }
}
.modal.show .modal-dialog {
    -webkit-transform: none;
    transform: none;
}
.modal.modal-static .modal-dialog {
    -webkit-transform: scale(1.02);
    transform: scale(1.02);
}
.modal-dialog-scrollable {
    display: -ms-flexbox;
    display: flex;
    max-height: calc(100% - 1rem);
}
.modal-dialog-scrollable .modal-content {
    max-height: calc(100vh - 1rem);
    overflow: hidden;
}
.modal-dialog-scrollable .modal-footer,
.modal-dialog-scrollable .modal-header {
    -ms-flex-negative: 0;
    flex-shrink: 0;
}
.modal-dialog-scrollable .modal-body {
    overflow-y: auto;
}
.modal-dialog-centered {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    min-height: calc(100% - 1rem);
}
.modal-dialog-centered::before {
    display: block;
    height: calc(100vh - 1rem);
    height: -webkit-min-content;
    height: -moz-min-content;
    height: min-content;
    content: "";
}
.modal-dialog-centered.modal-dialog-scrollable {
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    height: 100%;
}
.modal-dialog-centered.modal-dialog-scrollable .modal-content {
    max-height: none;
}
.modal-dialog-centered.modal-dialog-scrollable::before {
    content: none;
}
.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0.3rem;
    outline: 0;
}
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1040;
    width: 100vw;
    height: 100vh;
    background-color: #000;
}
.modal-backdrop.fade {
    opacity: 0;
}
.modal-backdrop.show {
    opacity: 0.5;
}
.modal-header {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: calc(0.3rem - 1px);
    border-top-right-radius: calc(0.3rem - 1px);
}
.modal-header .close {
    padding: 1rem 1rem;
    margin: -1rem -1rem -1rem auto;
}
.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
}
.modal-body {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1rem;
}
.modal-footer {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: end;
    justify-content: flex-end;
    padding: 0.75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: calc(0.3rem - 1px);
    border-bottom-left-radius: calc(0.3rem - 1px);
}
.modal-footer > * {
    margin: 0.25rem;
}

.modal-scrollbar-measure {
    position: absolute;
    top: -9999px;
    width: 50px;
    height: 50px;
    overflow: scroll;
}
@media (min-width: 576px) {
    .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
    }
    .modal-dialog-scrollable {
        max-height: calc(100% - 3.5rem);
    }
    .modal-dialog-scrollable .modal-content {
        max-height: calc(100vh - 3.5rem);
    }
    .modal-dialog-centered {
        min-height: calc(100% - 3.5rem);
    }
    .modal-dialog-centered::before {
        height: calc(100vh - 3.5rem);
        height: -webkit-min-content;
        height: -moz-min-content;
        height: min-content;
    }
    .modal-sm {
        max-width: 300px;
    }
}
@media (min-width: 992px) {
    .modal-lg,
    .modal-xl {
        max-width: 800px;
    }
}
@media (min-width: 1200px) {
    .modal-xl {
        max-width: 1140px;
    }
}

.login-modal .auth-box {
    width: auto;
    padding: 25px 30px;
    border: 0 !important;
    margin: 0 !important;
}
.login-modal .auth-box .form-group {
    margin-bottom: 8px;
}
.login-modal .close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
}
.login-modal .alert {
    flex-wrap: wrap !important;
}
.login-modal .alert svg {
    display: none;
}
.link-mobile-alert {
    display: block;
}

.auth-box .title {
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 30px;
}

.auth-form-input {
    box-shadow: none !important;
    border: 0;
    outline: none !important;
    color: #494949;
    height: 46px;
    font-size: 0.875rem;
    line-height: 18px;
    padding: 10px 20px;
    box-shadow: none;
    border-radius: 2px;
    border: 1px solid #e6e6e6;
}


.btn-block {
    background-color: #ff8a1a;
    color: #fff;
}