/* =====================================================
   BIRDSOUQ FINAL CSS AUDIT
   Phase 7: Global cleanup

   Preserved:
   - Tested visual design and responsive breakpoints
   - RTL behavior and Safari sidebar fix
   - Animations and interactive states
   - Existing class names and JavaScript hooks

   Final audit:
   - Removed exact redundancy only within the same scope
   - Preserved intentional breakpoint overrides
   - Normalized documentation spacing
   - Validated CSS syntax and brace balance
===================================================== */

/* =====================================================
   PHASE 3 CLEANUP NOTE

   Marketplace duplicates were consolidated conservatively.
   Existing phone behaviour, RTL rules, JavaScript hooks,
   animations, and responsive breakpoints are preserved.
===================================================== */

/* =====================================================
   BIRDSOUQ DEPLOYMENT-CLEAN STYLESHEET
===================================================== */

/*
   This version was cleaned conservatively for deployment.

   What was changed:
   - Trailing whitespace and excessive blank lines removed.
   - Section comments normalized.
   - Immediately repeated section headings removed.
   - Exact duplicate declarations inside the same rule removed.
   - CSS syntax validated.

   What was intentionally preserved:
   - Selector order.
   - Media-query order.
   - Existing class names.
   - Existing values and intentional overrides.
   - The cascade and visual behavior.

   Important:
   Broadly moving selectors or merging every media query can change
   the cascade and break the current design. A full modular refactor
   should be completed after deployment and tested page by page.
*/

/* =====================================================
   RESET + BASE
===================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}html {
  scroll-behavior: smooth;
}body {
  font-family: Arial, sans-serif;
  background: #f7f7f2;
  color: #1f2933;
  line-height: 1.6;
}button,
input,
select,
textarea {
  font-family: inherit;
}button {
  cursor: pointer;
}/* =====================================================
   HEADER & NAVIGATION
===================================================== */

/* -----------------------------------------------------
   1. Shared BirdSouq Design Tokens
----------------------------------------------------- */

:root {
  --birdsouq-green: #0f766e;
  --birdsouq-green-dark: #115e59;
  --birdsouq-mint: #ccfbf1;
  --birdsouq-cream: #fffdf6;
  --birdsouq-text: #172033;
  --birdsouq-muted: #5f6b7a;
  --birdsouq-border: #dce8e5;
}

/* -----------------------------------------------------
   2. Main Header Layout
----------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  min-height: 78px;
  padding: 14px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

/* -----------------------------------------------------
   3. Brand Logo
----------------------------------------------------- */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex-shrink: 0;
  color: var(--birdsouq-green);
  font-size: 24px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.logo-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 11px;
  background: linear-gradient(135deg, #f43f5e, #ec4899);
  color: #ffffff;
  transition: transform 0.25s ease;
}

.logo-icon svg {
  width: 21px;
  height: 21px;
  stroke-width: 2.2;
}

.logo:hover .logo-icon {
  transform: rotate(-8deg) translateY(-2px);
}

/* -----------------------------------------------------
   4. Desktop Navigation
----------------------------------------------------- */

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: nowrap;
  min-width: 0;
}

.nav-links a {
  position: relative;
  min-height: 42px;
  padding: 0 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #374151;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: var(--birdsouq-green);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active-link {
  color: var(--birdsouq-green);
}

.nav-links a:hover::after,
.nav-links a.active-link::after {
  transform: scaleX(1);
}

/* -----------------------------------------------------
   5. Header Action Buttons
----------------------------------------------------- */

.seller-btn,
.seller-login-btn,
.header-add-bird-btn,
.header-my-listings-btn,
.header-logout-btn,
.language-btn {
  min-height: 42px;
  padding: 0 18px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

/* Solid header actions */

.seller-btn,
.header-add-bird-btn,
.language-btn {
  border: 1px solid var(--birdsouq-green);
  background: var(--birdsouq-green);
  color: #ffffff;
}

.seller-btn:hover,
.header-add-bird-btn:hover,
.language-btn:hover {
  border-color: var(--birdsouq-green-dark);
  background: var(--birdsouq-green-dark);
  transform: translateY(-1px);
}

/* Outline header actions */

.seller-login-btn,
.header-my-listings-btn,
.header-logout-btn {
  border: 1px solid var(--birdsouq-green);
  background: #ffffff;
  color: var(--birdsouq-green);
}

.seller-login-btn:hover,
.header-my-listings-btn:hover,
.header-logout-btn:hover {
  background: #ecfdf5;
  transform: translateY(-1px);
}

/* -----------------------------------------------------
   6. Header Icons
----------------------------------------------------- */

.nav-links svg,
.seller-btn svg,
.seller-login-btn svg,
.header-add-bird-btn svg,
.header-my-listings-btn svg,
.header-logout-btn svg,
.language-btn svg,
.header-user-area svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  stroke-width: 2.1;
}

.nav-links a:hover svg,
.nav-links a.active-link svg {
  color: var(--birdsouq-green);
}

.seller-btn svg,
.header-add-bird-btn svg,
.language-btn svg {
  color: #ffffff;
}

.seller-login-btn svg,
.header-my-listings-btn svg,
.header-logout-btn svg {
  color: var(--birdsouq-green);
}

/* -----------------------------------------------------
   7. Authentication Visibility States
----------------------------------------------------- */

.header-add-bird-btn,
.header-my-listings-btn,
.header-user-area {
  display: none;
}

.header-add-bird-btn.active,
.header-my-listings-btn.active,
.header-user-area.active {
  display: inline-flex;
}

.header-add-bird-btn:not(.active),
.header-my-listings-btn:not(.active),
.header-user-area:not(.active) {
  display: none !important;
}

/* Prevents authentication controls from flashing while
   Firebase checks the current authentication state. */

.auth-loading #become-seller-btn,
.auth-loading #seller-login-header-btn,
.auth-loading #add-bird-header-btn,
.auth-loading #my-listings-btn,
.auth-loading #header-user-area,
.auth-loading #logout-btn {
  display: none !important;
}

/* -----------------------------------------------------
   8. Logged-In User Area
----------------------------------------------------- */

.header-user-area {
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--birdsouq-green);
  font-weight: 800;
  white-space: nowrap;
}

#header-user-name {
  color: var(--birdsouq-green);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.header-logout-btn {
  display: inline-flex;
}

/* -----------------------------------------------------
   9. Burger Menu Button
----------------------------------------------------- */

.menu-btn {
  width: 42px;
  height: 42px;
  display: none;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid #dbe4e3;
  border-radius: 12px;
  background: #ffffff;
  color: var(--birdsouq-text);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.menu-btn:hover {
  background: #ecfdf5;
  color: var(--birdsouq-green);
}

.menu-btn svg {
  width: 23px;
  height: 23px;
}

/* -----------------------------------------------------
   10. Responsive Header: 1200px
----------------------------------------------------- */


/* -----------------------------------------------------
   11. Original Mobile Drawer: 760px
----------------------------------------------------- */


/* -----------------------------------------------------
   12. Later Tablet Overrides: 1100px

   Preserved after the original 760px rules because this
   matches the cascade order of the source stylesheet.
----------------------------------------------------- */


/* -----------------------------------------------------
   13. Later Mobile Overrides: 760px
----------------------------------------------------- */


/* -----------------------------------------------------
   14. Mobile Sizing Overrides: 768px
----------------------------------------------------- */


/* -----------------------------------------------------
   15. Compact Mobile Header: 620px
----------------------------------------------------- */


/* =====================================================
   HOME PAGE: HERO
===================================================== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100px;
  padding: 10px 2% 1% 60px;
  display: grid;
  grid-template-columns: minmax(120px, 1.15fr)
    minmax(150px, 0.72fr);
  align-items: center;
  gap: 70px;
  background-image: linear-gradient(
     90deg,
    rgba(255, 253, 247, 0.98) 0%,
    rgba(255, 253, 247, 0.92) 28%,
    rgba(255, 253, 247, 0.42) 48%,
    rgba(255, 253, 247, 0.08) 70%,
    rgba(255, 253, 247, 0.05) 100%
  ),
    url("../images/birdsouq-hero-birds.png");
  background-repeat: no-repeat;
  background-size: auto auto
  auto 100%;
  background-position: center,
    48% center;
  background-color: #f8fffc;
}html[dir="rtl"] .hero {
  background-position: center,
        80% center;
}html[dir="rtl"] .hero-content {
  padding-right: 110px;
  /* Adjust as needed */
}/* Soft color atmosphere */

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
      circle at 7% 18%,
      rgba(204, 251, 241, 0.68),
      transparent 29%
    ),
    radial-gradient(
      circle at 88% 78%,
      rgba(254, 240, 138, 0.16),
      transparent 25%
    );
  pointer-events: none;
}/* =====================================================
   HERO CONTENT
===================================================== */

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 660px;
}.badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 24px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(204, 251, 241, 0.93);
  color: #01432c;
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(6px);
}.hero h1 {
  max-width: 650px;
  margin: 0 0 24px;
  color: #033e2c;
  font-size: clamp(45px, 5vw, 70px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}.hero-content > p {
  max-width: 590px;
  margin-bottom: 30px;
  color: #001d15;
  font-size: 20px;
  line-height: 1.78;
}.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}.hero-actions .primary-btn,
.hero-actions .secondary-btn {
  min-height: 54px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}.hero-actions .primary-btn {
  border: 1px solid #0f766e;
  background: #0f766e;
  color: #ffffff;
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.22);
}.hero-actions .secondary-btn {
  border: 1px solid #0f766e;
  background: rgba(255, 255, 255, 0.92);
  color: #0f766e;
}.hero-actions .primary-btn:hover,
.hero-actions .secondary-btn:hover {
  transform: translateY(-2px);
}.hero-actions .primary-btn:hover {
  background: #115e59;
}.hero-actions .secondary-btn:hover {
  background: #ecfdf5;
}/* =====================================================
   HERO TRUST LINE
===================================================== */

.hero-trust-line {
  width: fit-content;
  margin-top: 24px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  border: 1px solid rgba(15, 118, 110, 0.1);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #475569;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}.hero-trust-item svg {
  width: 17px;
  height: 17px;
  color: var(--birdsouq-green);
  stroke-width: 2.2;
}.hero-trust-item:last-child svg {
  color: #e84c74;
}


/* =====================================================
   HERO PROMISE CARD
===================================================== */

.hero-card {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 370px;
  justify-self: end;
  transform: translateX(62px);
  padding: 24px 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.13);
  transition: transform 0.25s ease,
    box-shadow 0.25s ease;
}.hero-card:hover {
  transform: translateX(62px)
    translateY(-4px);
  box-shadow: 0 30px 65px rgba(15, 23, 42, 0.17);
}/* =====================================================
   CARD HEADING
===================================================== */

.hero-card-heading {
  display: flex;
  align-items: center;
  gap: 13px;
  padding-bottom: 16px;
  margin-bottom: 3px;
  border-bottom: 1px solid rgba(15, 118, 110, 0.12);
}.hero-card-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(204, 251, 241, 0.88);
  color: var(--birdsouq-green);
}.hero-card-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}.hero-card-title {
  min-width: 0;
}.hero-card-label {
  display: block;
  color: var(--birdsouq-green);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}.hero-card h2 {
  margin: 4px 0 0;
  color: var(--birdsouq-text);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.15;
}/* =====================================================
   PROMISE BENEFITS
===================================================== */

.hero-benefits {
  display: grid;
}.hero-benefit {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  padding: 15px 4px;
  border-radius: 12px;
  transition: background 0.2s ease,
    transform 0.2s ease;
}.hero-benefit:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: rgba(15, 118, 110, 0.11);
}.hero-benefit:hover {
  background: rgba(255, 255, 255, 0.38);
  transform: translateX(3px);
}html[dir="rtl"] .hero-benefit:hover {
  transform: translateX(-3px);
}.hero-benefit-content {
  min-width: 0;
  flex: 1;
}.hero-benefit strong {
  display: block;
  margin-top: 1px;
  color: var(--birdsouq-text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}.hero-benefit p {
  margin: 4px 0 0;
  color: var(--birdsouq-muted);
  font-size: 12px;
  line-height: 1.45;
}/* =====================================================
   COLORED BENEFIT ICONS
===================================================== */

.benefit-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border-radius: 50%;
}.benefit-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}/* Verified sellers */

.verified-icon {
  background: #e5f8ef;
  color: #16866f;
}/* Bird welfare */

.welfare-icon {
  background: #fff0f3;
  color: #e93d69;
}/* Education */

.education-icon {
  background: #f3edff;
  color: #7651c7;
}/* Adoption */

.adoption-icon {
  background: #eaf4ff;
  color: #2f7dd3;
}


/* =====================================================
   RESPONSIVE PROMISE CARD
===================================================== */


/* =====================================================
   RESPONSIVE HERO
===================================================== */


/* =====================================================
   VALUES STRIP
===================================================== */

.values-strip {
  position: relative;
  z-index: 5;
  width: 100%;
  margin: -18px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 12px 7%;
  background: #ffffff;
  border-top: 1px solid rgba(15, 118, 110, 0.07);
  border-bottom: 1px solid rgba(15, 118, 110, 0.07);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}/* =====================================================
   VALUE ITEM
===================================================== */

.value-item {
  position: relative;
  min-width: 0;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 24px;
  background: transparent;
  transition: transform 0.22s ease;
}.value-item:hover {
  transform: translateY(-3px);
}/* Vertical separators */

.value-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 13px;
  bottom: 13px;
  inset-inline-end: 0;
  width: 1px;
  background: #edf3f3;
}/* =====================================================
   VALUE ICON
===================================================== */

