
.ads-container {
    background: #ffffff;
    border-radius: 8px;
}




/* ✅ FORCE CONTROL HEIGHT */
.amk-ad-fix {
    max-height: 150px !important;
    min-height: 100px !important;
}

/* ✅ Prevent iframe from growing */
.amk-ad-section iframe {
    max-height: 150px !important;
}






.usa-location-dropdown input.state-search {
    all: unset !important;

    display: block !important;

    width: calc(100% - 16px) !important;
    margin: 10px 8px 6px !important;
    padding: 10px 12px !important;

    border-radius: 10px !important;
    border: 1px solid rgba(0, 217, 255, 0.35) !important;

    background: linear-gradient(
        145deg,
        rgba(255,255,255,0.10),
        rgba(255,255,255,0.03)
    ) !important;

    color: #ffffff !important;
    font-size: 13px !important;

    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.2),
        0 8px 18px rgba(0,0,0,0.45) !important;

    outline: none !important;
}

/* placeholder */
.usa-location-dropdown input.state-search::placeholder {
    color: rgba(255,255,255,0.5) !important;
}

/* focus effect */
.usa-location-dropdown input.state-search:focus {
    border-color: #00d9ff !important;

    box-shadow:
        0 0 0 2px rgba(0,217,255,0.25),
        0 12px 25px rgba(0,0,0,0.6) !important;
}



.amk-row-inline input,
.amk-row-inline select,
.usa-location {
  height: 48px;
  line-height: 48px;
  box-sizing: border-box;
}

/* ================================
   AmericanMarket – Theme Styles
   Clean final (Option A: solid dark)
   ================================ */

/* --------- Variables --------- */
:root{
  --amk-bg: #0b0f19;
  --amk-surface: #121829; /* Solid dark surface */
  --amk-border: rgba(255,255,255,0.08);
  --amk-text: #e6e9f2;
  --amk-muted: #a8b0c3;
  --amk-price: #ef4444;

  --amk-radius: 18px;
  --amk-gap: 18px;
  --amk-depth: 26px;

  /* Buttons / accents */
  --amk-primary: #2563eb;    /* blue */
  --amk-primary-2: #1d4ed8;  /* blue deeper */
  --amk-accent:  #10b981;    /* green (unused for submit; kept for theme) */
}

/* Light mode (optional) */
@media (prefers-color-scheme: light){
  :root{
    --amk-bg: #f7f8fb;
    --amk-surface: #ffffff;
    --amk-border: rgba(0,0,0,0.08);
    --amk-text: #0b1020;
    --amk-muted: #4b556b;
  }
}

/* --------- Base / Layout --------- */
body{
  background: var(--amk-bg);
  color: var(--amk-text);
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.amk-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px;
}
.amk-header{
  position: sticky; top:0; z-index: 50;
  background: rgba(18,24,41,0.8);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--amk-border);
}
/* .amk-brand .amk-logo{
  color: var(--amk-text); font-weight: 900; text-decoration:none; font-size: 1.1rem;
  } */
.amk-brand .amk-logo{
    font-family: 'Arial Black', 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: rgb(255, 255, 255); /* neon core color */
    text-decoration: none !important;
    text-shadow:
        0 0 6px rgba(8, 82, 95, 0.358),
        0 0 12px rgb(9, 66, 100),
        0 0 20px #0e5073,
        0 0 40px #0077ff,
        0 0 80px #0055ff,
        0 0 120px #0044cc;
    letter-spacing: 0px;
    padding: 8px 16px;
    display: inline-block;
}
a.amk-brand{
    text-decoration: none !important;
}
.logo-glow {
    height: 60px;          /* adjust size */
    display: block;
}
.amk-header .amk-container{
  display:flex; align-items:center; gap:16px; justify-content:space-between;
}
.amk-menu{ list-style:none; margin:0; padding:0; display:flex; gap:12px; }
.amk-menu a{ color: var(--amk-muted); text-decoration:none; padding:8px 10px; border-radius:10px; }
.amk-menu a:hover{ color: var(--amk-text); background: rgba(255,255,255,0.06); }

.amk-actions{ display:flex; gap:10px; }
.amk-btn{ display:inline-block; padding:10px 14px; border-radius:12px; text-decoration:none; font-weight:700; }
.amk-btn-primary{ background:#103b80; color:#fff; }
.amk-btn-secondary{ background:rgba(255,255,255,0.08); color: var(--amk-text); }

.amk-hero{ padding: 24px 0 6px; }
.amk-hero h1{ margin:0 0 6px; font-size: 1.4rem; }
.amk-hero p{ margin:0; color: var(--amk-muted); }

.amk-section{ margin: 24px 0; }
.amk-section__title{ margin: 0 0 12px; font-size: 1.2rem; font-weight: 900; }



/* --------- 3D Card --------- */
.amk-card{ display:block; color: var(--amk-text); text-decoration:none; perspective: 1000px; }
.amk-card__inner{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00)) , var(--amk-surface);
  border: 1px solid var(--amk-border);
  border-radius: var(--amk-radius);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow: 0 8px 18px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
  will-change: transform;
}
.amk-card:hover .amk-card__inner{
  transform: translateZ(var(--amk-depth)) rotateX(0.6deg) rotateY(0.6deg);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.02);
  border-color: rgba(255,255,255,0.12);
}
.amk-card__media{
  position: relative;
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: #171f36;
}
.amk-card__media.is-empty{
  background: radial-gradient(1200px 400px at 20% 0%, rgba(59,130,246,0.18), transparent), linear-gradient(180deg, #101827, #0b1020);
}
.amk-card__shine{
  position:absolute; inset:0;
  background: radial-gradient(600px 240px at 0% 0%, rgba(255,255,255,0.22), rgba(255,255,255,0) 60%);
  mix-blend-mode: screen; opacity: .0; transition: opacity .2s ease;
}
.amk-card:hover .amk-card__shine{ opacity: .6; }
.amk-card__content{ padding: 14px 14px 16px; }
.amk-card__title{ font-weight: 800; font-size: 1.05rem; line-height: 1.2; margin: 4px 0 8px; }
.amk-card__price{ color: var(--amk-price); font-weight: 800; margin-bottom: 6px; }
.amk-card__meta{ font-size: .92rem; color: var(--amk-muted); }
.amk-card__address, .amk-card__category{
  display:inline-block; background: rgba(255,255,255,0.04);
  border: 1px solid var(--amk-border); padding: 3px 8px; border-radius: 10px;
}
.amk-empty{ color: var(--amk-muted); }

/* --------- Category grid (3D) --------- */
/* .amk-cats / .amk-cats.amk-cols-* rules are defined in
   unified-cards.css — single source of truth. Keep this file
   focused on theme-specific styling only. */

.amk-cat{ perspective: 900px; }
.amk-cat__inner{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00)) , var(--amk-surface);
  border: 1px solid var(--amk-border);
  border-radius: var(--amk-radius);
  padding: 14px;
  transform-style: preserve-3d;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease;
}
.amk-cat__inner:hover{
  transform: translateZ(18px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.45);
  border-color: rgba(255,255,255,0.12);
}
.amk-cat__title{ display:block; font-weight: 800; color: var(--amk-text); text-decoration:none; margin-bottom: 8px; }
.amk-cat__list{ list-style:none; margin:0; padding:0; display:grid; gap: 6px; }
.amk-cat__list a{
  color: var(--amk-muted);
  text-decoration:none; display:inline-block;
  padding: 3px 8px; border-radius: 10px;
  border: 1px solid var(--amk-border);
  background: rgba(255,255,255,0.03);
}
.amk-cat__list a:hover{ color: var(--amk-text); border-color: rgba(255,255,255,0.16); }

/* --------- Single post --------- */
.amk-single__title{ margin: 10px 0; font-size: 1.6rem; font-weight: 900; }
.amk-single__meta{ color: var(--amk-muted); margin-bottom: 8px; }
.amk-single__thumb img{ width:100%; height:auto; border-radius: 16px; }
.amk-single__content{ margin-top: 12px; line-height: 1.7; }






/* --------- Hero 3D Search --------- */
.amk-search__row--inline {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr auto;
  gap: 30px;
  align-items: end;
}

.amk-hero3d{
  margin: 16px 0 8px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00)), var(--amk-surface);
  border: 1px solid var(--amk-border);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
}

.amk-hero3d__title{ 
  margin: 0 0 4px; 
  font-size: 1.5rem; 
  font-weight: 900; 
}

.amk-hero3d__sub{ 
  margin: 0 0 12px; 
  color: var(--amk-muted); 
}

/* ✅ FIX SPACING */
.amk-search{ 
  display: grid; 
  gap: 16px; /* ✅ balanced gap */
}

/* ✅ FIX MAIN ROW (IMPORTANT) */
.amk-search__row{
  display: grid;

  grid-template-columns: 2fr 1fr 1fr auto;

  gap: 30px; /* ✅ smaller = no big space */
  align-items: end;
}

/* ✅ LABEL */
.amk-search__field label{
  display:block;
  font-size: .9rem;
  color: var(--amk-muted);
  margin-bottom: 6px;
}

/* ✅ INPUT + SELECT FIX */
.amk-search__field input, 
.amk-search__field select{
  width:100%;
  padding: 10px 12px;
  border-radius: 12px;

  height: 44px; /* ✅ FIX HEIGHT */

  border: 1px solid var(--amk-border);
  background: rgba(255,255,255,0.03);
  color: var(--amk-text);
}

.amk-search__field input::placeholder{
  color: var(--amk-muted);
}

/* ✅ BUTTON ALIGNMENT FIX */
.amk-search__actions{
  display: flex;
  align-items: end;
}

.amk-search__actions button{
  height: 44px; /* ✅ SAME HEIGHT */
  width: 100%;
}

/* ---------------------------
   CATEGORY STYLES
--------------------------- */
.amk-cat__icon{
  margin-right: 8px;
  font-size: 1.1rem;
  display: inline-block;
  translate: 0 -1px;
}

.amk-cat__inner--flat{
  display:flex;
  align-items:center;
  gap: 12px; /* ✅ better spacing */
  padding:14px;
  border-radius:16px;
}

.amk-cat__title{ font-weight:800; }

.amk-cat__count{
  color: var(--amk-muted);
  margin-left:auto;
}

.amk-cats .amk-cat__inner--flat a{
  color: inherit;
  text-decoration:none;
}

/* CTA */
.amk-cta .amk-card__inner{
  background: linear-gradient(135deg, rgba(59,130,246,0.15), rgba(59,130,246,0.05)), var(--amk-surface);
  border: 1px solid rgba(59,130,246,0.35); /* ✅ FIX huge border */
}

/* ✅ MOBILE FIX */
@media (max-width: 900px){
  .amk-search__row{
    grid-template-columns: 1fr;
  }
}




/* ===============================
   HOME: Location dropdown FLAT
   =============================== */

#amkStateCity .amk-dd__button {
    background: rgba(255,255,255,0.06) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    box-shadow: none !important;
    filter: none !important;
    cursor: pointer;

}

#amkStateCity .amk-dd__panel {
    background: rgba(20, 26, 40, 0.95) !important;
    border: 1px solid rgba(255,255,255,0.12) !important;

    box-shadow: none !important;
    filter: none !important;
    cursor: pointer;
}

/* ===============================
   HOME: Category / SubCategory glass
   =============================== */

#amk_cat,
#amk_sub {
    background: rgba(59, 130, 246, 0.12) !important; /* theme blue glass */
    border: 1px solid rgba(59, 130, 246, 0.35) !important;

    color: #ffffff !important;
    box-shadow: none !important;

    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
#amk_cat option,
#amk_sub option {
    background-color: rgba(20, 26, 40, 0.95) !important;
    color: #ffffff !important;
}
#amk_cat option:checked,
#amk_sub option:checked {
    background-color: rgba(59, 130, 246, 0.45) !important;
    color: #ffffff !important;
}

#amk_cat option:hover,
#amk_sub option:hover {
    background-color: rgba(59, 130, 246, 0.30) !important;
}

/* ===============================
   HOME SEARCH — HAND CURSOR
   =============================== */

/* Location dropdown button */
#amkStateCity .amk-dd__button {
    cursor: pointer;
}

/* Category & Subcategory select */
#amk_cat,
#amk_sub {
    cursor: pointer;
}

/* Optional: hover feel (no visual change, only UX) */
#amk_cat:hover,
#amk_sub:hover,
#amkStateCity .amk-dd__button:hover {
    cursor: pointer;
}



/* --------- Location dropdown (2-level) --------- */
.amk-dd{ position: relative; width:100%; }
.amk-dd__button{
  cursor: pointer;
  width: 100%;
  text-align: left;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--amk-border);
  background: var(--amk-surface); /* Solid dark */
  color: var(--amk-text);
  display:flex; align-items:center; justify-content:space-between; gap:8px;
}
.amk-dd__chev{ opacity:.8; }

.amk-dd__panel{
  position: absolute; z-index: 60;
  top: calc(100% + 6px); left: 0;
  width: min(640px, 96vw);
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--amk-surface); color: var(--amk-text);
  border: 1px solid var(--amk-border);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.amk-dd__panel[hidden]{ display:none !important; }

.amk-dd__col{ max-height: 300px; overflow:auto; }
.amk-dd__col + .amk-dd__col{ border-left: 1px solid var(--amk-border); }

.amk-dd__item{
  padding: 10px 12px; cursor: pointer; color: var(--amk-text);
  transition: background-color .12s ease, transform .12s ease;
}
.amk-dd__item:hover{ background: rgba(255,255,255,0.06); }

.amk-dd__item.has-arrow{ position: relative; }
.amk-dd__item.has-arrow::after{
  content: '›'; position: absolute; right: 10px; top: 50%; translate: 0 -50%;
  opacity: .7;
}

.amk-dd__head{
  font-weight: 800; padding: 10px 12px; color: var(--amk-text);
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--amk-border);
}
.amk-dd__list .amk-dd__item{ border-bottom: 1px solid rgba(255,255,255,0.04); }
.amk-dd__list .amk-dd__item:last-child{ border-bottom: 0; }

/* Search box inside panel */
.amk-dd__search{
  position: sticky; top: 0;
  background: var(--amk-surface);
  padding: 8px; border-bottom: 1px solid var(--amk-border); z-index: 1;
}
.amk-dd__searchInput{
  height: 40px; width: 100%;
  border-radius: 10px;
  border: 1px solid var(--amk-border);
  background: rgba(255,255,255,.04);
  color: var(--amk-text);
  padding: 0 10px;
}

/* --------- Form / Inputs --------- */
.amk-form3d{
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00)), var(--amk-surface);
  border: 1px solid var(--amk-border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 8px 18px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.04);
}
.amk-form3d__title{ margin: 0 0 12px; font-size: 1.3rem; font-weight: 900; }

.amk-form__row{ margin-bottom: 12px; }
.amk-required{ color: #ef4444; }
.amk-input, .amk-select, .amk-textarea, .amk-file{
  max-width: 100%px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--amk-border);
  background: rgba(255,255,255,0.03);
  color: var(--amk-text);
}
.amk-inline-row .amk-form__row {
    width: 100%;
    flex: 1 1 0;
    margin-bottom: 0; /* optional: keeps spacing clean */
  
}
.amk-form__row {
    width: 100%;
    display: block;
}

/* Flex row */
.amk-flex-row {
    display: flex;
    gap: 36px;
    margin-bottom: 16px;
    width: 100%;
}

/* Columns inside row */
.amk-form__col {
    flex: 1;
    display: flex;
    flex-direction: column;
}


.amk-input::placeholder, .amk-textarea::placeholder{ color: var(--amk-muted); }

