/* ============================================
   Jahangir Motors - Main Stylesheet
============================================ */

:root {
  /* Palette matched to the Jahangir Motors logo */
  --primary: #E7192E;       /* Jahangir Red */
  --primary-dark: #B7101F;  /* darker red for hover states */
  --secondary: #0B2638;     /* Navy */
  --deep-navy: #061B2B;     /* Deep Navy - darkest sections (hero, banners) */
  --accent: #061B2B;        /* alias kept for older rules that reference --accent */
  --light-bg: #F5F7F9;
  --card-bg: #ffffff;
  --text-dark: #0B2638;
  --text-light: #5C6B82;
  --border: #E2E8F0;
  --success: #2a9d8f;
  --shadow: 0 8px 24px rgba(11, 38, 56, 0.08);
  --shadow-hover: 0 14px 32px rgba(11, 38, 56, 0.14);
  --radius: 14px;
  --transition: all 0.25s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 6px 16px rgba(231, 25, 46, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background: #fff;
  color: var(--secondary);
}

/* Same pill shape as .btn-outline, but for use on light backgrounds (e.g.
   the "View All Bikes" / "View All Services" links on the homepage) where
   a white-on-white outline would be invisible. */
.btn-outline-primary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  transition: var(--transition);
}

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

/* ============ Header / Navbar ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--secondary);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.logo-img {
    height: 46px;
    width: auto;
    display: block;
    border-radius: 8px;
    background: #fff;
    padding: 3px 6px;

    /* Prevent normal image dragging/copying */
    user-select: none;
    -webkit-user-drag: none;
}

.logo span {
  color: var(--accent);
}

.logo-icon {
  font-size: 1.6rem;
}

/* Brand name spelled out beside the logo image. logo.png already contains the
   wordmark, but at 46px tall it is only a few pixels high and unreadable, so
   the name is repeated as live text - legible, selectable and searchable.
   Colours mirror the logo itself: white "Jahangir", orange "Motors".
   The image carries alt="" because this text is the link's accessible name. */
.logo-text {
  font-family: 'Poppins', sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.15;
  white-space: nowrap;
}

.logo .logo-text {
  color: #fff;              /* overrides the older `.logo span` accent rule */
}

.logo .logo-text-alt {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-links li {
  flex-shrink: 0;
}

.nav-links li a {
  color: #e5e5ef;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 8px;
  transition: var(--transition);
  display: inline-block;
  white-space: nowrap;
}

.nav-links li a:hover,
.nav-links li a.active {
  background: var(--primary);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ============ Nav dropdowns (Bikes / Services) ============ */
.has-dropdown {
  position: relative;
}

.has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dropdown-caret {
  font-size: 0.7em;
  transition: transform 0.2s ease;
}

.has-dropdown:hover .dropdown-caret,
.has-dropdown:focus-within .dropdown-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border-radius: 10px;
  box-shadow: var(--shadow-hover);
  padding: 10px 8px 8px;
  margin-top: 0;
  z-index: 1100;
}

/* Invisible bridge that closes the small visual gap between the trigger
   link and the menu below it, so the pointer never leaves a hoverable
   element while moving from one to the other - without this, the menu
   would flicker shut before a click on a submenu item could register. */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 14px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.92rem;
  border-radius: 6px;
  white-space: nowrap;
}

.dropdown-menu li a:hover {
  background: var(--light-bg);
  color: var(--primary);
}

.dropdown-menu li a.dropdown-view-all {
  color: var(--primary);
  font-weight: 700;
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 12px;
  border-radius: 0;
}

/* ============ Hero ============ */
.hero {
  position: relative;
  background: linear-gradient(100deg, rgba(6,27,43,0.96) 20%, rgba(6,27,43,0.62) 60%, rgba(6,27,43,0.35) 100%),
              url('https://images.unsplash.com/photo-1558981806-ec527fa84c39?auto=format&fit=crop&w=1600&q=60') center/cover no-repeat;
  color: #fff;
  padding: 90px 20px;
  text-align: left;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  /* A lighter red than --primary: the brand red only reaches ~3.8:1 contrast
     on this dark navy background, which fails WCAG AA for text this size.
     This tint keeps the same red character but reads clearly at 5.4:1. */
  color: #F25C6B;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 18px;
  max-width: 700px;
  line-height: 1.15;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 560px;
  margin: 0 0 32px;
  color: #cfd8e3;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-sell-link {
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  opacity: 0.9;
  transition: var(--transition);
}

.hero-sell-link:hover {
  opacity: 1;
  color: var(--primary);
}

/* Full-width dark strip of stats directly under the hero image. */
.hero-stats-bar {
  background: var(--secondary);
  padding: 26px 20px;
}

.hero-stats {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.hero-stats div {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 200px;
}

.hero-stats .hero-stat-icon {
  font-size: 1.5rem;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-stats .hero-stat-icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.hero-stats h3 {
  font-size: 1.5rem;
  color: #fff;
  line-height: 1.1;
}

.hero-stats p {
  font-size: 0.85rem;
  margin: 0;
  color: #b8c2cf;
}

/* ============ Section Titles ============ */
.section {
  padding: 70px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 45px;
}

.section-title h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--secondary);
}

.section-title p {
  color: var(--text-light);
  max-width: 600px;
  margin: 10px auto 0;
}

.section-title .tag {
  display: inline-block;
  background: rgba(231, 25, 46,0.1);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
}

/* Left-aligned title with a "View All" link/button on the right, used on
   the homepage's trimmed-down preview sections (Bikes, Services, etc). */
.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  text-align: left;
}

.section-title-row .section-title {
  text-align: left;
  margin-bottom: 0;
}

.section-title-row .section-title p {
  margin-left: 0;
}

.bg-alt {
  background: #fff;
}

/* ============ Brand Tabs ============ */
.brand-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.brand-tab {
  padding: 12px 30px;
  border-radius: 50px;
  background: #fff;
  border: 2px solid var(--border);
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.95rem;
  color: var(--text-dark);
}

.brand-tab:hover {
  border-color: var(--primary);
}

.brand-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ============ Bike Grid ============ */
.bike-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 26px;
}

.bike-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}

.bike-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.bike-img {
  height: 200px;
  padding: 18px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.bike-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.4s ease;
}

.bike-card:hover .bike-img img {
  transform: scale(1.08);
}

.bike-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--secondary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 50px;
  letter-spacing: 0.5px;
}

.bike-badge.honda { background: var(--primary); }
.bike-badge.united { background: var(--secondary); }

.installment-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--secondary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 50px;
}

.bike-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bike-info h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: var(--secondary);
}

