.ibm-plex-sans-arabic-thin {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 100;
  font-style: normal;
}

.ibm-plex-sans-arabic-extralight {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 200;
  font-style: normal;
}

.ibm-plex-sans-arabic-light {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 300;
  font-style: normal;
}

.ibm-plex-sans-arabic-regular {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.ibm-plex-sans-arabic-medium {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 500;
  font-style: normal;
}

.ibm-plex-sans-arabic-semibold {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 600;
  font-style: normal;
}

.ibm-plex-sans-arabic-bold {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  font-weight: 700;
  font-style: normal;
}
html::-webkit-scrollbar,
body::-webkit-scrollbar{
  width: 10px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track{
  background: transparent;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb{
  background: #CAA674;
  border-radius: 999px;
}

html,
body{
  scrollbar-color: #CAA674 transparent;
  scrollbar-width: thin;
}
   :root {
      --primary: #0d4f45;
      --primary-dark: #083a33;
      --secondary: #d9b07a;
      --secondary-soft: #edd8bb;
      --bg: #f7f5f1;
      --text: #1e1e1e;
      --muted: #6e6e6e;
      --card: #ffffff;
      --border: #e6e0d8;
      --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
      --radius-lg: 22px;
      --radius-md: 16px;
      --radius-sm: 12px;
      --hero-overlay: linear-gradient(90deg, rgba(7, 48, 42, 0.72) 0%, rgba(7, 48, 42, 0.18) 45%, rgba(7, 48, 42, 0) 100%);
  --font-main: 'IBM Plex Sans Arabic';
    }

    html[dir="ltr"] {
      --hero-overlay: linear-gradient(270deg, rgba(7, 48, 42, 0.72) 0%, rgba(7, 48, 42, 0.18) 45%, rgba(7, 48, 42, 0) 100%);
    }

    body {
      font-family: var(--font-main);
      background:white;
      color: var(--text);
    }

    a {
      text-decoration: none;
    }

    .section-space {
      padding: 32px 0;
    }

    .section-title {
      font-size: 1.35rem;
      font-weight: 700;
      color: var(--primary-dark);
      margin-bottom: 1rem;
    }

    .navbar-custom {
      position: absolute;
      inset-inline: 0;
      top: 0;
      z-index: 20;
      padding: 14px 0;
    }
    .navbar-custom {
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 30;
}

.navbar-glass {
  background: rgba(255, 248, 239, 0.45);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(12px);
  border-radius: 999px;
  padding: 10px 18px;
}

.navbar-layout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  justify-self: end;
}

.nav-menu {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-actions {
  justify-self: start;
}

.nav-link-custom {
  position: relative;
  color: rgba(255, 255, 255, 0.68);
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s ease;
  padding-bottom: 8px;
}

.nav-link-custom:hover {
  color: rgba(255, 255, 255, 0.88);
}

.nav-link-custom.active {
  color: #fff;
        opacity: 1;

}

.nav-link-custom.active::after {
  content: "";
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}

.btn-soft {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
}

.btn-primary-custom {
  background: #CAA674;
  border: none;
  color: #061E19;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
}
.btn-soft2{
    background: #CAA674;
  border: none;
  color: #0A372E;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;  
}
 .btn-soft2:hover {
      background: #d2a468;
     color: #0A372E;
    }
.btn-primary-custom2{
  background: #0A392F;
  border: none;
  color: white;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
}
 .btn-primary-custom2:hover {
      background: #082e26;
     color: white;
    }

    .navbar-glass {
      background: rgba(255, 248, 239, 0.28);
      border: 1px solid rgba(255, 255, 255, 0.24);
      backdrop-filter: blur(10px);
      border-radius: 999px;
      padding: 8px 12px;
    }

    .brand {
      font-size: 1.35rem;
      font-weight: 800;
      color: var(--primary);
    }

    .nav-link-custom {
      color: #fff;
      font-size: 0.92rem;
      opacity: 0.50;
    }

    .btn-soft,
    .btn-primary-custom,
    .btn-outline-soft {
      border-radius: 999px;
      padding: 0.65rem 1.1rem;
      font-size: 0.92rem;
      font-weight: 700;
    }


    .btn-primary-custom:hover {
      background: #d2a468;
      color: var(--primary-dark);
    }


    .btn-outline-soft {
      background: #F8FBFA;
      color: #065F46;
      border: 1px  ;
    }
        .btn-outline-soft:hover {
      background: #F8FBFA;
      color: #065F46;
      border: 1px  ;
    }


@media (max-width: 991.98px) {
  .hero {
    min-height: 620px;
  }

  .hero .container {
    min-height: 620px;
  }

  .hero-content {
    right: 24px !important;
    left: 24px !important;
    top: 56%;
    max-width: 100%;
    padding-right: 0 !important;
  }

  .hero-content h1 {
    font-size: 34px !important;
  }

  .hero-content p {
    font-size: 16px !important;
    max-width: 100%;
  }
}

 .hero {
  position: relative;
  min-height: 850px;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(7, 48, 42, 0.72) 0%,
    rgba(7, 48, 42, 0.20) 42%,
    rgba(7, 48, 42, 0) 100%
  );
}

.hero .container {
  position: relative;
  z-index: 2;
  min-height: 850px;
}

.hero-content {
  position: absolute;
  top: 70%;
  left: 6%;
  right: auto;
  transform: translateY(-50%);
  max-width: 700px;
  color: #fff;
  text-align: right;
}

.hero-content h1 {
  font-size: 64px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 18px;
  color: #fff;
}

.hero-content p {
  font-size: 20px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 26px;
  max-width: 620px;
}

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-size: 0.78rem;
      font-weight: 700;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(255,255,255,0.16);
      border: 1px solid rgba(255,255,255,0.18);
      margin-bottom: 1rem;
    }

    
    .section-card,
    .animal-card,
    .feature-card,
    .auction-card,
    .sell-card,
    .info-card {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: var(--radius-lg);
      overflow: hidden;
      box-shadow: var(--shadow);
    }

    
    .animal-card img,
    .auction-card img,
    .sell-card img,
    .banner-card img,
    .feature-hero img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }

    .animal-card .overlay,
    .banner-overlay,
    .feature-overlay,
    .sell-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(0,0,0,0.08), rgba(0,0,0,0.55));
    }

   .section-title {
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
  color: #143f38;
  margin-bottom: 24px;
}

.animal-card {
  position: relative;
  height: 320px;
  border-radius: 18px;
  overflow: hidden;
  background: #ddd;
}

.animal-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.animal-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.06) 0%,
    rgba(0, 0, 0, 0.16) 45%,
    rgba(0, 0, 0, 0.45) 100%
  );
  z-index: 1;
}

.animal-card .content {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 18px;
  z-index: 2;
  text-align: center;
  padding: 0 12px;
}

.animal-card .content h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
}

.animal-count {
  display: block;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 400;
  opacity: 0.95;
}
    .steps-card {
      padding: 24px;
      height: 100%;
    }

    .step-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 16px 0;
      border-bottom: 1px solid #efe8dd;
    }

    .step-item:last-child {
      border-bottom: none;
    }

    .step-badge {
      width: 42px;
      height: 42px;
      border-radius: 10px;
      background: var(--primary);
      color: #fff;
      display: grid;
      place-items: center;
      font-weight: 800;
      flex-shrink: 0;
    }

    .step-item h4 {
      font-size: 1rem;
      margin: 0 0 4px;
      font-weight: 700;
      color: var(--primary-dark);
    }

    .step-item p {
      margin: 0;
      color: var(--muted);
      font-size: 0.88rem;
    }


    .feature-showcase {
  position: relative;
  min-height: 760px;
  border-radius: 28px;
  overflow: hidden;
  background: #8f7558;
  padding: 64px 28px 28px;
}

.feature-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.10) 0%,
    rgba(0, 0, 0, 0.32) 58%,
    rgba(0, 0, 0, 0.52) 100%
  );
}