.amk-form__actions{ display:flex; align-items:center; gap:10px; }
.amk-form__msg{ font-size: .95rem; color: var(--amk-muted); }
.amk-form__msg.is-error{ color: #ff6b6b; }
.amk-form__msg.is-success{ color: #34d399; }

/* Radio group */
.amk-radio{ display:flex; flex-wrap:wrap; gap:12px; }
.amk-radio label{
  display:inline-flex; align-items:center; gap:6px;
  padding:6px 10px; border:1px solid var(--amk-border); border-radius:10px;
  background: rgba(255,255,255,0.03); cursor:pointer;
}
.amk-radio input[type="radio"]{ accent-color:#3b82f6; }

/* Selects (Option A: solid dark) */
.amk-select, select#amk_category, select#amk_subcategory{
  background: var(--amk-surface);
  color: var(--amk-text);
  border:1px solid var(--amk-border);
  border-radius:12px;
  height: 42px;
  padding: 0 12px;
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #9aa3b2 50%),
    linear-gradient(135deg, #9aa3b2 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent);
  background-position: calc(100% - 24px) 17px, calc(100% - 18px) 17px, 0 0;
  background-size: 6px 6px, 6px 6px, 100% 100%;
  background-repeat: no-repeat;
  padding-right: 36px;
}
.amk-select:focus{ outline:none; border-color: rgba(255,255,255,.14); }

/* Post form: enforce dark selects (final override) */
#amkPostAdForm select,
#amkPostAdForm .amk-select,
#amkPostAdForm #amk_category,
#amkPostAdForm #amk_subcategory {
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0)) , var(--amk-surface) !important;
  color: var(--amk-text) !important;
  border: 1px solid var(--amk-border) !important;
  border-radius: 12px !important;
  height: 42px !important;
  padding: 0 12px !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06) !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image:
    linear-gradient(45deg, transparent 50%, #9aa3b2 50%),
    linear-gradient(135deg, #9aa3b2 50%, transparent 50%),
    linear-gradient(to right, transparent, transparent) !important;
  background-position: calc(100% - 24px) 17px, calc(100% - 18px) 17px, 0 0 !important;
  background-size: 6px 6px, 6px 6px, 100% 100% !important;
  background-repeat: no-repeat !important;
}
#amkPostAdForm select:focus { outline: none; border-color: rgba(255,255,255,.14) !important; }

/* File input disabled (when 6 images) */
#amkPostAdForm #amk_images[disabled]{
  opacity: .55;
  cursor: not-allowed;
  filter: grayscale(.2);
}

/* --------- Image preview (Post form) --------- */
.amk-imgpreview{ 
display: grid;
grid-template-columns: repeat(6, 1fr); 
gap: 10px; 
margin-top: 8px; 
}
@media (max-width: 900px){ 
.amk-imgpreview{ 
  grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px){ 
.amk-imgpreview{ 
  grid-template-columns: repeat(2, 1fr); } }
.amk-imgpreview__item{
  position: relative; 
  padding-top: 100%; 
  overflow: hidden;
  border-radius: 12px; 
  border: 1px solid var(--amk-border);
  background: rgba(255,255,255,0.03);
}
.amk-imgpreview__img{
  position: absolute; 
  inset: 0; width: 100%; 
  height: 100%; 
  object-fit: cover;
}

/* Large (smaller tiles ~40%) */
#amkPostAdForm .amk-imgpreview--large{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 980px){
  #amkPostAdForm .amk-imgpreview--large{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px){
  #amkPostAdForm .amk-imgpreview--large{ grid-template-columns: repeat(2, 1fr); }
}
#amkPostAdForm .amk-imgpreview__item--large{
  position: relative;
  padding-top: 55%; /* was 70% */
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--amk-border);
  background: rgba(255,255,255,.03);
}

/* Remove (X) on tiles */
.amk-imgremove{
  position:absolute; right:6px; top:6px;
  width:28px; height:28px; line-height:26px; text-align:center;
  border-radius:50%; border:1px solid var(--amk-border);
  background: rgba(0,0,0,0.55); color:#fff;
  cursor:pointer; z-index: 3;
}
.amk-imgremove:hover{ background: rgba(0,0,0,0.75); }

/* Helpers */
.amk-help{ margin-top:6px; font-size:.9rem; color:var(--amk-muted); }
.amk-info{ margin-top:6px; font-size:.9rem; color:var(--amk-muted); }

/* --------- Submit button (Post form, blue 3D) --------- */
#amkPostAdForm .amk-form__actions .amk-btn-primary{
  min-width: 160px;
  height: 44px;
  border-radius: 12px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  background:
    radial-gradient(200px 120px at 30% -20%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(180deg, var(--amk-primary), var(--amk-primary-2)) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.06);
}
#amkPostAdForm .amk-form__actions .amk-btn-primary:hover{
  background:
    radial-gradient(220px 140px at 35% -25%, rgba(255,255,255,.22), transparent 60%),
    linear-gradient(180deg, #0e2652, #1b44b3) !important;
}












/* --------- Auth modal (generic) --------- */
.amk-modal{ position:fixed; inset:0; display:none; align-items:center; justify-content:center; background: rgba(0,0,0,.6); z-index:1000; }
.amk-modal.is-open{ display:flex; }
.amk-modal__dialog{
  background: var(--amk-surface);
  border:1px solid var(--amk-border);
  border-radius:16px;
  padding:14px; max-width: 920px; width: calc(100% - 24px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.5);
}
.amk-modal__close{
  position:absolute; right:12px; top:12px;
  width:36px; height:36px; border-radius:50%;
  border:1px solid var(--amk-border); background: rgba(255,255,255,.06);
  color: var(--amk-text);
  box-shadow: 0 8px 16px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
}

/* --------- Auth3 (polished password/OTP) --------- */
.amk-auth3 .amk-modal__close{ top:8px; right:8px; }
.amk-auth3__wrap{ max-width: 520px; padding: 14px; }
.amk-auth3__title{ margin: 6px 0 10px; }
.amk-auth3__row{ margin: 10px 0; }
.amk-auth3__row--inline{ display:grid; grid-template-columns:116px 1fr; gap:10px; }
.amk-auth3__btn{ width:100%; height:42px; border-radius:12px; }
.amk-auth3__otp .amk-input{ width:100%; }
.amk-auth3__or{ display:flex; align-items:center; justify-content:center; margin: 12px 0; opacity:.8; }
.amk-auth3__social .amk-btn{ width:100%; margin:6px 0; }
.amk-auth3__terms{ font-size:.9rem; opacity:.9; margin-top:8px; }

/* 3D auth box */
.amk-authbox{
  position: relative;
  border-radius: 18px;
  border: 1px solid var(--amk-border);
  background:
    radial-gradient(220px 140px at 20% -15%, rgba(255,255,255,.06), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,0)),
    var(--amk-surface);
  box-shadow: 0 18px 40px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.05);
  padding: 16px;
  max-width: 560px; width: calc(100% - 12px); margin: 0 auto;
}
.amk-authbox__head{ margin-bottom: 10px; }
.amk-authbox__title{ margin: 0 0 4px; font-weight: 900; font-size: 1.25rem; color: var(--amk-text); }
.amk-authbox__sub{ margin: 0; color: var(--amk-muted); font-size: .95rem; }

.amk-authbox__body{ display: grid; gap: 10px; }
.amk-authbox__form{
  background: rgba(255,255,255,.02);
  border: 1px solid var(--amk-border);
  border-radius: 14px;
  padding: 12px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}

/* WP login form in modal */
#loginform{ display: grid; gap: 10px; }
#loginform p{ margin: 0; }
#loginform label{
  font-size: .92rem; color: var(--amk-muted);
  margin-bottom: 4px; display: inline-block;
}
#loginform input[type="text"],
#loginform input[type="password"]{
  width: 100%; height: 42px; padding: 0 12px;
  border-radius: 12px; border: 1px solid var(--amk-border);
  background: rgba(255,255,255,.04); color: var(--amk-text);
}
#loginform input[type="checkbox"]{ accent-color: #3b82f6; transform: translateY(1px); }
#loginform .forgetmenot{ display:flex; align-items:center; gap:8px; }
#loginform .submit{ margin-top:4px; }

/* Auth modal 3D shell */
#amkAuthModal .amk-modal__dialog {

    /* ✅ GLASS TRANSPARENT BACKGROUND */
    background: rgba(255, 255, 255, 0.12);

    border-radius: 16px;

    /* ✅ SOFT SHADOW */
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);

    /* ✅ BLUR EFFECT */
    backdrop-filter: blur(7.4px);
    -webkit-backdrop-filter: blur(7.4px);

    /* ✅ GLASS BORDER */
    border: 1px solid rgba(255, 255, 255, 0.09);
}

#amkAuthModal .amk-authbox,
#amkAuthModal .amk-authbox__form {

    background: rgba(255, 255, 255, 0.08);

    backdrop-filter: blur(5px);

    border-radius: 12px;

    border: 1px solid rgba(255,255,255,0.08);
}

#amkAuthModal input {

    background: rgba(255,255,255,0.25);

    border: 1px solid rgba(255,255,255,0.2);

    color: #000;
}

#amkAuthModal {
    background: rgba(0,0,0,0.6);
}
#amkAuthModal .amk-modal__close{
  position:absolute; right:12px; top:12px;
  width:36px; height:36px; border-radius:50%;
  border:1px solid var(--amk-border);
  background: rgba(255,255,255,.06);
  color: var(--amk-text);
  box-shadow: 0 8px 16px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
}
#amkAuthModal .amk-auth3__wrap{ display:block; }
#amkAuthModal .amk-authbox,
#amkAuthModal .amk-authbox__form,
#amkAuthModal .amk-authbox__social .amk-btn,
#amkAuthModal .amk-authbox__head,
#amkAuthModal .amk-authbox__terms,
#amkAuthModal .amk-authbox__or{
  max-width: 520px; margin-left:auto; margin-right:auto;
}
#amkAuthModal * { box-sizing: border-box; }

/* Login button 3D – final override */
#amkAuthModal #loginform .submit #wp-submit,
#amkAuthModal #loginform .submit input[type="submit"],
#amkAuthModal #loginform .submit .button,
#amkAuthModal #loginform .submit .button-primary{
  all: unset;
  display: inline-flex; align-items:center; justify-content:center; gap:8px;
  width:100%; height:44px; padding:0 14px; border-radius:12px;
  cursor:pointer; color:#fff !important;
  border:1px solid var(--amk-border) !important;
  text-shadow: 0 1px 0 rgba(0,0,0,.25);
  background:
    radial-gradient(200px 120px at 30% -20%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(180deg, var(--amk-primary), var(--amk-primary-2)) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
  -webkit-appearance: none; appearance: none;
}
#amkAuthModal #loginform .submit #wp-submit:hover,
#amkAuthModal #loginform .submit input[type="submit"]:hover,
#amkAuthModal #loginform .submit .button:hover,
#amkAuthModal #loginform .submit .button-primary:hover{
  transform: translateY(-1px);
  background:
    radial-gradient(220px 140px at 35% -25%, rgba(245, 138, 213, 0.158), transparent 60%),
    linear-gradient(180deg, #2b6ff0, #1b44b3) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.08);
}
#amkAuthModal #loginform .submit #wp-submit:active{
  transform: translateY(0);
  box-shadow: 0 10px 22px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.04);
}

/* --------- Pagination --------- */
.amk-pagination ul{
  display:flex; gap:8px; list-style:none; margin:12px 0 0; padding:0;
}
.amk-pagination a, .amk-pagination span{
  display:inline-block; min-width:34px; text-align:center;
  padding:6px 10px; border-radius:8px;
  border:1px solid var(--amk-border);
  background: rgba(255,255,255,.04); color: var(--amk-text);
}
.amk-pagination .current{ background: #2563eb; border-color:#1d4ed8; color:#fff; }
.amk-pagination a:hover{ background: rgba(255,255,255,.08); }

/* --------- Chat / Inbox --------- */
.amk-chat__dialog{ max-width: 760px; width: calc(100% - 24px); }
.amk-chat{ display:grid; grid-template-rows: auto 1fr auto auto; gap:8px; min-height: 420px; }
.amk-chat__header{ padding:6px 4px; border-bottom:1px solid var(--amk-border); }
.amk-chat__log{ overflow:auto; border:1px solid var(--amk-border); border-radius:12px; padding:10px; background: rgba(255,255,255,.03); }
.amk-bubble{ max-width: 72%; margin:6px 0; padding:8px 10px; border-radius:12px; border:1px solid var(--amk-border); background: rgba(255,255,255,.04); }
.amk-bubble--me{ margin-left:auto; background:#1f2937; border-color:#374151; }
.amk-chat__composer{ display:grid; grid-template-columns: 1fr auto; grid-template-rows:auto auto; gap:6px; }
#amkChatName{ grid-column: 1 / -1; }

.amk-inbox{ display:grid; grid-template-columns: 280px 1fr; gap:10px; }
.amk-inbox__list{ border:1px solid var(--amk-border); border-radius:12px; padding:8px; background: rgba(255,255,255,.03); max-height: 520px; overflow:auto; }
.amk-inbox__item{ padding:8px 10px; border-radius:8px; cursor:pointer; }
.amk-inbox__item:hover{ background: rgba(255,255,255,.06); }

/* --------- About --------- */
.amk-about{ margin: 24px 0 10px; }
.amk-about__title{ margin: 0 0 6px; }
.amk-about__text{ color: var(--amk-muted); margin: 0 0 8px; }
.amk-links{ display:grid; grid-template-columns: repeat(4,1fr); gap:18px; margin-top:14px; }
@media (max-width:900px){ .amk-links{ grid-template-columns: 1fr 1fr; } }
.amk-links h4{ margin:0 0 6px; }
.amk-links ul{ list-style:none; margin:0; padding:0; }
.amk-links li{ margin:4px 0; }
.amk-links a{ color: var(--amk-text); opacity:.9; }
.amk-links a:hover{ text-decoration: underline; }

/* --------- 3D Buttons (base) --------- */
.amk-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 16px; line-height:1; border-radius:12px;
  border:1px solid var(--amk-border); color:var(--amk-text);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,0)) , rgba(255,255,255,.04);
  box-shadow: 0 10px 22px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.06);
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.amk-btn:hover{ transform: translateY(-1px); box-shadow: 0 14px 26px rgba(0,0,0,.48), inset 0 1px 0 rgba(255,255,255,.08); }
.amk-btn:active{ transform: translateY(0); box-shadow: 0 8px 18px rgba(0,0,0,.40), inset 0 1px 0 rgba(255,255,255,.04); }