.bike-info .bike-company {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bike-specs {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.bike-specs span {
  font-size: 0.8rem;
  color: var(--text-light);
  background: var(--light-bg);
  padding: 4px 10px;
  border-radius: 6px;
}

.bike-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

.bike-card-actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.bike-card-actions .btn {
  flex: 1;
  text-align: center;
  padding: 10px 12px;
  font-size: 0.82rem;
}

.bike-price {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.bike-price small {
  display: block;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-light);
}

.installment-note {
  background: #ffffff;
  border: 1px solid var(--border);
  color: #000000;
  padding: 16px 20px;
  border-radius: var(--radius);
  text-align: center;
  margin-top: 35px;
  font-size: 0.95rem;
  box-shadow: var(--shadow);
}

/* ============ Services ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 0 24px 28px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border-top: 4px solid transparent;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.service-card-img {
  margin: 0 -24px 20px;
  aspect-ratio: 3 / 2;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-detail-btn {
  margin-top: 18px;
  align-self: flex-start;
  padding: 9px 20px;
  font-size: 0.85rem;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-top: 4px solid var(--primary);
}

.service-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: inline-block;
  background: rgba(231, 25, 46,0.1);
  width: 62px;
  height: 62px;
  line-height: 62px;
  text-align: center;
  border-radius: 16px;
}

.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: var(--secondary);
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  flex: 1;
}

.service-category {
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============ Coming Soon ============ */
.coming-soon-wrap {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.coming-soon-box {
  max-width: 600px;
}

.coming-soon-icon {
  font-size: 5rem;
  margin-bottom: 20px;
  animation: bounce 2.4s infinite ease-in-out;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.coming-soon-box h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--secondary);
  margin-bottom: 14px;
}

.coming-soon-box p {
  color: var(--text-light);
  margin-bottom: 26px;
  font-size: 1.02rem;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: var(--border);
  border-radius: 50px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-bar-fill {
  width: 68%;
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 50px;
}

.progress-label {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.notify-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}

.notify-form input {
  flex: 1;
  min-width: 200px;
  padding: 13px 18px;
  border-radius: 50px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
}

.notify-form input:focus {
  outline: 2px solid var(--primary);
}

/* ============ About Us ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-img-box {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  border-radius: var(--radius);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7rem;
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.about-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--secondary);
  margin-bottom: 18px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 16px;
}

.owner-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  background: var(--light-bg);
  padding: 18px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.owner-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.owner-card h4 {
  color: var(--secondary);
  font-size: 1.05rem;
}

.owner-card span {
  color: var(--text-light);
  font-size: 0.85rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 50px;
}

.value-card {
  text-align: center;
  padding: 30px 20px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.value-card .service-icon {
  margin: 0 auto 16px;
}

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-card {
  background: var(--secondary);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 32px;
}

.contact-info-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.contact-info-card > p {
  color: #c7c7d6;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

a.contact-item:hover {
  transform: translateX(4px);
}

a.contact-item:hover h4 {
  color: var(--primary);
}

.contact-item .icon-box {
  width: 46px;
  height: 46px;
  background: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item .icon-box img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.contact-item h4 {
  font-size: 0.95rem;
  margin-bottom: 3px;
  color: #fff;
}

.contact-item p, .contact-item a {
  color: #c7c7d6;
  font-size: 0.9rem;
}

.contact-item a:hover {
  color: var(--accent);
}

.social-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.social-row a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-row a:hover {
  background: var(--primary);
}

.contact-form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 32px;
  box-shadow: var(--shadow);
}

.contact-form-card h3 {
  color: var(--secondary);
  margin-bottom: 22px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--primary);
  border-color: var(--primary);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.map-box {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 320px;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.form-msg {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}

.form-msg.show {
  display: block;
}

.form-msg.success {
  background: #e4f6ec;
  color: #1e7a4a;
  border: 1px solid #b7e6cb;
}

/* ============ CTA Banner ============ */
.cta-banner {
  background: #ffffff;
  color: #000000;
  text-align: center;
  padding: 60px 20px;
  border-radius: var(--radius);
  margin: 0 auto;
  max-width: 1200px;
  box-shadow: var(--shadow);
}

.cta-banner h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 14px;
  color: #000000;
}

.cta-banner p {
  margin-bottom: 26px;
  color: #000000;
}

/* Dark full-width variant, used for the homepage's final "ready to ride"
   banner. Kept separate from .cta-banner (a white card) so the other pages
   already using that class are unaffected. */
.cta-banner-dark {
  background: linear-gradient(100deg, rgba(6,27,43,0.94) 35%, rgba(6,27,43,0.55) 100%),
              url('https://images.unsplash.com/photo-1558981806-ec527fa84c39?auto=format&fit=crop&w=1400&q=60') right center/cover no-repeat;
  color: #fff;
  padding: 60px 40px;
  border-radius: var(--radius);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner-dark .cta-banner-text {
  max-width: 560px;
}

.cta-banner-dark h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-bottom: 12px;
  color: #fff;
}

.cta-banner-dark p {
  margin-bottom: 0;
  color: #cfd8e3;
}

.cta-banner-dark .cta-banner-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============ Installment CTA (homepage) ============ */
.installment-cta {
  background: var(--deep-navy);
  color: #fff;
  padding: 70px 20px;
}

.installment-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.installment-cta-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin: 10px 0 16px;
  line-height: 1.2;
}

.installment-cta-text p {
  color: #cfd8e3;
  margin-bottom: 26px;
  max-width: 460px;
}

.installment-cta-features {
  display: grid;
  gap: 22px;
}

.installment-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.installment-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(231, 25, 46, 0.15);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Poppins', sans-serif;
}

.installment-step h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: #fff;
}

.installment-step p {
  font-size: 0.88rem;
  color: #b8c2cf;
  margin: 0;
  max-width: none;
}

/* ============ Services mini-grid (homepage overview) ============ */
/* ============ Why Choose Us ============ */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
}

.why-us-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.why-us-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.why-us-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(231, 25, 46, 0.1);
  font-size: 1.7rem;
}

.why-us-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.why-us-card h3 {
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 8px;
}

.why-us-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  margin: 0;
}


.sell-cta-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px;
}

.sell-cta-text h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--secondary);
  font-weight: 800;
  margin: 10px 0 14px;
  line-height: 1.25;
}

.sell-cta-text p {
  color: var(--text-light);
  margin-bottom: 22px;
  max-width: 480px;
}

.sell-cta-benefits {
  display: grid;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.sell-cta-benefits li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-dark);
  font-weight: 500;
  font-size: 0.94rem;
}

.sell-cta-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(231, 25, 46, 0.12);
  color: var(--primary);
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 860px) {
  .sell-cta-card {
    grid-template-columns: 1fr;
    padding: 30px 24px;
  }
}


.services-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.service-mini-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  color: var(--text-dark);
}

.service-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.service-mini-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(231, 25, 46, 0.1);
  font-size: 1.6rem;
}

.service-mini-icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.service-mini-card h3 {
  font-size: 0.98rem;
  color: var(--secondary);
  margin-bottom: 6px;
}

.service-mini-card p {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: 0;
}

@media (max-width: 860px) {
  .installment-cta-grid {
    grid-template-columns: 1fr;
  }
  .cta-banner-dark {
    text-align: center;
    justify-content: center;
  }
  .cta-banner-dark .cta-banner-text {
    max-width: 100%;
  }
  .cta-banner-dark .cta-banner-actions {
    justify-content: center;
  }
}

/* ============ Footer ============ */
.site-footer {
  background: var(--secondary);
  color: #c7c7d6;
  padding: 50px 0 20px;
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1.1fr 1.3fr;
  gap: 30px;
  margin-bottom: 30px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1rem;
}

/* A second heading within the same column (Brands→Services,
   Bikes Marketplace→Contact Us) - same look as the main heading, with
   space above to separate it from the list before it. */
.footer-col-subhead {
  margin-top: 26px;
}