.title-wrap {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.title-wrap h2 {
  font-size: 72px;
  line-height: 1.1;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.features-cards {
  position: absolute;
  inset-inline: 28px;
  bottom: 22px;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  align-items: stretch;
}

.feature-pill-card {
  min-height: 220px;
  border-radius: 22px;
  padding: 24px 22px 20px;
  text-decoration: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.30);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  transition: 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.feature-pill-card:hover,
.feature-pill-card.active {
  background: #004d40;
  background-image: url('/assets/Frame 2085664346.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
}

.feature-card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.feature-card-head h4 {
  margin: 0;
  font-size: 34px;
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
}

.feature-pill-card .num {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: #FFFFFF;
  color: #5D4C36;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  flex-shrink: 0;
}
.feature-pill-card .num:hover,
 .feature-pill-card .num.active {
  color: #0A372E;
}


.feature-pill-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
}
@media (max-width: 1199.98px) {
  .title-wrap h2 {
    font-size: 58px;
  }

  .feature-card-head h4 {
    font-size: 28px;
  }

  .feature-pill-card p {
    font-size: 15px;
  }
}

@media (max-width: 991.98px) {
  .feature-showcase {
    min-height: auto;
    padding: 44px 18px 18px;
  }

  .title-wrap {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    margin-bottom: 24px;
  }

  .title-wrap h2 {
    font-size: 40px;
  }

  .features-cards {
    position: relative;
    inset: auto;
    bottom: auto;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .feature-pill-card {
    min-height: 160px;
    padding: 20px 18px;
  }

  .feature-card-head h4 {
    font-size: 24px;
  }

  .feature-pill-card p {
    font-size: 14px;
    line-height: 1.7;
  }

  .feature-pill-card .num {
    width: 48px;
    height: 48px;
    font-size: 20px;
    border-radius: 12px;
  }
}
 

    .banner-card,
    .footer-banner {
      position: relative;
      overflow: hidden;
      min-height: 500px;
      border-radius: var(--radius-lg);
      color: #fff;
      background: #8b7555;
    }

    .banner-card .content,
    .footer-banner .content {
      position: relative;
      z-index: 2;
      padding: 34px;
      max-width: 520px;
    }

    .banner-card .banner-overlay,
    .footer-banner .banner-overlay {
      background: linear-gradient(90deg, rgba(7,48,42,0.86) 0%, rgba(7,48,42,0.38) 45%, rgba(7,48,42,0.08) 100%);
    }

    html[dir="ltr"] .banner-card .banner-overlay,
    html[dir="ltr"] .footer-banner .banner-overlay {
      background: linear-gradient(270deg, rgba(7,48,42,0.86) 0%, rgba(7,48,42,0.38) 45%, rgba(7,48,42,0.08) 100%);
    }

    .banner-card h2,
    .footer-banner h2 {
      font-size: clamp(1.7rem, 3vw, 2.5rem);
      line-height: 1.35;
      font-weight: 800;
      margin-bottom: 0.85rem;
    }

    .banner-card p,
    .footer-banner p {
      color: rgba(255,255,255,0.88);
      margin-bottom: 1.1rem;
    }

    .section-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 1.1rem;
    }

    .section-head p {
      margin: 0;
      color: var(--muted);
      font-size: 0.92rem;
    }

    .auction-card,
    .sell-card {
      height: 100%;
      box-shadow: none;
    }

    .auction-thumb,
    .sell-thumb {
      position: relative;
      height: 220px;
      background: #d5d5d5;
    }

    .badge-status,
    .badge-category,
    .badge-favorite {
      position: absolute;
      top: 14px;
      z-index: 2;
      border-radius: 999px;
      padding: 6px 10px;
      font-size: 0.72rem;
      font-weight: 700;
    }

    .badge-status {
      inset-inline-start: 14px;
      background: #e63e3e;
      color: #fff;
    }

    .badge-category {
      inset-inline-start: 14px;
      background: rgba(13, 79, 69, 0.9);
      color: #fff;
    }

    .badge-favorite {
      inset-inline-end: 14px;
      background: rgba(255, 255, 255, 0.92);
      color: #b06e7d;
    }

    .meta-pills {
      position: absolute;
      inset-inline: 12px;
      bottom: 12px;
      z-index: 2;
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .meta-pills span {
      background: rgba(22,22,22,0.45);
      color: #fff;
      border-radius: 10px;
      padding: 6px 9px;
      font-size: 0.72rem;
      backdrop-filter: blur(4px);
    }

    .auction-body,
    .sell-body {
      padding: 16px;
    }

    .auction-title,
    .sell-title {
      font-size: 1rem;
      font-weight: 700;
      color: var(--primary-dark);
      margin-bottom: 0.5rem;
      line-height: 1.6;
    }

    .auction-list,
    .sell-list {
      list-style: none;
      padding: 0;
      margin: 0 0 14px;
      color: var(--muted);
      font-size: 0.84rem;
    }

    .auction-list li,
    .sell-list li {
      margin-bottom: 6px;
    }

    .price-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding-top: 12px;
    }

    .price-label {
      color: var(--muted);
      font-size: 0.82rem;
    }

    .price-value {
      color: var(--primary-dark);
      font-weight: 800;
      font-size: 1.15rem;
    }

    .footer {
      background: var(--primary-dark);
      color: #fff;
      border-top-left-radius: 28px;
      border-top-right-radius: 28px;
      margin-top: 48px;
      overflow: hidden;
    }

    .footer-main {
      padding: 42px 0 24px;
      background:
        radial-gradient(circle at 20% 20%, rgba(217,176,122,0.08), transparent 30%),
        radial-gradient(circle at 80% 10%, rgba(217,176,122,0.08), transparent 30%),
        var(--primary-dark);
    }

    .footer h5 {
      font-size: 1rem;
      font-weight: 700;
      margin-bottom: 1rem;
    }

    .footer p,
    .footer li,
    .footer a {
      color: rgba(255,255,255,0.82);
      font-size: 0.9rem;
    }

    .footer ul {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .footer ul li {
      margin-bottom: 0.55rem;
    }

    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.08);
      padding: 16px 0;
      color: rgba(255,255,255,0.68);
      font-size: 0.82rem;
    }

    .lang-switch {
      display: inline-flex;
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 999px;
      padding: 4px;
      gap: 4px;
    }

    .lang-switch button {
      border: none;
      background: transparent;
      border-radius: 999px;
      padding: 8px 14px;
      font-weight: 700;
      color: var(--primary-dark);
    }

    .lang-switch button.active {
      background: var(--primary);
      color: #fff;
    }

    @media (max-width: 991.98px) {
      .hero {
        min-height: 620px;
      }

      .feature-pill-card {
        position: static;
        width: 100%;
        margin-top: 14px;
      }

      .feature-showcase {
        padding: 24px;
      }

      .feature-showcase .title-wrap {
        position: static;
        margin-bottom: 18px;
      }
    }

    @media (max-width: 767.98px) {
      .section-space {
        padding: 22px 0;
      }

      .hero {
        min-height: 560px;
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
      }

      .hero-content {
        max-width: 100%;
        padding-top: 94px;
      }

      .navbar-glass {
        border-radius: 18px;
      }

      .banner-card .content,
      .footer-banner .content {
        padding: 24px;
      }

      .auction-thumb,
      .sell-thumb {
        height: 200px;
      }
    }


    .how-section {
  position: relative;
  padding: 90px 0;
  background-color: #f7f6f2;
  background-image: url('/assets/Frame 2087329714.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.how-wrapper {
  position: relative;
  z-index: 2;
}

.how-content {
  max-width: 100%;
}

.how-title {
  font-size: 40px;
  line-height: 1.1;
  font-weight: 700;
  color: #143f38;
  margin-bottom: 36px;
}

.how-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.how-step {
  display: flex;
  align-items: center;
  gap: 18px;
  background: #F9FBFB;
  border-radius: 20px;
  padding: 18px 18px 18px 24px;
  min-height: 86px;
  text-decoration: none;
  transition: 0.3s ease;
}

.how-step:hover,
.how-step.active {
  background: linear-gradient(90deg, #0e473d 0%, #143f38 100%);
}

.how-step-text h4 {
  margin: 0 0 6px;
  line-height: 1.1;
  font-weight: 700;
  color: #0A372E;
  transition: 0.3s ease;
}

.how-step-text p {
  margin: 0;
  line-height: 1.5;
  color: #0A372E;
  transition: 0.3s ease;
}

.how-step:hover .how-step-text h4,
.how-step:hover .how-step-text p,
.how-step.active .how-step-text h4,
.how-step.active .how-step-text p {
  color: #fff;
}

.how-step-badge {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: #E7EBEA;
  color: #143f38;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  flex-shrink: 0;
  transition: 0.3s ease;
}

.how-step-badge.active {

  background: white;

}


.how-step:hover .how-step-badge,
.how-step.active .how-step-badge {
  background: #f3f3ef;
  color: #143f38;
}

.how-image-card {
  border-radius: 24px;
  overflow: hidden;
  height: 100%;
  min-height: 520px;
}

.how-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 991.98px) {
  .how-section {
    padding: 60px 0;
    background-position: center top;
    background-size: contain;
  }

  .how-title {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .how-step {
    border-radius: 16px;
    min-height: 78px;
    padding: 14px 14px 14px 18px;
  }

  .how-step-text h4 {
    font-size: 22px;
  }

  .how-step-text p {
    font-size: 14px;
  }

  .how-step-badge {
    width: 48px;
    height: 48px;
    font-size: 20px;
    border-radius: 14px;
  }

  .how-image-card {
    min-height: 360px;
  }
}



.banner-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 48, 42, 0.82) 0%,
    rgba(7, 48, 42, 0.42) 42%,
    rgba(7, 48, 42, 0.10) 100%
  );
}

.banner-card .content {
  position: absolute;
  left: 44px;
  bottom: 42px;
  z-index: 2;
  max-width: 760px;
  text-align: right;
}

.banner-card .content h2 {
  font-size: 34px;
  line-height: 1.08;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}

.banner-card .content p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 20px;
  line-height: 1.7;
  max-width: 720px;
}

.banner-card .content .btn {
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 700;
}


.auctions-section {
  padding: 70px 0;
}

.auctions-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.all-link {
  color: #1c3f37;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
}

.auctions-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.small-auctions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.auction-card {
  background: #fff;
  border: 1px solid #e8e3da;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.auction-thumb {
  position: relative;
  margin: 12px 12px 0;
  border-radius: 16px;
  overflow: hidden;
  height: 190px;
}

.auction-thumb.tall {
  height: 585px;
}

.auction-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge-status {
  position: absolute;
  top: 14px;
  left: 14px;
  right: auto;
  width: auto;
  max-width: max-content;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: #D80000;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 7px 12px;
  border-radius: 999px;
  z-index: 3;
}

.badge-favorite {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: #d57272;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  font-size: 18px;
}

.timer-pills {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}

.timer-box {
  min-width: 52px;
  padding: 8px 6px 6px;
  border-radius: 10px;
  background: rgba(65, 49, 39, 0.72);
  backdrop-filter: blur(8px);
  text-align: center;
  color: #fff;
}

.timer-box strong {
  display: block;
  font-size: 24px;
  line-height: 1;
  font-weight: 700;
}