/* Primary button */
.amk-btn-primary{
  background:
    radial-gradient(200px 120px at 30% -20%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(180deg, var(--amk-primary), var(--amk-primary-2));
  border-color: rgba(255,255,255,.18);
}
.amk-btn-primary:hover{
  background:
    radial-gradient(220px 140px at 35% -25%, rgba(255,255,255,.22), transparent 60%),
    linear-gradient(180deg, #2b6ff0, #1b44b3);
}

/* Secondary / Ghost */
.amk-btn-secondary{
  background:
    radial-gradient(180px 100px at 20% -10%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
}
.amk-btn-ghost{ background: rgba(255,255,255,.04); }

/* Search button size */
.amk-search__btn{ min-width: 120px; }

/* Category grid icon container */
.amk-cat__icon{
  width: 44px; height: 44px; border-radius: 12px; display:grid; place-items:center;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid var(--amk-border);
  box-shadow: 0 8px 18px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.06);
  font-size: 22px; overflow:hidden;
}
.amk-cat__icon img{ width:100%; height:100%; object-fit:cover; }



/* --------- Inline search row (hero) --------- */
.amk-search__row--inline{
  display: grid; grid-template-columns: 1fr 1fr auto;
  gap: 60px; align-items: end;
}
.amk-search__col--btn{ display:flex; align-items:end; }
.amk-search__btn{ height: 44px; padding: 0 18px; border-radius: 12px; }

@media (max-width: 860px){
  .amk-search__row--inline{ grid-template-columns: 1fr; }
  .amk-search__col--btn{ align-items: stretch; }
  .amk-search__btn{ width: 100%; }
}
/* =========================================================
   AMK – Dark-Blue 3D Primary Buttons (compact, neat shadow)
   Applies to: Search, Post Free Ad, Submit Ad
   ========================================================= */

/* Optional: define slightly darker blues for buttons */
:root{
  --amk-primary-dark1: #0b1731;   /* dark navy blue */
  --amk-primary-dark2: #152138;   /* deeper navy */
}

/* ---------- Base primary style ---------- */
.amk-btn.amk-btn-primary,
button.amk-btn-primary,
a.amk-btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  min-height: 44px;
  padding: 10px 18px;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;

  color: #fff;
  /* Darker theme gradient (uses your variables if present) */
  background:
    radial-gradient(220px 140px at 30% -20%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(180deg,
      var(--amk-primary-dark1, #1c3b7a),
      var(--amk-primary-dark2, #0f2c5f));
  border: 1px solid rgba(255,255,255,.14);

  /* Compact 3D shadow (small blur, small spread) */
  box-shadow:
    0 6px 14px rgba(0,0,0,.45),   /* depth */
    inset 0 1px 0 rgba(255,255,255,.06); /* soft inner top */
  transition:
    transform .14s ease,
    box-shadow .14s ease,
    background-color .14s ease,
    border-color .14s ease,
    filter .14s ease;
  will-change: transform, box-shadow, background-color;
  z-index: 0; /* keep under neighbor overlays */
}

/* Subtle sheen (short and narrow so it doesn’t spill) */
.amk-btn.amk-btn-primary::before,
button.amk-btn-primary::before,
a.amk-btn-primary::before{
  content:"";
  position:absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events:none;
  background:
    linear-gradient(120deg,
      rgba(255,255,255,0) 35%,
      rgba(255,255,255,.20) 45%,
      rgba(255,255,255,0) 60%);
  transform: translateX(-110%);
  transition: transform .6s ease;
  mix-blend-mode: screen;
  z-index: -1; /* stays inside button, not above neighbors */
}

/* Hover: small lift, no wide glow */
.amk-btn.amk-btn-primary:hover,
button.amk-btn-primary:hover,
a.amk-btn-primary:hover{
  transform: translateY(-1px);
  background:
    radial-gradient(220px 140px at 35% -25%, rgba(255,255,255,.14), transparent 60%),
    linear-gradient(180deg,
      color-mix(in srgb, var(--amk-primary-dark1, #1c3b7a), #0f295e 16%),
      color-mix(in srgb, var(--amk-primary-dark2, #0f2c5f), #09163a 16%));
  box-shadow:
    0 10px 20px rgba(0,0,0,.50),
    inset 0 1px 0 rgba(255,255,255,.08);
}
.amk-btn.amk-btn-primary:hover::before,
button.amk-btn-primary:hover::before,
a.amk-btn-primary:hover::before{
  transform: translateX(105%);
}

/* Active: pressed effect */
.amk-btn.amk-btn-primary:active,
button.amk-btn-primary:active,
a.amk-btn-primary:active{
  transform: translateY(0);
  box-shadow:
    0 5px 10px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.04);
  filter: saturate(.95);
}

/* Focus ring: compact and neat */
.amk-btn.amk-btn-primary:focus-visible,
button.amk-btn-primary:focus-visible,
a.amk-btn-primary:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 2px rgba(37,99,235,.40),
    0 10px 18px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.06);
}

/* Disabled */
.amk-btn.amk-btn-primary:disabled,
button.amk-btn-primary:disabled,
a.amk-btn-primary[aria-disabled="true"]{
  opacity: .65;
  cursor: not-allowed;
  transform: none;
  box-shadow:
    0 4px 10px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.04);
}

/* Reduced motion: stop sheen sliding */
@media (prefers-reduced-motion: reduce){
  .amk-btn.amk-btn-primary::before,
  button.amk-btn-primary::before,
  a.amk-btn-primary::before{ transition: none; transform: none; }
  .amk-btn.amk-btn-primary,
  button.amk-btn-primary,
  a.amk-btn-primary{ transition: box-shadow .14s ease, filter .14s ease; }
}

/* ---------- Specific areas (stronger selectors to beat old rules) ---------- */

/* Submit Ad in form (wins against previous theme overrides) */
#amkPostAdForm .amk-form__actions .amk-btn.amk-btn-primary,
#amkPostAdForm .amk-form__actions button[type="submit"].amk-btn-primary,
#amkPostAdForm .amk-form__actions input[type="submit"].amk-btn-primary{
  color:#fff !important;
  border:1px solid rgba(255,255,255,.14) !important;
  background:
    radial-gradient(220px 140px at 30% -20%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(180deg,
      var(--amk-primary-dark1, #0a2865),
      var(--amk-primary-dark2, #04204f)) !important;
  box-shadow:
    0 6px 14px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.06) !important;
}

/* Search button in hero */
.amk-search__btn.amk-btn.amk-btn-primary,
.amk-search .amk-btn.amk-btn-primary{
  color:#fff !important;
  border:1px solid rgba(255,255,255,.14) !important;
  background:
    radial-gradient(220px 140px at 30% -20%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(180deg,
      var(--amk-primary-dark1, #1c3b7a),
      var(--amk-primary-dark2, #062353)) !important;
  box-shadow:
    0 6px 14px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.06) !important;
}

/* Header “Post Free Ad” and CTA tiles */
.amk-actions .amk-btn.amk-btn-primary,
a.amk-btn.amk-btn-primary[href*="/post-free-ad"],
.amk-cta .amk-btn.amk-btn-primary{
  color:#fff !important;
  border:1px solid rgba(255,255,255,.14) !important;
  background:
    radial-gradient(220px 140px at 30% -20%, rgba(255,255,255,.10), transparent 60%),
    linear-gradient(180deg,
      var(--amk-primary-dark1, #05183e),
      var(--amk-primary-dark2, #0f2c5f)) !important;
  box-shadow:
    0 6px 14px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.06) !important;
}

/* ---------- Tight shadow optics near neighbors ---------- */
/* Reduce z-space around header actions so shadow doesn't overlap the language button */
.amk-actions .amk-btn.amk-btn-primary{
  margin-left: 6px; /* tiny spacing from neighbor */
}

/* If your language button also has heavy shadow, tone it slightly so stacks look neat */
.amk-actions .amk-btn:not(.amk-btn-primary){
  box-shadow: 0 4px 10px rgba(0,0,0,.40), inset 0 1px 0 rgba(255,255,255,.04);
}
.amk-myads { margin: 12px 0 18px; }
.amk-myads .amk-grid { gap: var(--amk-gap, 18px); }
.amk-myads .amk-card__title { font-size: 1rem; }
.amk-myads .amk-badge--featured { background: linear-gradient(180deg,#2563eb,#1d4ed8); }







/* Make user area flat text */
.amk-user__btn-plain {
    background: none !important;
    border: none !important;
    padding: 0;
    cursor: pointer;
}

/* Remove circle background */
.amk-user__icon-circle {
    background: none !important;
    font-size: 18px;
}

/* Subtle hover (optional) */
.amk-user__btn-plain:hover {
    opacity: 0.85;
}
/* Hide flag icon completely */
.amk-flag,
.amk-flag img {
    display: none !important;
}

/* ===============================
   FINAL HEADER ALIGNMENT FIX
   =============================== */

/* Ensure all right-side items align perfectly */
.amk-actions > * {
    display: flex;
    align-items: center;
    height: 42px; /* ✅ same height for all items */
}


/* Normalize primary button height & alignment */
.amk-btn-primary {
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px; /* override old padding */
}

/* Prevent header flex items from overlapping */
.amk-actions > * {
    position: relative;
    z-index: 1;
}



/* ===== Language Toggle (ESP / ENG text only) ===== */
.amk-lang-toggle {
    display: flex;
    align-items: center;
    height: 42px;
}

.amk-lang-link {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 6px;
    transition: opacity 0.2s ease;
}

.amk-lang-link:hover {
    opacity: 0.7;
}










/* === One row layout === */
.amk-home-search__row {
  display: grid;
  grid-template-columns: 1fr 1fr auto; /* Cat | Sub | Button */
  gap: 12px;
  align-items: end; /* bottom align */
}



/* === Common select height === */
#amk_cat, #amk_sub {
  height: 44px;         /* FIX HEIGHT here — e.g., 44px */
  line-height: 44px;    /* helps vertical centering on some browsers */
  padding: 0 14px;      /* keep inside padding */
  border-radius: 10px;
}

/* Dark theme look (keep same as rest of site) */
#amk_cat, #amk_sub,
.amk-select.amk-select--dark {
  background: #0e1a2b;
  color: #e7eefc;
  border: 1px solid #1f2e44;
  width: 100%;          /* lets the column control width */
  appearance: none;
}

/* Show disabled state clearly */
#amk_sub:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* === Search button same height as selects === */
.amk-search__actions .amk-search__btn {
  height: 44px;         /* match select height */
  padding: 0 18px;      /* side padding */
  border-radius: 10px;
  white-space: nowrap;
}

/* ====== WIDTH OPTIONS ====== */

/* Option A: Fluid width (both selects equal) — already set by grid 1fr 1fr */

/* Option B: Custom % width — e.g., Cat 40%, Sub 40%, Button auto */
.amk-home-search__row.amk--w-40-40-btn {
  grid-template-columns: 40% 40% auto;
}

/* Option C: Fixed pixel width for selects — e.g., 360px each */
.amk-home-search__row.amk--w-fixed .amk-search__col {
  width: 360px;         /* FIX WIDTH here */
}
.amk-home-search__row.amk--w-fixed {
  grid-template-columns: 360px 360px auto;
}

/* Responsive: stack on small screens */
@media (max-width: 900px) {
  .amk-home-search__row,
  .amk-home-search__row.amk--w-fixed,
  .amk-home-search__row.amk--w-40-40-btn {
    grid-template-columns: 1fr;
  }
  .amk-search__actions .amk-search__btn {
    width: 100%;
  }
}
/* One row: Category | Subcategory | Search */
.amk-home-search__row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 12px;
  align-items: end;
}
#amk_cat, #amk_sub { height: 44px; padding: 0 14px; }
#amk_sub:disabled { opacity: .6; cursor: not-allowed; }
#amk_home_search_btn { height: 44px; padding: 0 18px; white-space: nowrap; }
@media (max-width: 900px) {
  .amk-home-search__row { grid-template-columns: 1fr; }
  #amk_home_search_btn { width: 100%; }
}
/* Location dropdown filter inputs */
.amk-dd__filter {
  padding: 6px 8px;
  border-bottom: 1px solid #1f2e44;
}
.amk-dd__filter-input {
  width: 100%;
  background: #0e1a2b;
  color: #e7eefc;
  border: 1px solid #1f2e44;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  outline: none;
}
.amk-dd__filter-input::placeholder {
  color: #8ea3c0;
}
/* Single Listing layout */
.amk-single__grid {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px;
}
@media (max-width: 980px){ .amk-single__grid { grid-template-columns: 1fr; } }

.amk-single__media { background: #0e1a2b; border: 1px solid #1f2e44; border-radius: 12px; padding: 10px; }
.amk-single__meta  { background: #0e1a2b; border: 1px solid #1f2e44; border-radius: 12px; padding: 14px; }
.amk-single__title { margin: 0 0 8px; }
.amk-single__price { font-size: 22px; color: #e7eefc; margin: 6px 0 12px; }
.amk-single__info  { color: #9fb1cb; margin-bottom: 14px; }
.amk-single__desc  { color: #e7eefc; }

/* Gallery */
.amk-gallery { position: relative; overflow: hidden; }
.amk-g-viewport { overflow: hidden; width: 100%; }
/* .amk-g-track { white-space: nowrap; transition: transform .25s ease; } */
.amk-g-slide { display: inline-block; width: 100%; vertical-align: top; }
.amk-g-slide img { width: 100%; height: auto; border-radius: 8px; display: block; }

.amk-g-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid #1f2e44; background:#0f2746; color:#e7eefc; cursor:pointer; }
.amk-g-prev { left: 8px; } .amk-g-next { right: 8px; }
.amk-g-dots { display:flex; gap:8px; justify-content:center; margin-top:8px; }
.amk-g-dot { width:10px; height:10px; border-radius:50%; border:1px solid #1f2e44; background:#223451; cursor:pointer; }
.amk-g-dot.is-on { background:#2f5fa8; }
.amk-single__grid { display:grid; grid-template-columns:1.25fr 1fr; gap:20px; }
@media (max-width:980px){ .amk-single__grid{ grid-template-columns:1fr; } }
.amk-single__media,.amk-single__meta{ background:#0e1a2b; border:1px solid #1f2e44; border-radius:12px; }
.amk-single__media{ padding:10px; } .amk-single__meta{ padding:14px; }

.amk-gallery{ position:relative; overflow:hidden; }
.amk-g-viewport{ overflow:hidden; width:100%; }
.amk-g-track{ white-space:nowrap; transition:transform .25s ease; }
.amk-g-slide{ display:inline-block; width:100%; vertical-align:top; }
.amk-g-slide img{ width:100%; height:auto; border-radius:8px; display:block; }

.amk-g-btn{ position:absolute; top:50%; transform:translateY(-50%); width:38px; height:38px; border-radius:50%; border:1px solid #1f2e44; background:#0f2746; color:#e7eefc; cursor:pointer; }
.amk-g-prev{ left:8px; } .amk-g-next{ right:8px; }
.amk-g-dots{ display:flex; gap:8px; justify-content:center; margin-top:8px; }
.amk-g-dot{ width:10px; height:10px; border-radius:50%; border:1px solid #1f2e44; background:#223451; cursor:pointer; }
.amk-g-dot.is-on{ background:#2f5fa8; }



.amk-slide:not(.is-open)  {
  transform: translateY(-100%);
}
/* === Drawer overlay: TRANSPARENT GLASS (NO BLUR) === */


/* Closed state */
.amk-g-overlay.is-closed {
  transform: translateY(100%);
}

/* Optional: small drawer handle */
.amk-g-overlay::before {
  content: "";
  display: block;
  width: 42px;
  height: 5px;
  margin: 0 auto 10px;
  background: rgba(255, 255, 255, 0.075);
  border-radius: 6px;
}





/* ========== THEME COLORS (change these 2 lines) ========== */
.amk-glass-icon {
    color: #003366; /* dark blue */
    text-shadow: 1px 1px 3px #92ecfc; /* sky blue shadow */
    font-weight: 600;
    font-size: 14px;
}

a {
    text-decoration: none;
}
.amk-row-inline {
    display: flex;
    gap: 15px;          /* space between boxes */
    align-items: flex-start;
    flex-wrap: nowrap;  /* keep them on one line */
}

.amk-row-inline > div {
    flex: 1;            /* each box takes equal width */
    gap: 15px;  
    min-width: 180px;   /* prevents shrinking too small */
}
.amk-inline-row {
    display: flex;
    gap: 15px;  
    flex-wrap: nowrap;
    gap: 20px;
}


/* === FIX 6 IMAGES IN ONE ROW === */
#amkPostAdForm .amk-imgpreview {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 10px !important;
}

#amkPostAdForm .amk-imgpreview__item {
    padding-top: 100% !important;  /* square shape */
}

#amkPostAdForm .amk-imgpreview__img {
    object-fit: cover !important;
}




/* ===== Reduce Latest Listings Card Size to 60% ===== */
/* .home-latest-listings .amk-card {
    transform: scale(0.6) !important;        
    transform-origin: top left !important;   
    margin: -40px -30px !important;          
} */

/* .home-latest-listings .amk-grid {
    gap: 10px !important;                   
} */
/* ===== Reduce Latest Listings Card Size (60%) ===== */
/* .amk-section .amk-grid.amk-cols-4 .amk-card {
    width: 60% !important;
    margin: 0 auto !important;
} */


/* ===== Latest Listings: 5 Cards Per Row ===== */
.amk-home-latest .amk-grid {
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 14px !important;   /* tight clean spacing */
}

/* Make cards slightly smaller so 5 fit nicely */

/* ===== Strong override: 5 cards in Latest Listings ===== */
/* .amk-section .amk-grid.amk-cols-4 {
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 14px !important;
} */
/* ===== FORCE 5 CARDS IN LATEST LISTINGS ROW ===== */

.amk-home-latest {
  overflow-x: hidden;
}

/* ✅ Latest Listings: 5 cards per row (SAFE) */
.amk-home-latest .amk-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
  margin: 0 auto;
}

/* .amk-home-latest .amk-card {
  width: 100%;
  margin: 0;
  transform: none !important;
} */

/* Tablet */
@media (max-width: 1024px){
  #amkMyAds .amk-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

/* Mobile */
@media (max-width: 768px){
  #amkMyAds .amk-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px){
  #amkMyAds .amk-grid {
    grid-template-columns: 1fr !important;
  }
}


/* Tablet */
@media (max-width: 1200px){
  #amkMyAds .amk-grid{
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* Small Tablets */
@media (max-width: 900px){
  #amkMyAds .amk-grid{
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Mobile */
@media (max-width: 520px){
  #amkMyAds .amk-grid{
    grid-template-columns: 1fr !important;
  }
}

/* === MY ADS GRID (FINAL FIX — CLEAN & CORRECT) === */
#amkMyAds.amk-myads .amk-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100%;
    max-width: 1400px;
    padding: 0 10px;
    margin: 0 auto;
}

/* Tablet */
@media (max-width: 1200px){
  #amkMyAds.amk-myads .amk-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* Small tablets */
@media (max-width: 900px){
  #amkMyAds.amk-myads .amk-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Mobile */
@media (max-width: 520px){
  #amkMyAds.amk-myads .amk-grid {
    grid-template-columns: 1fr !important;
  }
}
/* === FIX CARD WIDTH FOR MY ADS === */
/* #amkMyAds .amk-card {
    width: 100% !important;
    max-width: 100% !important;
} */
/* === MY ADS GRID FINAL — DO NOT MODIFY === */
#amkMyAds .amk-grid {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
}

/* Tablet */
@media (max-width: 1200px){
  #amkMyAds .amk-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* Small tablet */
@media (max-width: 900px){
  #amkMyAds .amk-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* Mobile */
@media (max-width: 520px){
  #amkMyAds .amk-grid {
    grid-template-columns: 1fr !important;
  }
}



/* INPUT WRAPPER */
.glass-input-box {
    background: rgba(15, 15, 37, 0.253);
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 18px;

    box-shadow:
        inset 0 1px 2px rgba(40, 41, 90, 0.267),
        inset 0 -2px 6px rgba(0,0,0,0.15);
}

.glass-input-box input {
    width: 100%;
    border: none;
    background: transparent;
    outline: none;
}

/* LOGIN BUTTON (3D) */
.glass-login-btn {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 16px;

    background: linear-gradient(
        145deg,
        #101c35,
        #0a1226
    );

    color: #ff0606;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;

    box-shadow:
        0 10px 25px rgba(37,215,255,0.45),
        inset 0 1px 0 rgba(255,255,255,0.15);

    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glass-login-btn:hover {
    transform: translateY(-2px);
}

.glass-login-btn:active {
    transform: translateY(1px);
    box-shadow:
        0 5px 12px rgba(37,215,255,0.35),
        inset 0 2px 6px rgba(0,0,0,0.4);
}
.glass-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 28px;
    color: #1a1a1a;
    text-shadow: 0 1px 2px rgba(255,255,255,0.6);
}


/* ================================
   AMK USER MENU - GLASSMORPHISM 3D
================================ */
#amkUserMenu {
    position: absolute;
    top: 60px;
    right: 0;

    padding: 12px 0;
    width: 180px;
    border-radius: 12px;

    /* Glass effect */
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    /* 3D shadow */
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);

    border: 1px solid rgba(255, 255, 255, 0.15);

    z-index: 20000!important;
}

/* Menu links */
#amkUserMenu a {
    display: block;
    padding: 10px 16px;

    /* Light blue text */
    color: #87cefa;

    text-decoration: none;
    font-weight: 500;

    /* Smooth animation */
    transition: all 0.3s ease;

    /* Subtle 3D depth */
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Hover effect */
#amkUserMenu a:hover {
    background: rgba(135, 206, 250, 0.15);
    color: #ffffff;

    transform: translateX(4px);

    /* Glow effect */
    text-shadow: 
        0 0 5px rgba(135,206,250,0.8),
        0 0 10px rgba(135,206,250,0.6);
}

/* Optional divider between items */
#amkUserMenu a:not(:last-child) {
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Smooth show animation */
#amkUserMenu {
    animation: amkFadeIn 0.25s ease;
}

@keyframes amkFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* PARENT WRAPPER */
.amk-user-wrapper {
    position: relative; /* 🔥 KEY FIX */
    display: inline-block;
}

/* USER ICON */
.amk-user-icon {
    cursor: pointer;
}

/* DROPDOWN MENU */
#amkUserMenu {
    position: absolute;
    top: 110%;   /* just below icon */
    right: 0;    /* align to right of icon */

    width: 180px;
    border-radius: 12px;

    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.15);

    z-index: 999;
}




/* ===========================================================
   ✅ PREMIUM EFFECT PACK (SAFE VERSION)
   Tilt • Glow • Float • Pulse • Zoom • Shine • Bounce • Fade
   =========================================================== */

/* ------------------------------
   GLOBAL PAGE FADE
------------------------------- */
body {
    opacity: 0;
    animation: amkPageFade 0.5s ease-out forwards;
}
@keyframes amkPageFade {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ------------------------------
   CARD — FLOAT + TILT LIGHT
------------------------------- */
.amk-card {
    transform-style: preserve-3d;
    transition: transform .25s ease, box-shadow .25s ease;
}
.amk-card:hover {
    transform: translateY(-6px) rotateX(2deg) rotateY(2deg);
    box-shadow: 0 18px 40px rgba(0,0,0,0.55);
}




/* ------------------------------
   SOLD BADGE — ULTRA COMPACT
------------------------------- */
.amk-sold-badge {
    position: absolute;
    top: 10px;
    right: 10px;

    /* 🔥 MUCH SMALLER SIZE */
    padding: 3px 8px;

    font-family: "Poppins", "Segoe UI", sans-serif;
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    color: #ffffff;

    /* 🔥 SMALL TAG SHAPE */
    border-radius: 6px;

    background: linear-gradient(145deg, #0a0a0a, #000);

    box-shadow:
        0 4px 8px rgba(0,0,0,0.6),
        inset 0 1px 2px rgba(255,255,255,0.15),
        inset 0 -2px 4px rgba(0,0,0,0.9);

    text-shadow: 0 1px 2px rgba(0,0,0,0.8);

    z-index: 10;

    /* 🔥 FORCE COMPACT WIDTH */
    display: inline-block;
    width: auto;
    max-width: fit-content;
    white-space: nowrap;
}

/* REMOVE BIG GLOSS (makes it look wider) */
.amk-sold-badge::before {
    display: none;
}








/* ------------------------------
   CATEGORY ICON — BOUNCE
------------------------------- */
.amk-cat__icon {
    transition: transform .25s ease;
}
.amk-cat__inner:hover .amk-cat__icon {
    transform: translateY(-6px) scale(1.12);
}

/* ------------------------------
   GLASS BOX — POP IN
------------------------------- */
.glass-panel {
    animation: amkPopIn .4s ease-out;
}
@keyframes amkPopIn {
    0%   { transform: scale(.85); opacity: 0; }
    100% { transform: scale(1);   opacity: 1; }
}

/* ------------------------------
   BUTTON — MAGNETIC HOVER + SHINE
------------------------------- */
.amk-btn,
button.amk-btn-primary {
    position: relative;
    transition: transform .18s ease, box-shadow .18s ease;
    overflow: hidden;
}
.amk-btn:hover,
button.amk-btn-primary:hover {
    transform: translateY(-2px) scale(1.03);
}
.amk-btn::after,
button.amk-btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 200%;
    height: 100%;
    background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.45), transparent 60%);
    transform: skewX(-20deg);
    transition: left .55s ease;
}
.amk-btn:hover::after,
button.amk-btn-primary:hover::after {
    left: 120%;
}

/* ------------------------------
   IMAGE HOVER ZOOM
------------------------------- */
.amk-card__media {
    overflow: hidden;
}
.amk-card__media:hover {
    animation: amkZoom 6s ease-in-out infinite;
}
@keyframes amkZoom {
    0% { background-size: 100%; }
    50% { background-size: 112%; }
    100% { background-size: 100%; }
}

/* ------------------------------
   DROPDOWN SMOOTH OPEN
------------------------------- */
.amk-dd__panel {
    animation: amkDropdown .25s ease-out;
    transform-origin: top;
}
@keyframes amkDropdown {
    0%   { opacity: 0; transform: translateY(-6px) scaleY(.85); }
    100% { opacity: 1; transform: translateY(0)    scaleY(1); }
}



/* =======================================================
   FEATURED LISTINGS – RIGHT → LEFT AUTO SCROLL (CSS ONLY)
   SAFE – DOES NOT AFFECT NORMAL GRIDS
======================================================= */

/* OUTER WRAPPER (STATIC SIZE) */
.usab-featured {
    position: relative;
    width: 100%;
    overflow: hidden;        /* hide overflow */
    padding: 10px 0;
}

/* INNER TRACK – SCROLLING */
.usab-featured-track {
    display: flex;
    gap: 18px;
    animation: featuredScroll 15s linear infinite;
    /* ↓ duplicate content for smooth looping */
    width: max-content;
}

/* SCROLLING ANIMATION */
@keyframes featuredScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Featured Cards Style (kept same as before) */
.usab-featured .usab-card {
    display: block;
    min-width: 160px;          /* important for scrolling */
    flex-shrink: 0;
    border-radius: 14px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    overflow: hidden;
    color: #fff;
    backdrop-filter: blur(12px);
    transition: .25s;
}

/* Hover – small lift */
.usab-featured .usab-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0,0,0,.55);
}

/* Image */
.usab-featured .usab-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
}

/* Title */
.usab-featured .usab-card h3 {
    padding: 10px 14px 16px;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
}
/* HOVER SHINE EFFECT */
.usab-featured .usab-card {
    position: relative;
    overflow: hidden;
    min-width: 250px;
}


.usab-featured .usab-card img {
    height: 160px;
}

.usab-featured .usab-card::after {
    content: "";
    position: absolute;
    top:0;
    left:-130%;
    width:200%;
    height:100%;
    background: linear-gradient(120deg, transparent 40%, rgba(255,255,255,0.45), transparent 60%);
    transform: skewX(-20deg);
    transition: left .55s ease;
}
.usab-featured .usab-card:hover::after {
    left:130%;
}

/* SMOOTH FADE-IN */
.usab-featured .usab-card {
    opacity: 0;
    animation: featuredFade .6s ease forwards;
}
@keyframes featuredFade {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}



/*FEATURED BADGE */

/* ------------------------------
   FEATURED BADGE — PINK GLOSSY 3D
------------------------------- */
.usab-featured-badge {
    position: absolute;
    bottom: 8px;
    right: 2px;

    padding: 8px 18px;

    /* FONT */
    font-family: "Poppins", "Segoe UI", sans-serif;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;

    border-radius: 30px;

    /* PINK GLOSS GRADIENT */
    background: linear-gradient(
        145deg,
        #ff2d75,
        #ff0066 40%,
        #cc0052
    );

    /* OUTER GLOW + DEPTH */
    box-shadow:
        0 6px 12px rgba(0,0,0,0.5),
        0 0 12px rgba(255, 0, 102, 0.6),  /* pink glow */
        0 0 24px rgba(255, 0, 102, 0.4),
        inset 0 2px 3px rgba(255,255,255,0.25), /* top shine */
        inset 0 -3px 6px rgba(0,0,0,0.6); /* bottom depth */

    /* TEXT EFFECT */
    text-shadow:
        0 1px 2px rgba(0,0,0,0.8),
        0 0 6px rgba(255,255,255,0.4);

    z-index: 10;

    transition: all 0.25s ease;
}

/* GLOSSY TOP SHINE */
.usab-featured-badge::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 6%;
    width: 88%;
    height: 45%;
    border-radius: 30px;

    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.5),
        rgba(255,255,255,0.05)
    );

    pointer-events: none;
}

/* HOVER EFFECT */
.usab-featured-badge:hover {
    transform: translateY(-3px) scale(1.06);

    box-shadow:
        0 10px 20px rgba(0,0,0,0.7),
        0 0 18px rgba(255, 0, 102, 0.8),
        0 0 30px rgba(255, 0, 102, 0.6),
        inset 0 3px 4px rgba(255,255,255,0.3),
        inset 0 -4px 8px rgba(0,0,0,0.7);
}





/* Single listing */

.amk-single__gallery-wrapper {
    position: relative;
    width: 100vw;
    max-width: 100%;
    height: 600px;
    overflow: hidden;
}

.amk-gallery img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

/* Overlay fixed over slider */
.amk-g-overlay {
    position: absolute;
    top: 20px;
    left: 40px;
    max-width: 45%;
    color: #fff;
    background: rgba(0,0,0,0.5);
    padding: 20px;
    border-radius: 8px;
    z-index: 5;
    pointer-events: none; /* overlay doesn't block arrows */
}

/* Keep arrows but remove oval shape */
/* .amk-g-btn {
    background: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: white !important;
    font-size: 90px !important;
    cursor: pointer;
    border: none !important;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
} */

.amk-g-prev { left: 5px; }
.amk-g-next { right: 5px; }


.amk-g-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.amk-g-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
}

.amk-g-dot.is-on {
    background: #fff;
}

/* REMOVE grey oval shapes from image slider */
.single-slider .prev,
.single-slider .next {
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.flex-prev, .flex-next,
.slick-prev, .slick-next {
    background: none !important;
    box-shadow: none !important;
    border: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
/* REMOVE AMK custom left-right oval arrows */

.amk-g-prev,
.amk-g-next {
    opacity: 1 !important;
    display: block 
}
.amk-g-prev { left: 15px !important; }
.amk-g-next { right: 15px !important; }

/* ✅ Send Message Button – 3D Morphism Effect */
.amk-msg-btn {
    padding: 10px 22px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow:
        4px 4px 10px rgba(0,0,0,0.4),
        -4px -4px 10px rgba(255,255,255,0.15);

    cursor: pointer;
    transition: 0.25s ease;
}

/* ✅ Hover Pop Effect */
.amk-msg-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow:
        6px 6px 14px rgba(0,0,0,0.45),
        -6px -6px 14px rgba(255,255,255,0.18);
    background: rgba(255, 255, 255, 0.18);
}
/* Allow clicks inside overlay */
.amk-g-overlay {
    pointer-events: auto !important;
}







/* =========================================
   🔥🔥 LEVEL 1 —  GLASS MODE pure blur glass
   ========================================= */
#amkStateCityForm * {
    box-shadow: none !important;
}
/* ================================
   ✅ Glass / Transparent Location Box
   ================================ */

/* Button (closed state) */
#amkStateCityForm .amk-dd__button {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(140%) !important;

    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: none !important;
    filter: none !important;
}

/* Dropdown panel */
#amkStateCityForm .amk-dd__panel {
    background: rgba(15, 23, 42, 0.55) !important; /* navy glass */
    backdrop-filter: blur(14px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(14px) saturate(160%) !important;

    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    box-shadow: none !important;

}




/* =========================================
   🔥🔥 LEVEL 1 — GLASS MODE (Category / Subcategory)
   ========================================= */

/* Remove all shadows */
#amk_cat,
#amk_sub,
#amk_cat *,
#amk_sub * {
    box-shadow: none !important;
}

/* Closed select box */
#amk_cat,
#amk_sub {
    background: rgba(255, 255, 255, 0.08) !important;
    backdrop-filter: blur(12px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(140%) !important;

    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: rgba(255,255,255,0.96) !important;

    outline: none !important;
    box-shadow: none !important;

    /* flat look */
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#amk_cat,
#amk_sub {
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.9) 50%),
        linear-gradient(135deg, rgba(255,255,255,0.9) 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 50%,
        calc(100% - 12px) 50%;
    background-size: 6px 6px;
    background-repeat: no-repeat;
}

/* ================================
   1️⃣ REMOVE ALL SHADOWS (SELECT + OPTIONS)
   ================================ */

/* Closed select */
#amk_cat,
#amk_sub {
    box-shadow: none !important;
    filter: none !important;
}







/* ===============================
   SEARCH BAR — UNIFIED HEIGHT
   =============================== */

:root {
    --search-bar-height: 56px;
}
/* Search text input */
.search-bar input[type="text"],
.search-bar input[type="search"] {
    height: var(--search-bar-height);
    line-height: var(--search-bar-height);
    padding: 0 18px;
}

/* Location dropdown button */
.search-bar .amk-dd__button {
    height: var(--search-bar-height);
    display: flex;
    align-items: center;
    padding: 0 18px;
}

/* Category & Subcategory select */
.search-bar select {
    height: var(--search-bar-height);
    padding: 0 18px;
    line-height: normal; /* important */
}

/* Search button */
.search-bar button,
.search-bar .search-btn {
    height: var(--search-bar-height);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 26px;
}
/* Force vertical centering for all search items */
.search-bar * {
    box-sizing: border-box;
}


.search-bar input,
.search-bar select,
.search-bar .amk-dd__button,
.search-bar button {
    border-radius: 14px;
}

/* ===== Single listing button & layout ===== */
.amk-single__meta .amk-send-inline {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 14px !important;
  border: 0 !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  color: #0b2a54 !important;
  background: linear-gradient(180deg,#a2d4ff,#79b3ec) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 18px rgba(0,0,0,.35), inset 0 2px 6px rgba(255,255,255,.35) !important;
  margin: 4px 0 12px !important;
  float: none !important;
  clear: both !important;
}

.amk-single__meta .amk-single__title,
.amk-single__meta .amk-single__price {
  display: block !important;
  float: none !important;
  clear: both !important;
  margin: 0 0 8px !important;
}

.amk-single__meta { display: block !important; }
.amk-single__meta .amk-msg3d { position: static !important; }
.amk-fab-msg { display: none !important; }

/* ===== Prevent horizontal scroll ===== */
html { overflow-x: hidden; }



/* ===== Home containers ===== */
.amk-home-section,
.amk-featured-listings,
.amk-browse-categories,
.amk-latest-listings {
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Safer container fix */
#page [class*="container"],
#page [class*="wrapper"] {
  max-width: 100%;
}

/* Homepage only: disable transform */
body.home .amk-card,
body.home .amk-listing-card,
body.home .amk-category-card {
  transform: none !important;
}

@media (max-width: 768px) {
  .amk-home-section,
  .amk-featured-listings,
  .amk-browse-categories,
  .amk-latest-listings {
    padding: 0 12px;
  }
}

#page, #main, .site, .site-content {
  max-width: 100%;
  overflow-x: hidden;
}



/* ✅ FIX: Browse Categories container alignment */
.amk-browse-categories,
#browseCategories {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* Center inner content (title + grid) */
.amk-browse-categories > *,
#browseCategories > * {
  max-width: 1400px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 12px;
  padding-right: 12px;
  box-sizing: border-box;
}

/* ✅ Improve emoji size in Browse Categories cards */
.amk-browse-categories .amk-category-icon,
.amk-browse-categories .amk-category-icon span,
.amk-browse-categories .amk-emoji {
  font-size: 28px;        /* increase icon size */
  line-height: 1;
}
.amk-browse-categories .amk-category-icon {
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.4));
}