/* Footer brand lockup: same logo-plus-name pairing as the header, so the two
   ends of the page match. Replaces the bike emoji that used to sit here. */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand h4 {
  margin-bottom: 0;
  font-family: 'Poppins', sans-serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.footer-brand .logo-text-alt {
  color: var(--primary);
}

.footer-logo {
  height: 40px;
  width: auto;
  flex-shrink: 0;
  background: #fff;
  border-radius: 8px;
  padding: 3px 5px;
}

/* Contact rows. The icon sits in a fixed square box so the three PNGs line up
   with each other even though they are not all the same aspect ratio.
   Rows are full <a> links now, so the icon and label both open the same
   action (map / dialer / mail client). */
.footer-contact {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  text-decoration: none;
  transition: var(--transition);
}

.footer-contact p {
  color: #c7c7d6;
  transition: var(--transition);
}

.footer-contact:hover,
.footer-contact:hover p {
  color: var(--primary);
  transform: translateX(3px);
}

.footer-ico {
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-ico img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.footer-col p {
  font-size: 0.87rem;
  margin-bottom: 10px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.87rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
}

.footer-bottom span {
  color: var(--primary);
}

.footer-bottom a {
  color: #c7c7d6;
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* ============ Breadcrumb / page header ============ */
.page-hero {
  background: linear-gradient(120deg, rgba(11, 38, 56,0.94), rgba(231, 25, 46,0.88));
  color: #fff;
  padding: 60px 20px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 10px;
}

.page-hero p {
  color: #e5e5ef;
}

/* ============ Legal pages (Privacy Policy / Terms & Conditions) ============ */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
}

.legal-content .legal-updated {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 30px;
}

.legal-content h2 {
  font-size: 1.3rem;
  color: var(--secondary);
  margin-top: 34px;
  margin-bottom: 12px;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  color: var(--text-light);
  margin-bottom: 14px;
  line-height: 1.7;
}

.legal-content ul {
  margin: 0 0 14px 20px;
  color: var(--text-light);
  line-height: 1.7;
}

.legal-content ul li {
  margin-bottom: 6px;
}

.legal-content a {
  color: var(--primary);
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .about-img-box {
    height: 260px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Eight nav items need a little breathing room on narrow desktops. */
@media (min-width: 769px) and (max-width: 1120px) {
  .nav-links {
    gap: 2px;
  }

  .nav-links li a {
    padding: 10px 10px;
    font-size: 0.92rem;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--secondary);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 20px 20px;
    display: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li a {
    display: block;
    padding: 12px 10px;
  }

  /* Dropdowns become a permanently-expanded indented sub-list on mobile,
     since there's no room/need for hover, and the parent link itself still
     goes to the main page. */
  .dropdown-menu {
    display: block;
    position: static;
    box-shadow: none;
    background: transparent;
    padding: 0 0 6px 18px;
    margin-top: 0;
  }

  .dropdown-menu li a {
    color: #d7dee6;
    padding: 9px 10px;
  }

  .dropdown-menu li a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
  }

  .dropdown-caret {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 30px;
  }

  .hero {
    padding: 56px 20px 44px;
  }

  .hero-buttons {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-info-card,
  .contact-form-card {
    padding: 28px 20px;
  }
  /* Smaller floating buttons on narrow phones so they sit comfortably in
     the corner without dominating the screen or sitting on top of nearby
     tap targets (e.g. a full-width "Continue" button on the Sell Your
     Bike form). */
  .fab-stack {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }
  .fab-btn {
    width: 48px;
    height: 48px;
  }
  .fab-btn svg {
    width: 22px;
    height: 22px;
  }
  .fab-whatsapp-icon {
    width: 26px;
    height: 26px;
  }
  .fab-calculator-icon {
    width: 26px;
    height: 26px;
  }
}
/* ============================================
   Floating Action Buttons (WhatsApp + Calculator)
============================================ */

.fab-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 1500;
}

.fab-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  border: none;
  cursor: pointer;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fab-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 14px 30px rgba(0,0,0,0.3);
}

.fab-btn svg {
  width: 28px;
  height: 28px;
}

/* WhatsApp Icon */
.fab-whatsapp-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 50%;
}

.fab-whatsapp {
  background: #25D366;
}

/* Calculator Icon */
.fab-calculator {
  background: var(--primary);
}

.fab-calculator-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

@media (max-width: 600px) {
  .fab-stack {
    right: 14px;
    bottom: 14px;
    gap: 10px;
  }
  .fab-btn {
    width: 50px;
    height: 50px;
  }
  .fab-btn svg {
    width: 24px;
    height: 24px;
  }
  .fab-calculator {
    font-size: 1.35rem;
  }
}

/* ============================================
   Modal (shared by Calculator + Form Success popup)
============================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 30, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #fff;
  border-radius: var(--radius);
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-box.small {
  max-width: 440px;
}

.modal-content {
  padding: 32px 28px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--light-bg);
  color: var(--text-dark);
  border: none;
  font-size: 1rem;
  cursor: pointer;
  z-index: 5;
}

.modal-close:hover {
  background: var(--border);
}

/* ---------- Installment Calculator ---------- */
.calc-sub {
  color: var(--text-light);
  font-size: 0.88rem;
  margin-bottom: 22px;
}

.calc-type-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  background: var(--light-bg);
  padding: 5px;
  border-radius: 50px;
}

.calc-type-btn {
  flex: 1;
  padding: 10px;
  border-radius: 50px;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}

.calc-type-btn.active {
  background: var(--primary);
  color: #fff;
}

.calc-results {
  margin-top: 22px;
  background: var(--light-bg);
  border-radius: 12px;
  padding: 18px 20px;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-light);
  border-bottom: 1px dashed var(--border);
}

.calc-result-row:last-child {
  border-bottom: none;
}

.calc-result-row strong {
  color: var(--secondary);
  font-size: 0.98rem;
}

.calc-result-row.total {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  border-bottom: none;
}

.calc-result-row.total strong {
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 800;
}

.calc-note {
  margin-top: 16px;
  font-size: 0.76rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* ---------- Form Success Popup ---------- */
.success-modal-body {
  text-align: center;
}

.success-modal-body .success-icon {
  font-size: 3.4rem;
  margin-bottom: 14px;
}

.success-modal-body h2 {
  color: var(--secondary);
  margin-bottom: 10px;
}

.success-modal-body p {
  color: var(--text-light);
  margin-bottom: 22px;
}

/* ============================================
   Installment Calculator - list-style form
   (Meezan Bank calculator layout)
============================================ */

.calc-page-wrap {
  max-width: 640px;
  margin: 0 auto;
}

.calc-form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 34px 32px;
}

.calc-field-group {
  margin-bottom: 20px;
}

.calc-field-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 7px;
}

.calc-field-group select,
.calc-field-group input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: var(--text-dark);
}

.calc-field-group select:focus,
.calc-field-group input:focus {
  outline: 2px solid var(--primary);
  border-color: var(--primary);
}

.calc-field-group input[readonly] {
  background: var(--light-bg);
  font-weight: 700;
  color: var(--primary);
  cursor: not-allowed;
}

.calc-field-group.hidden {
  display: none;
}

.calc-section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 26px 0;
}

.calc-calculate-btn {
  width: 100%;
  padding: 15px;
  font-size: 1rem;
  margin-top: 10px;
}

/* ---------- Results table ---------- */
.calc-results-wrap {
  margin-top: 32px;
  display: none;
}

.calc-results-wrap.show {
  display: block;
}

.calc-results-wrap h3 {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.calc-results-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--light-bg);
  border-radius: var(--radius);
  overflow: hidden;
}

.calc-results-table tr td {
  padding: 14px 20px;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
}

.calc-results-table tr td:first-child {
  color: var(--text-light);
}

.calc-results-table tr td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--secondary);
  font-family: 'Poppins', sans-serif;
}

.calc-results-table tr:last-child td {
  border-bottom: none;
}