.value-icon {
  position: relative;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--birdsouq-green);
  background: transparent;
  transition: color 0.22s ease,
    transform 0.22s ease;
}.value-icon svg {
  width: 42px;
  height: 42px;
  stroke-width: 1.9;
}.value-item:hover .value-icon {
  color: var(--birdsouq-green-dark);
  transform: translateY(-2px);
}/* House with heart */

.value-home-icon {
  position: relative;
}.value-heart-mark {
  position: absolute;
  left: 50%;
  top: 53%;
  transform: translate(-50%, -50%);
  color: #fb7185;
  font-size: 14px;
  line-height: 1;
  pointer-events: none;
}/* =====================================================
   VALUE TEXT
===================================================== */

.value-content {
  min-width: 0;
  max-width: 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}.value-content strong {
  display: block;
  margin-bottom: 3px;
  color: var(--birdsouq-text);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.2;
}.value-content p {
  margin: 0;
  color: var(--birdsouq-muted);
  font-size: 14px;
  line-height: 1.4;
}


/* =====================================================
   RESPONSIVE VALUES STRIP
===================================================== */


/* =====================================================
   MISSION + PROMISE WRAPPER
===================================================== */

.welfare-section {
  width: min(1700px, calc(100% - 40px));
  margin: 90px auto 20px;
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1fr)
    minmax(0, 1.1fr);
  gap: 24px;
  align-items: stretch;
  border-radius: 34px;
  background: radial-gradient(
      circle at 8% 20%,
      rgba(204, 251, 241, 0.7),
      transparent 34%
    ),
    radial-gradient(
      circle at 90% 80%,
      rgba(254, 240, 138, 0.22),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #f0fdfa,
      #fffdf7
    );
}.welfare-card {
  min-width: 0;
  padding: 55px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
}/* =====================================================
   MISSION CARD
===================================================== */

.mission-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}.mission-visual {
  position: relative;
  min-height: 370px;
  overflow: hidden;
  border-radius: 24px;
  background: #dff8f3;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
}.mission-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}.mission-card:hover .mission-visual img {
  transform: scale(1.035);
}.mission-heart {
  position: absolute;
  top: 22px;
  inset-inline-end: 24px;
  color: #fb7185;
  font-size: 32px;
  filter: drop-shadow(0 5px 10px rgba(15, 23, 42, 0.16));
  animation: missionHeart 1.8s ease-in-out infinite;
}

@keyframes missionHeart {50% {
  transform: scale(1.14);
}
}.mission-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}.mission-content .section-eyebrow,
.promise-heading .section-eyebrow {
  width: fit-content;
  background: rgba(204, 251, 241, 0.88);
  color: var(--birdsouq-green);
}.mission-content h2 {
  margin: 15px 0 15px;
  color: var(--birdsouq-text);
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.15;
}.mission-content > p {
  margin: 0;
  color: var(--birdsouq-muted);
  font-size: 15px;
  line-height: 1.75;
}.mission-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 24px;
}.mission-point {
  min-width: 0;
  text-align: center;
}.mission-point > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin: 0 auto 7px;
  border-radius: 14px;
  background: rgba(204, 251, 241, 0.82);
  font-size: 22px;
}.mission-point strong {
  display: block;
  color: var(--birdsouq-text);
  font-size: 11px;
  line-height: 1.35;
}/* =====================================================
   PROMISE CARD
===================================================== */

.promise-card-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 24px;
  text-align: center;
}.promise-heading h2 {
  margin: 10px 0 5px;
  color: var(--birdsouq-text);
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.15;
}.promise-heading > p {
  color: var(--birdsouq-muted);
  font-size: 13px;
  line-height: 1.5;
}.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(204, 251, 241, 0.9);
  color: #0f766e;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}.promise-heading .section-eyebrow {
  margin-inline: auto;
}/* =====================================================
   PROMISE ITEMS
===================================================== */

.promise-items {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 15px;
  margin-top: 20px;
}.promise-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.22s ease;
}.promise-item:hover {
  transform: translateY(-4px);
}/* =====================================================
   PROMISE CIRCULAR PHOTOS
===================================================== */

.promise-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 9px;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 9px 22px rgba(15, 23, 42, 0.13);
  transition: transform 0.25s ease,
    box-shadow 0.25s ease;
}.promise-heading .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto 10px;
}.promise-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  transition: transform 0.35s ease;
}.promise-item:hover .promise-image {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 29px rgba(15, 23, 42, 0.18);
}.promise-item:hover .promise-image img {
  transform: scale(1.07);
}.promise-item strong {
  display: block;
  max-width: 115px;
  color: var(--birdsouq-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}/* =====================================================
   PROMISE WARNING
===================================================== */

.promise-warning {
  background: #fff4ef;
  border: 1px solid #ffd7c2;
  color: #b45309;
  border-radius: 10px;
  font-size: 13px;
}


/* =====================================================
   RESPONSIVE PROMISE
===================================================== */


/* =====================================================
   RESPONSIVE MISSION + PROMISE
===================================================== */


/* =====================================================
   SHARED SECTION HEADING
===================================================== */

.section-heading .section-eyebrow {
  margin-bottom: 14px;
}

.section-heading h2 {
  font-size: clamp(32px, 4vw, 44px);
}

/* =====================================================
   LEGACY FILTER CONTAINER
===================================================== */

.filters {
  padding: 13px;
  border: 1px solid var(--birdsouq-border);
  border-radius: 19px;
  background: #ffffff;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.07);
}
/* =====================================================
   SAFETY RULES
===================================================== */

.rules-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.rule-card {
  min-width: 0;
  padding: 18px;
  overflow: hidden;

  border: 1px solid var(--birdsouq-border);
  border-radius: 18px;

  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.rule-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.rule-icon {
  width: 100%;
  height: 70px;
  display: grid;
  place-items: center;

  margin-bottom: 14px;

  border-radius: 15px;
  background: var(--birdsouq-mint);

  font-size: 38px;
}

.rule-card h3 {
  margin: 0 0 8px;

  color: var(--birdsouq-green);
  font-size: 17px;
  line-height: 1.3;
}

.rule-card p {
  margin: 0;

  color: var(--birdsouq-text);
  font-size: 14px;
  line-height: 1.55;
}
/* =====================================================
   FOOTER
===================================================== */

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 30px 7%;
  background: #101827;
  color: #dce5ee;
}.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}.footer-brand strong {
  color: #ffffff;
  font-size: 20px;
}.footer-brand span {
  color: #5eead4;
  font-size: 13px;
}.footer p {
  max-width: 780px;
  text-align: end;
  line-height: 1.7;
}


/* =====================================================
   RESPONSIVE HOMEPAGE
===================================================== */


/* =====================================================
   SECTIONS
===================================================== */

.birds-section,
.rules-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 20px;
}.section-heading {
  text-align: center !important;
  margin-bottom: 50px;
}.section-heading h2 {
  font-size: 30px;
  color: #111827;
  margin-bottom: 0px;
}.section-heading p {
  color: #6b7280;
}/* =====================================================
   FILTERS
===================================================== */

.filters {
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}.filters input,
.filters select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #d1d5db;
  border-radius: 14px;
  font-size: 15px;
  background: #ffffff;
  outline: none;
}.filters input:focus,
.filters select:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.1);
}/* =====================================================
   PHASE 3: PUBLIC BIRD MARKETPLACE

   Includes:
   - Marketplace heading and species shortcuts
   - Trust strip and filter panel
   - Bird grid and listing cards
   - Responsive and mobile card layouts
===================================================== */

.birds-section {
  width: min(1500px, calc(100% - 40px));
  margin: 0 auto;
  padding: 78px 0 100px;
}/* =====================================================
   MARKETPLACE HEADING
===================================================== */

.bird-marketplace-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 24px;
}

.bird-marketplace-title {
  max-width: 520px;
}

.bird-marketplace-title .section-eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  border-radius: 999px;
  background: #dff8f3;
  color: var(--birdsouq-green);
  font-size: 13px;
  font-weight: 800;
}

.bird-marketplace-title h2 {
  margin: 13px 0 8px;
  color: var(--birdsouq-text);
  font-size: clamp(30px, 3.3vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.bird-marketplace-title p {
  max-width: 590px;
  margin: 0;
  color: var(--birdsouq-muted);
  font-size: 14px;
  line-height: 1.65;
}/* =====================================================
   SPECIES SHORTCUTS
===================================================== */

.species-shortcuts {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
}

.species-shortcuts button {
  min-height: 32px;
  padding: 0 4px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;

  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 999px;
  background: #ffffff;
  color: #334155;

  font: inherit;
  font-size: 7.5px;
  font-weight: 800;
  cursor: pointer;

  box-shadow: 0 7px 18px rgba(15, 23, 42, 0.055);
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.species-shortcuts button:hover {
  border-color: var(--birdsouq-green);
  background: var(--birdsouq-green);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 11px 23px rgba(15, 23, 42, 0.09);
}

.species-shortcuts button.active {
  border-color: var(--birdsouq-green);
  background: var(--birdsouq-green);
  color: #ffffff;
  box-shadow: 0 10px 24px
    rgba(15, 118, 110, 0.24);
}

.species-shortcuts svg {
  width: 16px;
  height: 16px;
}/* =====================================================
   MARKETPLACE TRUST STRIP
===================================================== */

.marketplace-trust-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 22px;
  padding: 10px 14px;
  border: 1px solid rgba(15, 118, 110, 0.1);
  border-radius: 18px;
  background: linear-gradient(
      135deg,
      rgba(236, 253, 245, 0.92),
      rgba(255, 255, 255, 0.96)
    );
}

.marketplace-trust-item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 6px 10px;
}

.marketplace-trust-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #ffffff;
  color: var(--birdsouq-green);
  box-shadow: 0 6px 15px
    rgba(15, 23, 42, 0.06);
}

.marketplace-trust-icon svg {
  width: 19px;
  height: 19px;
}

.marketplace-trust-item > span:last-child {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.marketplace-trust-item strong {
  color: var(--birdsouq-text);
  font-size: 12px;
  line-height: 1.25;
}

.marketplace-trust-item small {
  overflow: hidden;
  color: var(--birdsouq-muted);
  font-size: 10px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}/* =====================================================
   FILTER + LISTING LAYOUT
===================================================== */

.bird-marketplace-layout {
  display: grid;
  grid-template-columns: 285px
    minmax(0, 1fr);
  align-items: start;
  gap: 22px;
}/* =====================================================
   FILTER PANEL
===================================================== */

.bird-filter-panel {
  position: sticky;
  top: 100px;
  padding: 20px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 34px
    rgba(15, 23, 42, 0.07);
}

.bird-filter-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 16px;
}

.bird-filter-heading > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bird-filter-heading span {
  color: var(--birdsouq-text);
  font-size: 15px;
  font-weight: 900;
}

.bird-filter-heading small {
  color: var(--birdsouq-muted);
  font-size: 10px;
}

.bird-filter-heading > svg {
  width: 19px;
  height: 19px;
  color: var(--birdsouq-green);
}

.bird-search-control {
  min-height: 48px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #d7e2e0;
  border-radius: 13px;
  background: #ffffff;
  transition: border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.bird-search-control:focus-within {
  border-color: var(--birdsouq-green);
  box-shadow: 0 0 0 4px
    rgba(15, 118, 110, 0.1);
}

.bird-search-control svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #64748b;
}

.bird-search-control input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--birdsouq-text);
  font: inherit;
  font-size: 12px;
}

.bird-search-control input::placeholder {
  color: #94a3b8;
}

.bird-filter-selects {
  display: grid;
  grid-template-columns: 1fr;
  gap: 11px;
  margin-top: 13px;
}

.bird-select-control {
  position: relative;
  display: block;
}

.bird-select-control select {
  width: 100%;
  min-height: 46px;
  padding: 0 39px
    0 13px;
  border: 1px solid #d7e2e0;
  border-radius: 12px;
  appearance: none;
  background: #ffffff;
  color: #334155;
  font: inherit;
  font-size: 12px;
  font-weight: 750;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease,
    box-shadow 0.2s ease;
}

html[dir="rtl"] .bird-select-control select {
  padding: 0 13px
    0 39px;
}

.bird-select-control select:focus {
  border-color: var(--birdsouq-green);
  box-shadow: 0 0 0 4px
    rgba(15, 118, 110, 0.1);
}

.bird-select-control > svg {
  position: absolute;
  top: 50%;
  inset-inline-end: 13px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  color: #64748b;
  pointer-events: none;
}

.featured-filter-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding-top: 13px;
  border-top: 1px solid #edf2f2;
}

.featured-filter-icon {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #fff8dd;
  color: #eab308;
}

.featured-filter-icon svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.featured-filter-label > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.featured-filter-label strong {
  color: #475569;
  font-size: 11px;
}

.featured-filter-label small {
  color: var(--birdsouq-muted);
  font-size: 9px;
  display: none;
}/* =====================================================
   BIRD GRID
===================================================== */

.bird-listing-area {
  min-width: 0;
}

.bird-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(
      auto-fill,
      minmax(205px, 1fr)
    );
  gap: 18px;
  align-items: stretch;
}/* =====================================================
   BIRD CARD
===================================================== */

.bird-card {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, 0.1);
  border-radius: 18px;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 9px 24px
    rgba(15, 23, 42, 0.065);
  transition: transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.bird-card:hover,
.bird-card:focus-visible {
  border-color: rgba(15, 118, 110, 0.34);
  transform: translateY(-6px);
  box-shadow: 0 19px 38px
    rgba(15, 23, 42, 0.13);
}