@media (max-width: 768px) {
  .amk-browse-categories > *,
  #browseCategories > * {
    padding-left: 10px;
    padding-right: 10px;
  }

  .amk-browse-categories .amk-category-icon {
    font-size: 24px;
  }
}
.amk-browse-categories {
  overflow: visible !important;
}


/* ✅ Ensure all browse categories are visible */
.amk-browse-categories,
.amk-browse-categories .amk-grid {
  overflow: visible !important;
  max-height: none !important;
}

/* ===============================
   BROWSE CATEGORIES GRID FIX
   =============================== */

.amk-cats {
  display: grid;
  grid-auto-flow: row;
  grid-auto-rows: auto;
  height: auto;
  overflow: visible;
}

/* =========================================
   FIX: REMOVE 2‑ROW LIMIT IN amk-cols-6
   ========================================= */

.amk-cols-6 {
  grid-template-rows: none !important;
  grid-auto-rows: auto !important;
  max-height: none !important;
  overflow: visible !important;
}



/* =========================
   SLIDE WRAPPER
   ========================= */
.amk-slide {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

/* Image */
.amk-slide__image img {
  display: block;
  width: 100%;
  cursor: pointer;
}

/* =========================
   DETAILS DRAWER (OPEN STATE)
   ========================= */
.amk-slide__details {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;

  background: rgba(10, 20, 40, 0.78);
  backdrop-filter: blur(14px);
  color: #ffffff;

  padding: 16px;
  max-height: 100%;
  overflow-y: auto;

  transform: translateY(0);
  transition: transform 0.35s ease;
  box-shadow: 0 -20px 40px rgba(0,0,0,0.6);
}

/* =========================
   CLOSED STATE (SLIDE UP)
   ========================= */
.amk-slide:not(.is-open) .amk-slide__details {
  transform: translateY(100%);
}


/* ✅ FIX: Show message timestamps again */
.amk-msg__time {
  display: block !important;
  opacity: 0.75 !important;
  visibility: visible !important;

  margin-top: 4px;
  font-size: 11px;
  line-height: 1;

  color: rgba(255, 255, 255, 0.6); /* visible on dark glass */
  text-align: right;
}

/* Sender side (your messages) */
.amk-msg--me .amk-msg__time {
  text-align: right;
}

/* Receiver side */
.amk-msg--them .amk-msg__time {
  text-align: left;
}







/* Hide badge when value is 0 */
.amk-ultra-badge {
    display: none;
}

/* Show only when number is not 0 */
.amk-ultra-badge:not(:empty):not(:has(:contains("0"))) {
    display: flex;
}
/* Default hidden */
.amk-ultra-badge {
    display: none;
}

/* Visible when JS or backend sets data-count */
.amk-ultra-badge[data-count]:not([data-count="0"]) {
    display: flex;
}

/* Ensure message icon is clickable */
#amkUltraBell {
    position: relative;
    z-index: 10;          /* bring above neighbors */
    cursor: pointer;
    pointer-events: auto;
}




