@import url('https://fonts.googleapis.com/css2?family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


:root {
  --primary: #0026ff;
  --panel-color: #f8f8f8;
  --search-bar: #f8f8f8;
  --text-color: #000000;
  --bg-header: white;
  --shadow-header: rgba(109, 109, 109, 0.08);
  --icons-color: #888;
  --hr-color: #f0f0f0;
  --paragraph-color: #a0a0a0;
 

  --button-font-size: 14px;
  --button-font-weight: 500;

  --paragraph-font-size: 13px;


  --heading-font: "Inter", sans-serif;
  
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: var(--text-color);
  background: var(--bg-header);
  line-height: 1.6;
  outline: none;
  border: none;
}

a{
  text-decoration: none;
  color: var(--text-color);
}

html {
  scrollbar-gutter: stable;
}






/* ✅ Disable hover/focus/active styles on touch devices to prevent background/tap highlight */
@media (hover: none) and (pointer: coarse) {

  .mobile-bottom-nav a:hover,
  .mobile-bottom-nav a:focus,
  .mobile-bottom-nav a:active,
  .mobile-bottom-nav a:hover i,
  .mobile-bottom-nav a:focus i,
  .mobile-bottom-nav a:active i,
  .mobile-bottom-nav a:hover span,
  .mobile-bottom-nav a:focus span,
  .mobile-bottom-nav a:active span {
    color: inherit !important;
    background-color: transparent !important;
    font-weight: normal !important;
    box-shadow: none !important;
     -webkit-tap-highlight-color: transparent !important; /* iOS tap feedback */
    -webkit-touch-callout: none !important;
    user-select: none !important;
    background-color: transparent !important;
    transition: none !important;
  }

  /* Also prevent accidental glow/active styles on icon links */
  .nav-icons a:active,
  .nav-icons a:hover,
  .nav-icons a:focus {
    background-color: transparent !important;
    box-shadow: none !important;
  }
}


.loader-overlay {
  position: fixed;
  inset: 0; /* shorthand for top:0; right:0; bottom:0; left:0 */
  background: rgba(255, 255, 255, 0.25); /* softer translucent white */
  backdrop-filter: blur(12px); /* stronger blur for modern glass effect */
  -webkit-backdrop-filter: blur(12px); /* Safari support */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  pointer-events: all; /* make sure it blocks clicks */
  user-select: none;
  transition: background 0.3s ease;
  box-shadow: inset 0 0 60px rgba(255,255,255,0.15);
  /* subtle glow inside */
}

.loader-overlay.visible {
  display: flex;
}

/* Modern spinner */
.spinner {
  border: 6px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--primary, #0066ff); /* fallback blue */
  border-radius: 50%;
  width: 56px;
  height: 56px;
  animation: spin 1.2s linear infinite, pulseScale 1.6s ease-in-out infinite;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Spin rotation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Subtle scaling pulse */
@keyframes pulseScale {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(180deg) scale(1.1);
  }
}



/***********ALERT*************/
.popup-message {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90vw;
  width: auto;
  padding: 12px 24px;
  border-radius: 40px;
  font-weight: 500;
  font-size: 14px;
  color: white;
  background-color: #f44336; /* red default */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  opacity: 0;
  text-align: center;
  text-wrap: balance;
  transition: top 0.4s ease, opacity 0.4s ease;
  line-height: 1.5;
  word-break: break-word;
}

.popup-message.success {
  background-color: #4CAF50;
}

.popup-message.show {
  top: 20px;
  opacity: 1;
}



.main-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.main-heading-left {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 10px;
}

.main-heading h2 {
  font-size: 28px;
  font-weight: 700;
  font-family: var(--heading-font, 'Poppins', sans-serif);
  color: #111;
  margin: 0;
}


/*******MAIN HEADING P **********/
.main-heading-p {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}


.main-heading-p h2 {
  font-size: 28px;
  font-weight: 700;
  font-family: var(--heading-font, 'Poppins', sans-serif);
  color: #111;
  margin: 0;
}

.main-heading-p p {
  font-size: var(--button-font-size);
  color: var(--paragraph-color);
}

/*******SUB HEADING*******/
.sub-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px 0px
}

.sub-heading h3 {
  font-size: 18px;
  font-weight: 600;
  font-family: var(--heading-font, 'Poppins', sans-serif);
  color: #111;
  margin: 0;
}








/* MODERN PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 4rem 0 4rem;
  flex-wrap: wrap;
}

.pagination a {
  padding: 10px 18px;
  background-color: var(--panel-color);
  color: #333;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  font-size: 14px;
}

.pagination a:hover {
  background-color: #e0e0e0;
  color: #000;
}

.pagination a.active {
  background-color: var(--text-color);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}









header {
  width: 100%;
  padding: 20px 0;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 9999;
  pointer-events: none; /* header ignores clicks */
}

header * {
  pointer-events: auto; /* children are clickable */
}

/* Centered Nav Bar with Background Blur */
.nav-center {
  background: rgba(248, 248, 248, 0.60); /* Light semi-transparent white */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px); /* For Safari */
  box-shadow: 0 10px 12px var(--shadow-header);
  border-radius: 50px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between; 
 
  border: 1px solid rgba(255, 255, 255, 0.3); /* Optional subtle border */
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  max-height: 20px;
}