.bird-card:focus-visible {
  outline: 3px solid
    rgba(15, 118, 110, 0.18);
  outline-offset: 3px;
}/* =====================================================
   CARD IMAGE
===================================================== */

.bird-card-image {
  position: relative;
  height: 165px;
  overflow: hidden;
  background: linear-gradient(
      135deg,
      #dcf8f2,
      #fff6cf
    );
}

.bird-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.bird-card:hover .bird-card-image img {
  transform: scale(1.065);
}

.bird-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.bird-placeholder-icon {
  font-size: 53px;
  filter: drop-shadow(
      0 7px 8px
      rgba(15, 23, 42, 0.08)
    );
}

.bird-card-placeholder small {
  color: rgba(15, 118, 110, 0.7);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}/* =====================================================
   CARD BADGES
===================================================== */

.bird-card-badges {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  max-width: calc(100% - 55px);
}

.bird-card-badge {
  min-height: 23px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.91);
  color: #334155;
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow: 0 5px 12px
    rgba(15, 23, 42, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.bird-card-badge svg {
  width: 11px;
  height: 11px;
}

.bird-card-badge.featured {
  color: #a16207;
}

.bird-card-badge.featured svg {
  fill: currentColor;
}

.bird-card-badge.new {
  background: rgba(15, 118, 110, 0.92);
  color: #ffffff;
}/* =====================================================
   FAVORITE BUTTON
===================================================== */

.bird-favorite-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  inset-inline-end: 10px;
  z-index: 3;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.91);
  color: #64748b;
  cursor: pointer;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  box-shadow: 0 7px 16px
    rgba(15, 23, 42, 0.12);
  transition: color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.bird-favorite-btn:hover {
  color: #e93d69;
  transform: scale(1.1);
}

.bird-favorite-btn:active {
  transform: scale(0.92);
}

.bird-favorite-btn.active {
  background: #fff0f3;
  color: #e93d69;
}

.bird-favorite-btn.active svg {
  fill: currentColor;
}

.bird-favorite-btn svg {
  width: 17px;
  height: 17px;
}/* =====================================================
   CARD CONTENT
===================================================== */

.bird-card-content {
  padding: 14px 14px 15px;
}

.bird-card-top-row {
  min-height: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  margin-bottom: 5px;
}

.bird-listing-type {
  display: inline-block;
  color: var(--birdsouq-green);
  font-size: 9px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.bird-listing-type.adoption {
  color: #2563eb;
}

.verified-seller-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #0f766e;
  font-size: 8px;
  font-weight: 900;
}

.verified-seller-badge svg {
  width: 12px;
  height: 12px;
}

.bird-card h3 {
  margin: 0 0 10px;
  overflow: hidden;
  color: var(--birdsouq-text);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bird-card-details {
  min-height: 42px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 8px;
  margin-bottom: 12px;
}

.bird-card-details span {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 5px;
  overflow: hidden;
  color: var(--birdsouq-muted);
  font-size: 10px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bird-card-details svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--birdsouq-green);
}

.bird-card-footer {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding-top: 10px;
  border-top: 1px solid #edf3f3;
}

.bird-card-price {
  color: var(--birdsouq-green);
  font-size: 14px;
  font-weight: 950;
}

.bird-card-view-hint {
  min-height: 27px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 9px;
  color: var(--birdsouq-green);
  background: #ecfdf5;
  font-size: 9px;
  font-weight: 850;
  transition: background 0.2s ease,
    transform 0.2s ease;
}

.bird-card:hover .bird-card-view-hint {
  background: #d8f8ec;
  transform: translateX(2px);
}

html[dir="rtl"]
.bird-card:hover
.bird-card-view-hint {
  transform: translateX(-2px);
}

.bird-card-view-hint svg {
  width: 13px;
  height: 13px;
}/* =====================================================
   NO RESULTS
===================================================== */

.no-results {
  grid-column: 1 / -1;
  padding: 65px 25px;
  text-align: center;
  border: 1px dashed rgba(15, 118, 110, 0.25);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--birdsouq-muted);
}

.no-results-icon {
  margin-bottom: 11px;
  font-size: 43px;
}

.no-results h3 {
  margin: 0 0 6px;
  color: var(--birdsouq-text);
}

.no-results p {
  margin: 0;
  font-size: 13px;
}


/* =====================================================
   RESPONSIVE MARKETPLACE
===================================================== */


/* =====================================================
   SCREEN-READER-ONLY TEXT
===================================================== */

.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;
}

/* =====================================================
   RESPONSIVE MARKETPLACE
===================================================== */
/* =====================================================
   MODALS
===================================================== */

/* =====================================================
   PHASE 5: SELLER COMPONENTS

   Includes:
   - Add Bird modal
   - My Listings modal and actions
   - Seller contact card
   - Seller profile links

   Existing HTML classes, JavaScript hooks, RTL behavior,
   and responsive appearance are preserved.
===================================================== */

/* =====================================================
   AUTHENTICATION & SELLER LISTING MODALS
===================================================== */

/* Shared modal overlay */

.auth-modal-overlay,
.bird-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(15, 23, 42, 0.55);
}

/* Add Bird overlay visibility state */

.bird-modal-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Active modal states */

.auth-modal-overlay.active,
.bird-modal-overlay.active {
  display: flex;
}

.bird-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}.auth-modal,
.bird-modal {
  position: relative;
  width: 100%;
  background: #ffffff;
  border-radius: 26px;
  padding: 34px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
}.auth-modal {
  max-width: 460px;
}.bird-modal {
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
}.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 26px;
  line-height: 1;
}.modal-close-btn:hover {
  background: #e2e8f0;
}.auth-view.hidden {
  display: none;
}.auth-view h3,
.bird-modal h3 {
  font-size: 26px;
  margin-bottom: 24px;
  color: #0f172a;
}.auth-view input,
.auth-view select,
.bird-modal input,
.bird-modal select,
.bird-modal textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  font-size: 15px;
  outline: none;
  background: #ffffff;
}.auth-view input,
.auth-view select,
.bird-modal input,
.bird-modal select {
  height: 52px;
}.bird-modal textarea {
  min-height: 110px;
  resize: vertical;
}.auth-view input:focus,
.auth-view select:focus,
.bird-modal input:focus,
.bird-modal select:focus,
.bird-modal textarea:focus {
  border-color: #0f766e;
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.12);
}.auth-view .primary-btn,
.bird-modal .primary-btn {
  width: 100%;
  height: 52px;
  margin-top: 8px;
  border: none;
  border-radius: 999px;
  background: #0f766e;
  color: #ffffff;
  font-weight: 800;
}.auth-view .primary-btn:hover,
.bird-modal .primary-btn:hover {
  background: #115e59;
}.auth-view .text-btn {
  width: 100%;
  margin-top: 14px;
  border: none;
  background: transparent;
  color: #0f766e;
  font-weight: 700;
}.auth-view .text-btn:hover,
.inline-link:hover {
  text-decoration: underline;
}.auth-switch-text {
  margin-top: 20px;
  text-align: center;
  color: #475569;
}.inline-link {
  border: none;
  background: transparent;
  color: #0f766e;
  font-weight: 800;
}.file-label {
  display: block;
  margin: 4px 0 8px;
  font-weight: 800;
  color: #0f766e;
}.small-note {
  margin-top: 14px;
  font-size: 14px;
  color: #64748b;
  text-align: center;
}/* =====================================================
   RTL SUPPORT
===================================================== */

html[dir="rtl"] .bird-card,
html[dir="rtl"] .hero-content,
html[dir="rtl"] .hero-card,
html[dir="rtl"] .rule-card,
html[dir="rtl"] .auth-modal,
html[dir="rtl"] .bird-modal {
  text-align: right;
}html[dir="ltr"] .bird-card,
html[dir="ltr"] .hero-content,
html[dir="ltr"] .hero-card,
html[dir="ltr"] .rule-card,
html[dir="ltr"] .auth-modal,
html[dir="ltr"] .bird-modal {
  text-align: left;
}html[dir="rtl"] .modal-close-btn {
  right: auto;
  left: 18px;
}

/* =====================================================
   TABLET
===================================================== */


/* =====================================================
   MOBILE
===================================================== */

/* =====================================================
   SELLER: MY LISTINGS MODAL
===================================================== */

/* -----------------------------------------------------
   Modal Overlay
----------------------------------------------------- */

.my-listings-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: none;
  align-items: center;
  justify-content: center;

  padding: 20px;

  background: rgba(15, 23, 42, 0.55);
}

.my-listings-overlay.active {
  display: flex;
}


/* -----------------------------------------------------
   Modal Container
----------------------------------------------------- */

.my-listings-modal {
  position: relative;

  width: 100%;
  max-width: 850px;
  max-height: 90vh;

  padding: 34px;
  overflow-y: auto;

  border-radius: 26px;

  background: #ffffff;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
}

.my-listings-modal h3 {
  margin-bottom: 24px;

  color: #0f172a;
  font-size: 26px;
}


/* -----------------------------------------------------
   Listing Card
----------------------------------------------------- */

.my-listing-card {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;

  margin-bottom: 18px;
  padding: 18px;

  border: 1px solid #e5e7eb;
  border-radius: 20px;

  background: #ffffff;
}

.my-listing-image,
.my-listing-placeholder {
  width: 100%;
  height: 130px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px;

  object-fit: cover;
  background: #ccfbf1;

  font-size: 48px;
}

.my-listing-info {
  min-width: 0;
}

.my-listing-info h4 {
  margin-bottom: 8px;

  font-size: 20px;
}

.my-listing-info p {
  margin-bottom: 6px;

  color: #475569;
}


/* -----------------------------------------------------
   Listing Status
----------------------------------------------------- */

.listing-status {
  display: inline-flex;
  align-items: center;

  padding: 4px 10px;

  border-radius: 999px;

  font-weight: 800;
  text-transform: capitalize;
}

.listing-status.pending {
  background: #fef3c7;
  color: #92400e;
}

.listing-status.approved {
  background: #dcfce7;
  color: #166534;
}

.listing-status.rejected {
  background: #fee2e2;
  color: #991b1b;
}


/* -----------------------------------------------------
   Listing Actions
----------------------------------------------------- */

.my-listing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;

  margin-top: 15px;
}

.edit-listing-btn,
.delete-listing-btn {
  padding: 10px 18px;

  border: none;
  border-radius: 10px;

  cursor: pointer;
  font-size: 13px;
  font-weight: 700;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.edit-listing-btn {
  background: #0f766e;
  color: #ffffff;
}

.edit-listing-btn:hover {
  background: #115e59;
}

.delete-listing-btn {
  background: #ef4444;
  color: #ffffff;
}

.delete-listing-btn:hover {
  background: #dc2626;
}


/* -----------------------------------------------------
   Responsive My Listings
----------------------------------------------------- */


/* =====================================================
   BIRD DETAILS PAGE
===================================================== */
.bird-page {
  min-height: calc(100vh - 80px);
  padding: 48px 7% 90px;
  background: linear-gradient(
      180deg,
      #f8fbfa 0%,
      #ffffff 45%,
      #f8fbfa 100%
    );
}/* =====================================================
   BIRD PAGE HEADER
===================================================== */

.bird-page-header {
  min-height: 74px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr)
    auto
    minmax(180px, 1fr);
  align-items: center;
  gap: 24px;
  padding: 16px 7%;
  border-bottom: 1px solid #e8efed;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 6px 24px
    rgba(15, 23, 42, 0.05);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}.back-link {
  width: max-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #475569;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: color 0.2s ease,
    transform 0.2s ease;
}.back-link:hover {
  color: #0f766e;
  transform: translateX(-3px);
}html[dir="rtl"] .back-link:hover {
  transform: translateX(3px);
}.bird-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #0f172a;
  text-decoration: none;
  font-size: 21px;
  font-weight: 950;
  letter-spacing: -0.03em;
}.bird-header-message {
  justify-self: end;
  color: #0f766e;
  font-size: 12px;
  font-weight: 800;
}/* =====================================================
   LOADING AND MESSAGE STATES
===================================================== */

.bird-details-loading,
.no-results {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  border: 1px solid #dce9e6;
  border-radius: 24px;
  background: #ffffff;
  color: #64748b;
  text-align: center;
  box-shadow: 0 18px 45px
    rgba(15, 23, 42, 0.06);
}.bird-loading-icon {
  font-size: 52px;
  animation: birdLoadingFloat 1.5s ease-in-out infinite;
}

@keyframes birdLoadingFloat {0%,
  100% {
  transform: translateY(0);
}50% {
  transform: translateY(-8px);
}
}/* =====================================================
   BREADCRUMB
===================================================== */

.bird-details-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 22px;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 700;
}.bird-details-breadcrumb a {
  color: #0f766e;
  text-decoration: none;
}.bird-details-breadcrumb a:hover {
  text-decoration: underline;
}.bird-details-breadcrumb span:last-child {
  max-width: 340px;
  overflow: hidden;
  color: #475569;
  text-overflow: ellipsis;
  white-space: nowrap;
}/* =====================================================
   MAIN DETAILS LAYOUT
===================================================== */

.bird-details-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr)
    minmax(360px, 0.92fr);
  gap: 28px;
  align-items: start;
}.bird-details-media,
.bird-details-info {
  min-width: 0;
  border: 1px solid
    rgba(15, 118, 110, 0.09);
  border-radius: 26px;
  background: #ffffff;
  box-shadow: 0 18px 48px
    rgba(15, 23, 42, 0.075);
}/* =====================================================
   MEDIA GALLERY
===================================================== */