/* ✅ Disable click on full overlay link */
.amk-card-link {
    pointer-events: none;
}

/* ✅ Re-enable clicks inside the card */
.amk-card__inner {
    pointer-events: auto;
}

/* ✅ Heart button clickable */
.amk-fav-btn {
    pointer-events: auto;
    cursor: pointer;
}
/* ✅ Disable click on full-card overlay link */
.amk-card-link {
    pointer-events: none;
}




/* ✅ Anchor media as positioning context */
.amk-card__media {
    position: relative;
}

/* ✅ Heart button container (top-right) */
.amk-card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 5;
}

.usab-featured {
    min-width: 165px;
}



/* ✅ Fix broken grids on category/archive pages */
/* .category .amk-card,
.archive .amk-card {
    max-width: 100%;
} */

/* ✅ Ensure grid behaves even if wrapper differs */
.category .amk-grid,
.archive .amk-grid,
.category main,
.archive main {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    align-items: stretch;
    overflow: visible;
}
.category-header,
.archive-header {
    margin-bottom: 40px;
}

.category main,
.archive main {
    position: relative;
    z-index: 1;
}

/* ==================================================
   FIX: Show price & address on category/archive grids
================================================== */

/* Ensure content panel is visible */
.category .amk-card__content,
.archive .amk-card__content {
    opacity: 1;
    visibility: visible;
    display: block;
    height: auto;
    pointer-events: auto;
}



/* Prevent media layer from covering content */
.category .amk-card__media,
.archive .amk-card__media {
    z-index: 1;
}

/* If content shows only on hover elsewhere, force it always visible */
.category .amk-card__content,
.archive .amk-card__content {
    transform: none !important;
}
.category .amk-card__price,
.archive .amk-card__price {
    margin-top: 6px;
    font-weight: 600;
}

.category .amk-card__meta,
.archive .amk-card__meta {
    font-size: 13px;
    opacity: 0.85;
}
/* ======================================================
   FIX: Show price & address on category/archive grids
====================================================== */

/* Allow card content to expand naturally on archives */
.category .amk-card__inner,
.archive .amk-card__inner {
    overflow: visible !important;
}

/* Ensure content panel is visible and not clipped */
.category .amk-card__content,
.archive .amk-card__content {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative;
    z-index: 3;
    margin-top: 12px;
}

/* Make sure media does not cover content */
.category .amk-card__media,
.archive .amk-card__media {
    z-index: 1;
}

/* Explicitly force price & address to display */
.category .amk-card__price,
.category .amk-card__meta,
.archive .amk-card__price,
.archive .amk-card__meta {
    display: block !important;
    opacity: 1 !important;
}.category .amk-card__price {
    font-weight: 600;
    margin-top: 6px;
}

.category .amk-card__meta {
    font-size: 13px;
    opacity: 0.85;
}


/* ✅ Remove extra category icon box */
.amk-cat_icon,
.category-icon,
.cat-icon,
.browse-category-icon {
    display: none !important;
}
/* ✅ REMOVE extra square icon from category boxes */

/* Case 1: icon is a real element */
.browse-categories .icon,
.browse-categories .category-icon,
.browse-categories .cat-icon,
.browse-categories .amk-cat_icon,
.browse-categories .icon-wrap,
.browse-categories .icon-box {
    display: none !important;
}

/* Case 2: icon is added via ::before */
.browse-categories .amk-cat-box::before,
.browse-categories .category-box::before,
.browse-categories .browse-cat::before {
    content: none !important;
    display: none !important;
}

/* ✅ Remove left padding reserved for icon */
.browse-categories .amk-cat-box,
.browse-categories .category-box,
.browse-categories .browse-cat {
    padding-left: 16px !important;
}

/* ✅ Remove extra square category icon (confirmed selector) */
.amk-cat__icon {
    display: none !important;
}

/* ✅ Remove leftover spacing caused by the icon */
.amk-cat__inner {
    padding-left: 16px !important;
}



/* ===========================
   GLASS MORPHISM – CATEGORY BOX
=========================== */

.amk-cat {
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.10),
        rgba(255,255,255,0.02)
    );
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.18);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.45),
        inset 0 0 0 1px rgba(255,255,255,0.05);

    transition:
        transform 0.35s cubic-bezier(.25,.8,.25,1),
        box-shadow 0.35s ease,
        background-color 0.35s ease;
}

/* ✅ Hover – glass lift */
.amk-cat:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 20px 55px rgba(0,0,0,0.65),
        inset 0 0 0 1px rgba(255,255,255,0.10);
}

/* ✅ Inner layout polish */
.amk-cat__inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ✅ Category title */
.amk-cat__title {
    font-weight: 600;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* ✅ Ads count badge */
.amk-cat__count {
    margin-left: auto;
    font-size: 13px;
    opacity: 0.8;
}

/* ✅ Mobile safety */
@media (max-width: 768px) {
    .amk-cat {
        backdrop-filter: blur(10px);
    }
}
.amk-cat:hover {
    box-shadow:
        0 20px 55px rgba(0,0,0,0.65),
        0 0 25px rgba(100,180,255,0.15);
}


.amk-home-bubbles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

/* ✅ Ensure map, grids, cats, hero sit ABOVE bubbles */
.amk-hero3d,
.amk-usa-map-section,
.amk-usa__wrap,
.amk-usa__wrap svg,
.amk-cats,
.amk-cat,
.amk-cat__inner,
.amk-home-section,
.amk-home-latest,
.amk-section,
.amk-browse-categories,
.amk-featured-listings,
.amk-latest-listings,
.amk-grid,
.amk-card {
    position: relative;
    z-index: 1;
}

/* Base bubble style — glass sphere look */
.amk-hb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(
        circle at 30% 28%,
        rgba(180, 230, 255, 0.72),
        rgba(0, 140, 255, 0.18) 55%,
        rgba(0, 10, 50, 0.15) 100%
    );
    box-shadow:
        inset 0 0 20px rgba(255, 255, 255, 0.40),
        0 0 38px rgba(0, 160, 255, 0.28);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
}

/* Glint highlight on each bubble */
.amk-hb::before {
    content: "";
    position: absolute;
    top: 11%;
    left: 15%;
    width: 40%;
    height: 26%;
    border-radius: 50%;
    background: radial-gradient(
        circle at 30% 25%,
        rgba(255, 255, 255, 0.90) 0%,
        rgba(255, 255, 255, 0.12) 55%,
        transparent 100%
    );
}

/* Individual sizes & positions — spread across viewport edges
   so they frame the page without sitting on top of content */
.amk-hb-1  { width: 100px; height: 100px; top:  3%;  left:  1%;  animation: amkHbFloat  8.0s 0.0s ease-in-out infinite; }
.amk-hb-2  { width:  55px; height:  55px; top: 12%;  right: 1%;  animation: amkHbFloat  5.5s 1.2s ease-in-out infinite; }
.amk-hb-3  { width: 140px; height: 140px; top: 30%;  left:  0%;  animation: amkHbFloat  9.5s 2.5s ease-in-out infinite; }
.amk-hb-4  { width:  70px; height:  70px; top: 48%;  right: 0%;  animation: amkHbFloat  6.5s 0.8s ease-in-out infinite; }
.amk-hb-5  { width:  45px; height:  45px; top: 65%;  left:  2%;  animation: amkHbFloat  4.8s 3.5s ease-in-out infinite; }
.amk-hb-6  { width: 110px; height: 110px; top: 72%;  right: 1%;  animation: amkHbFloat  7.5s 1.8s ease-in-out infinite; }
.amk-hb-7  { width:  62px; height:  62px; top: 85%;  left:  3%;  animation: amkHbFloat  6.0s 4.2s ease-in-out infinite; }
.amk-hb-8  { width:  80px; height:  80px; top: 90%;  right: 2%;  animation: amkHbFloat  7.0s 2.0s ease-in-out infinite; }
.amk-hb-9  { width:  50px; height:  50px; top: 22%;  left:  1%;  animation: amkHbFloat  5.0s 5.0s ease-in-out infinite; }
.amk-hb-10 { width:  90px; height:  90px; top: 55%;  right: 0%;  animation: amkHbFloat  8.5s 3.0s ease-in-out infinite; }

@keyframes amkHbFloat {
    0%   { transform: translateY(0px)   scale(1.00); opacity: 0.00; }
    8%   {                                            opacity: 0.70; }
    50%  { transform: translateY(-20px) scale(1.04); opacity: 0.80; }
    92%  {                                            opacity: 0.70; }
    100% { transform: translateY(0px)   scale(1.00); opacity: 0.00; }
}

/* ✅ HOME BACKGROUND BUBBLES */
.home-bubbles {
    position: fixed;
    inset: 0;
    z-index: 0; /* behind content */
    pointer-events: none;
    overflow: hidden;
}

/* ✅ BUBBLE STYLE */
.home-bubbles .hb {
    position: absolute;
    border-radius: 50%;

    background: radial-gradient(
        circle at 30% 30%,
        rgba(180,220,255,0.9),
        rgba(0,120,255,0.25) 60%,
        rgba(0,0,0,0.2)
    );

    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);

    box-shadow:
        inset 0 0 25px rgba(255,255,255,0.4),
        0 0 60px rgba(0,150,255,0.3);

    opacity: 0.7;
}

/* ✅ POSITIONS (spread across page) */
.hb.b1 {
    width: 140px;
    height: 140px;
    top: 10%;
    left: 8%;
}

.hb.b2 {
    width: 100px;
    height: 100px;
    top: 40%;
    right: 10%;
}

.hb.b3 {
    width: 180px;
    height: 180px;
    bottom: 20%;
    left: 20%;
}

.hb.b4 {
    width: 120px;
    height: 120px;
    bottom: 10%;
    right: 15%;
}

.hb.b5 {
    width: 90px;
    height: 90px;
    top: 70%;
    left: 40%;
}







/* Apply neon animation to specific menu items */
.menu-item-2568 a,
.menu-item-2181 a,
.menu-item-2186 a {
    transition: all 0.3s ease-in-out;
}

.menu-item-2568 a:hover,
.menu-item-2181 a:hover,
.menu-item-2186 a:hover {
    color: #fff; /* Neon light color */
    text-shadow: 
        0 0 5px #fff, 
        0 0 10px #fff, 
        0 0 20px #00ffff, /* Neon color 1 */
        0 0 30px #00ffff, 
        0 0 40px #00ffff;
    animation: neon-pulse 1.5s infinite alternate;
}

/* Optional pulse animation keyframes */
@keyframes neon-pulse {
    from {
        text-shadow: 
            0 0 5px #fff, 
            0 0 10px #fff, 
            0 0 20px #00ffff, 
            0 0 30px #00ffff, 
            0 0 40px #00ffff;
    }
    to {
        text-shadow: 
            0 0 2px #fff, 
            0 0 5px #00ffff, 
            0 0 10px #00ffff, 
            0 0 15px #00ffff, 
            0 0 20px #00ffff;
    }
}