.timer-box span {
  display: block;
  font-size: 11px;
  margin-top: 5px;
  color: rgba(255,255,255,0.9);
}

.timer-pills.small .timer-box {
  min-width: 42px;
  padding: 7px 5px 5px;
}

.timer-pills.small .timer-box strong {
  font-size: 18px;
}

.timer-pills.small .timer-box span {
  font-size: 10px;
}

.auction-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.featured-body {
  padding: 18px 20px 20px;
}

.auction-title {
  font-size: 20px;
  line-height: 1.4;
  color: #173f37;
  margin: 0 0 10px;
  font-weight: 700;
}

.featured-auction .auction-title {
  font-size: 24px;
}

.auction-meta-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  color: #8d8d86;
  font-size: 13px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ece7df;
}

.price-row {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}


.price-wrap {
  text-align: left;
}

.price-label {
  color: #b5b1aa;
  font-size: 13px;
  margin-bottom: 2px;
}

.price-value {
  color: #2f5f55;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.featured-auction .price-value {
  font-size: 28px;
}

@media (max-width: 991.98px) {
  .auctions-layout {
    grid-template-columns: 1fr;
  }

  .small-auctions-grid {
    grid-template-columns: 1fr 1fr;
  }

  .auction-thumb.tall {
    height: 320px;
  }
}

@media (max-width: 767.98px) {
  .auctions-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .small-auctions-grid {
    grid-template-columns: 1fr;
  }

  .auction-thumb,
  .auction-thumb.tall {
    height: 250px;
  }

  .auction-title,
  .featured-auction .auction-title {
    font-size: 20px;
  }
}

.auction-meta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: #8d8d86;
  font-size: 13px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ece7df;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.meta-item img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.price-wrap {
  text-align: right;
}

.price-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2f5f55;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.price-value img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

.featured-auction .price-value {
  font-size: 28px;
}


.ending-section {
  padding-top: 0;
  padding-bottom: 70px;
}

.ending-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.ending-card {
  background: #fff;
  border: 1px solid #e8e3da;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ending-thumb {
  position: relative;
  margin: 10px 10px 0;
  border-radius: 16px;
  overflow: hidden;
  height: 350px;
}

.ending-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ending-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: #4f6f68;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 7px 10px;
  border-radius: 999px;
  z-index: 3;
}

.ending-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ending-title {
  font-size: 19px;
  line-height: 1.45;
  font-weight: 700;
  color: #173f37;
  margin: 0 0 10px;
}

.ending-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8d8d86;
  font-size: 13px;
  padding-top: 10px;
  padding-bottom: 12px;
  margin-bottom: 10px;
}
.ending-section .ending-meta-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
  padding-bottom: 12px;
  border-bottom: 1px solid #ece7df;
}

.ending-section .ending-meta-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  flex-wrap: wrap;
  color: #8d8d86;
  font-size: 13px;
}

.ending-section .ending-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #8d8d86;
  font-size: 13px;
  padding: 0;
  margin: 0;
  border: 0;
}

.ending-section .ending-date img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}
.ending-date img {
  width: 14px;
  height: 14px;
  object-fit: contain;
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .ending-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767.98px) {
  .ending-grid {
    grid-template-columns: 1fr;
  }

  .ending-thumb {
    height: 210px;
  }
}



.sell-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  align-items: stretch;
}

.small-sell-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.sell-card {
  background: #fff;
  border: 1px solid #e8e3da;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.sell-thumb {
  position: relative;
  margin: 10px 10px 0;
  border-radius: 16px;
  overflow: hidden;
  height: 180px;
}

.sell-thumb-tall {
  height: 545px;
}

.sell-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sell-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  background: #3B5F58;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  padding: 7px 10px;
  border-radius: 999px;
  z-index: 3;
}

.sell-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.featured-sell-body {
  padding: 16px 18px 18px;
}

.sell-title {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  color: #173f37;
  margin: 0 0 10px;
}

.featured-sell-card .sell-title {
  font-size: 24px;
}

.sell-meta-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  color: #8d8d86;
  font-size: 13px;
  padding-bottom: 14px;
  border-bottom: 1px solid #ece7df;
}

.price-row {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.details-link {
  color: #065F46;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
}

.price-wrap {
  text-align: right;
}

.price-label {
  color: #b5b1aa;
  font-size: 13px;
  margin-bottom: 2px;
}

.price-value {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2f5f55;
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}

.price-value img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
}

.featured-sell-card .price-value {
  font-size: 28px;
}

@media (max-width: 991.98px) {
  .sell-layout {
    grid-template-columns: 1fr;
  }

  .small-sell-grid {
    grid-template-columns: 1fr 1fr;
  }

  .sell-thumb-tall {
    height: 320px;
  }
}

@media (max-width: 767.98px) {
  .small-sell-grid {
    grid-template-columns: 1fr;
  }

  .sell-thumb,
  .sell-thumb-tall {
    height: 240px;
  }

  .sell-title,
  .featured-sell-card .sell-title {
    font-size: 20px;
  }
}

.subscribe-banner {
  position: relative;
  min-height: 420px;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
}

.footer-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 58, 51, 0.00) 0%,
    rgba(8, 58, 51, 0.14) 42%,
    rgba(8, 58, 51, 0.78) 100%
  );
  z-index: 1;
}

.footer-banner-content {
  position: absolute;
  top: 50%;
  right: 42px;
  transform: translateY(-50%);
  z-index: 2;
  width: 100%;
  max-width: 500px;
  text-align: right;
}

.footer-banner-content h2 {
  margin: 0 0 24px;
  font-size: 72px;
  line-height: 1.02;
  font-weight: 700;
  color: #fff;
}

.subscribe-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.subscribe-input-wrap {
  position: relative;
  width: 100%;
  max-width: 455px;
}

.subscribe-input-wrap input {
  width: 100%;
  height: 58px;
  border: none;
  outline: none;
  border-radius: 999px;
  background: rgba(30, 42, 40, 0.72);
  color: #fff;
  padding: 0 40px 0 56px;
  font-size: 17px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.subscribe-input-wrap input::placeholder {
  color: rgba(255, 255, 255, 0.86);
}

.subscribe-input-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.subscribe-input-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
}

.subscribe-btn {
  border: none;
  border-radius: 999px;
  background: #0d4f45;
  color: #fff;
  height: 54px;
  padding: 0 24px;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: 0.25s ease;
}

.subscribe-btn:hover {
  background: #0a4038;
}

.btn-arrow {
  font-size: 16px;
  line-height: 1;
}
@media (max-width: 991.98px) {
  .subscribe-banner {
    min-height: 280px;
  }

  .footer-banner-content {
    right: 24px;
    left: 24px;
    max-width: 100%;
  }

  .footer-banner-content h2 {
    font-size: 42px;
    margin-bottom: 18px;
  }

  .subscribe-input-wrap {
    max-width: 100%;
  }

  .subscribe-input-wrap input {
    height: 50px;
    font-size: 15px;
    width: 90%;
  }

  .subscribe-btn {
    height: 46px;
    font-size: 15px;
  }
}

@media (max-width: 767.98px) {
  .subscribe-banner {
    min-height: 240px;
  }

  .footer-banner-content h2 {
    font-size: 32px;
    line-height: 1.08;
  }

  .subscribe-input-wrap input {
    height: 46px;
    font-size: 14px;
    width: 90%;
  }

  .subscribe-btn {
    height: 42px;
    padding: 0 18px;
    font-size: 14px;
  }
}

.site-footer {
  margin-top: 48px;
}

.site-footer-main {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, #0c2c28 0%, #0a4a3f 45%, #0b2f2a 100%);
  color: #fff;
  padding: 34px 0 18px;
}

.site-footer-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 56%, rgba(212, 176, 122, 0.05), transparent 22%),
    radial-gradient(circle at 70% 20%, rgba(212, 176, 122, 0.05), transparent 18%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr 0.8fr;
  gap: 44px;
  align-items: start;
}

.footer-logo img {
  width: 140px;
  height: auto;
  display: block;
  margin-bottom: 18px;
}

.footer-brand-text {
  max-width: 320px;
  color: rgba(255,255,255,0.88);
  font-size: 15px;
  line-height: 2;
  margin: 0;
}

.footer-links-col h5,
.footer-contact-col h5,
.footer-social-col h5 {
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
  color: #CAA674;
  margin: 0 0 16px;
}

.footer-links-list,
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 10px;
}

.footer-links-list a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s ease;
}

.footer-links-list a:hover {
  color: #E9CEAA;
}

.footer-contact-list li {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.88);
  font-size: 14px;
}

.footer-contact-list img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-socials a {
  display: inline-flex;
  width: fit-content;
}

.footer-socials img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

.footer-divider {
  position: relative;
  z-index: 2;
  margin-top: 26px;
  margin-bottom: 14px;
  border-top: 1px solid rgba(255,255,255,0.10);
}

.footer-bottom-row {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-bottom-right a,
.footer-bottom-left {
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  font-size: 13px;
}

.footer-bottom-right a:hover {
  color: #fff;
}
.site-footer {
  margin-top: 48px;
}

.site-footer-main {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 34px 0 18px;
  background: url("/assets/footer/Frameba.png") no-repeat center/cover;
}

.site-footer-main::before,
.site-footer-main::after {
  content: none;
}

.footer-grid,
.footer-divider,
.footer-bottom-row {
  position: relative;
  z-index: 2;
}

.mobile-navbar {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 0 14px;
}

.mobile-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 248, 239, 0.22);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 18px;
  padding: 10px 12px;
}

.mobile-brand img {
  height: 28px;
  width: auto;
  display: block;
}