.bird-details-media {
  position: sticky;
  top: 104px;
  padding: 20px;
}.bird-main-image,
.bird-main-placeholder {
  width: 100%;
  height: 350px;
  border-radius: 21px;
  background: linear-gradient(
      135deg,
      #dff8f3,
      #fff7d6
    );
}.bird-main-image {
  display: block;
  object-fit: cover;
}.bird-main-placeholder {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px;
  text-align: center;
}.bird-main-placeholder > div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
}.placeholder-icon {
  font-size: 76px;
  line-height: 1;
  filter: drop-shadow(
      0 8px 10px
      rgba(15, 23, 42, 0.08)
    );
}.bird-main-placeholder p {
  max-width: 390px;
  margin: 0;
  color: #334155;
  font-size: 20px;
  font-weight: 850;
  line-height: 1.4;
}/* =====================================================
   THUMBNAILS
===================================================== */

.bird-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 13px;
  padding-bottom: 4px;
  overflow-x: auto;
  scrollbar-width: thin;
}.bird-thumbnail {
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 13px;
  cursor: pointer;
  opacity: 0.76;
  transition: opacity 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}.bird-thumbnail:hover {
  opacity: 1;
  border-color: rgba(15, 118, 110, 0.5);
  transform: translateY(-2px);
}.bird-thumbnail.active {
  opacity: 1;
  border-color: #0f766e;
  box-shadow: 0 0 0 3px
    rgba(15, 118, 110, 0.1);
}/* =====================================================
   VIDEO
===================================================== */

.bird-video-wrapper {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid #edf2f2;
}.bird-video-wrapper h3 {
  margin: 0 0 12px;
  color: #0f172a;
  font-size: 16px;
}.bird-video {
  width: 100%;
  max-height: 360px;
height: auto;
  display: block;
  border-radius: 18px;
  background: #000000;
}/* =====================================================
   DETAILS INFORMATION
===================================================== */

.bird-details-info {
  padding: 28px;
}.bird-details-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding-bottom: 23px;
  border-bottom: 1px solid #edf2f2;
}.bird-details-title-row > div:first-child {
  min-width: 0;
}.details-listing-badge {
  min-height: 26px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 11px;
  border-radius: 999px;
  background: #e8f8f4;
  color: #0f766e;
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}.details-listing-badge.adoption {
  background: #eaf1ff;
  color: #2563eb;
}.bird-details-info h1 {
  margin: 0;
  overflow-wrap: anywhere;
  color: #0f766e;
  font-size: clamp(15px, 3vw, 20px);
  font-weight: 950;
  line-height: 1.14;
  letter-spacing: -0.035em;
}.bird-details-price {
  flex: 0 0 auto;
  margin: 4px 0 0;
  color: #0f766e;
  font-size: clamp(15px, 2vw, 10px);
  font-weight: 950;
  white-space: nowrap;
}/* =====================================================
   DESCRIPTION
===================================================== */

.bird-details-description {
  margin: 0;
  padding: 0px 0;
  border-bottom: 1px solid #edf2f2;
}.bird-details-description h2 {
  margin: 0 0 10px;
  color: #0f172a;
  font-size: 12px;
  font-weight: 900;
}.bird-details-description p {
  margin: 0;
  color: #526173;
  font-size: 14px;
  line-height: 1.75;
  white-space: pre-line;
}/* =====================================================
   SPECIFICATIONS SECTION
===================================================== */

.bird-specifications-section {
  padding: 0px 0;
}.bird-details-section-heading {
  margin-bottom: 15px;
}.bird-details-section-heading > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}.bird-details-section-heading span {
  color: #0f172a;
  font-size: 14px;
  font-weight: 900;
}.bird-details-section-heading small {
  color: #64748b;
  font-size: 11px;
}.bird-spec-card {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
   margin: 0;
}.bird-spec-item {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px;
  border: 1px solid #e6eeec;
  border-radius: 8px;
  background: #f8fbfa;
}.bird-spec-icon {
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #dff8f3;
  font-size: 18px;
}.bird-spec-item > div {
  min-width: 0;
}.bird-spec-item small {
  display: block;
  margin-bottom: 3px;
  color: #718096;
  font-size: 10px;
}.bird-spec-item strong {
  display: block;
  overflow: hidden;
  color: #0f172a;
  font-size: 10px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}/* =====================================================
   SELLER CONTACT CARD
===================================================== */

/* -----------------------------------------------------
   Seller Card Container
----------------------------------------------------- */

.seller-card {
  padding: 20px;
  border: 1px solid #bceadd;
  border-radius: 20px;
  margin-top: 20px;
  background: linear-gradient(
      135deg,
      #ecfdf5,
      #f9fffc
    );
}.seller-card-heading {
  display: flex;
  align-items: center;
  gap: 13px;
}.seller-avatar {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #0f766e;
  color: #ffffff;
  font-size: 20px;
  font-weight: 950;
  box-shadow: 0 8px 18px
    rgba(15, 118, 110, 0.2);
}.seller-card-identity {
  min-width: 0;
}.seller-name-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}.seller-name-row h3 {
  margin: 0;
  color: #0f172a;
  font-size: 16px;
  font-weight: 900;
}.seller-verified {
  min-height: 21px;
  padding: 0 7px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #ffffff;
  color: #0f766e;
  font-size: 8px;
  font-weight: 900;
}.seller-card-identity > p {
  margin: 3px 0 0;
  color: #64748b;
  font-size: 11px;
}.seller-location {
  display: inline-block;
  margin-top: 5px;
  color: #475569;
  font-size: 11px;
  font-weight: 750;
}.seller-contact-note {
  margin-top: 17px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.78);
}.seller-contact-note strong {
  display: block;
  margin-bottom: 4px;
  color: #0f172a;
  font-size: 13px;
}.seller-contact-note p {
  margin: 0;
  color: #64748b;
  font-size: 11px;
  line-height: 1.55;
}.whatsapp-detail-btn {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  padding: 0 18px;
  border-radius: 14px;
  background: #22c55e;
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 22px
    rgba(34, 197, 94, 0.2);
  transition: background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}.whatsapp-detail-btn:hover {
  background: #16a34a;
  transform: translateY(-2px);
  box-shadow: 0 14px 26px
    rgba(34, 197, 94, 0.26);
}.seller-phone-missing {
  margin: 14px 0 0;
  padding: 13px;
  border-radius: 13px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 11px;
  font-weight: 750;
  text-align: center;
}.seller-safety-note {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 13px;
  color: #64748b;
}.seller-safety-note p {
  margin: 0;
  font-size: 10px;
  line-height: 1.5;
}/* =====================================================
   WELFARE NOTE
===================================================== */

.bird-details-welfare-note {
  display: flex;
  align-items: center;
  gap: 17px;
  margin-top: 28px;
  padding: 22px 25px;
  border: 1px solid
    rgba(15, 118, 110, 0.13);
  border-radius: 22px;
  background: linear-gradient(
      135deg,
      #effcf8,
      #ffffff
    );
}.bird-welfare-icon {
  width: 51px;
  height: 51px;
  flex: 0 0 51px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #ffffff;
  font-size: 25px;
  box-shadow: 0 8px 20px
    rgba(15, 23, 42, 0.07);
}.bird-details-welfare-note h2 {
  margin: 0 0 5px;
  color: #0f172a;
  font-size: 17px;
  font-weight: 900;
}.bird-details-welfare-note p {
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.6;
}


/* =====================================================
   RESPONSIVE BIRD DETAILS PAGE
===================================================== */


.bird-thumbnails {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}.bird-thumbnail {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  border: 2px solid transparent;
}.bird-thumbnail:hover {
  border-color: #0f766e;
}/* =====================================================
   BIRD DETAILS SPECIFICATIONS CARD
===================================================== */

.bird-spec-card {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  margin: 20px 0;
}.bird-spec-item {
  display: flex;
  align-items: center;
  gap:5px;
  background: #d8eded;
  border: 1px solid #e5e7eb;
  padding: 5px;
  border-radius: 10px;
}.bird-spec-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 50%;
  background: #ccfbf1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}.bird-spec-item small {
  display: block;
  color: #64748b;
  font-size: 12px;
  margin-bottom: 2px;
}.bird-spec-item strong {
  color: #0f172a;
  font-size: 15px;
}

.bird-main-placeholder {
  overflow: hidden;
  text-align: center;
  padding: 30px;
}.bird-main-placeholder > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}.placeholder-icon {
  font-size: 70px;
  line-height: 1;
}.bird-main-placeholder p {
  max-width: 420px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  color: #1f2937;
}/* =====================================================
   BIRD PAGE HEADER
===================================================== */

.bird-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 7%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
}.back-link {
  color: #374151;
  text-decoration: none;
  font-weight: 700;
  transition: .25s;
}.back-link:hover {
  color: #0f766e;
}/* =====================================================
   GLOBAL MOBILE FOUNDATION
===================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}html,
body {
  max-width: 100%;
  overflow-x: hidden;
}img,
video {
  max-width: 100%;
  display: block;
}

/* =====================================================
   MOBILE (768px and below)
===================================================== */

/* =====================================================
   ACTIVE NAVIGATION
===================================================== */

.active-link {
  color: #0f766e !important;
  font-weight: 800 !important;
}

/* =====================================================
   BIRD DETAILS PAGE - MOBILE FIX
===================================================== */


/* =====================================================
   BIRD DETAILS MOBILE GROOMING Keep this at the very end of BirdSouq.css
===================================================== */

/* =====================================================
   MY LISTINGS ACTION BUTTONS
===================================================== */

.my-listing-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}.edit-listing-btn,
.delete-listing-btn {
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: .25s;
}.edit-listing-btn {
  background: #0f766e;
  color: white;
}.delete-listing-btn {
  background: #ef4444;
  color: white;
}/* =====================================================
   MOBILE MENU OVERLAY
===================================================== */

.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
  z-index: 998;
}.menu-overlay.active {
  opacity: 1;
  visibility: visible;
}


/* =====================================================
   BIRD DETAILS - MOBILE (620px)
===================================================== */

 /* ---------- END 620px ---------- */


/* =====================================================
   EXTRA SMALL DEVICES
===================================================== */


/* =====================================================
   MOBILE (768px and below)
===================================================== */

/* =====================================================
   ACTIVE NAVIGATION
===================================================== */


/* =====================================================
   EXTRA SMALL DEVICES (420px)
===================================================== */


/* =====================================================
   MOBILE BOTTOM NAVIGATION
===================================================== */

.mobile-bottom-nav {
  display: none;
}

.value-modal-overlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.45);
  z-index: 9999;
}.value-modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(15,23,42,.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease,
                visibility .25s ease;
  z-index: 9999;
}.value-modal-overlay.show {
  opacity: 1;
  visibility: visible;
}.value-modal {
  transform: translateY(20px) scale(.96);
  opacity: 0;
  transition: transform .28s ease,
        opacity .28s ease;
}.value-modal-overlay.show .value-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}/* =====================================================
   VALUE GUIDE MODAL
===================================================== */

.value-modal {
  width: min(90%,650px);
  background: #ffffff;
  border-radius: 22px;
  padding: 32px;
  box-shadow: 0 25px 70px rgba(0,0,0,.25);
  animation: valueModalIn .25s ease;
  position: relative;
  width: min(760px,92vw);
  max-height: 85vh;
  overflow-y: auto;
}.value-modal-header {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}.value-modal-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  flex-shrink: 0;
}.value-modal-title {
  margin: 0;
  color: #033e2c;
  font-size: 28px;
  font-weight: 800;
}.value-modal-subtitle {
  margin-top: 4px;
  color: #0f766e;
  font-size: 14px;
  font-weight: 600;
}.value-modal-content {
  color: #334155;
  font-size: 17px;
  line-height: 1.8;
}.value-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: #f1f5f9;
  cursor: pointer;
  font-size: 22px;
  transition: .2s;
}.value-modal-close:hover {
  background: #e2e8f0;
}

/* =====================================================
   VALUE MODAL ANIMATION
===================================================== */

@keyframes valueModalIn {from {
  opacity: 0;
  transform: translateY(20px) scale(0.96);
}to {
  opacity: 1;
  transform: none;
}
}/* =====================================================
   VALUE MODAL HEADER
===================================================== */

.value-modal-header {
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid #d9f3ea;
}.value-modal-icon {
  width: 82px;
  height: 82px;
  font-size: 42px;
}#value-modal-title {
  margin: 0;
}#value-modal-subtitle {
  margin-top: 6px;
  color: #0f766e;
  font-weight: 600;
}/* =====================================================
   VALUE MODAL CONTENT
===================================================== */

.value-modal-content {
  margin-top: 20px;
  color: #475569;
  font-size: 17px;
  line-height: 1.9;
}/* =====================================================
   GUIDE CONTENT
===================================================== */

.guide-intro {
  margin: 18px 0 36px;
  color: #44526a;
  font-size: 20px;
  line-height: 1.8;
}.guide-heading {
  margin: 28px 0 16px;
}.guide-section-title {
  margin: 40px 0 22px;
  color: #20324a;
  font-size: 26px;
  font-weight: 700;
}/* =====================================================
   STANDARD GUIDE LIST
===================================================== */

.guide-list {
  width: 100%;
  margin: 18px 0 28px;
  padding: 0;
  list-style: none;
}.guide-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
  padding-inline-start: 34px;
  line-height: 1.8;
}.guide-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #dff8ef;
  color: #0f766e;
  font-weight: 700;
}/* =====================================================
   GOOD AND BAD GUIDE LISTS
===================================================== */