.amk-terms-check {
    font-size: 13px;
    color: #ccc;
    margin-top: 10px;
    display: block;
}

.amk-terms-check a {
    color: #4da6ff;
    text-decoration: underline;
}

.amk-form__msg {
    display: block;
    margin-top: 8px;
    font-size: 13px;
}




/* ===============================
   AMK FOOTER PRO
================================ */

.amk-footer {
  margin-top: 60px;
  background: rgba(10, 20, 45, 0.95);
  backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* GRID */
.amk-footer__wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  padding: 50px 20px;
}

/* COLUMN */
.amk-footer__col h3 {
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 15px;
}

.amk-footer__col ul {
  list-style: none;
  padding: 0;
}

.amk-footer__col li {
  margin-bottom: 10px;
}

.amk-footer__col a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 13px;
  transition: 0.25s;
}

.amk-footer__col a:hover {
  color: #4da6ff;
  transform: translateX(4px);
}

/* APP BUTTON */
.amk-app-btn {
  background: linear-gradient(145deg,#101c3a,#0c1a30);
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 10px;
  text-align: center;
  font-size: 14px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
}

.amk-app-btn:hover {
  box-shadow: 0 8px 25px rgba(0,150,255,0.3);
  transform: translateY(-3px);
}

/* BOTTOM AREA */
.amk-footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  padding: 18px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* MOBILE */
@media (max-width: 900px) {
  .amk-footer__wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

.amk-cookie-bar {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #0a1a3f;
  color: #fff;
  padding: 12px;
  text-align: center;
  z-index: 9999;
}
.amk-cookie-bar button {
  margin-left: 10px;
  padding: 5px 12px;
  background: #4da6ff;
  border: none;
  color: #fff;
}

.amk-contact-wrap {
  max-width: 600px;
  margin: 80px auto;
  padding: 40px;
  border-radius: 20px;
  background: rgba(15,25,55,0.6);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 40px rgba(0,150,255,0.2);
}

.amk-contact-title {
  text-align: center;
  color: #4da6ff;
  margin-bottom: 25px;
  font-size: 26px;
}

.amk-contact-form input,
.amk-contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(10,20,45,0.5);
  color: #fff;
  outline: none;
}

.amk-contact-form textarea {
  height: 120px;
  resize: none;
}

.amk-contact-form button {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(145deg,#4da6ff,#0066ff);
  color: #fff;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0,150,255,0.4);
  transition: 0.3s;
}

.amk-contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0,150,255,0.7);
}

#amkContactMsg {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
}

/* ================================================================
 * CSS MIGRATED FROM functions.php inline <style> blocks
 * Add this to the END of americanmarket.css
 * ================================================================ */


/* --- 1. My Ads card layout --- */
/* My Ads — force a clean card layout. The page may load
               other CSS that hides .amk-card__content; we override here. */
            #amkMyAds .amk-grid {
                display: grid;
                grid-template-columns: repeat(4, 1fr);
                gap: 18px;
            }

            @media (max-width: 1100px) {
                #amkMyAds .amk-grid {
                    grid-template-columns: repeat(3, 1fr);
                }
            }

            @media (max-width: 800px) {
                #amkMyAds .amk-grid {
                    grid-template-columns: repeat(2, 1fr);
                }
            }

            @media (max-width: 500px) {
                #amkMyAds .amk-grid {
                    grid-template-columns: 1fr;
                }
            }

            #amkMyAds .amk-card {
                position: relative;
                display: flex !important;
                flex-direction: column;
                background: rgba(20, 30, 50, 0.55);
                border: 1px solid rgba(255, 255, 255, 0.12);
                border-radius: 16px;
                overflow: visible;
                /* must NOT be hidden — FAB is position:absolute inside */
                box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
                transition: transform .18s ease, box-shadow .18s ease;
            }

            #amkMyAds .amk-card:hover {
                transform: translateY(-3px);
                box-shadow: 0 14px 36px rgba(0, 0, 0, 0.6);
            }

            #amkMyAds .amk-card__inner {
                display: flex !important;
                flex-direction: column;
                width: 100%;
                height: 100%;
                flex: 1;
                border-radius: 16px;
                overflow: hidden;
                transform: none !important;
                transform-style: flat !important;
            }

            #amkMyAds .amk-card__media {
                display: block !important;
                width: 100%;
                aspect-ratio: 1 / 1;
                background-size: cover;
                background-position: center;
                background-color: #0e1726;
                position: relative;
                flex-shrink: 0;
            }

            #amkMyAds .amk-card__media .amk-badge,
            #amkMyAds .amk-card__media .amk-sold-badge {
                position: absolute;
                top: 10px;
                left: 10px;
                padding: 4px 10px;
                font-size: 11px;
                font-weight: 700;
                color: #fff;
                background: rgba(0, 0, 0, 0.6);
                border-radius: 999px;
                z-index: 2;
            }

            #amkMyAds .amk-card__media .amk-badge--featured {
                background: linear-gradient(135deg, #f4a300, #ffd166);
                color: #2a1a00;
            }

            #amkMyAds .amk-card__media .amk-sold-badge {
                background: linear-gradient(135deg, #ff3b3b, #b30000);
            }

            /* Floating action button — top-right corner of the card image.
               Used for "Mark as Sold". Placed inside .amk-card__media so it
               sits over the image and is never clipped by content overflow. */
            #amkMyAds .amk-card__fab {
                position: absolute;
                top: 10px;
                right: 10px;
                z-index: 3;
                padding: 6px 12px;
                font-size: 12px;
                font-weight: 700;
                letter-spacing: 0.2px;
                line-height: 1.2;
                color: #fff;
                background: linear-gradient(135deg, #28a745, #1e8a37);
                border: 1px solid rgba(255, 255, 255, 0.35);
                border-radius: 999px;
                cursor: pointer;
                box-shadow:
                    0 6px 16px rgba(0, 0, 0, 0.45),
                    inset 0 1px 0 rgba(255, 255, 255, 0.25);
                backdrop-filter: blur(6px);
                -webkit-backdrop-filter: blur(6px);
                transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
            }

            #amkMyAds .amk-card__fab:hover {
                transform: translateY(-1px);
                background: linear-gradient(135deg, #2eb84e, #1e8a37);
                box-shadow:
                    0 10px 22px rgba(0, 0, 0, 0.55),
                    inset 0 1px 0 rgba(255, 255, 255, 0.3);
            }

            #amkMyAds .amk-card__fab:active {
                transform: translateY(0);
            }

            #amkMyAds .amk-card__fab--disabled {
                background: rgba(0, 0, 0, 0.55);
                color: rgba(255, 255, 255, 0.75);
                cursor: not-allowed;
                pointer-events: none;
            }

            #amkMyAds .amk-card__content {
                display: flex !important;
                flex-direction: column;
                padding: 14px 16px 18px !important;
                color: #fff;
                flex: 1;
                min-height: 0;
            }

            /* Action buttons row (Edit Post / Mark as Sold) — keep them
               clearly inside the card, not clipped by the rounded corner.
               margin-top:auto pushes the actions to the bottom of the
               flex content area so all cards align nicely. */
            #amkMyAds .amk-card__actions {
                margin-top: auto;
                padding-top: 12px;
                display: block;
            }

            #amkMyAds .amk-card__actions .amk-btn,
            #amkMyAds .amk-card__actions .amk-mark-sold-btn {
                display: inline-block;
                padding: 8px 14px;
                font-size: 13px;
                font-weight: 700;
                border: none;
                border-radius: 8px;
                cursor: pointer;
                text-decoration: none;
                line-height: 1.2;
                background: rgba(255, 255, 255, 0.92);
                color: #0a1530;
                box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
                transition: transform .15s ease, background-color .15s ease;
            }

            #amkMyAds .amk-card__actions .amk-btn:hover,
            #amkMyAds .amk-card__actions .amk-mark-sold-btn:hover {
                transform: translateY(-1px);
                background: #fff;
            }

            #amkMyAds .amk-card__actions .amk-mark-sold-btn {
                background: linear-gradient(135deg, #28a745, #1e8a37);
                color: #fff;
            }

            #amkMyAds .amk-card__actions .amk-mark-sold-btn:hover {
                background: linear-gradient(135deg, #2eb84e, #1e8a37);
                color: #fff;
            }

            #amkMyAds .amk-card__actions .amk-btn[disabled] {
                background: rgba(255, 255, 255, 0.18);
                color: rgba(255, 255, 255, 0.6);
                cursor: not-allowed;
                box-shadow: none;
            }

            #amkMyAds .amk-card__title {
                display: block !important;
                font-size: 16px;
                font-weight: 700;
                line-height: 1.25;
                margin-bottom: 6px;
                color: #ffffff;
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }

            #amkMyAds .amk-card__price {
                display: block !important;
                font-size: 18px;
                font-weight: 800;
                color: #ff5050;
                margin-bottom: 6px;
            }

            #amkMyAds .amk-card__meta {
                display: block !important;
                font-size: 13px;
                color: rgba(255, 255, 255, 0.65);
            }

            /* Hide our injected white heart on My Ads cards — the user is
               already viewing favorites here; double-rendering is noisy. */
            #amkMyAds .amk-card .amk-heart {
                display: none !important;
            }

/* --- 2. My Ads tabs --- */
#amkMyAds .amk-myads-tabs {
                display: flex;
                gap: 8px;
                flex-wrap: wrap;
                margin: 6px 0 16px;
            }

            #amkMyAds .amk-myads-tab {
                padding: 10px 20px;
                cursor: pointer;
                font-weight: 600;
                color: #fff;
                background: rgba(255, 255, 255, 0.10);
                border: 1px solid rgba(255, 255, 255, 0.25);
                border-bottom: none;
                border-top-left-radius: 12px;
                border-top-right-radius: 12px;
                transition: background-color .2s ease, transform .2s ease;
            }

            #amkMyAds .amk-myads-tab:hover {
                background: rgba(255, 255, 255, 0.20);
            }

            #amkMyAds .amk-myads-tab.active {
                background: rgba(255, 255, 255, 0.28);
                box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.25);
            }

            #amkMyAds .amk-myads-count {
                opacity: 0.75;
                font-weight: 500;
                margin-left: 4px;
            }

            #amkMyAds .amk-myads-pane {
                display: none;
            }

            #amkMyAds .amk-myads-pane.active {
                display: block;
            }

/* --- 3. 3D Categories grid --- */
/* ============================================================
         * Categories grid — 3D Neon Morphism, uniform tiles
         * (inline override of any earlier .amk-cat / .amk-cats rules)
         * ============================================================ */
        .amk-cats {
            display: grid !important;
            grid-template-columns: repeat(minmax(0, 1fr)) !important;
            gap: 16px !important;
            align-items: stretch !important;
        }

        @media (max-width: 1024px) {
            .amk-cats {
                grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
            }
        }

        @media (max-width: 640px) {
            .amk-cats {
                grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
            }
        }

        .amk-cats .amk-cat {
            display: flex !important;
            height: 100% !important;
            min-height: 92px !important;
            margin: 0 !important;
            padding: 0 !important;
            background: linear-gradient(145deg,
                    rgba(18, 28, 52, 0.55) 0%,
                    rgba(8, 12, 28, 0.65) 100%) !important;
            backdrop-filter: blur(16px) saturate(1.3);
            -webkit-backdrop-filter: blur(16px) saturate(1.3);
            border-radius: 16px !important;
            border: 1px solid rgba(127, 182, 255, 0.22) !important;
            box-shadow:
                0 0 0 1px rgba(127, 182, 255, 0.08),
                0 0 22px rgba(63, 211, 255, 0.12),
                0 8px 24px rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.08),
                inset 0 -1px 0 rgba(0, 0, 0, 0.4) !important;
            transition: transform 0.3s cubic-bezier(.25, .8, .25, 1),
                box-shadow 0.3s ease,
                border-color 0.3s ease !important;
            overflow: hidden;
        }

        .amk-cats .amk-cat:hover {
            transform: translateY(-4px) !important;
            border-color: rgba(127, 182, 255, 0.55) !important;
            box-shadow:
                0 0 0 1px rgba(127, 182, 255, 0.20),
                0 0 32px rgba(63, 211, 255, 0.28),
                0 14px 36px rgba(0, 0, 0, 0.6),
                inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
        }

        .amk-cats .amk-cat__inner,
        .amk-cats .amk-cat__inner--flat {
            display: flex !important;
            flex-direction: row !important;
            align-items: center !important;
            gap: 12px !important;
            padding: 14px 16px !important;
            width: 100% !important;
            min-height: 92px !important;
            text-decoration: none !important;
            color: #fff !important;
        }

        .amk-cats .amk-cat__icon {
            display: inline-flex !important;
            align-items: center !important;
            justify-content: center !important;
            flex-shrink: 0 !important;
            width: 38px !important;
            height: 38px !important;
            font-size: 22px !important;
            line-height: 1 !important;
            background: rgba(63, 211, 255, 0.10) !important;
            border: 1px solid rgba(127, 182, 255, 0.25) !important;
            border-radius: 10px !important;
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.12),
                0 0 12px rgba(63, 211, 255, 0.15) !important;
        }

        .amk-cats .amk-cat__icon img {
            width: 24px !important;
            height: 24px !important;
            object-fit: contain !important;
        }

        .amk-cats .amk-cat__title {
            flex: 1 1 auto !important;
            min-width: 0 !important;
            font-weight: 700 !important;
            font-size: 15px !important;
            line-height: 1.25 !important;
            color: #fff !important;
            text-shadow: 0 1px 6px rgba(63, 211, 255, 0.25) !important;
            /* Clamp to 2 lines so very long titles don't stretch the box */
            display: -webkit-box !important;
            -webkit-line-clamp: 2 !important;
            -webkit-box-orient: vertical !important;
            overflow: hidden !important;
        }

        .amk-cats .amk-cat__count {
            flex-shrink: 0 !important;
            margin-left: auto !important;
            padding: 4px 10px !important;
            font-size: 12px !important;
            font-weight: 600 !important;
            line-height: 1 !important;
            color: #cfe2ff !important;
            background: rgba(127, 182, 255, 0.12) !important;
            border: 1px solid rgba(127, 182, 255, 0.20) !important;
            border-radius: 999px !important;
            white-space: nowrap !important;
        }

/* --- 4. Post Ad Form terms/checkboxes --- */
.amk-terms-check {
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    margin: 18px 0 12px;
                    padding: 12px 16px;
                    background: linear-gradient(145deg,
                            rgba(18, 28, 52, 0.55) 0%,
                            rgba(8, 12, 28, 0.55) 100%);
                    border: 1px solid rgba(127, 182, 255, 0.20);
                    border-radius: 12px;
                    box-shadow:
                        inset 0 1px 0 rgba(255, 255, 255, 0.06),
                        0 4px 14px rgba(0, 0, 0, 0.35);
                    color: #cfe2ff;
                    font-size: 14px;
                    cursor: pointer;
                    transition: border-color 0.25s ease, box-shadow 0.25s ease;
                }

                .amk-terms-check:hover {
                    border-color: rgba(127, 182, 255, 0.45);
                }

                .amk-terms-check input[type="checkbox"] {
                    appearance: none;
                    -webkit-appearance: none;
                    width: 20px;
                    height: 20px;
                    margin: 0;
                    flex-shrink: 0;
                    border: 1px solid rgba(127, 182, 255, 0.45);
                    border-radius: 6px;
                    background: rgba(0, 0, 0, 0.4);
                    cursor: pointer;
                    position: relative;
                    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
                }

                .amk-terms-check input[type="checkbox"]:hover {
                    border-color: #7ff0ff;
                }

                .amk-terms-check input[type="checkbox"]:checked {
                    background: linear-gradient(135deg, #3fd3ff, #4d8ce2);
                    border-color: #7ff0ff;
                    box-shadow: 0 0 12px rgba(63, 211, 255, 0.55);
                }

                .amk-terms-check input[type="checkbox"]:checked::after {
                    content: "";
                    position: absolute;
                    left: 6px;
                    top: 2px;
                    width: 5px;
                    height: 10px;
                    border: solid #061018;
                    border-width: 0 2.5px 2.5px 0;
                    transform: rotate(45deg);
                }

                .amk-terms-check a {
                    color: #7ff0ff;
                    text-decoration: underline;
                    text-decoration-color: rgba(127, 240, 255, 0.45);
                    text-underline-offset: 2px;
                }

                .amk-terms-check a:hover {
                    color: #cfe2ff;
                }

                #amkPostSubmit[disabled] {
                    opacity: 0.45;
                    cursor: not-allowed;
                    filter: grayscale(0.4);
                }