.calc-results-table tr.total-row td {
  background: var(--primary);
  color: #fff;
  font-size: 1.05rem;
  padding: 16px 20px;
}

.calc-results-table tr.total-row td:first-child {
  color: rgba(255,255,255,0.85);
}

.calc-results-table tr.total-row td:last-child {
  color: #fff;
}

.calc-note {
  margin-top: 16px;
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
}

.calc-results-actions {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.calc-results-actions .btn {
  flex: 1;
  min-width: 160px;
  text-align: center;
}

@media (max-width: 600px) {
  .calc-form-card {
    padding: 26px 20px;
  }
  .calc-results-table tr td {
    padding: 12px 14px;
    font-size: 0.85rem;
  }
}

/* ============================================
   "I'm not a robot" checkbox (contact form)
============================================ */

.robot-check {
  margin: 20px 0;
  display: flex;
  justify-content: center;
}

.robot-check-label {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f9f9f9;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 20px;
  cursor: pointer;
  user-select: none;
  transition: var(--transition);
  width: 100%;
  max-width: 320px;
}

.robot-check-label:hover {
  border-color: #c9c9d6;
}

.robot-check-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.robot-check-box {
  width: 26px;
  height: 26px;
  min-width: 26px;
  border: 2px solid #c9c9d6;
  border-radius: 4px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.robot-check-icon {
  width: 15px;
  height: 12px;
  fill: none;
  stroke: #fff;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: scale(0.6);
  transition: var(--transition);
}

.robot-check-label input[type="checkbox"]:checked + .robot-check-box {
  background: var(--success);
  border-color: var(--success);
}

.robot-check-label input[type="checkbox"]:checked + .robot-check-box .robot-check-icon {
  opacity: 1;
  transform: scale(1);
}

.robot-check-label input[type="checkbox"]:focus-visible + .robot-check-box {
  box-shadow: 0 0 0 3px rgba(231, 25, 46, 0.3);
}

.robot-check-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-dark);
}

.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================
   Service Detail & Article Detail pages
============================================ */

.detail-back-link {
  display: inline-block;
  color: #e5e5ef;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
  opacity: 0.9;
  transition: var(--transition);
}

.detail-back-link:hover {
  opacity: 1;
  color: #fff;
}

.detail-page-wrap {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.detail-icon-badge {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -58px auto 22px;
  box-shadow: var(--shadow-hover);
  position: relative;
  z-index: 2;
}

.detail-content-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 32px;
}

.detail-full-desc {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.detail-subheading {
  color: var(--secondary);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.requirements-list {
  list-style: none;
  margin-bottom: 30px;
}

.requirements-list li {
  position: relative;
  padding: 12px 0 12px 34px;
  border-bottom: 1px solid var(--border);
  color: var(--text-dark);
  font-size: 0.92rem;
}

.requirements-list li:last-child {
  border-bottom: none;
}

.requirements-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--success);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avail-service-box {
  background: var(--light-bg);
  border-radius: var(--radius);
  padding: 26px 24px;
}

.avail-service-box h4 {
  color: var(--secondary);
  margin-bottom: 8px;
}

.avail-service-box p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.avail-service-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Icons inside these buttons carry their own color (WhatsApp's icon is a
   full-color badge; the call icon is white), so each button gets a solid
   fill that the icon will actually show up against, sized to sit neatly
   inline with the label instead of overflowing the button. */
.avail-btn-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 8px;
  flex-shrink: 0;
}

.avail-btn-whatsapp {
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
}

.avail-btn-whatsapp:hover {
  background: #1fb655;
}

.avail-btn-call {
  background: var(--secondary);
  color: #fff;
  display: inline-flex;
  align-items: center;
}

.avail-btn-call:hover {
  background: var(--deep-navy);
}

/* ---------- Articles listing grid ---------- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 26px;
}

.article-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.article-card-icon {
  aspect-ratio: 3 / 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.4rem;
  background: #ffffff;
  overflow: hidden;
}

.article-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.article-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-card-category {
  display: inline-block;
  background: rgba(231, 25, 46, 0.1);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.article-card-body h3 {
  color: var(--secondary);
  font-size: 1.08rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-card-body p {
  color: var(--text-light);
  font-size: 0.87rem;
  flex: 1;
  margin-bottom: 18px;
}

.article-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

.article-card-date {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ---------- Article detail ---------- */
.article-detail-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.article-detail-icon {
  width: 74px;
  height: 74px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: #fff;
  font-size: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -58px auto 26px;
  box-shadow: var(--shadow-hover);
  position: relative;
  z-index: 2;
}

.article-detail-banner {
  aspect-ratio: 3 / 2;
  max-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 26px;
  box-shadow: var(--shadow);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.article-detail-banner img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.article-detail-content {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 34px;
}

.article-detail-content p {
  color: var(--text-dark);
  font-size: 0.98rem;
  line-height: 1.85;
  margin-bottom: 20px;
}

.article-detail-content p:last-child {
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .detail-content-card,
  .article-detail-content {
    padding: 26px 22px;
  }
  .avail-service-actions {
    flex-direction: column;
  }
  .avail-service-actions .btn {
    width: 100%;
    text-align: center;
  }
}

/* ============================================
   Bike Detail page
============================================ */

.bike-detail-wrap {
  max-width: 780px;
  margin: 0 auto;
}

.bike-detail-photo {
  height: 440px;
  border-radius: var(--radius);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 30px;
  box-sizing: border-box;
}

.color-select-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
  padding: 16px 20px;
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.color-select-label {
  font-weight: 700;
  color: var(--secondary);
  font-size: 0.92rem;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .bike-detail-photo {
    height: 300px;
  }
}

.bike-detail-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bike-detail-content-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 32px;
}

.bike-detail-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 12px;
}

.bike-detail-price {
  font-family: 'Poppins', sans-serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.bike-detail-price-row small {
  color: var(--text-light);
  font-size: 0.8rem;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr td {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}

.specs-table tr td:first-child {
  color: var(--text-light);
  width: 45%;
}

.specs-table tr td:last-child {
  color: var(--secondary);
  font-weight: 700;
  text-align: right;
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.color-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.color-chip {
  background: var(--light-bg);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  display: inline-block;
  text-decoration: none;
}

.color-chip-btn {
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
  text-decoration: none;
}

.color-chip-btn:hover {
  border-color: var(--primary);
}

.color-chip-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

/* ============================================
   Footer social media links
============================================ */

.social-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}

.social-links a {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: #c7c7d6;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: var(--transition);
}

.social-links a .social-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.social-links a:hover .social-icon {
  transform: scale(1.12);
}

/* ============================================
   Customer Reviews
============================================ */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.review-card {
  background: #ffffff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: #f5a623;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.review-text {
  color: var(--text-dark);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 22px;
  flex: 1;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.review-author h4 {
  font-size: 0.9rem;
  color: var(--secondary);
  margin-bottom: 2px;
}

.review-author span {
  font-size: 0.78rem;
  color: var(--text-light);
}

.google-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
}

.google-rating-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.google-rating-score {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--secondary);
}

.google-rating-count {
  font-size: 0.85rem;
  color: var(--text-light);
}

.google-rating-summary a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
}

/* ============================================
   Contact form - phone/email validation
============================================ */

.phone-input-row {
  display: flex;
  gap: 8px;
}

.phone-input-row select {
  flex: 0 0 110px;
  padding: 12px 8px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
}

.phone-input-row input {
  flex: 1;
  min-width: 0;
}