.guide-good-list,
.guide-bad-list {
  margin: 16px 0 24px;
  padding: 0;
  list-style: none;
}.guide-good-list li,
.guide-bad-list li {
  position: relative;
  margin: 13px 0;
  padding-inline-start: 36px;
  line-height: 1.75;
}.guide-good-list li::before,
.guide-bad-list li::before {
  position: absolute;
  top: 2px;
  inset-inline-start: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-weight: 800;
}.guide-good-list li::before {
  content: "✓";
  background: #dff8ef;
  color: #0f766e;
}.guide-bad-list li::before {
  content: "✕";
  background: #ffe4e6;
  color: #dc2626;
}.guide-heading-good::before {
  content: "🟢 ";
}.guide-heading-bad::before {
  content: "🔴 ";
}/* =====================================================
   GUIDE ENDING
===================================================== */

.guide-ending {
  margin-top: 26px;
  padding: 24px 28px;
  border-inline-start: 4px solid #0f766e;
  border-radius: 14px;
  background: #eefcf8;
  color: #475569;
  font-size: 18px;
  line-height: 1.9;
}/* =====================================================
   RTL GUIDE ALIGNMENT
===================================================== */

html[dir="rtl"] .guide-intro,
html[dir="rtl"] .guide-ending,
html[dir="rtl"] .guide-list,
html[dir="rtl"] .guide-heading,
html[dir="rtl"] .guide-section-title {
  text-align: right;
}/* =====================================================
   PROMISE MODAL CONTENT
===================================================== */

.promise-modal-content {
  padding-inline: 16px;
}.promise-modal-content ul {
  margin: 16px 0 24px;
  padding-inline-start: 28px;
}.promise-modal-content li {
  margin-bottom: 12px;
  line-height: 1.8;
}.promise-modal-content h4 {
  margin: 26px 0 14px;
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: 700;
}.promise-modal-tip {
  margin-top: 26px;
  padding: 18px 20px;
  border-inline-start: 4px solid var(--primary);
  border-radius: 14px;
  background: #eefcf9;
  line-height: 1.8;
}/* =====================================================
   PROMISE MODAL IMAGE
===================================================== */

.promise-modal-icon {
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 4px solid #ecfdf5;
  border-radius: 50%;
  background: #eafcf6;
  box-shadow: 0 8px 24px rgba(15, 118, 110, 0.18);
}.promise-modal-icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}/* =====================================================
   SELLER PROFILE LINKS
===================================================== */

/* Seller name/profile link */

.seller-profile-link {
  color: inherit;
  text-decoration: none;
}.seller-profile-link:hover {
  color: #0f766e;
}.view-seller-profile-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 8px 13px;
  border: 1px solid #cce4df;
  border-radius: 10px;
  background: #f4fbf9;
  color: #0f766e;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease,
    transform 0.2s ease;
}.view-seller-profile-btn:hover {
  background: #e2f6f1;
  transform: translateY(-1px);
}

/* =====================================================
   MOBILE LAYOUT
===================================================== */

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

.mobile-species-more {
  display: none !important;
}

.species-more-menu[hidden] {
  display: none !important;
}


/* =====================================================
   VERY SMALL MOBILE BIRD CARDS
===================================================== */


.mobile-bottom-nav.auth-loading {
  visibility: hidden;
}

/* =====================================================
   RESPONSIVE DESIGN

   Consolidated from the original stylesheet:
   - All top-level media queries are placed together here.
   - Repeated instances of the same breakpoint are merged.
   - Rules inside each breakpoint retain their original order.
   - Larger max-width breakpoints appear before smaller ones.
===================================================== */

/* -----------------------------------------------------
   1250PX BREAKPOINT
----------------------------------------------------- */
@media (max-width: 1250px) {
  .hero {
    grid-template-columns: minmax(340px, 1fr)
        minmax(270px, 0.7fr);
  }.hero-card {
    grid-column: 1 / -1;
    width: min(760px, 100%);
    margin: 0 auto;
  }
}

/* -----------------------------------------------------
   1200PX BREAKPOINT
----------------------------------------------------- */
@media (max-width: 1200px) {
  /* Consolidated source block 1 */
  .site-header {
      padding-inline: 5%;
    }

    .nav-links {
      gap: 11px;
    }

    .nav-links a {
      font-size: 13px;
    }

    .seller-btn,
    .seller-login-btn,
    .header-add-bird-btn,
    .header-my-listings-btn,
    .header-logout-btn,
    .language-btn {
      padding-inline: 13px;
      font-size: 13px;
    }

    .nav-links svg,
    .seller-btn svg,
    .seller-login-btn svg,
    .header-add-bird-btn svg,
    .header-my-listings-btn svg,
    .header-logout-btn svg,
    .language-btn svg,
    .header-user-area svg {
      width: 16px;
      height: 16px;
    }
  /* Consolidated source block 2 */
  .bird-marketplace-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .species-shortcuts {
    justify-content: flex-start;
  }

  .bird-grid {
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
    gap: 16px;
  }
}

/* -----------------------------------------------------
   1180PX BREAKPOINT
----------------------------------------------------- */
@media (max-width: 1180px) {
  /* Consolidated source block 1 */
  .promise-image {
    width: 100px;
    height: 100px;
  }
  /* Consolidated source block 2 */
  .welfare-section {
    grid-template-columns: 1fr;
  }.mission-card {
    grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1fr);
  }
}

/* -----------------------------------------------------
   1100PX BREAKPOINT
----------------------------------------------------- */
@media (max-width: 1100px) {
  /* Consolidated source block 1 */
  .site-header {
      padding: 14px 5%;
    }

    .nav-links {
      gap: 12px;
    }

    .seller-btn,
    .seller-login-btn,
    .header-add-bird-btn,
    .header-my-listings-btn,
    .header-logout-btn,
    .language-btn {
      padding: 0 14px;
      font-size: 13px;
    }
  /* Consolidated source block 2 */
  .hero-card {
    max-width: 440px;
    justify-self: start;
    transform: none;
  }.hero-card:hover {
    transform: translateY(-4px);
  }
  /* Consolidated source block 3 */
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    background-position: 65% center;
  }.hero-content {
    max-width: 700px;
  }.hero-card {
    transform: none;
    justify-self: start;
    max-width: 440px;
  }.hero-card:hover {
    transform: translateY(-4px);
  }
  /* Consolidated source block 4 */
  .hero {
    grid-template-columns: 1fr;
  }.hero h1 {
    font-size: 40px;
  }.rules-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Consolidated source block 5 */
  .bird-details-layout {
    grid-template-columns: minmax(0, 1fr)
        minmax(330px, 0.9fr);
  }.bird-main-image,
    .bird-main-placeholder {
    height: 430px;
  }
}

/* -----------------------------------------------------
   1050PX BREAKPOINT
----------------------------------------------------- */
@media (max-width: 1050px) {
  /* Consolidated source block 1 */
  .values-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 12px 5%;
  }.value-item {
    justify-content: flex-start;
    padding: 16px 24px;
  }.value-item:nth-child(2)::after {
    display: none;
  }.value-item:nth-child(-n + 2) {
    border-bottom: 1px solid #edf3f3;
  }
  /* Consolidated source block 2 */
  .hero {
    grid-template-columns: 1fr;
    gap: 45px;
  }.hero-card {
    max-width: 720px;
  }.values-strip {
    grid-template-columns: repeat(2, 1fr);
  }.mission-section {
    grid-template-columns: 220px 1fr;
    gap: 35px;
    padding: 40px;
  }.promise-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  /* Consolidated source block 3 */
  .bird-marketplace-layout {
    grid-template-columns: 1fr;
  }

  .bird-filter-panel {
    position: static;
    display: grid;
    grid-template-columns: minmax(220px, 2fr)
        minmax(150px, 1fr);
    gap: 12px;
  }

  .bird-filter-selects {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
  }

  .featured-filter-label {
    grid-column: 1 / -1;
    margin-top: 2px;
  }
}

/* -----------------------------------------------------
   900PX BREAKPOINT
----------------------------------------------------- */
@media (max-width: 900px) {
  /* Consolidated source block 1 */
  .birds-section {
    width: min(100% - 30px, 760px);
    padding: 65px 0 80px;
  }

  .marketplace-trust-strip {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .bird-filter-panel {
    display: grid;
    grid-template-columns: minmax(190px, 1.4fr)
        minmax(180px, 1fr);
    gap: 13px;
  }

  .bird-filter-heading {
    grid-column: 1 / -1;
    margin-bottom: 0;
  }

  .bird-filter-selects {
    grid-template-columns: repeat(2, 1fr);
    margin-top: 0;
  }

  .featured-filter-label {
    grid-column: 1 / -1;
    margin-top: 0;
  }
  /* Consolidated source block 2 */
  .bird-page-header {
    grid-template-columns: 1fr auto;
  }.bird-header-message {
    display: none;
  }.bird-page {
    padding: 40px 5%
        75px;
  }.bird-details-layout {
    grid-template-columns: 1fr;
  }.bird-details-media {
    position: static;
  }.bird-main-image,
    .bird-main-placeholder {
    height: 460px;
  }
}

/* -----------------------------------------------------
   850PX BREAKPOINT
----------------------------------------------------- */
@media (max-width: 850px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 65px 6% 90px;
  }.hero-content {
    text-align: center;
  }.hero h1,
    .hero p {
    margin-inline: auto;
  }.hero-actions,
    .hero-trust-line {
    justify-content: center;
  }
}

/* -----------------------------------------------------
   820PX BREAKPOINT
----------------------------------------------------- */
@media (max-width: 820px) {
  /* Consolidated source block 1 */
  .promise-items {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px 14px;
  }.promise-item strong {
    max-width: 130px;
  }
  /* Consolidated source block 2 */
  .values-strip {
    grid-template-columns: repeat(2, 1fr);
  }.mission-card {
    grid-template-columns: 1fr;
  }.mission-visual {
    min-height: 340px;
  }.promise-items {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 22px;
  }
}

/* -----------------------------------------------------
   768PX BREAKPOINT
----------------------------------------------------- */
@media (max-width: 768px) {
  /* Consolidated source block 1 */
  .site-header {
      min-height: 70px;
      padding: 14px 18px;
    }

    .logo {
      gap: 10px;
    }

    .logo-icon {
      width: 42px;
      height: 42px;
    }

    .logo span {
      font-size: 22px;
      font-weight: 800;
    }

    .menu-btn {
      width: 46px;
      height: 46px;
      border-radius: 14px;
    }

    .nav-links {
      padding: 28px 22px;
      gap: 8px;
    }

    .nav-links a,
    .nav-links button {
      min-height: 54px;
      border-radius: 14px;
      font-size: 16px;
    }

    .nav-links i {
      width: 20px;
      height: 20px;
    }
  /* Consolidated source block 2 */
  /* ---------- Header ---------- */

      .bird-page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
  }.back-link {
    order: 1;
    font-size: 15px;
  }.bird-logo {
    order: 2;
  }.logo img {
    width: 42px;
    height: 42px;
  }.logo span {
    font-size: 20px;
    font-weight: 700;
  }/* ---------- Hero ---------- */

      .hero-content h1 {
    font-size: 40px;
    line-height: 1.15;
    margin-bottom: 18px;
  }.hero-content p {
    font-size: 17px;
    line-height: 1.8;
  }/* ---------- Hero Buttons ---------- */

      .hero-buttons .btn {
    min-height: 56px;
    font-size: 17px;
    font-weight: 700;
  }/* ---------- Trust Badges ---------- */

      .hero-trust {
    gap: 14px;
    margin-top: 30px;
  }.hero-trust li {
    font-size: 15px;
  }/* ---------- Mission & Promise ---------- */

      .welfare-section {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 18px;
  }.mission-card {
    grid-template-columns: 1fr;
  }.mission-visual {
    min-height: 280px;
  }.mission-points {
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
  }/* ---------- Promise ---------- */

      .promise-items {
    grid-template-columns: repeat(2,1fr);
  }.promise-image {
    width: 90px;
    height: 90px;
  }/* ---------- Section Spacing ---------- */

      section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  /* Consolidated source block 3 */
  /* =====================================================
     Hero
  ===================================================== */

      /* -----------------------------------------------------
         Hero Layout

         Consolidates the previous mobile Hero overrides.
         Values match the final cascade of the original CSS.
      ----------------------------------------------------- */
 .hero {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
    padding: 20px 20px 50px;

    background-image:
      linear-gradient(
        180deg,
        rgba(255, 253, 247, 0.12) 0%,
        rgba(255, 253, 247, 0.05) 35%,
        rgba(255, 253, 247, 0) 70%
      ),
      url("../images/birdsouq-hero-birds.png");

    background-repeat: no-repeat;

    background-size:
      auto auto,
      120% auto;

    background-position:
      center center,
      center -50px;
  }

  html[dir="ltr"] .hero::before {
    background: transparent;
  }

  html[dir="rtl"] .hero {
    background-position:
      center center,
      80% top;
  }

      /* Hero content */

      .hero-content {
        width: 100%;
        max-width: none;
        margin-top: 0;
        padding-top: 0;
        text-align: center;
      }

      .hero-content h1 {
        margin: 5px 0 18px;
        font-size: 30px;
        line-height: 1.15;
      }

      .hero-content p {
        max-width: none;
        margin: 0 auto 24px;
        font-size: 20px;
        line-height: 1.7;
      }

      /* Hero actions */

      .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 14px;
        margin-top: 28px;
      }

      .hero-actions a {
        width: 100%;
        justify-content: center;
      }

      .primary-btn,
      .secondary-btn {
        min-height: 56px;
        border-radius: 16px;
        font-size: 16px;
        font-weight: 700;
      }

      /* Hero trust line */

      .hero-trust-line {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 28px;
      }

      /* Hero promise card */

      .hero-card {
        width: 100%;
        max-width: none;
        margin-top: 6px;
      }

  /* =====================================================
     Values
  ===================================================== */

      .values-strip {
    grid-template-columns: repeat(2,1fr);
    gap: 16px;
  }.value-item {
    padding: 18px;
    transition: transform .25s ease;
  }.value-item:active {
    transform: scale(.97);
  }/* =====================================================
     Mission
  ===================================================== */

      .welfare-section {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 18px;
  }.mission-card {
    grid-template-columns: 1fr;
  }.mission-visual {
    min-height: 280px;
  }.mission-points {
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
  }/* =====================================================
     Promise
  ===================================================== */

      .promise-items {
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
  }.promise-image {
    width: 90px;
    height: 90px;
  }.promise-item:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 180px;
  }.promise-warning {
    margin-top: 24px;
    padding: 16px;
    font-size: 14px;
    line-height: 1.6;
  }/* =====================================================
     Rules
  ===================================================== */

      .rules-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }/* =====================================================
     Footer
  ===================================================== */

      .footer {
    padding: 40px 20px;
    text-align: center;
  }.footer-brand {
    justify-content: center;
  }/* =====================================================
     Section spacing
  ===================================================== */

      section {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  /* =====================================================
     MOBILE BOTTOM NAVIGATION
  ===================================================== */

  .mobile-bottom-nav {
    display: none;
  }

  @media (max-width:768px){
    .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -8px 25px rgba(0,0,0,.08);
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
  }.mobile-bottom-nav a,
  .mobile-bottom-nav button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: none;
    background: none;
    color: #64748b;
    text-decoration: none;
    cursor: pointer;
  }.mobile-bottom-nav svg {
    width: 22px;
    height: 22px;
  }.mobile-bottom-nav span {
    font-size: 11px;
    font-weight: 700;
  }.mobile-bottom-nav .active {
    color: #0f766e;
  }

  }body {
    padding-bottom: 82px;
  }
  /* Consolidated source block 4 */
  .mobile-bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72px;
    display: grid;
    grid-template-columns: repeat(5,1fr);
    align-items: center;
    background: #ffffff;
    border-top: 1px solid #e8ecef;
    box-shadow: 0 -6px 18px rgba(15,23,42,.08);
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
  }.mobile-bottom-nav a,
  .mobile-bottom-nav button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border: none;
    background: none;
    color: #64748b;
    cursor: pointer;
    text-decoration: none;
  }.mobile-bottom-nav svg {
    width: 22px;
    height: 22px;
  }.mobile-bottom-nav span {
    font-size: 11px;
    font-weight: 700;
  }.mobile-bottom-nav .active {
    color: var(--birdsouq-green);
  }body {
    padding-bottom: 80px;
  }.bird-card-image {
    height: 100px;
  }
  /* Consolidated source block 5 */
  html[dir="rtl"] .hero {
     background-position:
        center center,
        80% top;
    }
}