.mobile-login-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #d7b27a;
  color: #0a372e;
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.mobile-menu-toggle,
.mobile-menu-close {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #0A392F;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-close2 {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 50%;
  background: #FFFFFF;
  color: #0A372E;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-panel {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, #0d453c 0%, #0b322c 100%);
  z-index: 999;
  padding: 16px 18px 24px;
  display: none;
  flex-direction: column;
}

.mobile-menu-panel.open {
  display: flex;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  backdrop-filter: blur(10px);
  border: 1px ;
  border-radius: 18px;
  padding: 10px 12px;  margin-bottom: 42px;
  background-color: #0A372E;
  
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  margin-top: 20px;
  margin-bottom: 42px;
}

.mobile-menu-links a {
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  font-size: 24px;
  font-weight: 500;
}

.mobile-menu-links a.active {
  color: #fff;
  font-weight: 700;
}

.mobile-menu-search {
  position: relative;
  margin-top: auto;
  margin-bottom: 16px;
}

.mobile-menu-search input {
  width: 100%;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: #fff;
  border-radius: 999px;
  padding: 0 20px 0 46px;
  outline: none;
}

.mobile-menu-search span {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,0.78);
  font-size: 20px;
}

.mobile-add-btn {
  width: 100%;
  height: 52px;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
}

.mobile-add-btn span {
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 991.98px) {
  .hero {
    min-height: 760px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .hero .container {
    min-height: 760px;
  }

  .hero-content {
    position: absolute;
    right: 18px;
    left: 18px;
    bottom: 34px;
    top: auto;
    transform: none;
    max-width: 100%;
    padding-right: 0;
    text-align: right;
  }

  .hero-content h1 {
    font-size: 34px !important;
    line-height: 1.22;
    margin-bottom: 12px;
  }

  .hero-content p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 18px;
    max-width: 100%;
  }

  .hero-content .btn {
    min-height: 42px;
    font-size: 13px;
  }

  .navbar-custom {
    display: none !important;
  }
}

/*المزادات*/
   :root{
        --thood-green: #0E4B43;
        --thood-green-dark: #083932;
        --thood-gold: #C9A56A;
        --thood-soft: #F7F7F7;
        --thood-border: #E8E8E8;
        --thood-text: #1F2937;
        --thood-muted: #7B8794;
        --thood-card-radius: 22px;
    }

    .auctions-page{
        background: #fff;
        min-height: 100vh;
    }

    /* Hero */
    .auctions-hero{
        position: relative;
        min-height: 320px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        color: #fff;
        text-align: center;
    }

    .auctions-hero-bg{
    position: absolute;
    inset: 0;
    background:
        linear-gradient( rgba(14,75,67,.10)),
                url('/assets/background1.png') center/cover no-repeat;
}


    .auctions-hero-overlay-label{
        position: absolute;
        inset: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 40px;
        font-weight: 700;
        color: rgba(255,255,255,.30);
        pointer-events: none;
    }

    .auctions-hero-content{
        position: relative;
        z-index: 2;
        padding: 40px 16px;
    }

    .auctions-breadcrumb{
        font-size: 14px;
        opacity: .92;
        margin-bottom: 10px;
    }

    .auctions-hero-title{
        font-size: 44px;
        font-weight: 800;
        margin: 0;
        line-height: 1.2;
    }

    /* Main */
    .auctions-main{
        background: #fff;
        padding: 48px 0 70px;
    }

    .auctions-container{
        width: min(1400px, calc(100% - 40px));
        margin: 0 auto;
    }

    .auctions-head{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 28px;
        flex-wrap: wrap;
    }

    .auctions-head-title{
        font-size: 30px;
        color: var(--thood-text);
        margin: 0;
    }

    .auctions-search{
        position: relative;
        width: 100%;
        max-width: 360px;
    }

    .auctions-search input{
        width: 100%;
        height: 50px;
        border: 1px solid var(--thood-border);
        border-radius: 15px;
        padding: 0 46px 0 16px;
        background: #F9FBFB;
        outline: none;
        color: var(--thood-text);
    }

    .auctions-search i{
        position: absolute;
        right: 16px;
        top: 50%;
        transform: translateY(-50%);
        color: #A0A7B1;
        font-size: 15px;
    }

    .auctions-layout{
        display: grid;
        grid-template-columns: 300px minmax(0, 1fr);
        gap: 26px;
        align-items: start;
    }

    /* Sidebar */
    .filters-card{
        background: #FAFAFA;
        border: 1px solid #F0F0F0;
        border-radius: 24px;
        padding: 24px 20px;
        position: sticky;
        top: 24px;
    }

    .filters-title{
        font-size: 22px;
        font-weight: 800;
        margin-bottom: 22px;
        color: var(--thood-text);
    }

    .filter-group{
        margin-bottom: 26px;
    }

    .filter-label{
        font-size: 16px;
        font-weight: 700;
        color: var(--thood-text);
        margin-bottom: 14px;
    }

    .type-grid{
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .type-pill{
        border: 1px solid var(--thood-border);
        border-radius: 12px;
        background: #fff;
        height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--thood-text);
        font-size: 14px;
        cursor: pointer;
        transition: .2s ease;
    }

    .type-pill:hover,
    .type-pill.active{
        background: rgba(14,75,67,.08);
        border-color: rgba(14,75,67,.25);
        color: var(--thood-green);
        font-weight: 700;
    }

    .dual-range-wrap {
    width: 100%;
}

.dual-range {
    position: relative;
    width: 100%;
    height: 34px;
    margin-top: 12px;
    direction: rtl;
}

.dual-range-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 6px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: #E5E7EB;
    z-index: 1;
    pointer-events: none;
}

.dual-range input[type="range"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 34px;
    margin: 0;
    padding: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    pointer-events: none;
    direction: rtl;
}

.dual-range input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    background: transparent;
}

.dual-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    pointer-events: auto;
    width: 24px;
    height: 24px;
    margin-top: -9px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #D1D5DB;
    box-shadow: 0 1px 4px rgba(16, 24, 40, .18);
    cursor: pointer;
}

.dual-range input[type="range"]::-moz-range-track {
    height: 6px;
    background: transparent;
}

.dual-range input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #D1D5DB;
    box-shadow: 0 1px 4px rgba(16, 24, 40, .18);
    cursor: pointer;
}

.dual-range .range-min {
    z-index: 3;
}

.dual-range .range-max {
    z-index: 2;
}

.dual-range input.is-active {
    z-index: 5;
}