/* --- 5. 3D Grid (amk_3d_grid shortcode) --- */
/* ─────────────────────────────────────────────────────────────
           Grid rules (.amk-grid.amk-cols-5 and .amk-grid.amk-cols-6)
           are now defined SOLELY in unified-cards.css. They were
           previously duplicated here and caused the latest-listings
           6-col grid to collapse to 5 cols at <1400px viewport,
           because this <style> block loads after the external CSS
           and its media query targeted .amk-grid.amk-cols-6 globally.
           DO NOT re-add column rules here.
           ───────────────────────────────────────────────────────────── */

        /* === Job card — overlay layout (matches matrimonial cards) === */
        .job-card {
            position: relative;
            padding: 0 !important;
            overflow: hidden;
            aspect-ratio: 3 / 4;
            /* taller portrait — fits more info */
            background-position: center top;
            background-repeat: no-repeat;
            background-size: cover;
            background-color: #0e1726;
            border-radius: 14px;
            min-height: 380px;
        }

        @supports not (aspect-ratio: 3 / 4) {
            .job-card {
                height: 460px;
            }
        }

        /* Clickable overlay covers the whole card */
        .job-card .job-card__overlay {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: flex-end;
            text-decoration: none;
            color: #fff;
            /* Stronger dark gradient — info area takes ~60% of card */
            background: linear-gradient(to top,
                    rgba(0, 0, 0, 0.92) 0%,
                    rgba(0, 0, 0, 0.80) 40%,
                    rgba(0, 0, 0, 0.45) 60%,
                    rgba(0, 0, 0, 0.10) 80%,
                    rgba(0, 0, 0, 0) 100%);
        }

        .job-card .job-card__info {
            width: 100%;
            padding: 14px 14px 16px;
            color: #fff;
        }

        .job-card .job-card__title {
            margin: 0 0 8px;
            font-size: 17px;
            font-weight: 700;
            line-height: 1.2;
            color: #fff;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
        }

      .job-card .job-card__info p {
    margin: 3px 0;
    font-size: 12px;
    line-height: 1.35;
    color: #f0f4ff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);

    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;

    overflow: hidden;
}

        .job-card .job-card__info p strong {
            color: #ffd166;
            font-weight: 600;
        }

        /* Role badge — top-left, like the BRIDE/GROOM tag */
        .job-card .job-card__role-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            z-index: 4;
            padding: 4px 10px;
            font-size: 12px;
            font-weight: 600;
            color: #fff;
            background: rgba(255, 80, 80, 0.85);
            border-radius: 999px;
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
        }

        /* === Share button on job cards ===
         * Let sharegrids.css handle the actual menu look (matches classified
         * home page). Here we only force the wrapper visible and position it
         * to the LEFT of the heart button so they don't overlap. */
        .job-card {
            position: relative;
        }

        .job-card .amk-share-wrap {
            position: absolute !important;
            top: 12px !important;
            right: 64px !important;
            /* clear gap from the heart button */
            z-index: 5;
            display: inline-block !important;
            visibility: visible !important;
            opacity: 1 !important;
        }

        .job-card .amk-share-btn {
            display: inline-flex !important;
            visibility: visible !important;
            opacity: 1 !important;
        }

        /* ============================================================
         *  JOBS HOME PAGE — element styling (no outer panels)
         *
         *  We DO NOT wrap .jobs-hero-search, .jobs-submenu or .jobs-map in
         *  outer glass containers. The inputs / pills / map already look
         *  good on their own — adding an outer panel creates a "double
         *  back shape" (panel inside panel) that looks visually heavy.
         *  Map styling itself is handled by jobs.css (.jobs-map svg#svg2).
         * ============================================================ */

        /* Search hero — flex layout only, NO outer panel */
        .jobs-hero-search {
            display: flex !important;
            justify-content: center;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            max-width: 1100px;
            margin: 28px auto;
            padding: 0;
            background: transparent;
            border: none;
            box-shadow: none;
            backdrop-filter: none;
            -webkit-backdrop-filter: none;
        }

        .jobs-hero-search input,
        .jobs-hero-search select {
            height: 46px;
            padding: 0 16px;
            min-width: 180px;
            color: #fff;
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-radius: 12px;
            font-size: 14px;
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.18),
                0 6px 14px rgba(0, 0, 0, 0.35);
            transition: all 0.25s ease;
        }

        .jobs-hero-search input::placeholder {
            color: rgba(255, 255, 255, 0.55);
        }

        .jobs-hero-search input:focus,
        .jobs-hero-search select:focus {
            outline: none;
            border-color: rgba(120, 160, 255, 0.55);
            transform: translateY(-1px);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.25),
                0 10px 22px rgba(0, 0, 0, 0.5),
                0 0 0 3px rgba(120, 160, 255, 0.18);
        }

        .jobs-hero-search select option {
            color: #111;
        }

        .jobs-hero-search button {
            height: 46px;
            padding: 0 22px;
            color: #fff;
            font-weight: 600;
            font-size: 14px;
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 12px;
            background: linear-gradient(135deg, #2563eb 0%, #6b3df7 100%);
            cursor: pointer;
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.30),
                0 10px 22px rgba(79, 70, 229, 0.45);
            transition: all 0.25s ease;
        }

        .jobs-hero-search button:hover {
            transform: translateY(-2px);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.40),
                0 16px 32px rgba(79, 70, 229, 0.6);
        }





        /* Submenu — flex centering only, NO outer panel */
        .jobs-submenu {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 15px;
            /* Spacing between buttons */
            padding: 20px;
        }

        .jobs-submenu a {
            color: #fff;
            text-decoration: none;
            font-weight: 500;
            padding: 12px 24px;
            border-radius: 15px;
            transition: all 0.3s ease;

            /* 3D Neumorphism - Dark Base */
            background: #102941;
            border: 1px solid rgba(0, 217, 255, 0.2);
            box-shadow:
                5px 5px 10px #050506,
                -5px -5px 10px #0f0f12,
                inset 1px 1px 2px rgba(255, 255, 255, 0.1);

            /* Neon Text */
            text-shadow: 0 0 8px rgba(0, 217, 255, 0.6);
            position: relative;
            overflow: hidden;
        }

        .jobs-submenu a:hover {
            /* Hover - Glowing 3D effect */
            background: #0d0f10;
            box-shadow:
                2px 2px 5px #050506,
                -2px -2px 5px #0f0f12,
                inset 0 0 10px rgba(0, 217, 255, 0.4),
                0 0 20px rgba(0, 217, 255, 0.3);
            color: #fff;
            text-shadow: 0 0 10px #fff;
        }

        .jobs-submenu a:active {
            /* Active - Pressed 3D effect */
            box-shadow:
                inset 5px 5px 10px #050506,
                inset -5px -5px 10px #0f0f12;
        }

        /* USA map — DO NOTHING here. jobs.css owns .jobs-map and
           .jobs-map svg#svg2 rules. Just make sure the heading is centered
           and the section has space around it. */
        .jobs-map h3 {
            margin: 0 0 14px;
            color: #fff;
            font-size: 18px;
            font-weight: 700;
            letter-spacing: 0.3px;
            text-align: center;
        }

        /* Section headings (Employer Hiring / Candidate Looking for Job)
     

        /* Wrap the two job container H2s + grid into a glass panel.
           (Pure CSS — no markup change.) */
        h2+.amk-grid.amk-cols-5 {
            margin-top: -8px;
        }

        /* Render H2 + grid as a unified glass panel using ::before on each h2 directly preceding amk-grid.amk-cols-5 */
        body h2:has(+ .amk-grid.amk-cols-5) {
            display: inline-block;
            margin: 28px auto 14px;
            padding: 10px 22px;
            color: #fff;
            font-size: 22px;
            font-weight: 700;
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.03));
            border: 1px solid rgba(255, 255, 255, 0.14);
            border-radius: 14px;
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.20),
                0 12px 26px rgba(0, 0, 0, 0.45);
        }

        /* The grid below the h2 — wrap as glass panel */
        h2+.amk-grid.amk-cols-5 {
            padding: 22px;
            background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
            border: 1px solid rgba(255, 255, 255, 0.10);
            border-radius: 22px;
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.14),
                0 18px 38px rgba(0, 0, 0, 0.55);
        }

        /* Mobile tweaks */
        @media (max-width: 700px) {
            .jobs-hero-search {
                padding: 16px;
                gap: 8px;
            }

            .jobs-hero-search input,
            .jobs-hero-search select,
            .jobs-hero-search button {
                width: 100%;
                min-width: 0;
            }

            .jobs-map {
                padding: 14px;
            }

            h2+.amk-grid.amk-cols-5 {
                padding: 14px;
            }
        }

/* --- 6. Featured Jobs scrolling marquee --- */
/* === Featured Jobs scrolling marquee === */
        /* JOBS MARQUEE CSS MOVED TO functions.php (single source of truth) */

/* --- 7. Active filters bar --- */
.amk-active-filters {
                display: inline-flex;
                align-items: center;
                gap: 12px;
                flex-wrap: wrap;
                max-width: 1100px;
                margin: 8px auto 14px;
                padding: 8px 16px;
                color: #e7eefc;
                font-size: 13px;
                line-height: 1.4;
                background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
                border: 1px solid rgba(255, 255, 255, 0.14);
                border-radius: 999px;
                backdrop-filter: blur(14px);
                -webkit-backdrop-filter: blur(14px);
                box-shadow:
                    inset 0 1px 0 rgba(255, 255, 255, 0.18),
                    0 6px 14px rgba(0, 0, 0, 0.35);
            }

            .amk-active-filters__label {
                color: #ffd166;
                font-weight: 600;
            }

            .amk-active-filters__list strong {
                color: #fff;
            }

            .amk-active-filters__clear {
                margin-left: auto;
                padding: 4px 12px;
                color: #fff;
                text-decoration: none;
                background: rgba(255, 80, 80, 0.55);
                border-radius: 999px;
                font-weight: 600;
                font-size: 12px;
                transition: background-color 0.2s;
            }

            .amk-active-filters__clear:hover {
                background: rgba(255, 80, 80, 0.85);
            }

/* --- 8. Heart / favorite button (universal) --- */
.amk-heart {
            position: absolute;
            top: 10px;
            right: 10px;
            z-index: 50;
            /* Sits above .job-card__overlay (z:auto) and any link layer */
            width: 36px;
            height: 36px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            border: none;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.45);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            color: #ffffff;
            /* white heart by default */
            font-size: 18px;
            line-height: 1;
            cursor: pointer;
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.30),
                0 4px 12px rgba(0, 0, 0, 0.35);
            transition: transform 0.15s ease, color 0.15s ease, background-color 0.15s ease;
        }

        /* Stronger pointer events guarantee — some overlays use pointer-events:auto;
           we ensure the heart wins. */
        .amk-card .amk-heart,
        .job-card .amk-heart,
        .mat-card .amk-heart {
            pointer-events: auto !important;
        }

        /* jobs.css applies `.job-card * { transform: translateZ(6px); }` —
           which pushes ALL descendants into a 3D layer that can sit BELOW
           the .job-card__overlay link, blocking clicks. Force the heart
           back to flat 2D so it always sits on top. */
        .job-card .amk-heart {
            transform: none !important;
        }

        /* Heart sits at the far right edge, share toolbar sits to its LEFT.
           This way, when both are visible, the order reads:
              [share button] [heart button]
           Heart matches share button size (34×34). */
        .job-card>.amk-heart {
            top: 10px !important;
            right: 10px !important;
            /* far right edge */
            width: 34px !important;
            height: 34px !important;
            font-size: 16px !important;
        }

        /* Push the share toolbar LEFT just enough that the heart sits
           snugly next to it with a tiny visual gap (~4px between them). */
        .job-card .amk-card-actions {
            right: 52px !important;
        }

        .job-card .amk-card-actions .fav-btn {
            margin-right: 0 !important;
        }

        .amk-heart:hover {
            transform: scale(1.1);
            background: rgba(0, 0, 0, 0.65);
        }

        .amk-heart.is-fav {
            color: #ff3b3b;
            /* red when favorited */
        }

        .amk-heart.is-fav:hover {
            color: #ff5050;
        }

        /* The cards need relative positioning so the absolute heart anchors correctly */
        .amk-card,
        .job-card,
        .mat-card {
            position: relative;
        }

        /* Hide any older variant heart buttons we replace */
        .amk-card .amk-fav-btn,
        .job-card .fav-btn,
        .mat-card .mat-fav-btn {
            display: none !important;
        }

        .amk-heart {
            position: absolute;
            top: 10px;
            right: 10px;
            z-index: 50;
            /* Sits above .job-card__overlay (z:auto) and any link layer */
            width: 36px;
            height: 36px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            border: none;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.45);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            color: #ffffff;
            /* white heart by default */
            font-size: 18px;
            line-height: 1;
            cursor: pointer;
            box-shadow:
                inset 0 1px 0 rgba(255, 255, 255, 0.30),
                0 4px 12px rgba(0, 0, 0, 0.35);
            transition: transform 0.15s ease, color 0.15s ease, background-color 0.15s ease;
        }

        /* Stronger pointer events guarantee — some overlays use pointer-events:auto;
           we ensure the heart wins. */
        .amk-card .amk-heart,
        .job-card .amk-heart,
        .mat-card .amk-heart {
            pointer-events: auto !important;
        }

        /* jobs.css applies `.job-card * { transform: translateZ(6px); }` —
           which pushes ALL descendants into a 3D layer that can sit BELOW
           the .job-card__overlay link, blocking clicks. Force the heart
           back to flat 2D so it always sits on top. */
        .job-card .amk-heart {
            transform: none !important;
        }

        /* Heart sits at the far right edge, share toolbar sits to its LEFT.
           This way, when both are visible, the order reads:
              [share button] [heart button]
           Heart matches share button size (34×34). */
        .job-card>.amk-heart {
            top: 10px !important;
            right: 10px !important;
            /* far right edge */
            width: 34px !important;
            height: 34px !important;
            font-size: 16px !important;
        }

        /* Push the share toolbar LEFT just enough that the heart sits
           snugly next to it with a tiny visual gap (~4px between them). */
        .job-card .amk-card-actions {
            right: 52px !important;
        }

        .job-card .amk-card-actions .fav-btn {
            margin-right: 0 !important;
        }

        .amk-heart:hover {
            transform: scale(1.1);
            background: rgba(0, 0, 0, 0.65);
        }

        .amk-heart.is-fav {
            color: #ff3b3b;
            /* red when favorited */
        }

        .amk-heart.is-fav:hover {
            color: #ff5050;
        }

        /* The cards need relative positioning so the absolute heart anchors correctly */
        .amk-card,
        .job-card,
        .mat-card {
            position: relative;
        }

        /* Hide any older variant heart buttons we replace */
        .amk-card .amk-fav-btn,
        .job-card .fav-btn,
        .mat-card .mat-fav-btn {
            display: none !important;
        }
        .amk-active-filters {
                display: inline-flex;
                align-items: center;
                gap: 12px;
                flex-wrap: wrap;
                max-width: 1100px;
                margin: 8px auto 14px;
                padding: 8px 16px;
                color: #e7eefc;
                font-size: 13px;
                line-height: 1.4;
                background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
                border: 1px solid rgba(255, 255, 255, 0.14);
                border-radius: 999px;
                backdrop-filter: blur(14px);
                -webkit-backdrop-filter: blur(14px);
                box-shadow:
                    inset 0 1px 0 rgba(255, 255, 255, 0.18),
                    0 6px 14px rgba(0, 0, 0, 0.35);
            }

            .amk-active-filters__label {
                color: #ffd166;
                font-weight: 600;
            }

            .amk-active-filters__list strong {
                color: #fff;
            }

            .amk-active-filters__clear {
                margin-left: auto;
                padding: 4px 12px;
                color: #fff;
                text-decoration: none;
                background: rgba(255, 80, 80, 0.55);
                border-radius: 999px;
                font-weight: 600;
                font-size: 12px;
                transition: background 0.2s;
            }

            .amk-active-filters__clear:hover {
                background: rgba(255, 80, 80, 0.85);
            }