/* -----------------------------------------------------
   760PX BREAKPOINT
----------------------------------------------------- */
@media (max-width: 760px) {
  /* Consolidated source block 1 */
  .site-header {
      min-height: 70px;
      padding: 14px 5%;
    }

    .logo {
      font-size: 21px;
    }

    .logo-icon {
      width: 32px;
      height: 32px;
    }

    .menu-btn {
      display: grid;
    }

    .nav-links {
      position: fixed;
      top: 70px;
      right: -100%;
      width: 280px;
      max-width: 82vw;
      height: calc(100vh - 70px);
      padding: 28px 22px;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      justify-content: flex-start;
      gap: 14px;
      overflow-y: auto;
      background: #ffffff;
      box-shadow: -10px 0 30px rgba(15, 23, 42, 0.12);
      transition: right 0.25s ease;
    }

    .nav-links.active {
      right: 0;
    }

    html[dir="rtl"] .nav-links {
      right: auto;
      left: -100%;
      box-shadow: 10px 0 30px rgba(15, 23, 42, 0.12);
      transition: left 0.25s ease;
    }

    html[dir="rtl"] .nav-links.active {
      left: 0;
    }

    .nav-links a {
      width: 100%;
      min-height: 48px;
      padding: 0 14px;
      justify-content: flex-start;
      border-radius: 12px;
    }

    .nav-links a::after {
      display: none;
    }

    .nav-links a:hover,
    .nav-links a.active-link {
      background: #ecfdf5;
    }

    .seller-btn,
    .seller-login-btn,
    .header-add-bird-btn,
    .header-my-listings-btn,
    .language-btn {
      width: 100%;
      min-height: 48px;
      justify-content: center;
    }

    .header-user-area.active {
      width: 100%;
      flex-direction: column;
      align-items: stretch;
      gap: 12px;
      padding-top: 12px;
      border-top: 1px solid var(--birdsouq-border);
    }

    #header-user-name {
      width: 100%;
      padding: 10px;
      text-align: center;
      border-radius: 10px;
      background: #f0fdfa;
    }

    .header-logout-btn {
      width: 100%;
      min-height: 48px;
    }
  /* Consolidated source block 2 */
  .site-header {
      min-height: 70px;
      padding: 14px 5%;
    }

    .menu-btn {
      display: block;
    }

    .nav-links {
      position: fixed;
      top: 70px;
      right: -100%;
      width: 280px;
      max-width: 82vw;
      height: calc(100vh - 70px);
      padding: 28px;
      flex-direction: column;
      align-items: stretch;
      justify-content: flex-start;
      gap: 16px;
      background: #ffffff;
      box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08);
      transition: right 0.25s ease;
      z-index: 200;
    }

    .nav-links.active {
      right: 0;
    }

    html[dir="rtl"] .nav-links {
      right: auto;
      left: -100%;
      box-shadow: 8px 0 24px rgba(0, 0, 0, 0.08);
      transition: left 0.25s ease;
    }

    html[dir="rtl"] .nav-links.active {
      left: 0;
    }

    .nav-links a,
    .seller-btn,
    .seller-login-btn,
    .header-add-bird-btn,
    .header-my-listings-btn,
    .header-logout-btn,
    .language-btn {
      width: 100%;
    }

    .header-user-area {
      width: 100%;
      flex-direction: column;
      align-items: stretch;
    }

    #header-user-name {
      text-align: center;
    }
  /* Consolidated source block 3 */
  .hero-trust-line {
    margin-inline: auto;
    justify-content: center;
  }
  /* Consolidated source block 4 */
  .hero-card {
    width: min(100%, 440px);
    justify-self: center;
  }
  /* Consolidated source block 5 */
  .hero {
    padding: 62px 6% 90px;
    background-image: linear-gradient(
          rgba(255, 253, 247, 0.9),
          rgba(255, 253, 247, 0.9)
        ),
        url("../images/birdsouq-hero-birds.png");
    background-position: center;
  }.hero-content {
    text-align: center;
  }.hero h1,
    .hero-content > p {
    margin-inline: auto;
  }.hero-actions,
    .hero-trust-line {
    justify-content: center;
  }.hero-trust-line {
    margin-inline: auto;
  }.hero-card {
    justify-self: center;
  }
  /* Consolidated source block 6 */
  .hero {
    padding: 70px 6% 95px;
  }.hero h1 {
    font-size: 43px;
  }.hero-trust-line {
    flex-direction: column;
    gap: 8px;
  }.values-strip {
    margin-top: -30px;
    grid-template-columns: 1fr;
  }.mission-section {
    grid-template-columns: 1fr;
    padding: 30px;
  }.mission-visual {
    height: 180px;
  }.promise-grid {
    grid-template-columns: repeat(2, 1fr);
  }.footer {
    align-items: flex-start;
    flex-direction: column;
  }.footer p {
    text-align: start;
  }
  /* Consolidated source block 7 */
  .hero {
    padding: 50px 5%;
  }.hero h1 {
    font-size: 34px;
  }.hero p {
    font-size: 16px;
  }.hero-actions {
    flex-direction: column;
  }.primary-btn,
    .secondary-btn {
    width: 100%;
  }.birds-section,
    .rules-section {
     padding: 10px 20px 50px;
  }.filters {
    grid-template-columns: 1fr;
  }.bird-grid {
    grid-template-columns: 1fr;
  }.rules-grid {
    grid-template-columns: 1fr;
  }.auth-modal,
    .bird-modal {
    padding: 28px 22px;
    border-radius: 22px;
  }
}