.range-values {
    direction: rtl;
    display: flex;
    justify-content: space-between;
    color: #667085;
    font-size: 12px;
    margin-top: 4px;
}

 
    .check-list{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .check-item{
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        color: var(--thood-text);
        font-weight: 600;
    }

    .check-item input{
        width: 17px;
        height: 17px;
        accent-color: var(--thood-green);
    }

    .city-search{
        position: relative;
        margin-bottom: 12px;
    }

    .city-search input{
        width: 100%;
        height: 42px;
        border: 1px solid var(--thood-border);
        border-radius: 999px;
        padding: 0 40px 0 14px;
        background: #fff;
        outline: none;
    }

    .city-search i{
        position: absolute;
        right: 14px;
        top: 50%;
        color: #A0A7B1;
        font-size: 14px;
    }

    .reset-filters{
        display: inline-block;
        margin-top: 8px;
        color: var(--thood-green);
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
    }

    /* Content */
    .auctions-topbar{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        margin-bottom: 22px;
        flex-wrap: wrap;
    }

    .sort-wrap{
        display: flex;
        align-items: center;
        gap: 10px;
        color: var(--thood-muted);
        font-size: 14px;
    }

    .sort-wrap select{
        min-width: 140px;
        height: 42px;
        border-radius: 999px;
        border: 1px solid var(--thood-border);
        background: #FAFAFA;
        padding: 0 14px;
        outline: none;
    }

    .results-count{
        font-weight: 600;
        color: #9DA4AE;
        font-size: 22px;
    }

    .auction-grid{
        display: grid;
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 22px;
    }

    .auction-card{
        background: #fff;
        border: 1px solid var(--thood-border);
        border-radius: var(--thood-card-radius);
        overflow: hidden;
        box-shadow: 0 2px 12px rgba(0,0,0,.03);
        transition: .2s ease;
    }

    .auction-card:hover{
        transform: translateY(-3px);
    }


    .auction-image{
        position: relative;
        height: 400px;
        border-radius: 18px;
        overflow: hidden;
        background:
            url('{{ asset("images/sheep-placeholder.jpg") }}') center/cover no-repeat;
    }

    .auction-badge{
        position: absolute;
        top: 14px;
        right: 14px;
        background: rgba(14,75,67,.92);
        color: #fff;
        padding: 8px 14px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 700;
        z-index: 2;
    }

    .auction-fav{
        position: absolute;
        top: 14px;
        left: 14px;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(255,255,255,.95);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #D36B73;
        z-index: 2;
        font-size: 16px;
    }

    .countdown-box{
        position: absolute;
        left: 50%;
        bottom: 18px;
        transform: translateX(-50%);
        width: calc(100% - 32px);
        background: rgba(35, 28, 24, .62);
        backdrop-filter: blur(5px);
        border-radius: 18px;
        padding: 12px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        color: #fff;
    }

    .countdown-item{
        text-align: center;
        background: rgba(255,255,255,.08);
        border-radius: 12px;
        padding: 8px 4px;
    }

    .countdown-item strong{
        display: block;
        font-size: 24px;
        line-height: 1;
        margin-bottom: 6px;
    }

    .countdown-item span{
        font-size: 12px;
        opacity: .9;
    }

    .auction-body{
        padding: 18px 18px 20px;
    }

    .auction-title{
        font-size: 32px;
        font-weight: 800;
        color: #111827;
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .auction-meta{
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        color: var(--thood-muted);
        font-size: 14px;
        margin-bottom: 10px;
    }

    .auction-meta span i{
        margin-inline-start: 6px;
        color: #9AA3AF;
    }

    .auction-date{
        font-size: 14px;
        color: var(--thood-muted);
        margin-bottom: 18px;
    }

    .auction-footer{
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        flex-wrap: wrap;
        padding-top: 14px;
        border-top: 1px solid #F1F1F1;
    }

    .auction-btn{
        display: inline-flex;
        align-items: center;
        gap: 8px;
        height: 44px;
        padding: 0 18px;
        border-radius: 999px;
        background: #F4F7F6;
        color: var(--thood-green);
        text-decoration: none;
        font-size: 14px;
        font-weight: 700;
    }

    .auction-price-wrap{
        text-align: left;
    }

    .auction-price-label{
        display: block;
        font-size: 13px;
        color: #B1B7BE;
        margin-bottom: 4px;
    }

    .auction-price{
        font-size: 42px;
        font-weight: 900;
        color: var(--thood-green);
        line-height: 1;
    }

    .auction-price small{
        font-size: 20px;
        color: var(--thood-gold);
        margin-inline-end: 4px;
        font-weight: 800;
    }

    /* Pagination */
    .auctions-pagination{
        margin-top: 30px;
        display: flex;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }

    .page-btn,
    .page-number{
        min-width: 42px;
        height: 42px;
        border-radius: 999px;
        border: 1px solid var(--thood-border);
        background: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: var(--thood-text);
        font-size: 14px;
        padding: 0 14px;
    }

    .page-number.active{
        background: #E6D1A9;
        border-color: #E6D1A9;
        color: #111827;
        font-weight: 800;
    }

    /* Responsive */
    @media (max-width: 1199px){
        .auction-title{font-size: 26px;}
        .auction-price{font-size: 34px;}
    }

    @media (max-width: 991px){
        .auctions-layout{
            grid-template-columns: 1fr;
        }

        .filters-card{
            position: static;
        }

        .auction-grid{
            grid-template-columns: 1fr;
        }

        .results-count{
            font-size: 22px;
        }

        .auctions-hero-title{
            font-size: 34px;
        }
    }

    @media (max-width: 575px){
        .auctions-container{
            width: min(100% - 24px, 1400px);
        }

        .auctions-main{
            padding: 28px 0 50px;
        }

        .auctions-head-title{
            font-size: 24px;
        }

        .auction-image{
            height: 220px;
        }

        .countdown-item strong{
            font-size: 18px;
        }

        .auction-title{
            font-size: 22px;
        }

        .auction-price{
            font-size: 30px;
        }

        .auction-footer{
            align-items: flex-start;
        }

        .auctions-hero{
            min-height: 250px;
        }

        .auctions-hero-title{
            font-size: 28px;
        }
    }
    .auctions-head{
    margin-bottom: 28px;
}

.auctions-head-title{
    margin: 0 0 18px;
    display: block;
}

.auctions-head-actions{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.auctions-search{
    position: relative;
    width: 100%;
    max-width: 420px;
    order: 1; 
}

.auctions-search input{
    height: 48px;
    border: 1px solid #F9FBFB;
    background: #F9FBFB;
    padding: 0 44px 0 16px;
    outline: none;
}

.auctions-search i{
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.sort-wrap{
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
    order: 2; 
    flex-shrink: 0;
}

.sort-wrap span{
    color: #9CA3AF;
    font-size: 14px;
}

.sort-wrap select{
    min-width: 150px;
    height: 48px;
    border: 1px solid #F9FBFB;
    background: #F9FBFB;
    padding: 0 16px;
    outline: none;
}
@media (max-width: 768px){
    .auctions-head-actions{
        flex-direction: column;
        align-items: stretch;
    }

    .auctions-search,
    .sort-wrap{
        width: 100%;
        max-width: 100%;
    }

    .sort-wrap{
        justify-content: space-between;
    }

    .sort-wrap select{
        flex: 1;
    }
}

.view-switch{
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:18px;
}

.view-switch-label{
  color:#9CA3AF;
  font-size:14px;
}

.view-btn{
  padding:0;
  border:0;
  background:transparent;
  cursor:pointer;
  line-height:0;
}

.view-btn svg rect{
  transition:.2s ease;
}

.view-btn.is-active svg rect{
  fill:#EDEFF1;
}

.auction-grid.is-horizontal{
  grid-template-columns:1fr;
}

.auction-grid.is-horizontal .auction-card{
  display:flex;
  flex-direction:row;
  align-items:stretch;
}

.auction-grid.is-horizontal .ending-thumb{
  width:280px;
  min-width:280px;
  height:auto;
  margin:10px;
  order:1;
}

.auction-grid.is-horizontal .ending-body{
  flex:1;
  order:2;
  justify-content:center;
}

@media (max-width: 991px){
  .auction-grid.is-horizontal .auction-card{
    flex-direction:column;
  }

  .auction-grid.is-horizontal .ending-thumb{
    width:auto;
    min-width:0;
    height:260px;
    order:0;
  }

  .auction-grid.is-horizontal .ending-body{
    order:0;
  }
}
/*تفاصيل المزاد*/
/* Auction details */
.auction-details-main{
  padding: 48px 0 70px;
  background:#fff;
}

.auction-details-layout{
  display:grid;
      grid-template-columns: 320px minmax(0px, 1fr);
  gap:24px;
  align-items:start;
}

.auction-details-content,
.auction-details-sidebar{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.details-gallery-card,
.details-info-card,
.details-history-card,
.details-side-card,
.details-seller-card{
  background:#fff;
  border:1px solid #E8E8E8;
  border-radius:20px;
  padding:16px;
}

.details-main-image{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  height:520px;
}

.details-main-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.gallery-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px;
  height:42px;
  border-radius:50%;
  border:1px solid rgba(255,255,255,.8);
  background:rgba(255,255,255,.12);
  color:#fff;
  font-size:28px;
  line-height:1;
  z-index:2;
}

.gallery-arrow-right{ left:16px; }
.gallery-arrow-left{ right:16px; }

.details-thumbs{
  display:grid;
  grid-template-columns:repeat(6, 1fr);
  gap:10px;
  margin-top:14px;
}

.thumb-card{
  position:relative;
  height:92px;
  border:none;
  border-radius:14px;
  overflow:hidden;
  background:#f4f4f4;
  padding:0;
}

.thumb-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.thumb-more span{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.35);
  color:#fff;
  font-size:18px;
  font-weight:700;
}

.details-section-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:12px;
  color:#C9A56A;
  font-size:16px;
  font-weight:700;
}

.details-description,
.details-address,
.details-note{
  color:#6A7282;
  font-size:14px;
  line-height:1.9;
  margin:0;
}
.details-seller-note{
  color:#0A372E;
  font-size:14px;
  line-height:1.9;
  margin:0;
}

.details-divider{
  height:1px;
  background:#F0F0F0;
  margin:18px 0;
}

.details-report-row{
  display:flex;
  gap:10px;
  margin-top:20px;
}

.details-report-btn{
  height:48px;
  border-radius:14px;
  border:1px solid #F3C8C8;
  background:#FFF5F5;
  color:#E24C4C;
  font-size:14px;
  font-weight:700;
  width: 40%;
}

.details-history-table-wrap{
  overflow:auto;
  border:1px solid #F0F0F0;
  border-radius:16px;
}

.details-history-table{
  width:100%;
  border-collapse:collapse;
  min-width:700px;
}

.details-history-table th,
.details-history-table td{
  padding:16px 18px;
  text-align:right;
  font-size:14px;
}

.details-history-table thead th{
  background:#FFFFFF;
  color:#0A372E;
  font-weight:700;
}
.details-history-table td{
  color:#050F24;
   font-weight:500;
}
.details-history-table tbody tr:not(:last-child){
  border-bottom:1px solid #F2F2F2;
}

.details-side-card,
.details-seller-card{
  padding:18px;
}

.details-product-title{
  font-size:22px;
  font-weight:700;
  color:#111827;
  margin:0 0 14px;
  line-height:1.5;
}

.details-top-meta,
.details-mini-meta,
.details-side-meta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.details-mini-meta{
  margin-top:10px;
  padding-bottom:16px;
  border-bottom:1px solid #F1F1F1;
}

.details-price-box{
  padding:18px 0;
  border-bottom:1px solid #F1F1F1;
}

.details-price-label,
.details-bids-label,
.details-countdown-label{
  color:#9CA3AF;
  font-size:13px;
  margin-bottom:8px;
}

.details-price{
  color:#0E4B43;
  font-size:42px;
  font-weight:800;
  line-height:1;
}

.details-bids-box{
  padding:18px 0;
  border-bottom:1px solid #F1F1F1;
}

.details-bid-input{
  width:100%;
  height:50px;
  border:1px solid #E5E7EB;
  border-radius:999px;
  background:#F9FBFB;
  padding:0 16px;
  margin-bottom:12px;
  outline:none;
}

.details-quick-bids{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
  margin-bottom:12px;
}

.details-quick-bids button{
  height:40px;
  border:1px solid #E5E7EB;
  border-radius:999px;
  background:#fff;
  color:#6B7280;
  font-size:13px;
}

.details-submit-bid{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:48px;
  border:none;
  border-radius:999px;
  background:#CAA674;
  color:#061E19;
  font-size:15px;
  font-weight:700;
  text-decoration:none;
}
.details-login-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:50%;
  height:48px;
  border:none;
  border-radius:999px;
  background:#0A392F;
  color:white;
  font-size:15px;
  font-weight:700;
  text-decoration:none;
}
.details-countdown-wrap{
  padding:18px 0;
  border-bottom:1px solid #F1F1F1;
}

.details-countdown{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:8px;
}

.details-countdown .countdown-item{
  text-align:center;
  background:#F8F8F8;
  border-radius:12px;
  padding:10px 4px;
}

.details-countdown .countdown-item strong{
  display:block;
  font-size:22px;
  line-height:1;
  color:#111827;
}

.details-countdown .countdown-item span{
  font-size:12px;
  color:#6B7280;
}

.details-actions-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  padding:18px 0;
  border-bottom:1px solid #F1F1F1;
}