/* ===============================
   🌌 CATEGORY SELECT (MAIN BOX)
=============================== */
.amk-select {
    width: 100%;
    padding: 12px 14px;

    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.15);

    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);

    color: #fff;
    font-size: 14px;

    outline: none;
    appearance: none; /* ✅ remove default arrow */

    box-shadow:
        inset 0 0 10px rgba(255,255,255,0.05),
        0 0 10px rgba(0,200,255,0.2);

    transition: all 0.3s ease;
}

/* ===============================
   ✨ HOVER EFFECT
=============================== */
.amk-select:hover {
    box-shadow:
        0 0 15px rgba(0,200,255,0.5),
        inset 0 0 6px rgba(255,255,255,0.1);
}

/* ===============================
   ⚡ FOCUS NEON GLOW
=============================== */
.amk-select:focus {
    border-color: #00eaff;

    box-shadow:
        0 0 14px rgba(0,255,255,0.7),
        0 0 30px rgba(0,150,255,0.4),
        inset 0 0 10px rgba(0,255,255,0.2);
}

/* ===============================
   🔽 CUSTOM ARROW ICON
=============================== */
.amk-select--dark {
    background-image:
        linear-gradient(45deg, transparent 50%, #00eaff 50%),
        linear-gradient(135deg, #00eaff 50%, transparent 50%);

    background-position:
        calc(100% - 15px) center,
        calc(100% - 10px) center;

    background-size: 6px 6px;
    background-repeat: no-repeat;
}

/* ===============================
   💎 OPTION (LIMITED SUPPORT)
=============================== */
.amk-select option {
    background: #0f172a;
    color: #fff;
}

/* ===============================
   🌟 EXTRA 3D DEPTH
=============================== */
.amk-select {
    transform: perspective(500px) translateZ(0);
}

.amk-select:active {
    transform: scale(0.98);
}

/* ===============================
   🔮 GLOW BORDER ANIMATION
=============================== */
.amk-select:focus {
    animation: neonPulse 1.5s infinite alternate;
}

@keyframes neonPulse {
    from {
        box-shadow:
            0 0 10px rgba(0,255,255,0.5),
            0 0 20px rgba(0,200,255,0.3);
    }
    to {
        box-shadow:
            0 0 18px rgba(0,255,255,0.9),
            0 0 35px rgba(0,150,255,0.6);
    }
}



/* ✅ allow click through overlay (header only) */
.login-modal,
.login-overlay {
    pointer-events: none;
}

/* ✅ but keep form clickable */
.login-modal .login-form {
    pointer-events: auto;
}



/* ✅ STOP HERO SECTION FROM BLOCKING HEADER/FOOTER */
.amk-hero,
.jobs-hero,
.jobs-search-bar,
.jobs-hero-search {
    position: relative;
    z-index: 1 !important;
}
header,
.site-header,
.amk-header {
    position: relative !important;
    z-index: 999999 !important;
}

/* ✅ PROFILE DROPDOWN ALWAYS ON TOP */
.header-profile-dropdown,
.amk-profile-menu,
.dropdown-menu {
    position: absolute !important;
    z-index: 9999999 !important;
}

/* ✅ Prevent hidden layers blocking clicks */
body > div {
    pointer-events: auto;
}
/* ✅ allow clicks everywhere */
main,
.site-content,
.page-content {
    position: relative;
    z-index: 0;
}

/* ✅ bring chat below header */
.amk-chat__dialog,
.amk-chat,
.amk-modal__dialog {
    top: 90px !important;   /* header height space */
}
/* ✅ chat above page but under header safe area */
.amk-modal,
.amk-chat__dialog {
    z-index: 9000 !important;
}

/* ✅ hide install button on desktop */
@media (min-width: 768px) {
    #installAppBtn {
        display: none !important;
    }
}

@media (min-width: 1024px) {
    #installAppBtn {
        display: none !important;
    }
}

#installBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.install-box {
    background: #111;
    color: #fff;
    padding: 12px;
    font-size: 16px;
    text-align: center;
}

.install-box button {
    margin-left: 10px;
    padding: 6px 12px;
    background: #00e0ff;
    border: none;
    border-radius: 6px;
}

#installAppBtn {
    width: 100%;
    margin-top: 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00e0ff, #0077ff);
    color: #fff;
    font-weight: bold;
}



/* ──────────────────────────────────────────────────────────
   D. ISSUE #2 — DISABLE :hover TILT ON TOUCH DEVICES
   (this is the "leaning left" effect after a tap)
   ────────────────────────────────────────────────────────── */
@media (hover: none), (pointer: coarse) {
    .amk-card:hover .amk-card__inner,
    .amk-card:focus .amk-card__inner,
    .amk-card:active .amk-card__inner {
        transform: none !important;
    }
    .amk-card,
    .amk-card__inner {
        perspective: none !important;
        transform: none !important;
    }
    .amk-card:hover .amk-card__shine {
        opacity: 0 !important;
    }
}


/* ──────────────────────────────────────────────────────────
   E. ISSUE #2 — CENTER GRIDS + EVEN COLUMNS ON MOBILE
   covers .amk-grid plus job/matrimonial container variants
   ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

    .amk-grid,
    .amk-jobs-grid,
    .amk-matrimonial-grid,
    .mat-grid,
    .jobs-grid,
    .bride-grid,
    .groom-grid,
    .hiring-grid,
    .seeking-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 10px !important;
        justify-items: stretch !important;
        justify-content: center !important;
        box-sizing: border-box;
    }

    /* Every card fills its grid cell evenly */
    .amk-grid > *,
    .amk-jobs-grid > *,
    .amk-matrimonial-grid > *,
    .mat-grid > *,
    .jobs-grid > *,
    .bride-grid > *,
    .groom-grid > *,
    .hiring-grid > *,
    .seeking-grid > * {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box;
    }

    /* Very narrow screens (<360px) → single column */
    @media (max-width: 359px) {
        .amk-grid,
        .amk-jobs-grid,
        .amk-matrimonial-grid,
        .mat-grid,
        .jobs-grid,
        .bride-grid,
        .groom-grid,
        .hiring-grid,
        .seeking-grid {
            grid-template-columns: 1fr !important;
        }
    }
}


/* ──────────────────────────────────────────────────────────
   F. ISSUE #3 — PAGINATION (both server & JS-rendered)
   ────────────────────────────────────────────────────────── */
.amk-pagination {
    width: 100%;
    margin: 18px 0 8px;
    padding: 0 10px;
    display: flex;
    justify-content: center;
}

.amk-pagination ul {
    display: flex;
    gap: 6px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.amk-pagination a,
.amk-pagination span,
.amk-pagination__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.04);
    color: #e6edf6 !important;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.1s ease;
}

.amk-pagination a:hover,
.amk-pagination__link:hover {
    background: rgba(0,224,255,0.12);
    color: #00e0ff !important;
    border-color: rgba(0,224,255,0.4);
}

.amk-pagination .current,
.amk-pagination__link.current {
    background: #00e0ff;
    border-color: #00e0ff;
    color: #000 !important;
}

.amk-pagination .disabled,
.amk-pagination__link.disabled {
    opacity: 0.35;
    pointer-events: none;
    cursor: not-allowed;
}


/* ──────────────────────────────────────────────────────────
   G. ISSUE #4 — JOBS PAGE: collapse empty space below
   "Select Location" / job-location-dropdown when closed
   ────────────────────────────────────────────────────────── */
.job-location-wrapper {
    position: relative;
    margin-bottom: 10px;
}

.job-location-wrapper input {
    width: 100%;
    box-sizing: border-box;
}

/* When the dropdown panel is empty or not open it should NOT
   reserve vertical space. */
.job-location-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    max-height: 60vh;
    overflow: auto;
    background: #0e1626;
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    margin-top: 4px;
}

.job-location-wrapper.is-open .job-location-dropdown,
.job-location-dropdown.is-open,
.job-location-dropdown.open {
    display: block;
}

/* The visual gap on Jobs page comes from a tall container.
   Tighten field stack on mobile. */
@media (max-width: 768px) {

    /* The Jobs page form (Post a Job button block) */
    .amk-jobs-search,
    .amk-jobs-filter,
    form.amk-jobs-search,
    .amk-search,
    .amk-home-search,
    .amk-home-search__row {
        gap: 10px !important;
    }

    /* If any direct child of the search wrapper has no content but
       still has height, collapse it. */
    .amk-jobs-search > *:empty,
    .amk-search > *:empty,
    .amk-home-search > *:empty {
        display: none !important;
    }

    /* Fields stack with consistent vertical rhythm */
    .amk-search__field,
    .amk-home-search__col,
    .amk-search__col {
        margin-bottom: 8px;
    }

    /* Inputs full-width */
    .amk-search__field input,
    .amk-search__field select,
    .amk-home-search__col input,
    .amk-home-search__col select,
    #job_location,
    #job_title,
    #job_keyword {
        width: 100% !important;
        box-sizing: border-box;
    }
}


/* ──────────────────────────────────────────────────────────
   H. ISSUE #5 — MATRIMONIAL SEARCH ROW → 2x2 ON MOBILE
   Matrimonial search shows 4 cramped fields in one row:
   Name | Bride/Groom | State | Search
   Goal: row 1 = Name + Bride/Groom, row 2 = State + Search
   ────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

    /* Generic: any flex/grid row inside matrimonial that holds
       a Search button — force 2-column wrap. */
    .amk-mat-search,
    .mat-search,
    .matrimonial-search,
    form.amk-mat-search,
    .amk-mat-search__row,
    .mat-search__row {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 10px !important;
        width: 100% !important;
        padding: 0 10px !important;
        box-sizing: border-box;
    }

    .amk-mat-search input,
    .amk-mat-search select,
    .amk-mat-search button,
    .mat-search input,
    .mat-search select,
    .mat-search button,
    .matrimonial-search input,
    .matrimonial-search select,
    .matrimonial-search button {
        width: 100% !important;
        min-width: 0 !important;       /* allow shrink inside grid */
        box-sizing: border-box;
        height: 44px;
        padding: 0 12px;
        font-size: 14px;
    }

    /* Search button stands out */
    .amk-mat-search button[type=submit],
    .mat-search button[type=submit],
    .matrimonial-search button[type=submit],
    .amk-mat-search .search-btn,
    .mat-search .search-btn {
        background: #00e0ff !important;
        color: #000 !important;
        font-weight: 700;
        border: none !important;
    }
}


/* ──────────────────────────────────────────────────────────
   I. LIGHT-MODE FIX — force dark palette regardless of OS
   ────────────────────────────────────────────────────────── */
html { color-scheme: dark; }

body,
body.amk,
html body {
    background: #020814 !important;
    color: #e6edf6 !important;
}

input, select, textarea, button {
    background-color: #0e1626 !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.15) !important;
    -webkit-text-fill-color: #fff;
}

input::placeholder,
textarea::placeholder {
    color: #8a93a6 !important;
    -webkit-text-fill-color: #8a93a6;
    opacity: 1;
}

input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-text-fill-color: #fff !important;
    -webkit-box-shadow: 0 0 0 1000px #0e1626 inset !important;
    caret-color: #fff;
}

label,
.amk-card,
.amk-card *,
.amk-listing,
.amk-listing *,
.amk-form,
.amk-form * {
    color: #e6edf6;
}

@media (prefers-color-scheme: light) {
    html { color-scheme: dark; }
    body { background: #020814 !important; color: #e6edf6 !important; }
    input, select, textarea, button {
        background-color: #0e1626 !important;
        color: #fff !important;
        -webkit-text-fill-color: #fff;
    }
    input::placeholder, textarea::placeholder {
        color: #8a93a6 !important;
        -webkit-text-fill-color: #8a93a6;
    }
}

/* ============================================================
   ▸▸▸ MOBILE CENTERING FIX v3 (FINAL)
   ▸▸▸ Append ONCE at the end of americanmarket.css
   ▸▸▸ Do NOT add any other mobile patches after this.
   ▸▸▸ This block replaces all v2 add-ons that broke layout.
   ============================================================ */

/* SAFETY 1: page must never scroll horizontally */
html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
}

/* SAFETY 2: body is NOT a flex container.
   An unclosed `body { display:flex; justify-content:center; }`
   in earlier patches pushed the entire page sideways.
   Force it back to block-level. */
body {
    display: block !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
}


/* ============================================================
   MOBILE LAYOUT (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {

    /* Outer wrappers must fill the viewport, no left/right shift */
    #page,
    #main,
    .site,
    .site-content,
    .content-area,
    .amk-container,
    .container,
    main {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        float: none !important;
        box-sizing: border-box;
    }

    /* Section padding (small, symmetric) */
    .amk-home-section,
    .amk-featured-listings,
    .amk-browse-categories,
    .amk-latest-listings,
    .amk-section {
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box;
    }

    /* MARQUEE MOBILE OVERRIDE REMOVED — single source of truth is now functions.php */

    /* ────────────────────────────────────────────────
       B. ANY GRID with only one visible card → center it
       ──────────────────────────────────────────────── */
    .amk-grid,
    .amk-jobs-grid,
    .amk-matrimonial-grid,
    .mat-grid,
    .jobs-grid,
    .bride-grid,
    .groom-grid,
    .hiring-grid,
    .seeking-grid,
    .matrimonial-grid {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
        gap: 10px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
        justify-content: center !important;
        justify-items: center !important;     /* ← cell items centered */
        place-items: center stretch !important;
    }

    .amk-grid > *,
    .amk-jobs-grid > *,
    .amk-matrimonial-grid > *,
    .mat-grid > *,
    .jobs-grid > *,
    .bride-grid > *,
    .groom-grid > *,
    .hiring-grid > *,
    .seeking-grid > *,
    .matrimonial-grid > * {
        width: 100% !important;
        max-width: 360px !important;          /* cap card width on phones */
        margin: 0 auto !important;             /* centers in its track */
        justify-self: center !important;
        box-sizing: border-box;
    }

    /* ────────────────────────────────────────────────
       C. HEADINGS / SECTION TITLES that wrap the grid
       The h2:has(+ .amk-grid.amk-cols-5) rule in the
       existing CSS gives the title `display:inline-block`
       which left-aligns it. Force-center on mobile.
       ──────────────────────────────────────────────── */
    h2,
    body h2:has(+ .amk-grid.amk-cols-5) {
        display: block !important;
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* ────────────────────────────────────────────────
       D. JOB-CARD aspect-ratio on phones
       3/4 ratio leaves big empty bottom space on narrow
       screens. Relax it so cards fit content height.
       ──────────────────────────────────────────────── */
    .job-card {
        aspect-ratio: auto !important;
        min-height: 340px !important;
    }
}

.amk-header {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}





/* ✅ COOKIE BAR IMPROVED DESIGN */

.cookie-notice,
.cookie-bar,
#cookie-notice,
.cn-container {

    padding: 14px 20px !important;   /* ✅ increase height */
    min-height: 60px !important;     /* ✅ more visible */
    font-size: 14px !important;
    line-height: 1.6 !important;

    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 15px;

    background: rgba(5, 15, 40, 0.95) !important;
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ✅ text spacing */
.cookie-notice p,
.cn-text-container {
    margin: 0 !important;
    padding: 0 !important;
}

/* ✅ button style */
.cookie-notice button,
.cn-button {

    padding: 6px 14px !important;
    border-radius: 999px;
    background: linear-gradient(135deg, #00D4FF, #0088CC);
    color: #fff !important;
    border: none;
    font-size: 13px;
    cursor: pointer;
}

/* ✅ hover effect */
.cn-button:hover {
    background: linear-gradient(135deg, #00b8e6, #006fa3);
}

/* ✅ FIX: remove duplicate Post Free button on mobile */

@media (max-width: 768px) {

    /* HIDE the small inline button (inside form) */
    .amk-search__actions .amk-btn,
    .amk-search__btn {
        display: none !important;
    }

}
@media (max-width: 768px) {
    .floating-post-btn {
        display: none !important;
    }
}