/* -----------------------------------------------------
   650PX BREAKPOINT
----------------------------------------------------- */
@media (max-width: 650px) {
  /* Consolidated source block 1 */
  .birds-section {
    width: calc(100% - 28px);
    padding: 58px 0 70px;
  }

  .species-shortcuts {
    width: 100%;
    gap: 4px !important;
    margin: 0 0 10px !important;
    flex-wrap: nowrap;
    justify-content: flex-start;
    padding-bottom: 6px;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .species-shortcuts button {
    flex-shrink: 0;
  }

  .bird-filter-panel {
    grid-template-columns: 1fr;
  }

  .bird-filter-selects {
    grid-template-columns: 1fr 1fr;
  }

  .bird-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .bird-card-image {
    height: 145px;
  }
  /* Consolidated source block 2 */
  .my-listing-card {
      grid-template-columns: 1fr;
    }
}

/* -----------------------------------------------------
   620PX BREAKPOINT
----------------------------------------------------- */
@media (max-width: 620px) {
  /* Consolidated source block 1 */
  .site-header {
      min-height: 58px;
      padding: 8px 4%;
    }

    .logo {
      gap: 7px;
      font-size: 19px;
    }

    .logo-icon {
      width: 29px;
      height: 29px;
      border-radius: 9px;
    }

    .logo-icon svg {
      width: 18px;
      height: 18px;
    }

    .menu-btn {
      width: 36px;
      height: 36px;
      border-radius: 10px;
    }

    .menu-btn svg {
      width: 20px;
      height: 20px;
    }

    .nav-links {
      top: 58px;
      width: 280px;
      max-width: 82vw;
      height: calc(100vh - 58px);
    }
  /* Consolidated source block 2 */
  .birds-section {
    width: calc(100% - 24px);
    padding: 55px 0 70px;
  }

  .bird-marketplace-title h2 {
    font-size: 30px;
  }

  .species-shortcuts {
    width: calc(100% + 12px);
    flex-wrap: nowrap;
    justify-content: flex-start;
    margin-inline-end: -12px;
    padding-inline-end: 12px;
    padding-bottom: 7px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .species-shortcuts::-webkit-scrollbar {
    display: none;
  }

  .species-shortcuts button {
    flex: 0 0 auto;
  }

  .marketplace-trust-item {
    padding: 8px;
  }

  .bird-filter-panel {
    display: block;
    padding: 17px;
  }

  .bird-filter-heading {
    margin-bottom: 14px;
  }

  .bird-filter-selects {
    grid-template-columns: 1fr;
    margin-top: 11px;
  }

  .featured-filter-label {
    margin-top: 16px;
  }

  .bird-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .bird-card-image {
    height: 150px;
  }

  .bird-card-content {
    padding: 12px;
  }

  .bird-card-details {
    grid-template-columns: 1fr;
  }

  .bird-view-text {
    display: none;
  }

  .bird-card-view-hint {
    width: 27px;
    padding: 0;
  }
  /* Consolidated source block 3 */
  .bird-page-header {
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
  }.back-link {
    font-size: 12px;
  }.bird-logo {
    font-size: 18px;
  }.bird-page {
    padding: 28px 14px
        60px;
  }.bird-details-breadcrumb {
    display: none;
  }.bird-details-media,
    .bird-details-info {
    border-radius: 20px;
  }.bird-details-media {
    padding: 10px;
  }.bird-main-image,
    .bird-main-placeholder {
    height: 330px;
    border-radius: 16px;
  }.bird-thumbnail {
    width: 65px;
    height: 65px;
  }.bird-details-info {
    padding: 20px;
  }.bird-details-title-row {
    flex-direction: column;
    gap: 13px;
  }.bird-details-price {
    margin: 0;
  }.bird-spec-card {
    grid-template-columns: 1fr;
  }.bird-details-welfare-note {
    align-items: flex-start;
    padding: 18px;
  }
  /* Consolidated source block 4 */
  /* -----------------------------
       Header
    ----------------------------- */

    .bird-page-header {
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 0;
    border-bottom: 1px solid #e5ecea;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 3px 14px
        rgba(15, 23, 42, 0.06);
  }.back-link {
    order: initial;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 58%;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
  }.bird-logo {
    order: initial;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    font-size: 16px;
    white-space: nowrap;
  }.bird-header-message {
    display: none;
  }/* -----------------------------
       Main page
    ----------------------------- */

    .bird-page {
    width: 100%;
    min-height: auto;
    padding: 14px 10px
        50px;
    background: #f6faf9;
  }#bird-details-page {
    width: 100%;
    max-width: none;
    margin: 0;
  }.bird-details-breadcrumb {
    display: none;
  }/* -----------------------------
       Main layout
    ----------------------------- */

    .bird-details-layout {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin: 0;
  }.bird-details-media,
    .bird-details-info {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 7px 22px
        rgba(15, 23, 42, 0.07);
  }.bird-details-media {
    position: static;
    top: auto;
  }/* -----------------------------
       Main image
    ----------------------------- */

    .bird-main-image,
    .bird-main-placeholder {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 4 / 3;
    border-radius: 13px;
    object-fit: cover;
  }.bird-main-placeholder {
    padding: 20px;
  }.placeholder-icon {
    font-size: 55px;
  }.bird-main-placeholder p {
    font-size: 15px;
    line-height: 1.4;
  }/* -----------------------------
       Thumbnails
    ----------------------------- */

    .bird-thumbnails {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    margin-top: 10px;
    padding-bottom: 4px;
    overflow-x: auto;
    scrollbar-width: none;
  }.bird-thumbnails::-webkit-scrollbar {
    display: none;
  }.bird-thumbnail {
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    border-radius: 9px;
  }/* -----------------------------
       Video
    ----------------------------- */

    .bird-video-wrapper {
    width: 100%;
    margin-top: 0px;
    padding-top: 15px;
  }.bird-video-wrapper h3 {
    margin-bottom: 9px;
    font-size: 14px;
  }.bird-video {
    width: 100%;
    height: auto;
    max-height: 200px;
    margin: 0;
    border-radius: 13px;
    object-fit: contain;
    background: #000000;
  }/* -----------------------------
       Title and price
    ----------------------------- */

    .bird-details-info {
    padding: 18px 15px;
  }.bird-details-title-row {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 17px;
  }.bird-details-info h1 {
    font-size: 26px;
    line-height: 1.2;
  }.bird-details-price {
    margin: 0;
    font-size: 22px;
  }.details-listing-badge {
    margin-bottom: 8px;
  }/* -----------------------------
       Description
    ----------------------------- */

    .bird-details-description {
    padding: 18px 0;

  }.bird-details-description h2,
    .bird-details-section-heading span {
    font-size: 16px;
  }.bird-details-description p {
    font-size: 13px;
    line-height: 1.65;
     background: #d7dedd;
  }/* -----------------------------
       Specifications
    ----------------------------- */

    .bird-specifications-section {
    padding: 18px 0;
  }.bird-spec-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }.bird-spec-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    padding: 11px;
    border-radius: 13px;
  }.bird-spec-icon {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
    font-size: 16px;
  }.bird-spec-item strong {
    max-width: 100%;
    font-size: 12px;
    white-space: normal;
    overflow-wrap: anywhere;
  }/* -----------------------------
       Welfare note
    ----------------------------- */

    .bird-details-welfare-note {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin-top: 14px;
    padding: 16px;
    border-radius: 16px;
  }.bird-welfare-icon {
    width: 43px;
    height: 43px;
    flex-basis: 43px;
    border-radius: 13px;
  }.bird-details-welfare-note h2 {
    font-size: 15px;
  }.bird-details-welfare-note p {
    font-size: 11px;
  }
  /* Consolidated source block 5 */
  .bird-video {
    width: 100%;
    height: 420px;
    max-height: none;
    object-fit: contain;
    background: #000;
  }
  /* Consolidated source block 6 */
  /* Main information card */

    .bird-details-info {
    padding: 18px 14px 16px;
  }/* Listing badge */

    .details-listing-badge {
    min-height: 24px;
    padding: 0 9px;
    margin-bottom: 9px;
    font-size: 8px;
    letter-spacing: 0.04em;
  }/* Title and price */

    .bird-details-title-row {
    gap: 8px;
    padding-bottom: 16px;
  }.bird-details-info h1 {
    margin: 0;
    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -0.025em;
  }.bird-details-price {
    margin-top: 1px;
    font-size: 20px;
    line-height: 1.2;
  }/* About section */

    .bird-details-description {
    padding: 17px 0;
  }.bird-details-description h2 {
    margin-bottom: 9px;
    font-size: 15px;
  }.bird-details-description p {
    min-height: 0;
    margin: 0;
    color: #526173;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }/* Bird information section */

    .bird-specifications-section {
     padding: 20px 0;
  }.bird-details-section-heading {
    margin-bottom: 13px;
  }.bird-details-section-heading span {
    font-size: 15px;
  }.bird-details-section-heading small {
    margin-top: 1px;
    font-size: 9px;
  }/* Specification grid */

    .bird-spec-card {
    gap: 8px;
  }.bird-spec-item {
    min-height: 78px;
    justify-content: flex-start;
    gap: 8px;
    padding: 10px;
    border-color: #e4ecea;
    border-radius: 12px;
    background: #fafcfb;
  }.bird-spec-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 9px;
    font-size: 15px;
  }.bird-spec-item small {
    margin-bottom: 3px;
    font-size: 9px;
    line-height: 1.2;
  }.bird-spec-item strong {
    font-size: 11px;
    line-height: 1.3;
  }/* Softer separators */

    .bird-details-title-row,
    .bird-details-description {
    border-bottom-color: #edf3f2;
  }
  /* Consolidated source block 7 */
  /* =====================================================
     HEADER
  ===================================================== */

  .bird-page-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 58px;
    padding: 10px 14px;
    border-radius: 0;
    border-bottom: 1px solid #e5ecea;
    background: rgba(255,255,255,.96);
    box-shadow: 0 3px 14px rgba(15,23,42,.06);
  }.back-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: 58%;
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
  }.bird-logo {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    font-size: 16px;
    white-space: nowrap;
  }.bird-header-message {
    display: none;
  }/* =====================================================
     PAGE
  ===================================================== */

  .bird-page {
    width: 100%;
    min-height: auto;
    padding: 14px 10px 50px;
    background: #f6faf9;
  }#bird-details-page {
    width: 100%;
    max-width: none;
    margin: 0;
  }.bird-details-breadcrumb {
    display: none;
  }/* =====================================================
     LAYOUT
  ===================================================== */

  .bird-details-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 14px;
    width: 100%;
    margin: 0;
  }.bird-details-media,
  .bird-details-info {
    width: 100%;
    min-width: 0;
    margin: 0;
    border-radius: 16px;
    box-shadow: 0 7px 22px rgba(15,23,42,.07);
  }.bird-details-media {
    position: static;
    padding: 12px;
  }/* =====================================================
     MAIN IMAGE
  ===================================================== */

  .bird-main-image,
  .bird-main-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    height: auto;
    border-radius: 13px;
    object-fit: cover;
  }.bird-main-placeholder {
    padding: 20px;
  }.placeholder-icon {
    font-size: 55px;
  }.bird-main-placeholder p {
    font-size: 15px;
    line-height: 1.4;
  }/* =====================================================
     THUMBNAILS
  ===================================================== */

  .bird-thumbnails {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    scrollbar-width: none;
  }.bird-thumbnails::-webkit-scrollbar {
    display: none;
  }.bird-thumbnail {
    flex: 0 0 60px;
    width: 60px;
    height: 60px;
    border-radius: 9px;
  }/* =====================================================
     VIDEO
  ===================================================== */

  .bird-video-wrapper {
    width: 100%;
    margin-top: 16px;
    padding-top: 15px;
  }.bird-video-wrapper h3 {
    margin-bottom: 9px;
    font-size: 14px;
  }.bird-video {
    width: 100%;
    height: 420px;
    object-fit: contain;
    border-radius: 13px;
    background: #000;
  }/* =====================================================
     INFORMATION CARD
  ===================================================== */

  .bird-details-info {
    padding: 18px 14px 16px;
  }/* =====================================================
     LISTING BADGE
  ===================================================== */

  .details-listing-badge {
    min-height: 24px;
    padding: 0 9px;
    margin-bottom: 9px;
    font-size: 8px;
    letter-spacing: .04em;
  }/* =====================================================
     TITLE & PRICE
  ===================================================== */

  .bird-details-title-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom-color: #edf3f2;
  }.bird-details-info h1 {
    margin: 0;
    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -.025em;
  }.bird-details-price {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
  }/* =====================================================
     DESCRIPTION
  ===================================================== */

  .bird-details-description {
    padding: 17px 0;
    border-bottom-color: #edf3f2;
  }.bird-details-description h2 {
    margin-bottom: 9px;
    font-size: 15px;
  }.bird-details-description p {
    margin: 0;
    color: #526173;
    font-size: 12px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }/* =====================================================
     SPECIFICATIONS
  ===================================================== */

  .bird-specifications-section {
    padding: 17px 0 20px;
  }.bird-details-section-heading {
    margin-bottom: 13px;
  }.bird-details-section-heading span {
    font-size: 15px;
  }.bird-details-section-heading small {
    margin-top: 1px;
    font-size: 9px;
  }.bird-spec-card {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
  }.bird-spec-item {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    min-height: 78px;
    gap: 8px;
    padding: 10px;
    border-radius: 12px;
    border-color: #e4ecea;
    background: #fafcfb;
  }.bird-spec-icon {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    border-radius: 9px;
    font-size: 15px;
  }.bird-spec-item small {
    margin-bottom: 3px;
    font-size: 9px;
    line-height: 1.2;
  }.bird-spec-item strong {
    max-width: 100%;
    font-size: 11px;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
  }/* =====================================================
     SELLER CONTACT CARD: MOBILE
  ===================================================== */

  .seller-card {
    margin-top: 2px;
    padding: 14px;
    border-radius: 14px;
  }.seller-card-heading {
    gap: 10px;
  }.seller-avatar {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 12px;
    font-size: 16px;
  }.seller-name-row {
    gap: 5px;
  }.seller-name-row h3 {
    font-size: 13px;
  }.seller-verified {
    min-height: 18px;
    padding: 0 6px;
    font-size: 7px;
  }.seller-card-identity > p,
  .seller-location {
    font-size: 9px;
  }.seller-contact-note {
    margin-top: 14px;
    padding: 12px;
  }.whatsapp-detail-btn {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 12px;
    text-align: center;
  }/* =====================================================
     WELFARE NOTICE
  ===================================================== */

  .bird-details-welfare-note {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    margin-top: 14px;
    padding: 16px;
    border-radius: 16px;
  }.bird-welfare-icon {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    border-radius: 13px;
  }.bird-details-welfare-note h2 {
    font-size: 15px;
  }.bird-details-welfare-note p {
    font-size: 11px;
    line-height: 1.6;
  }
  /* Consolidated source block 8 */
  /* ---------------------------------------------
       MOBILE HERO
    --------------------------------------------- */

    .hero {
      min-height: auto;
      padding: 24px 18px 16px;
      gap: 14px;
    }

    .hero-content {
      max-width: 100%;
    }

    .badge {
      margin-bottom: 8px;
      padding: 5px 10px;
      font-size: 10px;
    }

    .hero h1 {
      margin-bottom: 7px;
      font-size: 20px;
      line-height: 1.05;
    }

    .hero-content > p {
      margin-bottom: 8px;
      font-size: 11px;
      line-height: 1.45;
    }

    .hero-actions {
      flex-direction: column;
      gap: 7px;
      margin-top: 0;
    }

    .hero-actions .primary-btn,
    .hero-actions .secondary-btn {
      width: 100%;
      min-height: 38px;
      padding: 0 18px;
      border-radius: 999px;
      font-size: 13px;
      line-height: 1;
    }

    .hero .hero-trust-line.desktop-only {
      display: none !important;
    }

    .hero + section,
    .hero + .welfare-section {
      margin-top: 0;
    }


    /* ---------------------------------------------
       MOBILE MARKETPLACE
    --------------------------------------------- */

    .birds-section {
      width: calc(100% - 24px);
      padding: 18px 0 58px;
    }

    .bird-marketplace-header {
      align-items: stretch;
      gap: 10px;
      margin-bottom: 11px;
    }

    .bird-marketplace-title {
      max-width: none;
    }

    .bird-marketplace-title .section-eyebrow {
      padding: 5px 9px;
      font-size: 10px;
    }

    .bird-marketplace-title h2 {
      margin: 7px 0 5px;
      font-size: 24px;
      line-height: 1.08;
    }

    .bird-marketplace-title p {
      font-size: 11px;
      line-height: 1.42;
    }

    .species-shortcuts {
      width: 100%;
      max-width: 100%;
      margin: 0;
      padding: 0;
      gap: 5px;
      overflow: visible;
    }

    .species-shortcuts > button,
    .species-more-btn {
      min-height: 33px;
      padding-inline: 7px;
      gap: 4px;
      font-size: 8px;
    }

    .mobile-species-more {
      position: relative;
      display: block !important;
    }

    .desktop-species-shortcut {
      display: none !important;
    }

    .bird-filter-panel {
      position: static;
      display: block;
      padding: 10px;
      border-radius: 15px;
    }

    .bird-filter-heading {
      margin-bottom: 8px;
    }

    .bird-filter-heading span {
      font-size: 13px;
    }

    .bird-filter-heading small {
      font-size: 8px;
    }

    .bird-filter-heading > svg {
      width: 17px;
      height: 17px;
    }

    .bird-search-control {
      min-height: 40px;
      padding-inline: 11px;
    }

    .bird-search-control input {
      font-size: 11px;
    }

    .bird-filter-selects {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 7px;
      margin-top: 8px;
    }

    .bird-select-control select {
      min-height: 39px;
      padding-inline-start: 10px;
      font-size: 10px;
    }

    .featured-filter-label {
      gap: 7px;
      margin-top: 8px;
      padding-top: 7px;
    }

    .featured-filter-icon {
      width: 28px;
      height: 28px;
      border-radius: 9px;
    }

    .featured-filter-icon svg {
      width: 14px;
      height: 14px;
    }

    .featured-filter-label strong {
      font-size: 9px;
    }


    /* ---------------------------------------------
       MOBILE BIRD CARDS
    --------------------------------------------- */

    .bird-grid {
      grid-template-columns: 1fr;
      gap: 11px;
    }

    .bird-card {
      width: 100%;
      height: 150px;
      min-height: 150px;
      display: grid;
      grid-template-columns: 46% minmax(0, 1fr);
      align-items: stretch;
    }

    .bird-card-image {
      width: 100%;
      height: 150px;
      min-height: 0;
      overflow: hidden;
    }

    .bird-card-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .bird-card-content {
      min-width: 0;
      min-height: 0;
      padding: 9px 11px 8px;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .bird-card-top-row {
      min-height: 0;
      margin-bottom: 2px;
    }

    .bird-listing-type {
      font-size: 8px;
      line-height: 1;
    }

    .bird-card h3 {
      margin: 0 0 6px;
      overflow: hidden;
      font-size: 13px;
      line-height: 1.2;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .bird-card-details {
      min-height: 0;
      margin-bottom: 6px;
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 5px 9px;
    }

    .bird-card-details span {
      min-width: 0;
      overflow: hidden;
      font-size: 9px;
      line-height: 1.5;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .bird-card-details svg {
      width: 12px;
      height: 12px;
    }

    .bird-card-care-note {
      margin: 0 0 5px;
      overflow: hidden;
      color: #64748b;
      font-size: 9px;
      line-height: 1.25;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .bird-card-footer {
      min-height: 25px;
      margin-top: auto;
      padding-top: 6px;
      border-top: 1px solid #edf3f3;
    }

    .bird-card-price {
      font-size: 12px;
    }

    .bird-card-view-hint {
      width: 26px;
      height: 26px;
      min-height: 26px;
      padding: 0;
    }

    .bird-view-text {
      display: none;
    }

    .bird-card-view-hint svg {
      width: 12px;
      height: 12px;
    }

    .bird-favorite-btn {
      top: 7px;
      inset-inline-end: 7px;
      width: 28px;
      height: 28px;
    }

    .bird-favorite-btn svg {
      width: 14px;
      height: 14px;
    }

    .bird-card-badges {
      top: 7px;
      inset-inline-start: 7px;
    }


    /* ---------------------------------------------
       MOBILE VISIBILITY
    --------------------------------------------- */

    .desktop-only {
      display: none !important;
    }

    .mobile-only {
      display: block !important;
    }
}

/* -----------------------------------------------------
   600PX BREAKPOINT
----------------------------------------------------- */
@media (max-width: 600px) {
  /* Consolidated source block 1 */
  .values-strip {
    grid-template-columns: 1fr;
    margin-top: -8px;
    padding: 8px 20px;
  }.value-item {
    min-height: 82px;
    justify-content: flex-start;
    padding: 13px 8px;
  }.value-item:not(:last-child)::after {
    top: auto;
    bottom: 0;
    inset-inline: 0;
    width: auto;
    height: 1px;
  }.value-item:nth-child(-n + 2) {
    border-bottom: none;
  }.value-icon {
    width: 50px;
    height: 50px;
  }.value-icon svg {
    width: 39px;
    height: 39px;
  }.value-content {
    max-width: none;
  }.value-content strong {
    font-size: 16px;
  }.value-content p {
    font-size: 13px;
  }
  /* Consolidated source block 2 */
  .bird-spec-card {
    grid-template-columns: 1fr;
  }
}

/* -----------------------------------------------------
   560PX BREAKPOINT
----------------------------------------------------- */
@media (max-width: 560px) {
  /* Consolidated source block 1 */
  .promise-card-section {
    padding: 22px 16px;
  }.promise-items {
    grid-template-columns: repeat(2, 1fr);
  }.promise-item:last-child {
    grid-column: 1 / -1;
  }.promise-image {
    width: 96px;
    height: 96px;
  }
  /* Consolidated source block 2 */
  .values-strip {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
  }.welfare-section {
    width: calc(100% - 28px);
    margin: 65px auto 75px;
    padding: 12px;
  }.welfare-card {
    padding: 22px;
  }.mission-visual {
    min-height: 300px;
  }.mission-points {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 10px;
  }.promise-items {
    grid-template-columns: repeat(2, 1fr);
  }.promise-item:last-child {
    grid-column: 1 / -1;
  }
}

/* -----------------------------------------------------
   520PX BREAKPOINT
----------------------------------------------------- */
@media (max-width: 520px) {
  /* Consolidated source block 1 */
  .hero-trust-line {
      width: 100%;

      display: flex;
      justify-content: space-between;
      align-items: center;

      flex-wrap: nowrap;
      gap: 8px;

      margin-top: 12px;
      padding: 8px 10px;
    }

    .hero-trust-item {
      flex: 1;
      min-width: 0;

      display: flex;
      justify-content: center;
      align-items: center;
      gap: 4px;

      font-size: 9px;
      line-height: 1.2;
      white-space: nowrap;
      text-align: center;
    }

    .hero-trust-item svg {
      width: 12px;
      height: 12px;
      flex-shrink: 0;
    }
  /* Consolidated source block 2 */
  .hero-card {
    padding: 21px 18px;
    border-radius: 22px;
  }.hero-card-icon {
    width: 42px;
    height: 42px;
  }.hero-card h2 {
    font-size: 23px;
  }.hero-benefit {
    padding-block: 13px;
  }
  /* Consolidated source block 3 */
  .hero {
    padding: 48px 20px 75px;
  }.hero h1 {
    font-size: 38px;
  }.hero-actions {
    flex-direction: column;
  }.hero-actions .primary-btn,
    .hero-actions .secondary-btn {
    width: 100%;
  }.hero-trust-line {
    width: 100%;
    flex-direction: column;
    gap: 7px;
  }.hero-card {
    padding: 22px;
  }
  /* Consolidated source block 4 */
  .hero h1 {
    font-size: 37px;
  }.hero-card {
    padding: 22px;
  }.mission-section {
    width: calc(100% - 28px);
  }.promise-grid {
    grid-template-columns: 1fr;
  }
  /* Consolidated source block 5 */
  .hero {
    padding: 50px 20px 75px;
  }.hero h1 {
    font-size: 38px;
  }.hero-actions {
    flex-direction: column;
  }.hero-actions .primary-btn,
    .hero-actions .secondary-btn {
    width: 100%;
  }.hero-trust-line {
    flex-direction: column;
    gap: 7px;
  }.hero-card {
    padding: 22px;
  }
}

/* -----------------------------------------------------
   420PX BREAKPOINT
----------------------------------------------------- */
@media (max-width: 420px) {
  /* Consolidated source block 1 */
  .bird-grid {
    grid-template-columns: 1fr;
  }

  .bird-card-image {
    height: 205px;
  }

  .bird-card-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bird-view-text {
    display: inline;
  }

  .bird-card-view-hint {
    width: auto;
    padding: 0 8px;
  }
  /* Consolidated source block 2 */
  .bird-main-image,
    .bird-main-placeholder {
    height: 270px;
  }.bird-main-placeholder p {
    font-size: 16px;
  }.placeholder-icon {
    font-size: 60px;
  }.bird-details-info h1 {
    font-size: 27px;
  }.bird-details-price {
    font-size: 23px;
  }.bird-details-welfare-note {
    flex-direction: column;
  }
  /* Consolidated source block 3 */
  .bird-video {
    height: 360px;
  }
  /* Consolidated source block 4 */
  .bird-video {
    height: 360px;
  }.bird-details-info h1 {
    font-size: 22px;
  }.bird-details-price {
    font-size: 18px;
  }.bird-spec-card {
    grid-template-columns: 1fr;
  }.seller-avatar {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }.whatsapp-detail-btn {
    min-height: 44px;
    font-size: 11px;
  }
  /* Consolidated source block 5 */
  /* ---------- Bird Details ---------- */

      .bird-main-image,
      .bird-main-placeholder {
    height: 270px;
  }.bird-main-placeholder p {
    font-size: 16px;
  }.placeholder-icon {
    font-size: 60px;
  }.bird-video {
    height: 200px;
  }.bird-details-info h1 {
    font-size: 22px;
  }.bird-details-price {
    font-size: 14px;
  }.bird-spec-card {
    grid-template-columns: 1fr;
  }/* ---------- Seller ---------- */

      .seller-avatar {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }.whatsapp-detail-btn {
    min-height: 44px;
    font-size: 11px;
  }.bird-details-welfare-note {
    flex-direction: column;
  }
}

/* -----------------------------------------------------
   390PX BREAKPOINT
----------------------------------------------------- */
@media (max-width: 390px) {
  .bird-card {
      height: 145px;
      min-height: 145px;
      grid-template-columns: 44% minmax(0, 1fr);
    }

    .bird-card-image {
      height: 145px;
    }

    .bird-card-content {
      padding: 8px 9px 7px;
    }

    .bird-card-details {
      gap: 3px 5px;
    }

    .bird-card-care-note {
      font-size: 8px;
    }
}
/* English mobile hero image position only */
/* English mobile hero only */
@media (max-width: 768px) {
  html[dir="ltr"] .hero {
    background-image:
      linear-gradient(
        180deg,
        rgba(255, 253, 247, 0.04) 0%,
        rgba(255, 253, 247, 0.02) 30%,
        rgba(255, 253, 247, 0) 65%
      ),
      url("../images/birdsouq-hero-birds.png") !important;

    background-size:
      auto auto,
      120% auto !important;

    background-position:
      center center,
      center top !important;
  }

/* Arabic mobile hero only */
  html[dir="rtl"] .hero {
    background-image:
      linear-gradient(
        180deg,
        rgba(255, 253, 247, 0.04) 0%,
        rgba(255, 253, 247, 0.02) 30%,
        rgba(255, 253, 247, 0) 65%
      ),
      url("../images/birdsouq-hero-birds.png") !important;

    background-size:
      auto auto,
      120% auto !important;

    background-position:
      center center,
      80% top !important;
  }

  html[dir="ltr"] .hero::before,
html[dir="rtl"] .hero::before {
    background: rgba(255, 255, 255, 0.40) !important;
}
.owner-profile > h1 {
  margin: 12px 18px 4px;
}

.owner-profile > h1 + p {
  margin: 0 18px 14px;
}
}

/* =====================================================
   MAIN SITE TOAST
===================================================== */

.main-toast {
  position: fixed;
  top: 24px;
  right: 24px;

  display: flex;
  align-items: center;
  gap: 10px;

  min-width: 260px;
  max-width: 360px;

  padding: 14px 16px;

  border-radius: 14px;
  background: #ffffff;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.14);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;

  z-index: 10000;
}

.main-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-toast.success {
  border-left: 4px solid #16a34a;
}

.main-toast.error {
  border-left: 4px solid #dc2626;
}

.main-toast.warning {
  border-left: 4px solid #f59e0b;
}

.main-toast-icon {
  font-size: 18px;
  font-weight: 800;
}

.main-toast-message {
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
}

.main-toast-close {
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

html[dir="rtl"] .main-toast {
  right: auto;
  left: 24px;
}

html[dir="rtl"] .main-toast.success {
  border-left: 0;
  border-right: 4px solid #16a34a;
}

html[dir="rtl"] .main-toast.error {
  border-left: 0;
  border-right: 4px solid #dc2626;
}

html[dir="rtl"] .main-toast.warning {
  border-left: 0;
  border-right: 4px solid #f59e0b;
}

@media (max-width: 768px) {
  .main-toast {
    top: 16px;
    right: 16px;
    left: 16px;

    min-width: 0;
    max-width: none;
  }

  html[dir="rtl"] .main-toast {
    right: 16px;
    left: 16px;
  }
}
/* =====================================================
   MARKETPLACE TOAST
===================================================== */

.marketplace-toast {
  position: fixed;
  top: 24px;
  right: 24px;

  display: flex;
  align-items: center;
  gap: 10px;

  min-width: 260px;
  max-width: 360px;

  padding: 14px 16px;

  border-radius: 14px;
  background: #ffffff;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.14);

  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);

  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;

  z-index: 10000;
}

.marketplace-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.marketplace-toast.success {
  border-left: 4px solid #16a34a;
}

.marketplace-toast.error {
  border-left: 4px solid #dc2626;
}

.marketplace-toast.warning {
  border-left: 4px solid #f59e0b;
}

.marketplace-toast-icon {
  font-size: 18px;
  font-weight: 800;
}

.marketplace-toast-message {
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
}

.marketplace-toast-close {
  border: 0;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}


/* =====================================================
   MARKETPLACE TOAST - RTL
===================================================== */

html[dir="rtl"] .marketplace-toast {
  right: auto;
  left: 24px;
}

html[dir="rtl"] .marketplace-toast.success {
  border-left: 0;
  border-right: 4px solid #16a34a;
}

html[dir="rtl"] .marketplace-toast.error {
  border-left: 0;
  border-right: 4px solid #dc2626;
}

html[dir="rtl"] .marketplace-toast.warning {
  border-left: 0;
  border-right: 4px solid #f59e0b;
}


/* =====================================================
   MARKETPLACE TOAST - MOBILE
===================================================== */

@media (max-width: 768px) {

  .marketplace-toast {
    top: 16px;
    right: 16px;
    left: 16px;

    min-width: 0;
    max-width: none;
  }

  html[dir="rtl"] .marketplace-toast {
    right: 16px;
    left: 16px;
  }
}/* =====================================================
   SELLER REGISTRATION CONSENT
===================================================== */

.seller-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 16px;
  font-size: 13px;
  line-height: 1.6;
  text-align: start;
  cursor: pointer;
}

.auth-modal .seller-consent input[type="checkbox"] {
  width: 17px;
  height: 17px;
  min-width: 17px;
  margin: 3px 0 0;
  padding: 0;
  flex-shrink: 0;
  accent-color: #16803c;
  cursor: pointer;
}
/* =====================================================
   HEADER PROFILE PHOTO
===================================================== */

.header-user-photo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #10756e;
  flex-shrink: 0;
}

.header-user-photo[hidden],
#header-user-icon[hidden] {
  display: none !important;
}
/* =====================================================
   FOOTER LEGAL LINKS
===================================================== */

/* =====================================================
   FOOTER LEGAL LINKS
===================================================== */

.footer-info {
  text-align: end;
}

.footer-links {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 14px;
  font-size: 13px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #5eead4;
  text-decoration: underline;
}

@media (max-width: 768px) {

  .footer-info {
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }

}