.details-action-btn{
  height:44px;
  border:1px solid #E5E7EB;
  border-radius:999px;
  background:#F9FBFB;
  color:#4B5563;
  font-size:14px;
  font-weight:600;
}

.details-seller-name{
  font-size:20px;
  font-weight:700;
  color:#0A0A0A;
  margin-bottom:4px;
}

.details-seller-role{
  color:#9CA3AF;
  font-size:13px;
  margin-bottom:14px;
}

.details-pagination{
  margin-top:18px;
}

@media (max-width: 991px){
  .auction-details-layout{
    grid-template-columns:1fr;
  }

  .details-main-image{
    height:360px;
  }

  .details-thumbs{
    grid-template-columns:repeat(3, 1fr);
  }
}

@media (max-width: 575px){
  .details-main-image{
    height:250px;
  }

  .details-quick-bids,
  .details-countdown,
  .details-actions-row{
    grid-template-columns:1fr 1fr;
  }

  .details-product-title{
    font-size:18px;
  }

  .details-price{
    font-size:32px;
  }
}
/*رفع بلاغ*/
.report-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.report-modal.is-open{
  display: flex;
}

.report-modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(17, 24, 39, 0.55);
}

.report-modal-dialog{
  position: relative;
  width: min(760px, 100%);
  background: #fff;
  border-radius: 28px;
  padding: 26px;
  z-index: 2;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
  margin: 0 auto;
  overflow: hidden;
}

.report-modal-close{
  position: absolute;
  top: 18px;
  left: 18px;
  width: 30px;
  height: 30px;
  border: 1px solid #03120F;
  border-radius: 50%;
  background: #fff;
  color: #03120F;
  font-size: 24px;
  line-height: 1;
}

.report-modal-head{
  text-align: center;
  margin-bottom: 22px;
}

.report-modal-head h2{
  margin: 0 0 8px;
  color: #0A372E;
  font-size: 28px;
  font-weight: 700;
}

.report-modal-head p{
  margin: 0;
  color: #6B7280;
  font-size: 15px;
  line-height: 1.8;
}

.report-modal-body{
  background: #F9FBFB;
  border: 1px solid #F3F4F6;
  border-radius: 20px;
  padding: 20px;
}

.report-field{
  margin-bottom: 18px;
}

.report-field:last-child{
  margin-bottom: 0;
}

.report-field label{
  display: block;
  margin-bottom: 8px;
  color: #111827;
  font-size: 14px;
  font-weight: 600;
}

.report-field select,
.report-field textarea{
  width: 100%;
  border: 1px solid #E5E7EB;
  border-radius: 16px;
  background: #fff;
  padding: 14px 16px;
  outline: none;
  font-size: 14px;
  color: #111827;
}

.report-upload-box{
  min-height: 110px;
  border: 1px dashed #D1D5DB;
  border-radius: 18px;
  background: #fff;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #6B7280;
  text-align: center;
  cursor: pointer;
  padding: 16px;
}

.report-upload-icon{
  font-size: 22px;
  color: #111827;
}

.report-modal-actions{
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin-top: 20px;
}

.report-cancel-btn,
.report-submit-btn{
  min-width: 140px;
  height: 48px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
}

.report-cancel-btn{
  border: 1px solid #E5E7EB;
  background: #fff;
  color: #374151;
}

.report-submit-btn{
  border: none;
  background: #C9A56A;
  color: #111827;
}

body.modal-open{
  overflow: hidden;
}


.report-modal-head{
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 22px;
  padding-top: 8px;
}
.report-modal-head{
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 22px;
  padding-top: 8px;
  overflow: hidden;
}

.report-modal-head::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 150px;
  background: url('/assets/Group22.png') center top / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.report-modal-head h2,
.report-modal-head p{
  position: relative;
  z-index: 1;
}

.report-modal-head h2,
.report-modal-head p{
  position: relative;
  z-index: 1;
}
/*البيع المباشر*/
.price-range-fields{
  display: grid;
  grid-template-columns: 1fr 0fr 1fr;
  gap: 10px;
}

.price-range-fields input{
  width: 100%;
  height: 42px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  background: #FFFFFF;
  padding: 0 14px;
  outline: none;
  color: #6B7280;
  font-size: 13px;
  text-align: center;
}
/*تفاصيل البيع المباشر*/
/* direct sale details */
.direct-sale-side-card .details-price-label{
  color:#B9B4AC;
}

.direct-sale-price-box{
  border-bottom:none;
  padding-bottom:14px;
}

.direct-contact-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:48px;
  border-radius:999px;
  background:#C9A56A;
  color:#111827;
  font-size:15px;
  font-weight:700;
  text-decoration:none;
  margin-bottom:14px;
}

.direct-sale-actions-row{
  padding-top:0;
}

.direct-sale-actions-row .details-action-btn{
  gap:8px;
}

.direct-seller-card{
  padding:18px;
}

.seller-head-light{
  color:#A2AAB3 !important;
}

.direct-seller-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  margin-bottom:14px;
}

.direct-seller-rating{
  color:#0A372E;
  font-size:14px;
  font-weight:700;
}

.direct-seller-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  color:#33A67D;
  font-size:13px;
  font-weight:600;
}

.direct-seller-badge img{
  width:16px;
  height:16px;
  object-fit:contain;
}

.direct-seller-actions{
  display:flex;
  gap:10px;
}

.seller-mini-btn{
  min-width:88px;
  height:34px;
  padding:0 14px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:13px;
  font-weight:700;
}

.seller-mini-btn-call{
  background:#CAA674;
  color:#111827;
}

.seller-mini-btn-wa{
  background:#F3FBF7;
  border:1px solid #D6EEDF;
  color:#0A7C52;
}


.details-report-row{
  gap:12px;
}

.details-report-btn{
  order:1;
}

/* comments */
.details-comments-card{
  background:#fff;
  border:1px solid #E8E8E8;
  border-radius:20px;
  padding:16px;
}

.direct-comment-form{
  border-bottom:1px solid #F1F1F1;
  padding-bottom:18px;
  margin-bottom:18px;
}

.direct-comment-title{
  color:#9DA4AE;
  font-size:15px;
  font-weight:600;
  margin-bottom:12px;
}

.direct-comment-form textarea{
  width:100%;
  min-height:92px;
  border:1px solid #E7E9EC;
  border-radius:16px;
  background:#fff;
  padding:14px 16px;
  outline:none;
  resize:none;
  margin-bottom:12px;
}

.direct-comment-submit{
  min-width:120px;
  height:40px;
  border:none;
  border-radius:999px;
  background:#CAA674;
  color:#111827;
  font-size:14px;
  font-weight:700;
}

.direct-comments-list{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.direct-comment-item{
  display:grid;
  grid-template-columns:120px minmax(0,1fr);
  gap:16px;
  align-items:start;
}

.direct-comment-side-badge{
  display:flex;
  align-items:center;
  gap:6px;
  color:#33A67D;
  font-size:13px;
  font-weight:600;
  white-space:nowrap;
}

.direct-comment-side-badge img{
  width:16px;
  height:16px;
  object-fit:contain;
}

.direct-comment-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:6px;
}

.direct-comment-head strong{
  color:#111827;
  font-size:15px;
}

.direct-comment-head span{
  color:#9CA3AF;
  font-size:12px;
}

.direct-comment-content p{
  margin:0;
  color:#374151;
  line-height:1.9;
  font-size:14px;
}

@media (max-width: 991px){
  .direct-comment-item{
    grid-template-columns:1fr;
    gap:8px;
  }

  .direct-seller-top{
    flex-direction:column;
    align-items:flex-start;
  }

  .direct-seller-actions{
    width:100%;
  }
}
/* ضبط جهة البلاغ مثل الفيجما */
.details-info-card{
  padding-bottom: 22px;
}

.details-address-note{
  color: #9DA4AE;
  font-size: 12px;
  line-height: 1.9;
  margin: 14px 0 10px;
}
.details-note{
   color: #9DA4AE;
  font-size: 12px;
}
.details-report-inline{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.details-report-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 235px;
  height: 54px;
  padding: 0 18px;
  border: 1px solid #F3C8C8;
  border-radius: 16px;
  background: #FFF8F8;
  color: #E24C4C;
  font-size: 14px;
  font-weight: 700;
}


/* تعليقات المنتج */
.details-comments-card{
  background: #fff;
  border: 1px solid #E8E8E8;
  border-radius: 20px;
  padding: 18px;
}

.comments-head{
  margin-bottom: 16px;
}