.field-error {
  display: none;
  color: #d62828;
  font-size: 0.78rem;
  margin-top: 6px;
}

.field-error.show {
  display: block;
}

.form-group input.field-invalid,
.phone-input-row input.field-invalid,
.phone-input-row select.field-invalid {
  border-color: #d62828 !important;
  outline: none;
}

.form-group input.field-invalid:focus,
.phone-input-row input.field-invalid:focus,
.phone-input-row select.field-invalid:focus {
  box-shadow: 0 0 0 3px rgba(214, 40, 40, 0.25);
}

/* ============================================
   USED BIKE MARKETPLACE  (Sell Your Bike)
   Shared building blocks - prefix: .mk-
============================================ */

.mk-page {
  padding: 40px 0 20px;
}

.mk-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

.mk-card-surface {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Admin: Services / Articles add & edit form ---------- */
.mk-content-form {
  padding: 24px;
  margin-bottom: 10px;
}

.mk-content-form h3 {
  color: var(--secondary);
  margin-bottom: 6px;
}

.mk-content-form > p.mk-hint {
  margin-bottom: 18px;
}

/* ---------- Search bar ---------- */
.mk-searchbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px 16px;
  margin-bottom: 22px;
}

.mk-searchbar input[type="search"],
.mk-searchbar input[type="text"] {
  flex: 1 1 240px;
  min-width: 0;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.mk-searchbar select {
  flex: 0 1 190px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.9rem;
  background: #fff;
  color: var(--text-dark);
}

.mk-searchbar input:focus,
.mk-searchbar select:focus {
  outline: 2px solid var(--primary);
  border-color: var(--primary);
}

.mk-searchbar .btn {
  padding: 12px 26px;
}

/* ---------- Filters panel ---------- */
.mk-filters {
  padding: 22px 20px;
  position: sticky;
  top: 92px;
}

.mk-filters h3 {
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 4px;
}

.mk-filter-group {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.mk-filter-group:last-of-type {
  border-bottom: none;
}

.mk-filter-group > label,
.mk-filter-legend {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-light);
  margin-bottom: 10px;
}

.mk-filter-group select,
.mk-filter-group input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  background: #fff;
  color: var(--text-dark);
}

.mk-filter-group select:focus,
.mk-filter-group input:focus {
  outline: 2px solid var(--primary);
  border-color: var(--primary);
}

.mk-filter-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mk-filter-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.mk-filter-actions .btn {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.85rem;
}

.mk-btn-ghost {
  background: var(--light-bg);
  color: var(--secondary);
  border: 1px solid var(--border);
}

.mk-btn-ghost:hover {
  background: #fff;
  border-color: var(--primary);
  color: var(--primary);
}

.mk-btn-navy {
  background: var(--secondary);
  color: #fff;
}

.mk-btn-navy:hover {
  background: #061B2B;
  color: #fff;
}

.mk-filters-toggle {
  display: none;
  width: 100%;
  margin-bottom: 16px;
}

/* ---------- Results header ---------- */
.mk-results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.mk-results-count {
  font-size: 0.92rem;
  color: var(--text-light);
}

.mk-results-count strong {
  color: var(--secondary);
}

.mk-active-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.mk-chip-removable {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(231, 25, 46, 0.12);
  color: var(--primary-dark);
  border: none;
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
}

.mk-chip-removable:hover {
  background: rgba(231, 25, 46, 0.22);
}

/* ---------- Listing cards ---------- */
.mk-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 22px;
}

.mk-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.mk-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.mk-card-photo {
  aspect-ratio: 4 / 3;
  background: #f2f2f7;
  position: relative;
  overflow: hidden;
  display: block;
}

.mk-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.mk-card:hover .mk-card-photo img {
  transform: scale(1.04);
}

.mk-photo-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  color: #c4c4d4;
  background: #f2f2f7;
}

.mk-photo-count {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: rgba(20, 20, 40, 0.72);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.mk-card-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.mk-card-price {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.mk-card-title {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mk-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.mk-card-meta span {
  font-size: 0.74rem;
  color: var(--text-light);
  background: var(--light-bg);
  border-radius: 6px;
  padding: 3px 9px;
}

.mk-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  font-size: 0.76rem;
  color: var(--text-light);
}

/* ---------- Badges ---------- */
.mk-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
}

.mk-badge-featured {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: #fff;
  z-index: 2;
}

.mk-badge-sold {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #d62828;
  color: #fff;
  z-index: 2;
}

/* Sits in the same top-right slot as .mk-badge-sold - the two are mutually
   exclusive (a sold listing never shows the transfer badge), so reusing the
   position is safe and keeps the photo free of clutter. */
.mk-badge-transfer {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--secondary);
  color: #fff;
  z-index: 2;
}

