@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');

:root {
  --ink: #291d25;
  --red: #bd292c;
  --red-dark: #9f2227;
  --cream: #f4efe9;
  --paper: #f8f3ee;
  --line: #ddd1c7;
  --muted: #77686a;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: 'DM Sans', Arial, sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
.urdu { font-family: 'Noto Naskh Arabic', serif; }

.topbar { align-items: center; background: var(--ink); color: #f7f2edcc; display: flex; font-size: 11px; gap: 10px; justify-content: center; letter-spacing: .05em; padding: 9px 20px; text-align: center; }
.dot { color: var(--red); }
.site-header { backdrop-filter: blur(18px); background: #f4efe9f5; border-bottom: 1px solid #d9cec5cc; position: sticky; top: 0; z-index: 10; }
.header-inner { align-items: center; display: flex; height: 76px; justify-content: space-between; margin: auto; max-width: 1280px; padding: 0 32px; }
.brand { align-items: center; display: flex; gap: 14px; }
.brand img { height: 55px; object-fit: contain; width: auto; }
.brand span { border-left: 1px solid #cfc1b7; color: #6e6066; font-size: 10px; font-weight: 700; letter-spacing: .16em; line-height: 1.2; padding-left: 14px; text-transform: uppercase; }
.desktop-nav { display: flex; gap: 34px; font-size: 14px; font-weight: 700; color: #584a52; }
.desktop-nav a:hover, .language-toggle:hover { color: var(--red); }
.header-actions { align-items: center; display: flex; gap: 10px; }
.language-toggle, .menu-toggle { background: transparent; border: 1px solid #cfc1b7; border-radius: 999px; color: #584a52; cursor: pointer; padding: 10px 13px; }
.menu-toggle { display: none; font-size: 18px; padding: 7px 11px; }
.button { border: 0; border-radius: 12px; cursor: pointer; display: inline-flex; font-size: 13px; font-weight: 700; gap: 10px; justify-content: center; padding: 13px 22px; transition: .2s ease; }
.button-red { background: var(--red); color: white; box-shadow: 0 8px 18px #bd292c2e; }
.button-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.header-cta { border-radius: 999px; padding: 13px 20px; }
.mobile-nav { display: none; }

.hero { color: #f7f2ed; height: 630px; overflow: hidden; position: relative; }
.hero-slides, .hero-slide, .hero-slide img, .hero-overlay { inset: 0; position: absolute; }
.hero-slide { opacity: 0; transition: opacity 1s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { height: 100%; object-fit: cover; width: 100%; }
.hero-overlay { background: linear-gradient(180deg, #291d2566 0%, #291d258c 48%, #291d25e8 100%); }
.hero-content { align-items: center; display: flex; flex-direction: column; height: 100%; justify-content: center; margin: auto; max-width: 1280px; padding: 18px 32px 74px; position: relative; text-align: center; }
.eyebrow { align-items: center; color: #f0a198; display: flex; font-size: 10px; font-weight: 700; gap: 10px; letter-spacing: .24em; text-transform: uppercase; }
.eyebrow span { background: var(--red); display: inline-block; height: 1px; width: 32px; }
.hero h1 { font-size: clamp(2.2rem, 7vw, 6.5rem); letter-spacing: -.055em; line-height: .95; margin: 18px 0 0; white-space: nowrap; }
.hero h1 strong, h2 strong { color: #e33e3c; }
.hero-copy { color: #f0e3df; font-size: 18px; line-height: 1.5; margin: 22px auto 0; max-width: 720px; }
.hero-urdu { color: #f6e6df; font-size: 21px; margin: 4px 0 0; }
.search-form { align-items: center; background: #f7f2ed; border-radius: 18px; box-shadow: 0 16px 40px #120b104d; display: flex; gap: 8px; margin-top: 24px; max-width: 700px; padding: 8px; width: 100%; }
.search-icon { color: var(--red); font-size: 25px; line-height: 1; padding-left: 10px; }
.search-form input { background: transparent; border: 0; color: var(--ink); flex: 1; min-width: 0; outline: none; padding: 0 8px; }
.search-form input::placeholder { color: #887a7b; }
.search-form .button { height: 44px; white-space: nowrap; }
.suggestions { align-items: center; color: #e2cdca; display: flex; flex-wrap: wrap; font-size: 12px; gap: 20px; justify-content: center; margin-top: 12px; }
.suggestions button, .latest-heading button { background: none; border: 0; border-bottom: 1px solid #a76e70; color: inherit; cursor: pointer; padding: 0 0 2px; }
.suggestions button:hover, .latest-heading button:hover { color: white; }
.carousel-controls { bottom: 28px; left: 0; position: absolute; right: 0; }
.carousel-dots { display: flex; gap: 7px; justify-content: center; }
.dot-button { background: #ffffff80; border: 0; border-radius: 999px; cursor: pointer; height: 6px; padding: 0; transition: .25s; width: 6px; }
.dot-button.is-active { background: #fff; width: 32px; }
.carousel-caption { align-items: center; color: #f0dfd5; display: flex; font-size: 12px; gap: 14px; justify-content: center; margin-top: 12px; }
.carousel-caption b { color: #e7c2bb; font-size: 15px; font-weight: 400; margin-left: 4px; }
.circle-button { align-items: center; background: #291d2573; border: 1px solid #ffffff59; border-radius: 50%; color: white; cursor: pointer; display: inline-flex; height: 32px; justify-content: center; width: 32px; }
.circle-button:hover { background: var(--red); }

.steps { background: #efe7e0; border-bottom: 1px solid #dfd4cb; display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.steps div { border-right: 1px solid #d4c8bd; display: flex; flex-direction: column; gap: 7px; justify-content: center; min-height: 108px; padding: 20px 32px; }
.steps div:last-child { border: 0; }
.steps b { color: var(--red); font-size: 10px; letter-spacing: .18em; }
.steps strong { color: #43333b; font-size: 13px; }
.steps span { color: #857477; font-size: 15px; }

.content-section { margin: auto; max-width: 1280px; padding: 110px 32px 120px; }
.section-heading { align-items: end; display: flex; gap: 40px; justify-content: space-between; }
.eyebrow-light { color: var(--red); }
.section-heading h2, .seller-section h2 { font-size: clamp(3rem, 5.6vw, 5.7rem); letter-spacing: -.05em; line-height: .93; margin: 18px 0 0; }
.section-heading .urdu, .seller-section .urdu { color: #6d5c62; font-size: 21px; margin-top: 16px; }
.section-intro { color: var(--muted); font-size: 14px; line-height: 1.7; max-width: 300px; text-align: right; }
.category-grid { display: grid; gap: 13px; grid-template-columns: repeat(3, 1fr); margin-top: 48px; }
.category-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; color: var(--ink); cursor: pointer; display: flex; flex-direction: column; padding: 20px; text-align: left; transition: .25s ease; }
.category-card:hover { border-color: #bd292c80; box-shadow: 0 16px 28px #492d2d17; transform: translateY(-3px); }
.card-image { border-radius: 12px; height: 130px; overflow: hidden; position: relative; }
.card-image img, .listing-image img { height: 100%; object-fit: cover; transition: .5s ease; width: 100%; }
.category-card:hover img, .listing-card:hover img { transform: scale(1.05); }
.card-image::after { background: linear-gradient(0deg, #291d25b3, transparent); content: ''; inset: 0; position: absolute; }
.card-image b, .card-image i { bottom: 12px; color: white; font-size: 12px; font-style: normal; position: absolute; z-index: 1; }
.card-image b { font-family: monospace; left: 12px; }
.card-image i { font-size: 20px; right: 12px; }
.card-title { font-size: 18px; font-weight: 700; margin-top: 17px; }
.category-card > .urdu { color: #79686c; font-size: 18px; }
.category-card small { color: #928084; font-size: 11px; font-weight: 600; margin-top: 12px; }
.latest-heading { align-items: center; border-top: 1px solid #d9cec5; display: flex; justify-content: space-between; margin-top: 82px; padding-top: 28px; }
.latest-heading h3 { font-size: 28px; margin: 9px 0 0; }
.latest-heading button { color: var(--red); font-weight: 700; }
.listing-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); margin-top: 26px; }
.listing-card { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px; transition: .25s ease; }
.listing-card.is-hidden { display: none; }
.listing-card:hover { border-color: #bd292c80; }
.listing-image { aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; position: relative; }
.listing-image::after { background: linear-gradient(180deg, #291d2533, transparent 60%); content: ''; inset: 0; pointer-events: none; position: absolute; }
.listing-image span, .listing-image b { border-radius: 999px; font-size: 10px; font-weight: 700; position: absolute; top: 12px; z-index: 1; }
.listing-image span { background: #291d25bf; color: white; font-family: monospace; left: 12px; padding: 5px 9px; }
.listing-image b { background: #e7eee5; color: #4f6b50; padding: 6px 9px; right: 12px; }
.listing-card h4 { font-size: 18px; margin: 18px 0 2px; }
.listing-card > .urdu { color: #816f73; font-size: 18px; }
.listing-card > small { color: #87787a; display: block; font-size: 11px; margin-top: 12px; }
.listing-card footer { align-items: end; border-top: 1px solid #e2d7ce; display: flex; font-size: 11px; font-weight: 700; justify-content: space-between; margin-top: 18px; padding-top: 15px; }
.listing-card footer em { color: #98878a; font-size: 10px; font-style: normal; font-weight: 400; }
.ask-rate-wrap { position: relative; }
.ask-rate { background: transparent; border: 1px solid #bd292c99; border-radius: 999px; color: var(--red); cursor: pointer; font-size: 11px; font-weight: 700; list-style: none; padding: 9px 11px; }
.ask-rate::-webkit-details-marker { display: none; }
.ask-rate:hover { background: var(--red); color: white; }
.ask-rate-sent { color: #4f6b50; font-size: 11px; font-weight: 700; }
.ask-rate-form { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 30px #291d2526; display: flex; flex-direction: column; gap: 8px; margin-top: 10px; padding: 14px; position: absolute; right: 0; top: 100%; width: 240px; z-index: 5; }
.ask-rate-form input, .ask-rate-form textarea { background: white; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-size: 12px; padding: 8px 10px; }
.ask-rate-form textarea { min-height: 54px; resize: vertical; }
.ask-rate-form .button { font-size: 11px; padding: 9px 12px; }
.pagridhaga-hp { left: -9999px; position: absolute !important; }

.listing-image-link { color: inherit; display: block; }

.pagridhaga-form { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; max-width: 480px; }
.pagridhaga-form label { color: #584a52; display: flex; flex-direction: column; font-size: 13px; font-weight: 700; gap: 6px; }
.pagridhaga-form input, .pagridhaga-form select { background: var(--paper); border: 1px solid var(--line); border-radius: 10px; color: var(--ink); font-weight: 400; padding: 12px 14px; }
.pagridhaga-form .button { align-self: flex-start; margin-top: 8px; }
.form-hint { color: var(--muted); font-size: 12px; }
.form-notice { border-radius: 12px; font-size: 14px; font-weight: 600; margin-top: 24px; padding: 14px 18px; }
.form-notice-error { background: #fbe4e2; color: var(--red-dark); }
.form-notice-success { background: #e7eee5; color: #4f6b50; }
.pagridhaga-welcome { color: var(--muted); font-size: 13px; margin-top: 20px; }
.pagridhaga-welcome a { color: var(--red); font-weight: 700; }
.account-listing-table { display: flex; flex-direction: column; gap: 1px; margin-top: 28px; max-width: 560px; }
.account-listing-row { align-items: center; background: var(--paper); border: 1px solid var(--line); display: flex; font-weight: 700; gap: 12px; justify-content: space-between; padding: 16px 18px; }
.account-listing-row a { color: var(--ink); }
.account-listing-row a:hover { color: var(--red); }
.account-status { border-radius: 999px; font-size: 11px; font-weight: 700; padding: 5px 12px; white-space: nowrap; }
.account-status-publish { background: #e7eee5; color: #4f6b50; }
.account-status-pending { background: #fbe9d2; color: #9a6a1f; }
.account-status-draft { background: #e7e1dd; color: #6d5c62; }

.category-card { text-align: left; }
.category-filter-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0; }
.category-filter-chips a { background: var(--paper); border: 1px solid var(--line); border-radius: 999px; color: #584a52; font-size: 12px; font-weight: 700; padding: 9px 16px; }
.category-filter-chips a:hover, .category-filter-chips a.is-active { background: var(--red); border-color: var(--red); color: white; }
.archive-search-form { margin-top: 24px; max-width: 700px; }
.no-listings { color: var(--muted); grid-column: 1 / -1; padding: 40px 0; }
.no-listings a { color: var(--red); font-weight: 700; }

.listing-pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 48px; }
.listing-pagination span, .listing-pagination a { align-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); display: inline-flex; font-size: 13px; font-weight: 700; justify-content: center; min-width: 40px; padding: 8px 12px; }
.listing-pagination a:hover, .listing-pagination .current { background: var(--red); border-color: var(--red); color: white; }

.single-listing-back { margin-bottom: 24px; }
.single-listing-back a { color: var(--red); font-weight: 700; }
.single-listing-layout { display: grid; gap: 48px; grid-template-columns: 1.1fr .9fr; }
.single-listing-image { border-radius: 18px; overflow: hidden; position: relative; }
.single-listing-image img { height: 100%; object-fit: cover; width: 100%; }
.single-listing-image b { background: #e7eee5; border-radius: 999px; color: #4f6b50; font-size: 11px; font-weight: 700; padding: 6px 12px; position: absolute; right: 16px; top: 16px; }
.single-listing-info h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); letter-spacing: -.03em; line-height: 1.02; margin: 14px 0 0; }
.single-listing-spec { color: var(--muted); font-size: 15px; margin-top: 14px; }
.single-listing-seller { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; margin-top: 28px; padding: 18px; }
.single-listing-seller strong { display: block; font-size: 18px; }
.single-listing-seller span { color: var(--muted); font-size: 13px; }
.single-listing-info .ask-rate-wrap { margin-top: 20px; }
.single-listing-info .ask-rate-form { position: static; width: 100%; }

.seller-section { align-items: center; background: #e9ddd5; display: grid; gap: 70px; grid-template-columns: 1.1fr .9fr; padding: 110px max(32px, calc((100% - 1216px) / 2)); }
.seller-section > div:first-child > p:not(.urdu) { color: #6d5c62; line-height: 1.7; max-width: 560px; }
.seller-section .button { margin-top: 24px; }
.seller-card { background: var(--ink); border-radius: 24px; color: #f7f2ed; display: flex; flex-direction: column; gap: 10px; min-height: 300px; padding: 30px; }
.seller-number { color: #df6a60; font-family: monospace; font-weight: 700; }
.seller-card strong { font-size: 31px; letter-spacing: -.03em; margin-top: auto; }
.seller-card .urdu { color: #e5c9c1; font-size: 21px; }
.seller-card small { color: #bda5a8; line-height: 1.6; }

footer { background: var(--ink); color: #f7f2ed; display: grid; gap: 40px; grid-template-columns: 1.5fr 1fr 1fr; padding: 60px max(32px, calc((100% - 1216px) / 2)) 28px; }
footer img { height: 58px; width: auto; }
footer p { color: #bca7aa; font-size: 13px; line-height: 1.6; }
.footer-brand .urdu { color: #d7b9b3; font-size: 18px; }
.footer-bottom { border-top: 1px solid #5d454d; color: #bca7aa; display: flex; font-size: 11px; grid-column: 1 / -1; justify-content: space-between; padding-top: 20px; }

@media (max-width: 900px) {
  .desktop-nav, .header-cta, .language-toggle { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { background: var(--cream); border-top: 1px solid #d9cec5; display: none; flex-direction: column; gap: 18px; padding: 18px 24px; }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a { font-size: 14px; font-weight: 700; }
  .mobile-nav .urdu { color: #8d7c7e; font-size: 16px; margin-left: 6px; }
  .header-inner { padding: 0 20px; }
  .brand img { height: 50px; }
  .brand span { display: none; }
  .hero { height: 570px; }
  .hero-content { padding-left: 20px; padding-right: 20px; }
  .hero h1 { font-size: clamp(1.85rem, 7vw, 5rem); }
  .hero-copy { font-size: 16px; max-width: 620px; }
  .section-heading { align-items: start; flex-direction: column; }
  .section-intro { max-width: 420px; text-align: left; }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .seller-section { gap: 35px; grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .topbar { flex-wrap: wrap; font-size: 10px; gap: 5px 7px; line-height: 1.2; }
  .hero h1 { font-size: clamp(1.8rem, 8.5vw, 3.5rem); }
  .hero-copy { font-size: 15px; margin-top: 17px; }
  .hero-urdu { font-size: 18px; }
  .search-form { flex-direction: column; }
  .search-form input { min-height: 43px; text-align: center; width: 100%; }
  .search-form .button { width: 100%; }
  .suggestions { gap: 13px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps div { min-height: 95px; padding: 15px 20px; }
  .steps strong { font-size: 12px; }
  .content-section { padding: 75px 20px 80px; }
  .section-heading h2, .seller-section h2 { font-size: 3.2rem; }
  .category-grid, .listing-grid { gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .listing-card { padding: 14px; }
  .listing-card h4 { font-size: 15px; }
  .listing-card footer { align-items: start; flex-direction: column; gap: 12px; }
  .ask-rate { white-space: nowrap; }
  .ask-rate-form { position: static; margin-top: 12px; width: 100%; }
  .latest-heading { align-items: start; flex-direction: column; gap: 14px; }
  .seller-section { padding: 75px 20px; }
  footer { grid-template-columns: 1fr; padding: 50px 20px 24px; }
  .footer-bottom { grid-column: auto; }
  .single-listing-layout { gap: 28px; grid-template-columns: 1fr; }
  .pagridhaga-form { max-width: 100%; }
}