.direct-comment-form{
  border-bottom: 1px solid #F1F1F1;
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.direct-comment-title{
  color: #B9C0CC;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

.direct-comment-form textarea{
  width: 100%;
  min-height: 110px;
  border: 1px solid #E7E9EC;
  border-radius: 18px;
  background: #fff;
  padding: 16px;
  outline: none;
  resize: none;
  margin-bottom: 14px;
  color: #374151;
}

.direct-comment-submit{
  min-width: 136px;
  height: 42px;
  border: none;
  border-radius: 999px;
  background: #CAA674;
  color: #111827;
  font-size: 14px;
  font-weight: 700;
}

.direct-comments-list{
  display: flex;
  flex-direction: column;
  gap: 0;
}

.direct-comment-item{
  display: grid;
  grid-template-columns: 150px minmax(0,1fr);
  gap: 18px;
  align-items: start;
  padding: 18px 0;
  border-top: 1px solid #F2F2F2;
}

.direct-comment-meta{
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.direct-comment-date{
  color: #AEB4BF;
  font-size: 12px;
}

.direct-comment-head{
  margin-bottom: 8px;
}

.direct-comment-head strong{
  color: #111827;
  font-weight: 700;
}

.direct-comment-content p{
  margin: 0;
  color: #4B5563;
  line-height: 2;
  font-size: 15px;
}

@media (max-width: 991px){
  .details-report-inline{
    flex-direction: column;
    align-items: stretch;
  }

  .details-report-btn{
    width: 100%;
  }

  .direct-comment-item{
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .direct-comment-meta{
    gap: 8px;
  }
}
.add-ad-dropdown{
  position: relative;
}

.add-ad-menu{
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 220px;
  background:white url('/assets/Group22.png') center top / cover no-repeat;
  border: 1px solid #E8E8E8;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  padding: 8px;
  display: none;
  z-index: 5000;
}

.add-ad-menu.is-open{
  display: block;
}

.add-ad-menu-item{
  width: 100%;
  height: 46px;
  border: none;
  background: transparent;
  border-radius: 12px;
  text-align: right;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  color: #111827;
}

.add-ad-menu-item:hover{
  background: #F8FAFA;
}

.add-auction-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.add-auction-modal.is-open{
  display: flex;
}

.add-auction-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(17,24,39,.58);
}

.add-auction-dialog{
  position: relative;
  width: min(790px, 100%);
  background: #fff;
  border-radius: 32px;
  padding: 28px 28px 24px;
  z-index: 2;
  box-shadow: 0 24px 70px rgba(0,0,0,.20);
}

.small-dialog{
  width: min(500px, 100%);
}

.add-auction-close{
  position: absolute;
  top: 18px;
  left: 18px;
  width: 36px;
  height: 36px;
  border: 1px solid #0A372E;
  border-radius: 50%;
  background: #fff;
  font-size: 24px;
  line-height: 1;
}
.add-auction-head{
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 22px;
  padding-top: 8px;
}
.add-auction-head{
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 22px;
  padding-top: 8px;
  overflow: hidden;
}

.add-auction-head::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 150px;
  background: url('/assets/Group22.png') center top / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.add-auction-head h2,
.add-auction-head p{
  position: relative;
  z-index: 1;
}

.add-auction-head h2,
.add-auction-head p{
  position: relative;
  z-index: 1;
}
.add-auction-head{
  text-align: center;
  margin-bottom: 24px;
}

.add-auction-head h2{
  margin: 0 0 6px;
  color: #0A372E;
  font-size: 30px;
  font-weight: 700;
}

.add-auction-head p{
  margin: 0;
  color: #7B8B88;
  font-size: 16px;
}

.add-auction-toprow{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  margin-bottom: 20px;
}

.add-auction-step{
  width: 56px;
  height: 56px;
  border: 1.5px solid #0A372E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-count{
  display: flex;
  align-items: center;
  gap: 2px;
}

.step-current{
  color: #0A372E;
  font-size: 30px;
  font-weight: 700;
}

.step-divider,
.step-total{
  color: #C9A56A;
  font-size: 18px;
  font-weight: 600;
}

.add-auction-steptext h3{
  margin: 0 0 4px;
  color: #111827;
  font-size: 20px;
  font-weight: 700;
}

.add-auction-steptext p{
  margin: 0;
  color: #7E8B89;
  font-size: 15px;
}

.add-auction-body{
  background: #FBFCFC;
  border: 1px solid #EEF1F1;
  border-radius: 24px;
  padding: 22px;
}

.auction-field label{
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 600;
  color: #141414;
}

.auction-field label span{
  color: #EF4444;
}
.auction-field .media-upload-box span{
  color: #141414;
}

.media-upload-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
  margin-bottom: 20px;
}

.media-upload-box{
  min-height: 116px;
  border: 1px solid #E7EAEB;
  border-radius: 20px;
  background: #fff;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  color: #111827;
  font-weight: 600;
}

.auction-form-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.auction-field select,
.auction-field input{
  width: 100%;
  height: 48px;
  border: 1px solid #E5E7EB;
  border-radius: 999px;
  background: #fff;
  padding: 0 16px;
  outline: none;
  color: #111827;
}

.price-input-wrap{
  position: relative;
}

.currency-mark{
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #B28754;
  font-size: 22px;
  font-weight: 700;
}


.auction-note-box{
  margin-top: 18px;
  background: #F9FBFB;
  border: 1px solid #E8EEED;
  border-radius: 18px;
  padding: 18px;
  text-align: center;
}

.auction-note-box strong{
  display: block;
  margin-bottom: 8px;
  color: #141414;
}

.auction-note-box p{
  margin: 0;
  color: #0A372E;
  line-height: 1.9;
  font-weight: 600;
}

.add-auction-actions{
  display: flex;
  justify-content: flex-start;
  margin-top: 24px;
}

.save-next-btn{
  min-width: 200px;
  height: 52px;
  border: none;
  border-radius: 999px;
  background: #C9A56A;
  color: #111827;
  font-size: 16px;
  font-weight: 700;
}
.back-btn{
   min-width: 200px;
  height: 52px;
  border: 1px solid #0A372E;
  border-radius: 999px;
  background: #F9FBFB;
  color: #0A372E;
  font-size: 16px;
  font-weight: 700;
  margin-left: 15px;
  margin-right: 15px;

}

.modal-open{
  overflow: hidden;
}
.add-auction-modal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  overflow-y: auto;
}

.add-auction-modal.is-open{
  display: flex;
}

.add-auction-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(17,24,39,.58);
}

.add-auction-dialog{
  position: relative;
  width: min(790px, calc(100vw - 48px));
  background: #fff;
  border-radius: 32px;
  padding: 28px 28px 24px;
  z-index: 2;
  box-shadow: 0 24px 70px rgba(0,0,0,.20);
  margin: 24px auto;
  overflow: visible;
  max-height: none;
}

.auction-step3-dialog {
  min-height: 690px;
}

.auction-step3-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 0 10px;
  text-align: center;
}

.auction-step3-icon-wrap {
  width: 224px;
  height: 224px;
  border-radius: 50%;
  background: #F9FBFB;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 10px auto 28px;
}

.auction-step3-message {
  font-size: 24px;
  line-height: 1.6;
  font-weight: 600;
  color: #0A372E;
  margin: 0;
}

.auction-step3-actions {
  justify-content: flex-end;
  margin-top: 48px;
}

.auction-step3-home-btn {
  min-width: 198px;
  text-align: center;
  text-decoration: none;
  align-content: center;
}
@media (max-width: 576px) {
    .site-footer {
        background: #0A372E;
        overflow: hidden;
    }

    .site-footer-main {
        padding: 42px 18px 28px;
        background:
            linear-gradient(rgba(10,55,46,.94), rgba(10,55,46,.96)),
            url("../assets/footer/mobile-bg.png");
        background-size: cover;
        background-position: bottom center;
    }

    .footer-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 34px;
        text-align: center;
    }

    .footer-brand-col,
    .footer-links-col,
    .footer-contact-col,
    .footer-social-col {
        width: 100%;
        align-items: flex-end;
        text-align: justify;
    }

    .footer-logo img {
        width: 118px;
        height: auto;
        display: block;
    }

    .footer-brand-text {
        max-width: 270px;
        margin: 0 auto;
        color: #fff;
        font-size: 13px;
        line-height: 2;
    }

    .footer-grid h5 {
        color: #DEB680;
        font-size: 18px;
        font-weight: 800;
        margin-bottom: 16px;
        text-align: justify;
    }

    .footer-links-list,
    .footer-contact-list {
        padding: 0;
        margin: 0;
        list-style: none;
        display: flex;
        align-items: flex-start;
        gap: 11px;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .footer-links-list a,
    .footer-contact-list span {
        color: #fff;
        font-size: 14px;
        text-decoration: none;
    }

    .footer-contact-list li {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .footer-contact-list img,
    .footer-socials img {
        width: 28px;
        height: 28px;
    }

    .footer-socials {
        display: flex;
        justify-content: flex-end;
        gap: 14px;
        flex-direction: row-reverse;
    }

    .footer-divider {
        width: 100%;
        height: 1px;
        background: rgba(255,255,255,.12);
        margin: 34px 0 20px;
    }

    .footer-bottom-row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        text-align: center;
    }

    .footer-bottom-right {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .footer-bottom-right a,
    .footer-bottom-left {
        color: #fff;
        font-size: 13px;
        text-decoration: none;
    }
}
.badge-favorite {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #D67272;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    pointer-events: auto;
    transition: 0.2s ease;
}

.badge-favorite:hover,
.badge-favorite.is-liked {
    background: #D67272;
    color: #fff;
}
/* التايمر العام */
.timer-pills {
    position: absolute;
    left: 50%;
    bottom: 18px;
    transform: translateX(-50%);
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: fit-content;
    max-width: calc(100% - 24px);
    padding: 10px 12px;

    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-sizing: border-box;
    overflow: visible;
}


/* المربعات */
.timer-box {
    position: relative;
    width: 58px;
    height: 58px;
    min-width: 0;

    border-radius: 11px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

/* داخل الكرت الكبير خليه يتمدد حسب المساحة */
.auction-thumb.tall .timer-box {
    width: auto;
    height: 58px;
}

.timer-box strong {
    display: block;
    font-size: 22px;
    line-height: 1;
    font-weight: 700;
    color: #fff;
}

.timer-box span {
    display: block;
    margin-top: 5px;
    font-size: 10px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.9);
}

/* النقطتين */
.timer-box:not(:last-child)::after {
    content: ":";
    position: absolute;
    left: -7px;
    top: 17px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}

/* الكروت الصغيرة */
.timer-pills.small {
    left: 50%;
    right: auto;
    bottom: 14px;
    transform: translateX(-50%);

    width: fit-content;
    max-width: calc(100% - 20px);

    padding: 8px 9px;
    gap: 7px;
    border-radius: 14px;
}

.timer-pills.small .timer-box {
    width: 44px;
    height: 48px;
    border-radius: 9px;
}

.timer-pills.small .timer-box strong {
    font-size: 17px;
}

.timer-pills.small .timer-box span {
    font-size: 8px;
    margin-top: 4px;
}

.timer-pills.small .timer-box:not(:last-child)::after {
    left: -6px;
    top: 14px;
    font-size: 16px;
}
/* من 992 إلى 1199: خليه قريب من الديسكتوب لكن مضغوط ومرتب */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .auctions-layout,
    .sell-layout {
        grid-template-columns: 1fr 1.25fr !important;
        gap: 18px;
        align-items: stretch;
    }

    .small-auctions-grid,
    .small-sell-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px;
    }

    .auction-thumb.tall,
    .sell-thumb-tall {
        height: 500px !important;
    }

    .auction-thumb,
    .sell-thumb {
        height: 190px !important;
    }

    .auction-title,
    .sell-title {
        font-size: 22px !important;
        line-height: 1.35;
    }

    .small-auction .auction-title,
    .small-sell-grid .sell-title {
        font-size: 18px !important;
        line-height: 1.35;
    }

    .auction-body,
    .sell-body {
        padding: 14px 16px 16px;
    }

    .auction-meta-row,
    .sell-meta-row {
        gap: 10px;
        font-size: 12px;
    }

    .price-row {
        align-items: center;
        gap: 10px;
    }

    .details-link {
        font-size: 13px;
        padding: 10px 14px;
    }

    .price-value {
        font-size: 22px;
    }
}