.mk-badge-pending  { background: #fff4e0; color: #a4620a; }
.mk-badge-approved { background: #e4f6ec; color: #1e7a4a; }
.mk-badge-rejected { background: #fdecec; color: #b32020; }
.mk-badge-sold-flat { background: #ecedf7; color: #4a4a80; }

/* .mk-badge-featured is pinned over a card photo; the review queue needs the
   same colours sitting inline in a row of badges. */
.mk-badge-featured-flat {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--primary);
  color: #fff;
}

.mk-card.is-sold .mk-card-photo img {
  filter: grayscale(0.75);
}

/* ---------- Loading / empty / error states ---------- */
.mk-skeleton {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.mk-skeleton-photo {
  aspect-ratio: 4 / 3;
  background: linear-gradient(90deg, #f0f0f5 25%, #e6e6ef 37%, #f0f0f5 63%);
  background-size: 400% 100%;
  animation: mk-shimmer 1.3s ease-in-out infinite;
}

.mk-skeleton-line {
  height: 12px;
  margin: 14px 18px;
  border-radius: 6px;
  background: linear-gradient(90deg, #f0f0f5 25%, #e6e6ef 37%, #f0f0f5 63%);
  background-size: 400% 100%;
  animation: mk-shimmer 1.3s ease-in-out infinite;
}

.mk-skeleton-line.short { width: 45%; }

@keyframes mk-shimmer {
  0%   { background-position: 100% 50%; }
  100% { background-position: 0 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .mk-skeleton-photo,
  .mk-skeleton-line { animation: none; }

  .bike-card,
  .bike-img img,
  .why-us-card,
  .service-mini-card,
  .review-card,
  .btn,
  .btn-primary,
  .btn-outline,
  .btn-outline-primary {
    transition: none !important;
  }

  .bike-card:hover,
  .why-us-card:hover,
  .service-mini-card:hover,
  .bike-card:hover .bike-img img {
    transform: none !important;
  }
}

.mk-state {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 50px 26px;
  text-align: center;
}

.mk-state-icon {
  font-size: 3rem;
  margin-bottom: 14px;
}

.mk-state h3 {
  color: var(--secondary);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.mk-state p {
  color: var(--text-light);
  font-size: 0.92rem;
  max-width: 460px;
  margin: 0 auto 20px;
}

.mk-state .btn + .btn {
  margin-left: 10px;
}

/* ---------- Pagination ---------- */
.mk-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.mk-page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--secondary);
  font-weight: 600;
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
}

.mk-page-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.mk-page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.mk-page-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.mk-page-dots {
  color: var(--text-light);
  padding: 0 4px;
}

/* ============================================
   Ad detail page
============================================ */

.mk-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  align-items: start;
}

.mk-gallery {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  margin-bottom: 22px;
}

.mk-gallery-main {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #061B2B;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
}

.mk-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mk-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--secondary);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mk-gallery-nav:hover { background: #fff; }
.mk-gallery-nav.prev { left: 12px; }
.mk-gallery-nav.next { right: 12px; }

.mk-gallery-counter {
  position: absolute;
  bottom: 12px;
  right: 14px;
  background: rgba(20, 20, 40, 0.72);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}

.mk-thumbs {
  display: flex;
  gap: 10px;
  padding: 12px;
  overflow-x: auto;
  background: var(--light-bg);
}

.mk-thumb {
  flex: 0 0 76px;
  width: 76px;
  height: 58px;
  border-radius: 8px;
  border: 2px solid transparent;
  overflow: hidden;
  padding: 0;
  background: #fff;
  cursor: pointer;
  transition: var(--transition);
}

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

.mk-thumb.active {
  border-color: var(--primary);
}

/* Fullscreen photo viewer */
.mk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(10, 10, 20, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.mk-lightbox.open { display: flex; }

.mk-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.mk-lightbox-close,
.mk-lightbox-nav {
  position: absolute;
  border: none;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
}

.mk-lightbox-close { top: 20px; right: 20px; }
.mk-lightbox-nav.prev { left: 20px; top: 50%; transform: translateY(-50%); }
.mk-lightbox-nav.next { right: 20px; top: 50%; transform: translateY(-50%); }

.mk-lightbox-close:hover,
.mk-lightbox-nav:hover { background: rgba(255, 255, 255, 0.3); }

/* ---------- Detail body ---------- */
.mk-detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 24px;
  margin-bottom: 22px;
}

.mk-detail-card h2 {
  font-size: 1.05rem;
  color: var(--secondary);
  margin-bottom: 16px;
}

.mk-detail-card > .mk-badge {
  margin-bottom: 12px;
}

.mk-detail-price {
  font-family: 'Poppins', sans-serif;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.mk-detail-title {
  font-size: 1.25rem;
  color: var(--secondary);
  margin: 8px 0 12px;
  line-height: 1.4;
  overflow-wrap: break-word;
  word-break: break-word;
}

.mk-detail-subline {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--text-light);
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}

.mk-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px 0 0;
}

.mk-tag {
  background: var(--light-bg);
  border: 1px solid var(--border);
  color: var(--secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 13px;
  border-radius: 50px;
}

.mk-tag.accent {
  background: rgba(231, 25, 46, 0.12);
  border-color: rgba(231, 25, 46, 0.3);
  color: var(--primary-dark);
}

.mk-spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.mk-spec-grid div {
  background: #fff;
  padding: 14px 16px;
}

.mk-spec-grid dt {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-light);
  margin-bottom: 4px;
}

.mk-spec-grid dd {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--secondary);
  margin: 0;
}

.mk-description {
  color: var(--text-dark);
  font-size: 0.94rem;
  line-height: 1.8;
  white-space: pre-line;
  word-break: break-word;
}

.mk-feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 8px 18px;
}

.mk-feature-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.mk-feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 800;
}

/* ---------- Seller sidebar ---------- */
.mk-seller-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 22px;
  position: sticky;
  top: 92px;
}

.mk-seller-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 18px;
}

.mk-seller-head > div {
  min-width: 0;
}

.mk-seller-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--secondary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.mk-seller-head h3 {
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 2px;
  overflow-wrap: break-word;
  word-break: break-word;
}

.mk-seller-head span {
  font-size: 0.78rem;
  color: var(--text-light);
}

.mk-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mk-contact-actions .btn {
  width: 100%;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.mk-btn-whatsapp {
  background: #25d366;
  color: #fff;
}

.mk-btn-whatsapp:hover {
  background: #1eb85a;
  color: #fff;
}

.mk-phone-reveal {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.mk-safety {
  background: #fff9ee;
  border: 1px solid #f4e2c2;
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-top: 22px;
}

.mk-safety h4 {
  font-size: 0.92rem;
  color: #8a5a10;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mk-safety ul li {
  position: relative;
  padding-left: 18px;
  font-size: 0.82rem;
  color: #6d5223;
  line-height: 1.65;
  margin-bottom: 5px;
}

.mk-safety ul li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: #c58b28;
}

.mk-dealer-note {
  background: var(--secondary);
  color: #d8d8e6;
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 22px;
}

.mk-dealer-note h4 {
  color: #fff;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.mk-dealer-note p {
  font-size: 0.85rem;
  margin-bottom: 14px;
}

/* ============================================
   Post an ad - step wizard
============================================ */

.mk-wizard {
  max-width: 780px;
  margin: 0 auto;
}

.mk-steps {
  display: flex;
  gap: 6px;
  margin-bottom: 26px;
  counter-reset: mkstep;
}

.mk-step {
  flex: 1;
  text-align: center;
  position: relative;
  padding-top: 42px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-light);
}

.mk-step::before {
  counter-increment: mkstep;
  content: counter(mkstep);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--border);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 2;
}

/* the connecting rail */
.mk-step::after {
  content: "";
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border);
  z-index: 1;
}

.mk-step:first-child::after { left: 50%; }
.mk-step:last-child::after  { right: 50%; }

.mk-step.active {
  color: var(--primary);
}

.mk-step.active::before {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.mk-step.done {
  color: var(--success);
}

.mk-step.done::before {
  content: "✓";
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.mk-step.done::after {
  background: var(--success);
}

.mk-panel {
  display: none;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px 28px;
}

.mk-panel.active { display: block; }

.mk-panel h2 {
  font-size: 1.2rem;
  color: var(--secondary);
  margin-bottom: 4px;
}

.mk-panel-sub {
  color: var(--text-light);
  font-size: 0.88rem;
  margin-bottom: 24px;
}

.mk-field {
  margin-bottom: 18px;
}

.mk-field label,
.mk-field .mk-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 7px;
}

.mk-field .mk-hint {
  display: block;
  font-size: 0.76rem;
  font-weight: 400;
  color: var(--text-light);
  margin-top: 5px;
}

.mk-req {
  color: #d62828;
}

.mk-field input,
.mk-field select,
.mk-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: #fff;
  color: var(--text-dark);
}

.mk-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.mk-field input:focus,
.mk-field select:focus,
.mk-field textarea:focus {
  outline: 2px solid var(--primary);
  border-color: var(--primary);
}

.mk-field input.field-invalid,
.mk-field select.field-invalid,
.mk-field textarea.field-invalid {
  border-color: #d62828;
}

.mk-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.mk-prefix-input {
  display: flex;
  align-items: stretch;
}

.mk-prefix-input .mk-prefix {
  display: flex;
  align-items: center;
  padding: 0 14px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 8px 0 0 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
}

.mk-prefix-input input {
  border-radius: 0 8px 8px 0;
}

/* Selectable option cards (condition, registered, ...) */
.mk-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.mk-option {
  position: relative;
  display: block;
  cursor: pointer;
}

.mk-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.mk-option-box {
  display: block;
  padding: 14px 16px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: #fff;
  transition: var(--transition);
}

.mk-option-box strong {
  display: block;
  font-size: 0.9rem;
  color: var(--secondary);
}

.mk-option-box small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 2px;
}

.mk-option:hover .mk-option-box {
  border-color: #cfcfe0;
}

.mk-option input:checked + .mk-option-box {
  border-color: var(--primary);
  background: rgba(231, 25, 46, 0.07);
}

.mk-option input:focus-visible + .mk-option-box {
  box-shadow: 0 0 0 3px rgba(231, 25, 46, 0.3);
}