.nav-logo img {
  max-height: 40px;
  height: auto;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.nav-logo img:hover {
  transform: scale(1.05);
}


.nav-logo h1 {
  font-size: 24px;
  font-weight: 600;
}

.nav-icons a {
  font-size: 24px;
  margin: 0 0 0 25px;
  color: var(--icons-color); /* default color */
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

/* Active icon and text = black */
.nav-icons a.active,
.nav-icons a.active i,
.mobile-bottom-nav a.active,
.mobile-bottom-nav a.active i {
  color: #000;
}

/* Default hidden */
.mobile-bottom-nav {
  display: none;
}

/* Responsive - Mobile View */
@media (max-width: 768px) {
  .nav-center .nav-icons {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-center {
    padding: 10px 16px;
  }

  .nav-logo {
    margin: auto;
  }

  /* Modern Mobile Bottom Navigation */
  .mobile-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: #ffffffcc; /* Semi-transparent white */
    backdrop-filter: blur(10px); /* iOS/modern blur effect */
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 0 0px;
    z-index: 1000;
  }

  .mobile-bottom-nav a {
    flex: 1;
    text-align: center;
    color: #888;
    text-decoration: none;
    font-size: 26px;
    padding: 10px 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .mobile-bottom-nav a i {
    font-size: 28px;
    margin-bottom: 2px;
  }

  .mobile-bottom-nav a span {
    font-size: 12px;
    margin-top: 2px;
    color: #666;
  }

  /* Active State Only (No hover/focus for mobile app-like behavior) */
  .mobile-bottom-nav a.active {
    color: #111;
  }

  .mobile-bottom-nav a.active i {
    color: #111;
  }

  .mobile-bottom-nav a.active span {
    color: #000;
    font-weight: 600;
  }
}






/******* SECTION RESPONSIVE PADDING *******/

section {
  padding: 0px 12% 20px; /* Desktop large screens */
}

/* Laptops and smaller desktops (<= 1200px) */
@media (max-width: 1200px) {
  section {
    padding: 0px 10% 20px;
  }
}

/* Tablets and small laptops (<= 992px) */
@media (max-width: 992px) {
  section {
    padding: 0px 8% 20px;
  }
}

/* Large phones / landscape mobiles (<= 768px) */
@media (max-width: 768px) {
  section {
    padding: 0px 5% 20px;
  }
}

/* Small phones / portrait mobiles (<= 480px) */
@media (max-width: 480px) {
  section {
    padding: 0px 3%   20px;
  }
}









.login-container {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;

  -webkit-tap-highlight-color: transparent; /* Remove tap highlight */
  outline: none;
}

.login-form-section {
  display: flex;
  background-color: #fff;
  padding: 60px 80px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  box-sizing: border-box;

  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.login-form {
  width: 100%;
  max-width: 400px;
}

.login-title {
  font-size: 32px;
  color: #222;
  margin-bottom: 10px;
}

.login-subtitle {
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
}

.login-input-group {
  position: relative;
  margin-bottom: 20px;
}

.login-label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
}

.login-input {
  width: 100%;
  padding: 12px 44px 12px 16px; /* right padding for icon */
  border: 1px solid #ccc;
  border-radius: 50px;
  font-size: 14px;
  height: 40px;
  box-sizing: border-box;
  transition: border 0.3s;
  user-select: text;
}

.login-input:focus {
  border-color: #0052cc;
  outline: none;
}

/* Fixed password toggle positioning */
.password-toggle {
  position: absolute;
  right: 14px;
  top: 50%;
  cursor: pointer;
  color: #888;
  font-size: 20px;        /* icon size */
  user-select: none;
  transition: color 0.3s ease;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border: none;
  background: transparent;
  padding: 0;
  width: 28px;            /* clickable area */
  height: 28px;

  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.password-toggle:hover {
  color: #333;
}

.password-toggle i {
  display: block;
  line-height: 1;
  pointer-events: none; /* clicks register on button, not icon */
}

.login-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  font-size: 14px;
  margin-bottom: 25px;
}

/* Toggle checkbox */
.remember-me {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  user-select: none;
  color: #444;
  gap: 8px;

  -webkit-tap-highlight-color: transparent;
}

.remember-me input[type="checkbox"] {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-slider {
  position: relative;
  width: 40px;
  height: 20px;
  background-color: #ccc;
  border-radius: 20px;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

.toggle-slider::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 2px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.remember-me input[type="checkbox"]:checked + .toggle-slider {
  background-color: #0052cc;
}

.remember-me input[type="checkbox"]:checked + .toggle-slider::before {
  transform: translateX(20px);
}

.login-forgot-link {
  color: var(--paragraph-color);
  text-decoration: none;

  -webkit-tap-highlight-color: transparent;
}

.login-button {
  width: 100%;
  padding: 14px;
  height: 50px;
  background-color: var(--text-color, #0052cc);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  font-size: var(--button-font-size);
  cursor: pointer;
  transition: background 0.3s ease;

  -webkit-tap-highlight-color: transparent;
  outline: none;
  user-select: none;
}

.login-button:hover {
  background-color: #003d99;
}

/* Disable hover on mobile */
@media (hover: none) and (pointer: coarse), (max-width: 600px) {
  .login-button:hover {
    background-color: var(--text-color, #0052cc);
    cursor: default;
  }
}

button.login-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.resend-button {
  background-color: transparent;
  border: none;
  color: #2196F3;        /* Blue color */
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  padding: 0;
  text-decoration: underline;
  font-family: 'Poppins', sans-serif;
  transition: color 0.3s ease;

  -webkit-tap-highlight-color: transparent;
  outline: none;
  user-select: none;
}

.resend-button:hover,
.resend-button:focus {
  color: #0b7dda;        /* Darker blue */
}

.login-signup {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

.login-signup a {
  color: var(--text-color, #0052cc);
  text-decoration: none;
  font-weight: 500;

  -webkit-tap-highlight-color: transparent;
}

.login-powered {
  margin-top: 30px;
  font-size: 13px;
  color: #999;
  text-align: center;
}

.login-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 30px 0;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  .login-container {
    height: auto;
    padding: 20px;
    background-color: transparent;
  }
  
  .login-form-section {
    background-color: transparent;
    box-shadow: none;
    padding: 0px 0px;
    width: 100%;
  }

  .login-form {
    width: 100%;
  }
}

/* Mobile Cleanup for Smallest Screens */
@media screen and (max-width: 480px) {
  .login-form-section {
    padding: 0px 0px; /* less padding */
    max-width: 100%;
    border-radius: 0; /* clean edges */
    box-shadow: none;
    background-color: transparent;
  }

  .login-title {
    font-size: 32px;
    text-align: left;
  }

  .login-subtitle {
    display: none; /* hide subtitle */
  }

  .login-input-group {
    margin-bottom: 18px;
  }

  .login-input {
    height: 44px;
    font-size: 16px;
    padding: 12px 44px 12px 16px;
  }

  .login-button {
    padding: 14px 0;
    border-radius: 30px;
  }

  .login-signup {
    font-size: 14px;
    margin-top: 18px;
    text-align: center;
  }

  .login-forgot {
    margin-top: 12px;
    font-size: 14px;
    text-align: center;
  }

  .login-powered {
    font-size: 12px;
    margin-top: 24px;
  }
}










/*************ACCOUNT*********/

.account-profile-box {
  width: 100%;
  background: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  box-sizing: border-box;
  border-bottom: 1px solid #ddd;
  padding: 20px;

  -webkit-tap-highlight-color: transparent; /* Remove blue tap highlight */
  outline: none;
}

.account-profile-img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.account-profile-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex-grow: 1;
  min-width: 0;
  word-break: break-word;         /* Added */
  overflow: hidden;               /* Added */
}

.account-profile-text h2 {
  font-size: 22px;
  font-weight: 600;
  color: #222;
  margin: 0;
  word-break: break-word;         /* Added */
  overflow-wrap: break-word;      /* Added */
  max-width: 100%;                /* Added */
}

.account-profile-text p {
  margin: 0;
  font-size: 13px;
  color: #777;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-edit-btn {
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
  color: var(--text-color);
  background: var(--search-bar);
  border: none;
  border-radius: 50px;
  padding: 10px 14px;
  margin-top: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
  align-self: flex-start; /* keep button aligned left under email */

  -webkit-tap-highlight-color: transparent;
  outline: none;
  user-select: none;
}

.account-edit-btn:hover {
  background: #e2e6ea;
}

/* Disable hover on mobile */
@media (hover: none) and (pointer: coarse), (max-width: 600px) {
  .account-edit-btn:hover {
    background: var(--search-bar);
    cursor: default;
  }
}

/* Separate Description Box */

.account-description-box {
  background: #fff;
  padding: 20px 24px;
  margin-top: 24px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.account-description-box h3 {
  margin: 0 0 12px 0;
  font-weight: 600;
  font-size: 16px;
  color: #222;
}

.account-description-box p {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--paragraph-color);
  line-height: 1.5;
  word-break: break-word;
}

/* Other bio info box */

.account-bio-box {
  width: 100%;
  background: #fff;
  padding: 20px 24px;
  margin-top: 24px;
  margin-bottom: 4rem;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.account-bio-item {
  display: flex;
  align-items: center; /* vertically center icon & text */
  gap: 12px;
}

.bio-icon {
  font-size: 20px;
  color: #555;
  flex-shrink: 0;
  margin: 0;
}

.account-bio-item p {
  margin: 0;
  font-size: 15px;
  color: var(--paragraph-color);
  line-height: 1.4;
  word-break: break-word;
}

/* Action buttons grid - swipeable on small screens, grid on large */

.account-action-grid {
  display: flex;
  gap: 16px;
  padding: 20px 20px;
  margin: 30px 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
  flex-wrap: nowrap; /* no wrap for swipe */
  justify-content: flex-start;
}

.account-action-card {
  flex: 0 0 auto; /* fixed size, no shrink */
  width: 130px;
  height: 130px;
  background: #f1f3f5;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  scroll-snap-align: start;
  font-weight: 500;
  font-size: 15px;
  color: #333;
  text-align: center;
  user-select: none;
  transition: background 0.2s ease, transform 0.1s ease;

  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.account-action-card:hover {
  background: #e1e4e8;
  transform: translateY(-2px);
}

/* Disable hover on mobile */
@media (hover: none) and (pointer: coarse), (max-width: 600px) {
  .account-action-card:hover {
    background: #f1f3f5;
    transform: none;
    cursor: default;
  }
}

.account-action-card i {
  font-size: 28px;
  color: #555;
  margin-bottom: 6px;
}

.account-action-card span {
  display: block;
  margin-top: 4px;
}

/* On wider screens (600px+) revert to wrap and no scroll */

@media (min-width: 600px) {
  .account-action-grid {
    overflow-x: visible;
    scroll-snap-type: none;
    flex-wrap: wrap;
    justify-content: flex-start;
    padding: 10px 0;
    margin: 30px 20px;
  }
}

/* Responsive bio padding */
@media (max-width: 600px) {
  .account-description-box,
  .account-bio-box {
    padding: 16px 16px;
    margin-top: 20px;
  }

  /* Ensure text container adjusts well on mobile */
  .account-profile-text {
    min-width: auto;
  }
}

/* Optional: Keep text labels visible on very small phones */
@media (max-width: 400px) {
  .account-action-card span {
    display: block;
  }
}













/* ========== EDIT PROFILE CSS ========== */

/* Container centers content horizontally & vertically */
.edit_profile-container {
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertical center */
  align-items: center;     /* horizontal center */
  padding: 20px;
  box-sizing: border-box;
}

.edit_profile-profile-box {
  background: var(--bg-header);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  box-sizing: border-box;
  padding: 20px;
  width: 100%;
  max-width: 600px; /* max width for large screens */
  border-radius: 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin: 0 0 2rem;

  -webkit-tap-highlight-color: transparent; /* Remove blue tap highlight */
  outline: none;
}

.edit_profile-profile-img {
  width: 90px;
  height: 90px;
  min-width: 90px;
  min-height: 90px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.edit_profile-profile-img-wrapper {
  position: relative;
  flex-shrink: 0;
}

.edit_profile-camera-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #fff;
  border: none;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 0 4px rgba(0,0,0,0.1);
  cursor: pointer;
  font-size: 18px;
  color: #333;
  transition: background 0.2s ease;

  -webkit-tap-highlight-color: transparent;
  outline: none;
  user-select: none;
}

.edit_profile-camera-btn:hover {
  background: #e2e6ea;
}

/* Disable hover on mobile */
@media (hover: none) and (pointer: coarse), (max-width: 600px) {
  .edit_profile-camera-btn:hover {
    background: #fff;
    cursor: default;
  }
}

.edit_profile-profile-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  flex-grow: 1;
  min-width: 0;
  word-break: break-word;
  overflow: hidden;
}

.edit_profile-profile-text h2 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
  margin: 0;
  word-break: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.edit_profile-form {
  max-width: 600px;
  width: 100%;
  margin-top: 30px;
  background: var(--search-bar);
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.edit_profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
  width: 100%;
}

.edit_profile-form-group {
  display: flex;
  flex-direction: column;
}

.edit_profile-form-group.full-width {
  grid-column: 1 / -1; /* span both columns */
}

.edit_profile-form label {
  font-weight: 600;
  font-size: 14px;
  color: #222;
  margin-bottom: 6px;
}

/* INPUT & TEXTAREA - only bottom border, no other borders */
.edit_profile-input,
.edit_profile-textarea {
  width: 100%;
  padding: 10px 8px;
  border: none;
  border-bottom: 2px solid var(--hr-color);
  font-size: 15px;
  color: #333;
  font-family: inherit;
  resize: vertical;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: border-color 0.3s ease;
  box-sizing: border-box;
  min-height: 38px;

  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.edit_profile-textarea {
  min-height: 80px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.edit_profile-input:focus,
.edit_profile-textarea:focus {
  outline: none;
  border-bottom-color: var(--paragraph-color);
  box-shadow: none;
}

/* Large full width submit button */
.edit_profile-submit-btn {
  padding: 12px 20px;
  border: none;
  background: var(--text-color);
  color: var(--bg-header);
  border-radius: 6px;
  cursor: pointer;
  font-weight: var(--button-font-weight);
  font-size: var(--button-font-size);
  transition: background 0.2s ease;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;

  -webkit-tap-highlight-color: transparent;
  outline: none;
  user-select: none;
}

.edit_profile-submit-btn:hover {
  background: #45a049;
}

/* Small save button style */
.edit_profile-submit-btn-small {
  padding: 12px 16px;
  font-size: var(--button-font-size);
  width: auto;
  max-width: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: var(--button-font-weight);
  background: var(--text-color);
  color: var(--bg-header);
  border: none;
  transition: background 0.2s ease;
  box-sizing: border-box;
  align-self: flex-end; /* Align left, not full width */

  -webkit-tap-highlight-color: transparent;
  outline: none;
  user-select: none;
}

.edit_profile-submit-btn-small:hover {
  background: #45a049;
}

/* Disable hover on small buttons on mobile */
@media (hover: none) and (pointer: coarse), (max-width: 600px) {
  .edit_profile-submit-btn-small:hover {
    background: var(--text-color);
    cursor: default;
  }
}

@media (max-width: 600px) {
  .edit_profile-profile-text {
    min-width: auto;
  }

  .edit_profile-grid {
    grid-template-columns: 1fr;
  }

  /* Make small button full width on mobile */
  .edit_profile-submit-btn-small {
    width: 100% !important;
    align-self: stretch;
  }
}



/***********MANAGE ORDERS**********/

/* ====== Search Bar ====== */
.manage_ads-searchbar {
  position: relative;
  max-width: 400px;
  margin-bottom: 24px;
  width: 100%;
  max-width: 400px;
  margin: 2rem 0;
}

.manage_ads-search-input {
  width: 100%;
  padding: 12px 44px 12px 16px;
  background-color: var(--search-bar);
  border-radius: 50px;
  border: 1.8px solid #f1f1f1;
  font-size: 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  font-family: 'Inter', sans-serif;
  outline-offset: 0px;
  outline: none;

  -webkit-tap-highlight-color: transparent; /* Remove tap highlight */
  user-select: text;
}

.manage_ads-search-input::placeholder {
  color: #aaa;
  font-weight: 500;
}

.manage_ads-search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: #777;
  pointer-events: none;
  transition: color 0.3s ease;
}

.manage_ads-search-input:focus + .manage_ads-search-icon {
  color: #4f46e5;
}

/* ====== Manage Ads Grid ====== */
.manage_ads-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin: 2rem 0;
}

/* No Ads Message */
.no-ads-message {
  grid-column: 1 / -1; /* Span all columns */
  text-align: center;
  font-size: 18px;
  color: #555;
  padding: 40px 0;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}

.no-ads-message button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: var(--text-color);
  color: #fff;
  border: none;
  border-radius: 50px;
  cursor: pointer;

  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
  transition: background-color 0.3s;

  -webkit-tap-highlight-color: transparent;
  outline: none;
  user-select: none;
}

.no-ads-message button:hover {
  background-color: var(--primary);
}

/* Cards */
.manage_ads-card {
  background-color: var(--search-bar, #f9f9f9);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideUp 0.5s ease forwards;

  -webkit-tap-highlight-color: transparent;
  outline: none;
  user-select: none;
}

.manage_ads-card:hover {
  box-shadow: 0 8px 18px rgba(0,0,0,0.1);
}

/* Disable hover effects on mobile/touch */
@media (hover: none) and (pointer: coarse), (max-width: 480px) {
  .manage_ads-card:hover {
    box-shadow: none;
    cursor: default;
  }
}

.manage_ads-image {
  width: 140px;
  height: 140px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 14px;
  display: block;
  margin-left: 0;
}

.manage_ads-title {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #222;
}

.manage_ads-meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

.manage_ads-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  white-space: nowrap;
  max-width: fit-content;
  margin-bottom: 8px;
}

.manage_ads-status.active {
  background-color: #e8f5e9;
  color: #2e7d32;
}

.manage_ads-status.pending {
  background-color: #fff9e6;
  color: #b28900;
}

.manage_ads-status.sold {
  background-color: #fcebea;
  color: #c62828;
}

.manage_ads-button {
  display: flex;
  margin-top: 8px;
  padding: 8px 16px;
  background-color: var(--bg-header, #4f46e5);
  color: var(--text-color, white);
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  border-radius: 50px;
  cursor: pointer;
  text-align: center;
  user-select: none;
  transition: background-color 0.3s ease;
  text-decoration: none;
  font-size: 14px;
  border: none;
  width: auto;
  max-width: fit-content;

  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.manage_ads-button:hover {
  background-color: var(--text-color, white);
  color: var(--bg-header, #4f46e5);
}

/* Remove focus outlines on buttons */
.manage_ads-button:focus,
.manage_ads-button:active {
  outline: none;
  box-shadow: none;
}

.no-ads-message {
  text-align: center;
  font-size: var(--button-font-size);
  margin-top: 40px;
  color: var(--text-muted, #888);
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .manage_ads-title {
    font-size: 16px;
  }
  .manage_ads-meta {
    font-size: 13px;
  }

  .manage_ads-searchbar {
    max-width: 100%;
  }
  .manage_ads-search-input {
    font-size: 14px;
  }
}








/*********HOME**********/
.getmo-home-container {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin: 1rem 0;
  padding: 0 0 1rem;
  border-bottom: 2px solid var(--hr-color);
}

.getmo-home-wrapper {
  text-align: center;
}

.getmo-home-button {
  width: 80px;
  height: 80px;
  background: var(--search-bar);
  border: none;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;

  -webkit-tap-highlight-color: transparent; /* Remove blue tap highlight on mobile */
  outline: none; /* Remove focus outline */
  user-select: none;
}

.getmo-home-button:hover {
  background: #eef1f6;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
}

/* Remove hover effects on mobile / touch devices */
@media (hover: none) and (pointer: coarse), (max-width: 480px) {
  .getmo-home-button:hover {
    background: var(--search-bar);
    transform: none;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    cursor: default;
  }
}

.getmo-home-button:focus,
.getmo-home-button:active {
  outline: none;
  box-shadow: none;
}

.getmo-home-button img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.getmo-home-label {
  margin-top: 8px;
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

@media (max-width: 480px) {
  .getmo-home-button {
    width: 70px;
    height: 70px;
  }
  .getmo-home-button img {
    width: 45px;
    height: 45px;
  }
  .getmo-home-label {
    font-size: 13px;
  }
}






/***************HOME WHITE PAPER*************/
.white-paper-container {
  width: 100%;
  /*max-width: 600px;*/
  margin: 2rem 0rem 5rem;
}

.white-paper-head-buttons {
  display: flex;
  justify-content: flex-end;
  margin: 1rem 0;
}

.white-paper-write-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--text-color, #222);
  color: var(--bg-header, #fff);
  border: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: var(--button-font-weight);
  font-size: var(--button-font-size);
  cursor: pointer;
  transition: background-color 0.2s ease;

  -webkit-tap-highlight-color: transparent; /* remove blue tap highlight on mobile */
  outline: none; /* remove focus outline */
  user-select: none;
}

.white-paper-write-button i {
  font-size: 16px;
}

.white-paper-write-button:focus,
.white-paper-write-button:active {
  outline: none;
  box-shadow: none;
}

.white-paper-card {
  background: var(--search-bar, #f9f9f9);
  border-radius: 20px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.white-paper-header {
  display: flex;
  align-items: center;
  padding: 15px;
}

.white-paper-header img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 12px;
}

.white-paper-user {
  display: flex;
  flex-direction: column;
}

.white-paper-user h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.white-paper-user .username {
  font-size: 0.85rem;
  color: #666;
  font-style: italic;
  margin-top: 0;
}

.white-paper-user span {
  font-size: 0.85rem;
  color: #777;
}

.white-paper-content {
  padding: 15px;
  position: relative;
}

.white-paper-text {
  font-size: 0.95rem;
  margin-bottom: 10px;
  line-height: 1.6;
  color: #333;
  white-space: pre-wrap;
}

/* Smooth transition for full content: use max-height for animation */
.full-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.5s ease;
}

/* When expanded, set a large max-height and full opacity */
.full-content.expanded {
  max-height: 1000px; /* big enough to fit content */
  opacity: 1;
}

.read-more-btn {
  background: none;
  border: none;
  color: #007bff;
  cursor: pointer;
  font-weight: 600;
  padding: 0;
  font-size: 0.9rem;
  user-select: none;
  transition: color 0.2s ease;

  -webkit-tap-highlight-color: transparent; /* remove tap highlight */
  outline: none;
}

.read-more-btn:hover,
.read-more-btn:focus {
  color: #0056b3;
  outline: none;
}

.white-paper-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.like-icon {
  cursor: pointer;
  color: #555;
  font-size: 1.3rem;
  transition: color 0.3s ease;

  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.like-icon.liked {
  color: #e0245e;
}

.like-count {
  font-weight: 600;
  color: #333;
}

.white-paper-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.white-paper-buttons i {
  font-size: 22px;
  color: #333;
  cursor: pointer;
  transition: transform 0.2s ease;

  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.white-paper-time {
  font-size: 0.8rem;
  color: #aaa;
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .white-paper-card {
    border-radius: 16px;
  }

  .white-paper-header img {
    width: 40px;
    height: 40px;
  }

  .white-paper-user h4 {
    font-size: 0.95rem;
  }

  .white-paper-user .username {
    font-size: 0.8rem;
  }

  .white-paper-user span {
    font-size: 0.8rem;
  }

  .white-paper-text {
    font-size: 0.9rem;
  }

  .white-paper-buttons i {
    font-size: 20px;
  }
}

/* Modal Overlay */
.white-paper-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 20px;
  overflow-y: auto;

  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.white-paper-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.white-paper-modal {
  background: var(--search-bar, #f9f9f9);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  padding: 20px 25px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  position: relative;
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  overflow-y: auto;

  opacity: 0;
  transform: translateY(-30px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.white-paper-modal.active {
  opacity: 1;
  transform: translateY(0);
}

.white-paper-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: 700;
  color: #666;
  cursor: pointer;
  transition: color 0.2s ease;
  border: none;
  background: none;

  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.white-paper-modal-close:hover {
  color: #007bff;
}

.white-paper-modal textarea {
  width: 100%;
  min-height: 130px;
  resize: vertical;
  border-radius: 12px;
  border: 1px solid #ccc;
  padding: 12px 15px;
  font-size: 1rem;
  font-family: inherit;
  color: #333;
  margin-bottom: 20px;
  box-sizing: border-box;
  transition: border-color 0.2s ease;
}

.white-paper-modal textarea:focus {
  outline: none;
  border-color: #007bff;
}

.white-paper-modal-submit {
  align-self: flex-end;
  background-color: var(--text-color);
  color: var(--bg-header, #fff);
  border: none;
  padding: 10px 22px;
  font-weight: var(--button-font-weight);
  font-size: var(--button-font-size);
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.2s ease;

  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.white-paper-modal-submit:focus,
.white-paper-modal-submit:active {
  outline: none;
  box-shadow: none;
}

@media (max-width: 600px) {
  .white-paper-modal {
    max-width: 100%;
    padding: 15px 20px;
    border-radius: 16px;
  }
}






















.category-container {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  padding: 10px 5px 20px;
  border-bottom: 1px solid var(--hr-color);

  -webkit-overflow-scrolling: touch; /* Enable smooth scrolling on iOS */

  -ms-overflow-style: none;  /* Hide scrollbar for IE and Edge */
  scrollbar-width: none;  /* Hide scrollbar for Firefox */
}

/* Hide scrollbar for WebKit browsers (Chrome, Safari, iOS Safari) */
.category-container::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.3s ease;

  -webkit-tap-highlight-color: transparent; /* Remove blue tap highlight on Chrome iOS/Android */
  outline: none; /* Remove focus outline */
  user-select: none;
}

.category-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  margin-bottom: 12px;

  -webkit-tap-highlight-color: transparent;
  outline: none;
  user-select: none;
}

.category-circle img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.category-text {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-align: center;
  user-select: none;
  text-decoration: none;
}

a {
  text-decoration: none;
}

/* Red border on selected item */
.category-item.selected .category-circle {
  outline: 3px solid var(--paragraph-color);
}

/* Remove focus/active outline and box-shadow */
.category-item:focus,
.category-item:active {
  outline: none;
  box-shadow: none;
}

/* ----- Disable hover and background highlight on mobile / touch devices ----- */
@media (hover: none) and (pointer: coarse), (max-width: 768px) {
  .category-item:hover,
  .category-item:focus {
    background: transparent !important;
    transform: none !important;
    cursor: default !important;
  }

  .category-item:hover .category-circle {
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.1) !important;
    outline: none !important;
  }
}

@media (max-width: 768px) {
  .category-circle {
    width: 60px;
    height: 60px;
    margin-bottom: 8px;
  }

  .category-circle img {
    width: 35px;
    height: 35px;
  }

  .category-text {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .category-circle {
    width: 55px;
    height: 55px;
    margin-bottom: 6px;
  }

  .category-circle img {
    width: 34px;
    height: 34px;
  }

  .category-text {
    font-size: 12px;
  }
}















/****************PRODUCTS*******************/

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin: 2rem 0;
}

.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 5px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s;
  position: relative;
  cursor: pointer;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: calc(var(--delay, 0) * 100ms);
}

/* ANIMATION */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-img-wrapper {
  width: 100%;
  padding-top: 100%;
  position: relative;
  background: #fafafa;
}

.product-img-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* changed from 'contain' to 'cover' */
}

.add-to-cart-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--text-color, #f2274e);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
  background-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
}

.product-info {
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background-color: #fff;
  border-top: 1px solid #f0f0f0;
}

.product-title {
  font-size: 15px;
  font-weight: 500;
  color: #222;
  line-height: 1.4;
  height: 42px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.new-price {
  color: var(--text-color, #f2274e);
  font-weight: 700;
  font-size: 18px;
}

.old-price {
  color: #999;
  font-size: 14px;
  text-decoration: line-through;
}

.rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 15px;
  color: var(--icons-color);
  margin-top: 2px;
}

.rating i {
  font-size: 18px;
  color: var(--icons-color);
}

.extra-info {
  font-size: 14px;
  font-weight: 500;
  color: var(--icons-color);
  font-weight: 600;
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.extra-info .save-icon {
  font-size: 20px;
  color: var(--icons-color);
}

.product-add-by {
  margin-top: 6px;
  display: flex;
}

.product-add-by-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--panel-color);
  padding: 2px 10px;
  border-radius: 50px;
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
}

.product-add-by i {
  font-size: 16px;
  color: var(--text-color, #f2274e); /* fallback color if variable not set */
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .product-grid {
    gap: 12px;
  }

  .product-title {
    font-size: 13px;
    height: 38px;
  }

  .new-price {
    font-size: 15px;
  }

  .add-to-cart-btn {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .extra-info {
    font-size: 13px;
  }

  .extra-info .save-icon {
    font-size: 16px;
  }

  /* 👇 ADD THIS TO STACK PRICES VERTICALLY */
  .product-price {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
}







.cities-btn {
  background-color: transparent;
  border: none;
  cursor: pointer;

  -webkit-tap-highlight-color: transparent;
  outline: none;
}

/* Overlay background */
.cities_overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
  box-sizing: border-box;
  backdrop-filter: blur(30px);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cities_overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Prevent body scroll when overlay open */
body.cities_overlay_open {
  overflow: hidden;
}

/* Cities panel */
.cities_panel {
  background: #fff;
  border-radius: 24px;
  padding: 0 32px 32px 32px;
  width: 100%;
  max-width: 600px;
  min-height: 500px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 12px 24px rgb(0 0 0 / 0.12),
    0 4px 12px rgb(0 0 0 / 0.06);
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 0.35s ease, transform 0.35s ease;
  box-sizing: content-box;

  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;

  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.cities_panel::-webkit-scrollbar {
  display: none;
}

/* Show effect */
.cities_overlay.show .cities_panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Scrollable inner area */
.cities_content {
  flex: 1;
  overflow-y: auto;
  padding-top: 10px;
  padding-right: 8px;
  transition: opacity 0.3s ease;
  will-change: opacity;
  opacity: 1;
  box-sizing: border-box;
}

/* Header */
.cities_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  gap: 16px;
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 10;
  padding: 12px 0 20px 0;
  border-bottom: 1px solid #eee;
}

/* Search */
.cities_search_wrapper {
  flex: 1;
  position: relative;
}

.cities_search_wrapper input {
  width: 100%;
  padding: 10px 10px 10px 44px;
  border-radius: 100px;
  border: 1.5px solid #ddd;
  outline: none;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  background-color: #fafafa;
  box-sizing: border-box;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;

  -webkit-tap-highlight-color: transparent;
}

.cities_search_wrapper input::placeholder {
  color: #a9abb1;
  font-weight: 500;
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  color: #c0c0c8;
  font-size: 20px;
  pointer-events: none;
  transition: color 0.3s ease;
}

.cities_search_wrapper input:focus + .search-icon {
  color: #ff385c;
}

/* Close */
.close-icon {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 28px;
  color: #c0c0c8;
  padding: 0;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;

  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.close-icon:hover,
.close-icon:focus-visible {
  color: #ff3b30;
  outline: none;
}

/* City grid */
.cities_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 16px;
  margin-top: 16px;
  transition: all 0.3s ease;
}

/* City items */
.city-item {
  padding: 8px 18px;
  background: #fafafa;
  border: 1.5px solid transparent;
  border-radius: 50px;
  cursor: pointer;
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
  color: #3c3c44;
  user-select: none;
  transition:
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease;

  -webkit-tap-highlight-color: transparent;
}

.city-item:hover,
.city-item:focus-visible {
  background-color: var(--text-color);
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  outline: none;
}

.city-item.selected {
  background-color: var(--text-color);
  color: white;
  border-color: var(--text-color);
  transform: translateY(-2px);
}

.city-item.missing-city {
  border-color: #ccc;
  background: #f8d7da;
  color: #721c24;
  cursor: default;
  box-shadow: none;
}

/* Not found */
.not-found-text {
  font-size: 11px;
  color: #999;
  text-align: center;
  margin-top: 4px;
}

.selected-cities-display {
  margin-top: 8px;
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.4;
  padding: 6px 12px;
  background-color: var(--panel-color);
  border-radius: 50px;
  max-width: 100%;
  overflow-wrap: break-word;
  user-select: none;
}

.clear-selected-cities-btn {
  background: transparent;
  border: none; 
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  transition: color 0.2s ease, background-color 0.2s ease;
  user-select: none;

  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.clear-selected-cities-btn i {
  font-size: 18px;
  color: var(--text-color);
  pointer-events: none;
}

.clear-selected-cities-btn:hover,
.clear-selected-cities-btn:focus {
  color: #ff385c;
  outline: none;
  background-color: rgba(255, 56, 92, 0.1);
}

/* Clear button */
.clear-btn {
  background: var(--search-bar);
  color: var(--text-color);
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
  cursor: pointer;
  margin-top: 16px;
  transition: background-color 0.2s ease;

  -webkit-tap-highlight-color: transparent;
  outline: none;
}

.clear-btn:hover,
.clear-btn:focus-visible {
  background: #ddd;
  outline: none;
}

/* Mobile */
@media (max-width: 480px) {
  .cities_panel {
    padding: 0 24px 0 24px;
    padding-top: 0;
    padding-right: 20px;
    min-height: 460px;
  }

  .cities_search_wrapper input {
    font-size: 14px;
    padding-left: 40px;
    padding-right: 12px;
  }

  .city-item {
    font-size: 14px;
    padding: 12px 14px;
  }
}







.post_ads-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 24px 20px 60px;
  background: var(--search-bar);
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  position: relative;
}

.main-heading h2 {
  text-align: center;
  font-size: 24px;
}

/* MAIN BUTTONS */
.post_ads-options-container {
  display: flex;
  flex-direction: column;
}

.post_ads-options {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  margin: 1rem 0;
  justify-content: flex-start; /* left align */
}

.post_ads-option {
  text-align: center;
  cursor: pointer;
  padding-bottom: 4px;
  border-radius: 50px;
  transition: background-color 0.3s ease;
  position: relative;
}

.post_ads-option.active .post_ads-icon {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post_ads-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #e4e6eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #050505;
  margin: 0 auto;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.post_ads-option:hover .post_ads-icon {
  background-color: #d8dadf;
  transform: scale(1.05);
}

.post_ads-label {
  margin-top: 8px;
  font-size: 13px;
  color: #050505;
  font-weight: 500;
}

/* Dot under main buttons only */
.post_ads-selected-dot {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background-color: var(--primary);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.post_ads-option.active .post_ads-selected-dot {
  opacity: 1;
}

/* SUB-CATEGORY BUTTONS */
.post_ads-sub-options {
  display: none;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1rem 0;
  justify-content: flex-start; /* left align */
}

.post_ads-sub-option {
  display: flex;
  align-items: center;
  gap: 12px;
  background-color: #f1f1f1;
  padding: 8px 16px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  color: #000;
  min-width: 140px;
}

.post_ads-sub-option.active {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: #000;
}

.post_ads-sub-option img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}

.post_ads-sub-option span {
  font-size: 14px;
  font-weight: 500;
  color: inherit;
}

/* Remove dots on sub-options */
.post_ads-sub-option .post_ads-selected-dot {
  display: none;
}

/* POST SUBMIT BUTTON */
.post-btn {
  display: block;
  background-color: var(--text-color);
  color: var(--bg-header);
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
  padding: 12px 26px;
  border-radius: 26px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
  transition: background 0.3s, box-shadow 0.3s;
  margin-top: 24px;
}

.post-btn:hover:not(:disabled) {
  background-color: var(--primary);
  color: var(--bg-header);
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.post-btn:disabled {
  background-color: #cccccc;  /* Light gray */
  color: #666666;             /* Dark gray text */
  cursor: not-allowed;
  opacity: 0.6;
}










/*************POST ADS DETAILS**************/
.post_ads_details_container {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-header);
  padding: 32px;
  border-radius: 16px;
  box-sizing: border-box;
}


.post_ads_details_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 2rem 0;
  padding: 0px 0px 2rem; 
  border-bottom: 2px solid var(--hr-color);
}

.post_ads_details_grid-user-det {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--search-bar);
  gap: 20px;
  margin: 2rem 0;
  padding: 20px 20px 2rem; 
  border-radius: 20px;
}

.post_ads_details_group-user-det {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.post_ads_details_group-user-det.full-width {
  grid-column: 1 / -1;
  margin-top: 20px;
}

.post_ads_details_group-user-det label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 6px;
}


.post_ads_details_group {
  display: flex;
  flex-direction: column;
  width: 100%;
  box-sizing: border-box;
}

.post_ads_details_group.full-width {
  grid-column: 1 / -1;
  margin-top: 20px;
}

.post_ads_details_group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-color);
  margin-bottom: 6px;
}
.post_ads_details_group-user-det input[type="text"],
.post_ads_details_group-user-det input[type="number"],
.post_ads_details_group-user-det input[type="tel"]
{
  width: 100%;
  font-size: 14px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background-color: var(--bg-header);
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.post_ads_details_group-user-det input:focus,
.post_ads_details_group-user-det textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.25);
  outline: none;
}









.post_ads_details_group textarea {
  width: 100%;
  font-size: 16px;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  background-color: var(--search-bar);
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;

  height: auto;
  max-height: 200px;
  resize: vertical;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  line-height: 1.5;
  font-family: inherit;
  outline-offset: 4px;
  touch-action: manipulation;
}

.post_ads_details_group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.3);
  outline: none;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .post_ads_details_group textarea {
    font-size: 18px;
    padding: 16px 18px;
    max-height: 280px;
    border-radius: 14px;
  }
}

.post_ads_details_group input[type="text"],
.post_ads_details_group input[type="number"]
{
  width: 100%;
  font-size: 14px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background-color: var(--search-bar);
  color: var(--text);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
}

.post_ads_details_group input:focus,
.post_ads_details_group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 6px rgba(37, 99, 235, 0.25);
  outline: none;
}

.post_ads_details_group textarea {
  resize: vertical;
  min-height: 100px;
}
.post_ads_details_image_grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.post_ads_details_image_box {
  width: 100px;
  height: 100px;
  background-color: #f9f9f9;
  border: 2px dashed #ccc;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.post_ads_details_image_box input[type="file"] {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

.post_ads_details_image_icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.post_ads_details_image_preview {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: none;
  pointer-events: none;
}

/* Disabled state styling */
.post_ads_details_image_box.disabled {
  background-color: #f0f0f0;
  cursor: not-allowed;
  opacity: 0.6;
  pointer-events: none; /* Prevent interaction */
}

.post_ads_details_image_box.disabled .post_ads_details_image_icon {
  filter: grayscale(100%);
  opacity: 0.4;
}

.post_ads_details_image_box.disabled .post_ads_details_image_preview {
  opacity: 0.4;
  pointer-events: none;
}

  

.post_ads_details_submit_btn {
  display: inline-block;
  background-color: var(--text-color);
  color: var(--bg-header);
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
  padding: 12px 26px;
  border-radius: 26px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
  transition: background 0.3s, box-shadow 0.3s;
  margin: 24px 0 0 0; /* Changed margin to top:24px, right:0, bottom:0, left:0 */
  display: block;
}

.post_ads_details_submit_btn:hover {
  background-color: var(--primary);
}


.post_ads_details_submit_btn:disabled {
  background-color: #cccccc !important;
  color: #666666 !important;
  cursor: not-allowed !important;
  opacity: 0.7 !important;
  pointer-events: none !important;
  box-shadow: none !important;
  transition: none !important;
}










/* Select dropdown styling */
.post_ads_select {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background-color: var(--search-bar);
  color: var(--text);
  font-size: 14px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20width%3D'10'%20height%3D'6'%20viewBox%3D'0%200%2010%206'%20xmlns%3D'http://www.w3.org/2000/svg'%3E%3Cpath%20d%3D'M0%200l5%206%205-6z'%20fill%3D'%23666'%20/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px 6px;
  cursor: pointer;  
}

.post_ads_select:focus {
  border-color: #007BFF;
  outline: none;
  box-shadow: 0 0 6px rgba(0, 123, 255, 0.5);
}

/* Checkbox group container */
.post_ads_checkbox_group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

/* Checkbox styling */
.post_ads_checkbox {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  cursor: pointer;
  vertical-align: middle;
  accent-color: #007BFF; /* modern checkbox color */
}

/* Checkbox label styling */
.post_ads_checkbox_group label {
  font-size: 0.9rem;
  color: #555;
  user-select: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}

















@media (max-width: 768px) {
  .post_ads_details_container {
    max-width: 720px;
    margin: 0 auto;
    background: var(--bg-header);
    padding: 5px;
    border-radius: 16px;
    box-sizing: border-box;
  }
  .post_ads_details_grid, .post_ads_details_grid-user-det {
    grid-template-columns: 1fr;
  }
  

  .post_ads_details_group.full-width {
    grid-column: auto;
  }

  .post_ads_details_image_box {
    width: 80px;
    height: 80px;
  }

  .post_ads_details_image_icon {
    width: 24px;
    height: 24px;
  }

  .post_ads_details_submit_btn {
    width: 100%;
    font-size: 14px;
    padding: 12px;
    border-radius: 22px;
  }
}











.success_wrapper {
  position: fixed;
  inset: 0; /* shorthand for top: 0; right: 0; bottom: 0; left: 0; */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9; /* optional background */
  z-index: 9999;
  padding: 20px; /* prevent content touching edges on small screens */
  box-sizing: border-box;
}

.add_post_success_container {
  background-color: #fff;
  padding: 40px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  text-align: center;
  max-width: 420px;
  width: 100%;
  animation: add_post_success_fadeIn 0.4s ease-in-out;
  box-sizing: border-box;
  overflow: hidden; /* prevent child overflow */
}

.add_post_success_container img {
  width: 150px;
  max-width: 100%;
  margin-bottom: 20px;
  animation: add_post_success_bounce 0.8s ease;
}

.add_post_success_heading {
  font-size: 30px;
  color: var(--success);
  margin-bottom: 10px;
  line-height: 1.3;
}

.add_post_success_btn {
  display: inline-block;
  background-color: var(--text-color);
  color: #fff;
  padding: 10px 28px;
  border-radius: 50px;
  font-size: var(--button-font-size);
  text-decoration: none;
  font-weight: var(--button-font-weight);
  transition: all 0.25s ease;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
  cursor: pointer;
  outline: none;
  border: none;
  /* removed white-space: nowrap to allow wrapping */
}

.add_post_success_btn:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
  outline: none;
  border: none;
}



.add_post_button_group {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.add_post_button_group .add_post_success_btn {
  flex: 1;
  text-align: center;
  white-space: nowrap;
  padding: 10px 0;
}

.add_post_button_group .add_post_success_btn.back {
  background-color: var(--search-bar);
  color: var(--text-color);
}

.add_post_button_group .add_post_success_btn.back:hover {
  background-color: var(--primary);
  color: var(--bg-header);
  transform: translateY(-2px);
  outline: none;
  border: none;
}



/* Fade in animation */
@keyframes add_post_success_fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bounce animation */
@keyframes add_post_success_bounce {
  0% { transform: scale(0.95); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Mobile Responsiveness */
@media (max-width: 480px) {
  .add_post_success_container {
    padding: 25px 15px;
    margin: 0 10px;
  }

  


  .add_post_success_btn {
    width: 100%;
  }
}








/****************** REMOVE CLICK/TAP HIGHLIGHT ON MOBILE ******************/

/* Remove tap highlight color globally (iOS Safari, Chrome Android) */
* {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

/* Remove focus outline and click background on interactive elements */
.single_ad_page-thumb-img,
.single_ad_page-btn,
.go-to-shop-link {
  outline: none;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

.single_ad_page-thumb-img:active,
.single_ad_page-btn:active,
.go-to-shop-link:active {
  background-color: transparent;
  color: inherit;
}

/****************** SINGLE PRODUCT **********************/

.single_ad_page-container {
  display: flex;
  gap: 24px;
  max-width: 1000px;
  margin: auto;
  flex-wrap: nowrap;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.single_ad_page-left {
  flex: 1 1 640px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

/* Main Image Wrapper */
.single_ad_page-main-img-wrapper {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-radius: 8px;
}

.single_ad_page-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ccc;
  transition: opacity 0.3s ease;
}

.single_ad_page-progress {
  position: absolute;
  bottom: 20px;
  right: 12px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: var(--button-font-size);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Thumbnails */
.single_ad_page-thumbs {
  margin-top: 16px;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  scrollbar-color: #aaa transparent;
}

.single_ad_page-thumbs::-webkit-scrollbar {
  height: 6px;
}

.single_ad_page-thumbs::-webkit-scrollbar-thumb {
  background: #aaa;
  border-radius: 3px;
}

.single_ad_page-thumb-img {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  border: 1px solid #ccc;
  object-fit: cover;
  cursor: pointer;
  opacity: 0.6;
  transition: 0.3s;
  flex-shrink: 0;
}

.single_ad_page-thumb-img.active,
.single_ad_page-thumb-img:hover {
  opacity: 1;
  border-color: #555;
}

/* Product Name Below Images */
.single_ad_page-product-name {
  margin-top: 20px;
  font-size: 24px;
  font-weight: 700;
  color: #222;
  text-align: left;
  user-select: text;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.single_ad_page-posted-date {
  font-size: 14px;
  color: #777;
  margin-top: 4px;
  font-weight: 500;
}

.single_ad_page-location {
  margin-top: 4px;
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* HR Divider */
.single_ad_page-divider {
  border: none;
  border-top: 1.5px solid #e1e4e8;
  margin: 16px 0;
}

/* Category, Model, Condition - Info Blocks */
.single_ad_page-info {
  color: var(--text-color);
  font-weight: var(--button-font-weight);
  font-size: var(--button-font-size);
  word-break: break-word;
  overflow-wrap: anywhere;
  display: flex;
  gap: 15px;
  align-items: center;
}

.single-ad-pagedetails-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.single_ad_page-info strong {
  min-width: 90px;
  font-weight: var(--button-font-weight);
  color: var(--paragraph-color);
}

/* Description */
.single_ad_page-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-color);
  word-break: break-word;
  overflow-wrap: anywhere;
}

.desc-toggle {
  color: var(--paragraph-color);
  cursor: pointer;
  text-decoration: underline;
  font-weight: 600;
  margin-left: 6px;
  user-select: none;
  font-size: 0.95rem;
}

/* Right Panel */
.single_ad_page-right {
  flex: 0 0 300px;
  min-width: 300px;
  max-width: 300px;
  border-radius: 12px;
  padding: 20px 24px;
  position: sticky;
  top: 20px;
  height: fit-content;
  background: var(--panel-color);
  box-shadow: 0 6px 12px rgb(0 0 0 / 0.08);
  font-size: 14px;
  color: #333;
  display: flex;
  flex-direction: column;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Profile Section */
.single_ad_page-profile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.single_ad_page-profile > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.single_ad_page-profile-img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #4a90e2;
  box-shadow: 0 0 6px rgba(74, 144, 226, 0.3);
  flex-shrink: 0;
}

.single_ad_page-username {
  font-weight: 700;
  font-size: 18px;
  color: #1a1a1a;
  user-select: text;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.single_ad_page-verified {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-color);
  user-select: none;
}

.verified-badge {
  width: 16px;
  height: 16px;
}

/* Right Panel Info Items */
.single_ad_page-info i {
  font-size: 18px;
  color: var(--paragraph-color);
  min-width: 20px;
  text-align: center;
}

/* Actions (Buttons) */
.single_ad_page-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.single_ad_page-btn {
  flex: 1 1 calc(33% - 8px);
  min-width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  background: var(--bg-header);
  color: var(--text-color);
  border: none;
  padding: 10px 14px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(224, 224, 224, 0.4);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.single_ad_page-btn i {
  font-size: 22px;
  line-height: 1;
}

/* Views and Shop Link Section */
.single_ad_page-door-section {
  margin: 0px 0 16px 0;
}

.door-views {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #666;
  user-select: none;
  white-space: nowrap;
}

.door-views i {
  font-size: 18px;
  color: #888;
}

/* Go to Shop Link */
.go-to-shop-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  color: var(--text-color, #2a9d8f);
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  user-select: none;
}

.go-to-shop-link:hover {
  color: var(--primary-color, #1a73e8);
}

.getmo-alert-charm {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f4f4f4;
  border-radius: 20 px;
  padding: 12px 16px;
  color: #333;
  font-size: 14px;
  line-height: 1.5;
  margin-top: 20px;
}

.getmo-alert-charm strong {
  color: #222;
}

.getmo-alert-charm em {
  font-style: normal;
  font-weight: 600;
  color: #555;
}

.getmo-alert-charm-link {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  color: #0077cc;
  text-decoration: none;
  font-size: 14px;
}

.getmo-alert-charm-link:hover {
  text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .single_ad_page-container {
    flex-wrap: wrap;
    flex-direction: column;
  }

  .single_ad_page-left,
  .single_ad_page-right {
    flex: 1 1 100%;
    width: 100%;
    min-width: auto;
    max-width: 100%;
    position: relative;
    top: auto;
  }

  .single_ad_page-main-img-wrapper {
    height: 350px;
  }

  .single_ad_page-main-img {
    height: 100%;
  }

  .single_ad_page-thumbs {
    display: none;
  }

  .single_ad_page-product-name {
    font-size: 20px;
  }
}





/************* REMOVE TAP/CLICK HIGHLIGHT ON MOBILE BROWSERS *************/

/* Remove tap highlight color globally (iOS Safari, Chrome Android) */
* {
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

/* Remove focus outline and tap highlight on interactive elements */
.go_to_shop_profile_banner__chat_btn,
.go_to_shop_profile_banner__profile_img {
  outline: none;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

.go_to_shop_profile_banner__chat_btn:active {
  background-color: transparent;
  color: inherit;
}

/* iOS Safari tap hover prevention */
.go_to_shop_profile_banner__chat_btn {
  -webkit-touch-callout: none; /* Disable callout on long press */
  -webkit-user-select: none;   /* Disable text selection */
}

/*************GO TO SHOP**************/
.go_to_shop_profile_banner {
  position: relative; /* for ::before */
  width: 100%;
  color: #fff;
  padding: 40px 0 50px;
  border-radius: 20px;
  overflow: hidden; /* clip blurred background */
  margin-top: 1rem;
}

/* Blurred background gradient with overlay */
.go_to_shop_profile_banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--search-bar);
  background-size: 400% 400%; /* For smoother transitions if animated */
  z-index: 0;
  transition: filter 0.3s ease;
}

.go_to_shop_profile_banner__container {
  position: relative; /* above ::before */
  z-index: 1;
  max-width: 400px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  word-wrap: break-word;
}

.go_to_shop_profile_banner__profile_img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 0 12px rgba(255 255 255 / 0.3);
  margin: 0 auto 20px;
  display: block;
  background: #eee;
}

.go_to_shop_profile_banner__username {
  font-weight: 600;
  font-size: 24px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  overflow-wrap: anywhere;
  color: var(--text-color);
}

.go_to_shop_profile_banner__details {
  font-weight: 400;
  font-size: 16px;
  opacity: 0.85;
  margin: 0 auto;
  line-height: 1.4;
  overflow-wrap: anywhere;
  color: var(--text-color);
}

.chat-phone-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.go_to_shop_profile_banner__chat_btn {
  margin-top: 24px;
  padding: 6px 20px;
  font-size: var(--button-font-size);
  font-weight: var(--button-font-weight);
  color: var(--text-color);
  background-color: #fff;
  border: 1px solid #f3f3f3;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-block;
  user-select: none;
}

/* Hover only on desktop devices with a mouse */
@media (hover: hover) and (pointer: fine) {
  .go_to_shop_profile_banner__chat_btn:hover {
    background-color: #0a74da;
    color: #fff;
  }
}

@media (max-width: 420px) {
  .go_to_shop_profile_banner__container {
    max-width: 90vw;
    padding: 0 15px;
  }
  .go_to_shop_profile_banner__profile_img {
    width: 90px;
    height: 90px;
    border-width: 3px;
    margin-bottom: 16px;
  }
  .go_to_shop_profile_banner__username {
    font-size: 20px;
  }
  .go_to_shop_profile_banner__details {
    font-size: 14px;
  }
}

@media (max-width: 320px) {
  .go_to_shop_profile_banner__container {
    padding: 0 10px;
  }
  .go_to_shop_profile_banner__profile_img {
    width: 70px;
    height: 70px;
    border-width: 2px;
    margin-bottom: 12px;
  }
  .go_to_shop_profile_banner__username {
    font-size: 18px;
  }
  .go_to_shop_profile_banner__details {
    font-size: 13px;
  }
}

/* MOBILE RESPONSIVE */
@media (max-width: 480px) {
  .post_ads-container {
    margin: 0 auto;
    padding: 0 0 0;
    background-color: transparent;
    box-shadow: none;
  }

  /* Main buttons wrap and left align on mobile */
  .post_ads-options {
    margin: 1rem 0;
    justify-content: flex-start;
  }

  /* Subcategory buttons side by side, wrap, and smaller */
  .post_ads-sub-options {
    justify-content: flex-start;
  }

  .post_ads-sub-option {
    min-width: 110px;
    padding: 8px 12px;
    font-size: 13px;
  }

  .post_ads-sub-option img {
    width: 24px;
    height: 24px;
  }

  .post_ads-label {
    font-size: 12px;
  }
}