/* تحت 900 بس نخلي الكرت الكبير لحاله */
@media (max-width: 900px) {
    .auctions-layout,
    .sell-layout {
        grid-template-columns: 1fr !important;
        gap: 22px;
    }

    .small-auctions-grid,
    .small-sell-grid,
    .ending-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .auction-thumb.tall,
    .sell-thumb-tall {
        height: 360px !important;
    }
}

/* الجوال */
@media (max-width: 767.98px) {
    .small-auctions-grid,
    .small-sell-grid,
    .ending-grid {
        grid-template-columns: 1fr !important;
    }

    .auction-thumb,
    .auction-thumb.tall,
    .sell-thumb,
    .sell-thumb-tall,
    .ending-thumb {
        height: 260px !important;
    }
}
@media (min-width: 992px) {
    .auctions-layout,
    .sell-layout {
        align-items: stretch;
    }

    .featured-auction,
    .featured-sell-card {
        height: 100% !important;
        display: flex;
        flex-direction: column;
        align-self: stretch;
    }

    .featured-auction .auction-thumb.tall,
    .featured-sell-card .sell-thumb-tall {
        flex: 1 1 auto;
        min-height: 520px;
        margin-bottom: 0;
    }

    .featured-auction .auction-thumb.tall img,
    .featured-sell-card .sell-thumb-tall img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .featured-auction .auction-body,
    .featured-sell-card .sell-body {
        flex: 0 0 auto !important;
        min-height: 0 !important;
    }

    .featured-auction .price-row,
    .featured-sell-card .price-row {
        margin-top: 16px !important;
    }
}
.sell-layout {
  display: grid !important;
  grid-template-columns: 1.15fr 1fr !important;
  gap: 18px !important;
  align-items: start !important;
}

.small-sell-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 18px !important;
}

.sell-thumb {
  height: 170px !important;
}

.sell-thumb-tall {
  height: 445px !important;
}

.sell-card {
  height: auto !important;
}

.featured-sell-card {
  height: auto !important;
}

.sell-body {
  flex: unset !important;
  padding: 14px 16px 16px !important;
}

/* يخلي عدد الرؤوس والموقع كل واحد بسطر */
.sell-meta-row {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
  padding-bottom: 14px !important;
}

.sell-meta-row .meta-item {
  width: 100% !important;
  justify-content: flex-start !important;
}


.price-row {
  margin-top: 0 !important;
  padding-top: 14px !important;
}

/* Auctions - match Sell Direct section */
.auctions-layout {
  display: grid !important;
  grid-template-columns: 1.1fr 1fr !important;
  gap: 18px !important;
  align-items: stretch !important;
}

.small-auctions-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 18px !important;
}

.auction-card {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.auction-thumb {
  height: 180px !important;
  margin: 10px 10px 0 !important;
  border-radius: 16px !important;
}

.featured-auction .auction-thumb.tall {
  flex: 1 1 auto !important;
  min-height: 520px !important;
  height: auto;
  margin-bottom: 0 !important;
}

.auction-body {
  flex: 1 !important;
  padding: 14px 16px 16px !important;
}

.featured-auction {
  display: flex !important;
  flex-direction: column !important;
}

.featured-body {
  padding: 16px 18px 18px !important;
}

.auction-title {
  font-size: 20px !important;
  line-height: 1.4 !important;
}

.featured-auction .auction-title {
  font-size: 24px !important;
}
/* Hover animation for all cards */
.auction-card,
.sell-card,
.ending-card,
.animal-card,
.feature-pill-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  will-change: transform;
}

.auction-card:hover,
.sell-card:hover,
.ending-card:hover,
.animal-card:hover,
.feature-pill-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.10);
  border-color: #d8cbb8;
}

/* حركة خفيفة للصورة داخل الكارد */
.auction-card img,
.sell-card img,
.ending-card img,
.animal-card img {
  transition: transform 0.35s ease;
}

.auction-card:hover img,
.sell-card:hover img,
.ending-card:hover img,
.animal-card:hover img {
  transform: scale(1.04);
}

.auctions-page .auctions-layout{
grid-template-columns: 300px minmax(0, 1fr) !important;
}

.auctions-page .auction-card{
  flex-direction: column !important ;
}
.auctions-page 
.auction-grid.is-horizontal .auction-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
}
.mobile-filter-btn,
.filters-close,
.filters-overlay {
  display: none;
}

@media (max-width: 768px) {
  .auctions-page .auctions-layout {
    display: block;
  }

  .auctions-page .mobile-filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 18px;
    border: 1px solid #e8e3da;
    border-radius: 999px;
    background: #fff;
    color: #0A372E;
    font-weight: 700;
    margin-bottom: 14px;
  }

  .auctions-page .filters-card {
    position: fixed;
    top: 0;
    right: 0;
    width: 86%;
    max-width: 340px;
    height: 100vh;
    z-index: 9999;
    background: #fff;
    padding: 22px 18px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-radius: 0;
  }

  .auctions-page .filters-card.is-open {
    transform: translateX(0);
  }

  .auctions-page .filters-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
  }

  .auctions-page .filters-overlay.is-open {
    opacity: 1;
    visibility: visible;
  }

  .auctions-page .filters-close {
    display: flex;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #f4f6f5;
    color: #0A372E;
    font-size: 24px;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
  }

  .auctions-page .auction-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .auctions-page {
    width: 100%;
    overflow-x: hidden;
  }

.auctions-main {
    padding: 24px 16px !important;
  }

.auctions-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }

.auctions-head {
    display: block !important;
    margin-bottom: 16px !important;
  }

.auctions-head-title {
    font-size: 22px !important;
    text-align: right;
    margin-bottom: 14px;
  }

.auctions-head-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

.auctions-search,
.sort-wrap {
    width: 100% !important;
  }

 .auctions-search input,
  .sort-wrap select {
    width: 100% !important;
  }

 .auctions-layout {
    display: block !important;
  }

 .auctions-topbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 14px !important;
  }

.view-switch {
    display: none !important;
  }

 .auction-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
    width: 100% !important;
  }

.auction-card {
    width: 100% !important;
    min-width: 0 !important;
  }

 .auction-image-wrap,
 .ending-thumb {
    height: 230px !important;
    width: auto !important;
  }

.auction-title {
    font-size: 20px !important;
    line-height: 1.4 !important;
  }

 .ending-meta-row,
.ending-meta-top {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }

 .price-row {
    align-items: center !important;
  }
}

.mobile-filter-title {
  display: none;
}

@media (max-width: 768px) {
  .desktop-filter-title {
    display: none !important;
  }

  .mobile-filter-title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    background: transparent;
    color: #9CA3AF;
    font-size: 22px;
    font-weight: 700;
    margin: 12px 0;
  }
}
.mobile-filter-title {
  display: none;
}

@media (max-width: 768px) {
  .desktop-filter-title {
    display: none !important;
  }

  .mobile-filter-title {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: fit-content;
    padding: 10px 16px;
    margin: 14px 0;
    border: 1px solid #E6E0D8;
    border-radius: 999px;
    background: #F8FBFA;
    color: #09322A;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
  }

  .mobile-filter-title svg {
    width: 20px;
    height: 20px;
  }
}