/* Feature ticks are one line each, so they need less room than the
   condition cards they share styling with. */
.mk-options.compact {
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 8px;
}

.mk-options.compact .mk-option-box {
  padding: 10px 13px;
}

.mk-options.compact .mk-option-box strong {
  font-weight: 500;
  font-size: 0.84rem;
}

/* ---- Photo uploader ---- */
.mk-dropzone {
  border: 2px dashed #cfcfe0;
  border-radius: 12px;
  background: var(--light-bg);
  padding: 34px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.mk-dropzone:hover,
.mk-dropzone.is-drag {
  border-color: var(--primary);
  background: rgba(231, 25, 46, 0.06);
}

.mk-dropzone i {
  font-size: 2.1rem;
  color: var(--primary);
  margin-bottom: 10px;
  display: block;
}

.mk-dropzone strong {
  display: block;
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 4px;
}

.mk-dropzone span {
  display: block;
  font-size: 0.82rem;
  color: var(--text-light);
}

.mk-dropzone input[type="file"] {
  display: none;
}

.mk-photo-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.mk-photo-preview {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--light-bg);
  border: 1px solid var(--border);
}

.mk-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mk-photo-preview.is-cover {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(231, 25, 46, 0.35);
}

.mk-cover-tag {
  position: absolute;
  left: 6px;
  bottom: 6px;
  background: var(--primary);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 20px;
}

.mk-photo-actions {
  position: absolute;
  top: 6px;
  right: 6px;
  display: flex;
  gap: 4px;
}

.mk-photo-btn {
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: rgba(11, 38, 56, 0.82);
  color: #fff;
  font-size: 0.72rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: var(--transition);
}

.mk-photo-btn:hover {
  background: var(--primary);
}

.mk-photo-btn.mk-photo-remove:hover {
  background: #d64545;
}

.mk-photo-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.mk-upload-note {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 12px;
}

.mk-upload-note strong {
  color: var(--secondary);
}

/* ---- Wizard review + navigation ---- */
.mk-review-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.mk-review-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 15px;
  font-size: 0.88rem;
  background: #fff;
}

.mk-review-row:nth-child(odd) {
  background: var(--light-bg);
}

.mk-review-row span {
  color: var(--text-light);
}

.mk-review-row strong {
  color: var(--secondary);
  text-align: right;
  font-weight: 600;
  word-break: break-word;
}

.mk-wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.mk-wizard-nav .mk-btn-navy,
.mk-wizard-nav .mk-btn-ghost {
  min-width: 130px;
  justify-content: center;
}

.mk-form-alert {
  display: none;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 0.87rem;
  margin-bottom: 18px;
  background: #fdecec;
  color: #a12c2c;
  border: 1px solid #f5c9c9;
}

.mk-form-alert.show {
  display: flex;
}

.mk-form-alert i {
  margin-top: 2px;
}

.mk-turnstile {
  margin: 6px 0 4px;
  min-height: 4px;
}

.mk-consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.83rem;
  color: var(--text-light);
  line-height: 1.6;
}

.mk-consent input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

.mk-consent a {
  color: var(--primary);
  font-weight: 600;
}

.mk-hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0 !important;
  width: 0 !important;
}

/* ---- Success screen ---- */
.mk-success {
  display: none;
  text-align: center;
  padding: 46px 26px;
}

.mk-success.show {
  display: block;
}

.mk-success-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: rgba(42, 157, 143, 0.12);
  color: var(--success);
  display: grid;
  place-items: center;
  font-size: 2.2rem;
}

.mk-success h2 {
  font-size: 1.6rem;
  color: var(--secondary);
  margin-bottom: 10px;
}

.mk-success p {
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 12px;
  font-size: 0.94rem;
  line-height: 1.7;
}

.mk-ad-id {
  display: inline-block;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 1px;
  color: var(--secondary);
  background: var(--light-bg);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 9px 18px;
  margin: 6px 0 20px;
}

.mk-manage-link {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  margin: 0 auto 22px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px 8px 8px 14px;
}

.mk-manage-link input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 0.82rem;
  color: var(--text-light);
  min-width: 0;
  outline: none;
}

.mk-manage-link:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(231, 25, 46, 0.15);
}

.mk-copy-btn {
  border: none;
  background: var(--secondary);
  color: #fff;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.mk-copy-btn:hover {
  background: var(--primary);
}

.mk-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ---- Manage my ad ---- */
.mk-status-banner {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 16px 18px;
  border-radius: 12px;
  margin-bottom: 22px;
  font-size: 0.9rem;
  line-height: 1.65;
  border: 1px solid var(--border);
  background: var(--light-bg);
  color: var(--text-light);
}

.mk-status-banner i {
  font-size: 1.2rem;
  margin-top: 2px;
}

.mk-status-banner strong {
  display: block;
  color: var(--secondary);
  font-size: 0.98rem;
  margin-bottom: 3px;
}

.mk-status-banner.is-pending {
  background: #fff7e8;
  border-color: #f3ddb5;
  color: #8a6416;
}

.mk-status-banner.is-approved {
  background: rgba(42, 157, 143, 0.1);
  border-color: rgba(42, 157, 143, 0.3);
  color: #1f7a70;
}

.mk-status-banner.is-rejected {
  background: #fdecec;
  border-color: #f5c9c9;
  color: #a12c2c;
}

.mk-manage-summary {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}

.mk-manage-summary img {
  width: 110px;
  height: 82px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  background: var(--light-bg);
}

.mk-manage-summary h2 {
  font-size: 1.1rem;
  color: var(--secondary);
  margin-bottom: 5px;
}

.mk-manage-summary .mk-card-price {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.mk-manage-actions {
  display: grid;
  gap: 12px;
}

.mk-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.mk-btn-danger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #f0c2c2;
  background: #fdecec;
  color: #a12c2c;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.mk-btn-danger:hover {
  background: #a12c2c;
  border-color: #a12c2c;
  color: #fff;
}

.mk-inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.mk-inline-form input {
  width: 190px;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.mk-inline-form input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(231, 25, 46, 0.15);
}

.mk-toast {
  position: fixed;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 24px);
  background: var(--secondary);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 13px 22px;
  border-radius: 30px;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 4000;
  max-width: calc(100vw - 40px);
  text-align: center;
}

.mk-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.mk-toast.is-error {
  background: #a12c2c;
}

/* ---- Admin dashboard ---- */
.mk-login-wrap {
  max-width: 400px;
  margin: 0 auto;
}

.mk-login-wrap .mk-card-surface {
  padding: 34px 30px;
}

.mk-login-logo {
  text-align: center;
  margin-bottom: 22px;
}

.mk-login-logo i {
  font-size: 2rem;
  color: var(--primary);
}

.mk-login-logo h1 {
  font-size: 1.3rem;
  color: var(--secondary);
  margin-top: 8px;
}

.mk-login-logo p {
  font-size: 0.84rem;
  color: var(--text-light);
  margin-top: 4px;
}

.mk-admin-head {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
}

.mk-admin-head h1 {
  font-size: 1.45rem;
  color: var(--secondary);
}

.mk-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}

.mk-stat {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}

.mk-stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.2;
}

.mk-stat span {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-light);
  margin-top: 3px;
}

.mk-stat.is-pending strong {
  color: #c58a10;
}

.mk-stat.is-live strong {
  color: var(--success);
}

.mk-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.mk-tab {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 30px;
  cursor: pointer;
  transition: var(--transition);
}

.mk-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.mk-tab.active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

#sectionTabs {
  margin-bottom: 26px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

#sectionTabs .mk-tab {
  font-size: 0.92rem;
  padding: 10px 22px;
}

#sectionTabs .mk-tab.active {
  background: var(--primary);
  border-color: var(--primary);
}

.mk-admin-list {
  display: grid;
  gap: 14px;
}

.mk-admin-row {
  display: flex;
  gap: 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 15px;
  box-shadow: var(--shadow);
}

.mk-admin-row img,
.mk-admin-thumb {
  width: 128px;
  height: 96px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 9px;
  background: var(--light-bg);
}

.mk-admin-thumb {
  display: grid;
  place-items: center;
  color: #c3c3d4;
  font-size: 1.5rem;
}

.mk-admin-main {
  flex: 1;
  min-width: 0;
}

.mk-admin-main h3 {
  font-size: 1rem;
  color: var(--secondary);
  margin-bottom: 5px;
}

.mk-admin-main h3 a {
  color: inherit;
}

.mk-admin-main h3 a:hover {
  color: var(--primary);
}

.mk-admin-meta {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.7;
  word-break: break-word;
}

.mk-admin-meta b {
  color: var(--secondary);
  font-weight: 600;
}

.mk-admin-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 7px;
}

.mk-admin-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

.mk-mini-btn {
  border: 1px solid var(--border);
  background: #fff;
  color: var(--secondary);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 7px 13px;
  border-radius: 7px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mk-mini-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.mk-mini-btn.is-approve:hover {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.mk-mini-btn.is-reject:hover,
.mk-mini-btn.is-delete:hover {
  background: #a12c2c;
  border-color: #a12c2c;
  color: #fff;
}

.mk-mini-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.mk-admin-note {
  margin-top: 9px;
  font-size: 0.79rem;
  background: #fff7e8;
  border: 1px solid #f3ddb5;
  color: #8a6416;
  border-radius: 7px;
  padding: 7px 11px;
}

.mk-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

/* The sign-in card has one field, so the button owns the whole width. */
.mk-btn-block {
  width: 100%;
  justify-content: center;
}

.mk-center-hint {
  margin-top: 15px;
  text-align: center;
}

/* Seller phone sits in a monospace-ish block so digits are easy to read
   off the screen while calling. */
.mk-admin-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 8px;
  color: var(--secondary);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.mk-admin-phone:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.mk-admin-desc {
  margin-top: 8px;
  font-size: 0.81rem;
  line-height: 1.7;
  color: var(--text-light);
  white-space: pre-wrap;
  word-break: break-word;
}

/* ---- Setup / empty notice ---- */
.mk-setup-notice {
  display: none;
  gap: 14px;
  align-items: flex-start;
  background: #fff7e8;
  border: 1px solid #f3ddb5;
  color: #8a6416;
  border-radius: 12px;
  padding: 17px 19px;
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.mk-setup-notice.show {
  display: flex;
}

.mk-safety-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff7e8;
  border: 1px solid #f3ddb5;
  color: #6d5223;
  border-radius: 12px;
  padding: 17px 19px;
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.mk-safety-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.mk-safety-notice a {
  color: #8a5a10;
  font-weight: 700;
  text-decoration: underline;
}

.mk-setup-notice i {
  font-size: 1.25rem;
  margin-top: 2px;
}

.mk-setup-notice strong {
  display: block;
  color: var(--secondary);
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.mk-setup-notice code {
  background: rgba(11, 38, 56, 0.08);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.85em;
}

.mk-related {
  margin-top: 46px;
}

.mk-related h2 {
  font-size: 1.3rem;
  color: var(--secondary);
  margin-bottom: 18px;
}

/* ---- Marketplace hero strip ---- */
.mk-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #23234f 100%);
  color: #fff;
  padding: 46px 0 40px;
  text-align: center;
}

.mk-hero h1 {
  font-size: 2.1rem;
  margin-bottom: 10px;
}

.mk-hero p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  margin: 0 auto 22px;
  font-size: 0.97rem;
  line-height: 1.7;
}

.mk-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.mk-btn-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
}

.mk-btn-light:hover {
  background: var(--accent);
  color: var(--secondary);
  transform: translateY(-2px);
}

/* ---- Marketplace responsive ---- */
@media (max-width: 980px) {
  .mk-layout {
    grid-template-columns: 1fr;
  }

  .mk-filters-toggle {
    display: flex;
  }

  .mk-filters {
    position: static;
    max-height: none;
    display: none;
  }

  .mk-filters.show {
    display: block;
  }

  .mk-detail-layout {
    grid-template-columns: 1fr;
  }

  .mk-seller-card {
    position: static;
  }

  .mk-hero h1 {
    font-size: 1.75rem;
  }

  .mk-steps {
    gap: 0;
  }
}

@media (max-width: 600px) {
  .mk-page {
    padding: 26px 0 50px;
  }

  .mk-card-surface,
  .mk-panel {
    padding: 20px 17px;
  }

  .mk-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
  }

  .mk-grid-2 {
    grid-template-columns: 1fr;
  }

  .mk-filter-pair {
    grid-template-columns: 1fr 1fr;
  }

  .mk-step span {
    display: none;
  }

  .mk-wizard-nav .mk-btn-navy,
  .mk-wizard-nav .mk-btn-ghost {
    min-width: 0;
    flex: 1;
    padding-left: 14px;
    padding-right: 14px;
  }

  .mk-hero {
    padding: 34px 0 30px;
  }

  .mk-hero h1 {
    font-size: 1.5rem;
  }
}

/* Visible to screen readers only. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.mk-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  fill: currentColor;
  flex-shrink: 0;
}

.mk-dropzone .mk-icon,
.mk-state-icon .mk-icon,
.mk-success-icon .mk-icon,
.mk-login-logo .mk-icon {
  display: block;
  margin: 0 auto;
  /* vertical-align: baseline; */
}

.mk-dropzone .mk-icon {
  margin-bottom: 10px;
  font-size: 2.1rem;
  color: var(--primary);
}

/* The photo buttons are tiny circles, so the glyph has to be smaller
   than the 1em the base .mk-icon rule would give it. */
.mk-photo-btn .mk-icon {
  font-size: 0.72rem;
}

/* A finished step can be tapped to go back and change something. */
.mk-step.done {
  cursor: pointer;
}

.mk-setup-notice .mk-icon,
.mk-status-banner .mk-icon,
.mk-form-alert .mk-icon {
  margin-top: 3px;
}

.mk-setup-notice .mk-icon {
  font-size: 1.25rem;
}

.mk-login-logo .mk-icon {
  font-size: 2rem;
  color: var(--primary);
}

.mk-card-foot .mk-icon,
.mk-photo-count .mk-icon {
  opacity: 0.85;
}

@media (max-width: 520px) {
  .mk-card-body {
    padding: 12px 13px 13px;
  }

  .mk-card-price {
    font-size: 1rem;
  }

  .mk-card-title {
    font-size: 0.85rem;
  }

  .mk-detail-title {
    font-size: 1.25rem;
  }

  .mk-detail-price {
    font-size: 1.55rem;
  }

  .mk-spec-grid {
    grid-template-columns: 1fr;
  }

  .mk-admin-row {
    flex-direction: column;
  }

  .mk-admin-row img,
  .mk-admin-thumb {
    width: 100%;
    height: 150px;
  }

  .mk-manage-summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .mk-manage-summary img {
    width: 100%;
    height: 160px;
  }

  .mk-inline-form input {
    width: 100%;
  }
}

