/* Floating Widget */
.ps-angel-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.18);
  border: 1px solid #e8d4cd;
  cursor: pointer;
  z-index: 999999;
  transition: all 0.25s ease;
}

.ps-angel-widget:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.ps-angel-avatar {
  position: relative;
}

.ps-angel-avatar img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #d6b08c;
}

.ps-status-dot {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 12px;
  height: 12px;
  background: #4caf50;
  border-radius: 50%;
  border: 2px solid white;
}

/* Profile Card */
.ps-angel-card {
  position: fixed;
  bottom: -400px;
  right: 20px;
  width: 320px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  border: 1px solid #e8d4cd;
  overflow: hidden;
  transition: bottom 0.35s ease;
  z-index: 999999;
}

.ps-angel-card.open {
  bottom: 25px;
}

.ps-card-header {
  position: relative;
}

.ps-card-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.ps-status-dot-large {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 16px;
  height: 16px;
  background: #4caf50;
  border-radius: 50%;
  border: 3px solid white;
}

.ps-card-body {
  padding: 18px;
  font-family: "Playfair Display", serif;
  color: #3a2e2a;
}

.ps-card-name {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
}

.ps-card-bio {
  margin-top: 8px;
  font-size: 15px;
  color: #6a524a;
  line-height: 1.4;
}

.ps-card-btn {
  margin-top: 18px;
  width: 100%;
  padding: 14px;
  background: linear-gradient(90deg, #b88a6f, #d6b08c);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.ps-card-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

@media (max-width: 600px) {
  /* Try hiding ALL name overlays in the header */
  .ps-card-name-overlay {
    display: none !important;
  }

  /* Make sure the main name in the body is spaced nicely */
  .ps-card-name {
    font-size: 18px;
    margin-top: 10px;
  }

  /* Give the status dot some space just in case */
  .ps-status-dot-large {
    bottom: 10px;
    right: 10px;
  }
}
/* === Global === */
body {
  background: radial-gradient(circle at top, #15151a, #050509);
  color: #f5f5f7;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Links */
a {
  color: #ff4d8e;
  text-decoration: none;
}
a:hover {
  color: #ff6aa3;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: "Playfair Display", serif;
  color: #ffffff;
  letter-spacing: 0.03em;
}

/* Main hero */
.mainhead {
  background: radial-gradient(circle at top, #2a1b2f, #090910);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.mainhead h1 {
  font-size: 2.6rem;
  margin-bottom: 10px;
}
.mainhead p {
  font-size: 1.2rem;
  opacity: 0.85;
}
.mainhead .btn {
  display: inline-block;
  margin: 10px 8px 0;
  padding: 10px 20px;
  border-radius: 999px;
  background: #ff4d8e;
  color: #fff !important;
  border: none;
  font-weight: 500;
  transition: background 0.2s ease, transform 0.15s ease;
}
.mainhead .btn:hover {
  background: #e63a7a;
  transform: translateY(-1px);
}

/* Feature strip */
.userfeat {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.userfeat div {
  color: #e0e0e5;
}
.userfeat img {
  filter: grayscale(0.2) brightness(1.1);
}

/* Generic card container */
.midContainer,
.simple,
.simpleBest,
.shopbyCollection,
.rosted,
.hollwen {
  background: transparent;
  color: #f5f5f7;
}

/* Section titles */
.midContainer h2,
.simple h2,
.simpleBest h2,
.shopbyCollection h2,
.rosted h2 {
  text-transform: uppercase;
  font-size: 1.6rem;
  margin-bottom: 25px;
}

/* Popular collections / product tiles */
.most-popular .col-sm-6,
.shop-by-category .col-md-4,
.shopbyCollection .col-6,
.shopbyCollection .col-md-3,
.shopbyCollection .col-lg-2 {
  margin-bottom: 24px;
}

.most-popular a,
.shop-by-category a {
  display: block;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.most-popular a:hover,
.shop-by-category a:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 77, 142, 0.7);
}
.most-popular img,
.shop-by-category img,
.shopbyCollection img {
  border-radius: 12px;
}

/* Simple boxes */
.simpleBox {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* Best sellers section */
.simpleBest {
  padding-top: 40px;
  padding-bottom: 40px;
}
.simpleBest .productListing,
.simpleBest .product-card {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

/* SALE banner */
.hollwen {
  background: linear-gradient(135deg, #ff4d8e, #ff8a5c);
  color: #fff;
  padding: 40px 0;
  text-align: center;
}
.hollwen h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}
.hollwen p {
  opacity: 0.9;
}
.hollwen .pnkBtn {
  background: #111;
  color: #fff !important;
  border-radius: 999px;
  padding: 10px 24px;
}

/* SHOP BY COLLECTION tiles */
.shopbyCollection .col-6 div:last-child {
  color: #f0f0f5;
}

/* Roasted section */
.midContainer.rosted {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.rosted-Box {
  background: rgba(0, 0, 0, 0.55);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.7);
}
.rosted-Box img {
  border-radius: 14px;
}

/* Buttons (global) */
.custom-btn,
.pnkBtn,
.blcBtn,
.btn {
  font-family: "Inter", sans-serif;
}

/* Reviews button */
.blcBtn {
  background: #111;
  color: #fff !important;
  border-radius: 999px;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.blcBtn:hover {
  background: #ff4d8e;
  border-color: #ff4d8e;
}

/* PleasureAngel widget alignment with dark theme */
.ps-angel-widget {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
}
.ps-angel-card {
  background: rgba(10, 10, 15, 0.96);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.85);
}
.ps-card-btn {
  background: #ff4d8e;
  color: #fff;
  border-radius: 999px;
  padding: 10px 22px;
  border: none;
}
.ps-card-btn:hover {
  background: #e63a7a;
}

/* === GLOBAL TEXT COLOR FIXES FOR DARK THEME === */

/* Default text */
body,
p,
span,
li,
td,
th,
div {
  color: #f2f2f5 !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  color: #ffffff !important;
}

/* Muted text */
.text-muted,
.small,
.note,
.description {
  color: #c8c8d0 !important;
}

/* Links */
a {
  color: #ff4d8e !important;
}
a:hover {
  color: #ff6aa3 !important;
}

/* Product names */
.productname,
.productListing-heading,
.product-title {
  color: #ffffff !important;
}

/* Category descriptions */
.productListing-data,
.category-description,
.simpleBox p {
  color: #e6e6eb !important;
}

/* Buttons (text inside) */
button,
.btn,
.custom-btn,
.pnkBtn,
.blcBtn {
  color: #ffffff !important;
}

/* === TOP MENU FIX FOR DARK THEME === */

#header,
.header,
.navbar,
.top-nav,
.navigation,
.headerNavigation {
  background: rgba(0, 0, 0, 0.6) !important;
  backdrop-filter: blur(10px);
}

#header a,
.header a,
.navbar a,
.top-nav a,
.navigation a,
.headerNavigation a {
  color: #ffffff !important;
  font-weight: 500;
}

#header a:hover,
.header a:hover,
.navbar a:hover,
.top-nav a:hover,
.navigation a:hover,
.headerNavigation a:hover {
  color: #ff4d8e !important;
}
/* === FIX CATEGORY ICON STRIP TEXT VISIBILITY === */

.tcategory .mainCategory .cateWidth a div:last-child {
  color: #1a1a1a !important;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
  margin-top: 8px;
  transition: color 0.2s ease;
}

.tcategory .mainCategory .cateWidth a:hover div:last-child {
  color: #ff4d8e !important;
}

/* Optional: add spacing and hover effect to icons */
.tcategory .mainCategory .cateWidth img {
  max-width: 100%;
  border-radius: 12px;
  transition: transform 0.2s ease;
}

.tcategory .mainCategory .cateWidth a:hover img {
  transform: scale(1.05);
}

.tcategory .mainCategory .cateWidth {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 16px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}


/* === FEATURE BAR (userfeat) — PREMIUM DARK THEME UPGRADE === */

.userfeat {
  padding: 30px 0 !important; /* reduce huge padding */
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 40px;
}

.userfeat .col-sm-6,
.userfeat .col-md-3 {
  margin-bottom: 25px !important; /* reduce spacing */
}

.userfeat img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  margin-bottom: 12px;
  filter: brightness(1.2);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.userfeat div div:last-child {
  font-size: 1rem;
  font-weight: 600;
  color: #f2f2f5;
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

/* Hover effect */
.userfeat .col-sm-6:hover img,
.userfeat .col-md-3:hover img {
  transform: scale(1.12);
  filter: brightness(1.4);
}

.userfeat .col-sm-6:hover div:last-child,
.userfeat .col-md-3:hover div:last-child {
  color: #ff4d8e;
}

/* Mobile improvements */
@media (max-width: 768px) {
  .userfeat {
    padding: 20px 0 !important;
    border-radius: 14px;
  }

  .userfeat img {
    width: 48px;
    height: 48px;
  }

  .userfeat div div:last-child {
    font-size: 0.95rem;
  }
}

/* === PREMIUM FEATURE BAR UPGRADE === */

.userfeat {
    padding: 28px 0 !important;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 40px;
}

.feature-item {
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-4px);
    opacity: 1;
}

.feature-icon svg {
    width: 48px;
    height: 48px;
    stroke: #ff4d8e;
    transition: transform 0.2s ease, stroke 0.2s ease;
}

.feature-item:hover .feature-icon svg {
    transform: scale(1.12);
    stroke: #ff6aa3;
}

.feature-text {
    margin-top: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #f2f2f5;
    letter-spacing: 0.3px;
}

/* Mobile */
@media (max-width: 768px) {
    .userfeat {
        padding: 20px 0 !important;
        border-radius: 14px;
    }

    .feature-icon svg {
        width: 42px;
        height: 42px;
    }

    .feature-text {
        font-size: 0.95rem;
    }
}

/* === HEADER STYLING === */

.site-header {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar-nav .nav-link {
  color: #f2f2f5 !important;
  font-weight: 600;
  font-size: 0.8rem;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
  color: #ff4d8e !important;
}

.header-btn {
  color: #f2f2f5;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease, color 0.2s ease;
}

.header-btn:hover {
  background: #ff4d8e;
  color: #fff;
}


  .navbar-nav .nav-link {
    padding: 10px 0;
    text-align: center;
  }

/* HEADER LAYOUT */
.ps-header {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* TOP ROW */
.header-top img {
  height: 40px;
}

.header-actions .header-icon {
  height: 28px;
  cursor: pointer;
  filter: brightness(1.2);
  transition: 0.2s;
}

.header-actions .header-icon:hover {
  filter: brightness(1.6);
}

/* SEARCH BAR */
.header-search .tsearch {
  position: relative;
}

.header-search input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  padding-left: 40px;
}

.header-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #ccc;
}

/* NAV MENU */
.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 600;
  padding: 10px 16px;
}

.navbar-nav .nav-link:hover {
  color: #ff4d8e !important;
}

/* MOBILE */
@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    gap: 12px;
  }

  .header-search {
    width: 100%;
    margin: 0;
  }
}

/* === AMAZON-STYLE HEADER === */

/* Promo bar */
.free-discount {
  background: #ff9900;
  color: #fff;
  font-size: 0.85rem;
  padding: 6px 0;
  text-align: center;
  font-weight: 600;
}

/* Main header container */
.ps-header {
  background: #000000;
  border-bottom: 1px solid #ddd;
  padding: 0px 0;
  position: relative; 
  z-index: 9999;
}

/* Top row: logo + search + icons */
.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2px;
  padding: 2px 0;
}

/* Logo */
.header-top .navbar-brand img {
  height: 100px;
}

/* Search bar */
.header-search {
  flex-grow: 1;
  max-width: 600px;
  position: relative;
}

.header-search .tsearch {
  position: relative;
}

.header-search input {
  width: 100%;
  height: 36px;
  padding: 6px 12px;
  font-size: 0.85rem;
  border: 1px solid #ccc;
  border-radius: 0px;
  color: #333;
  background: #000000; 
}

.header-search tsearch {
  width: 100%;
  height: 36px;
  padding: 6px 12px;
  font-size: 0.85rem;
  border: 1px solid #ccc;
  border-radius: 0px;
  color: #333;
  background: #000000; 
}

.header-search input::placeholder {
  color: #fff;
}

.header-search i {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #666;
  font-size: 1rem;
}

/* Account + Cart icons */
.header-actions .header-icon {
  height: 24px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.header-actions .header-icon:hover {
  transform: scale(1.1);
}

/* Navigation bar */
.navbar {
  background: #232f3e;
  padding: 4px 0;
  position: relative; 
  z-index: 9999;
  
}

.navbar-nav {
  gap: 6px;
}

.navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 12px;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
  color: #ff9900 !important;
}

/* Dropdown menu */
.dropdown-menu {
  font-size: 0.85rem;
  background: #fff;
  border: 1px solid #ddd;
  padding: 6px 0;
  position: relative; 
  z-index: 9999;
}

.dropdown-item {
  padding: 6px 16px;
  color: #333;
}

.dropdown-item:hover {
  background: #f3f3f3;
  color: #111;
}

/* Mobile */
@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;

}

@media (max-width: 768px) {
  .navbar,
  .navbar-collapse,
  .header-top {
    overflow: visible !important;
    z-index: 9999;
    position: relative;
  }
}


  .header-icon {
      position: relative; 
      z-index: 10000;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    
  }
    

  .header-search {
    width: 100%;
  }

  .navbar-nav .nav-link {
    text-align: center;
    padding: 10px 0;
  }
}

/* === PLEASURE ANGEL WIDGET PULSE === */

/* Status dot pulse */
.ps-status-dot {
  animation: angelDotPulse 1.6s infinite ease-in-out;
  transform-origin: center;
}

@keyframes angelDotPulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

/* Avatar soft glow pulse */
.ps-angel-avatar img {
  animation: angelGlow 2.4s infinite ease-in-out;
}

@keyframes angelGlow {
  0% { filter: drop-shadow(0 0 0px rgba(255,77,142,0.0)); }
  50% { filter: drop-shadow(0 0 8px rgba(255,77,142,0.4)); }
  100% { filter: drop-shadow(0 0 0px rgba(255,77,142,0.0)); }
}

/* === PROMO BAR FLASH/PULSE === */

.free-discount {
  animation: promoPulse 3s infinite ease-in-out;
}

@keyframes promoPulse {
  0% { background-color: #ff4d8e; }
  50% { background-color: #ff6aa3; }
  100% { background-color: #ff4d8e; }
}

.pa-story-section {
  margin: 20px auto;
  max-width: 900px;
  padding: 0 20px;
}

.pa-story-heading {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  color: #f2f2f5;
  margin-bottom: 10px;
}

.pa-story-tagline {
  text-align: center;
  font-size: 1.1rem;
  color: #ff6aa3;
  margin-bottom: 30px;
}

.pa-story-container {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.pa-story-short {
  color: #dcdce0;
  font-size: 1.05rem;
  line-height: 1.6;
}

.pa-story-full {
  display: none;
  margin-top: 20px;
  color: #dcdce0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.pa-story-toggle {
  margin-top: 20px;
  background: #ff4d8e;
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.pa-story-toggle:hover {
  background: #ff6aa3;
}
/* PRODUCT PAGE WRAPPER */
.pa-product-page {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  color: #e6e6ea;
}

/* GRID */
.pa-product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 768px) {
  .pa-product-grid {
    grid-template-columns: 1fr;
  }
}

/* LEFT SIDE (IMAGES) */
.pa-product-images {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(12px);
}

/* RIGHT SIDE (DETAILS) */
.pa-product-details {
  background: rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.03) !important; 
  color: #e6e6ea !important;
  border-radius: 16px;
  padding: 30px;
  backdrop-filter: blur(12px);
}

.pa-product-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.pa-product-meta {
  margin-bottom: 25px;
  font-size: 1.05rem;
  line-height: 1.6;
  background: rgba(255,255,255,0.04);
}

/* FORM BOX */
.pa-product-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 12px;
  margin-top: 20px;
}

/* DESCRIPTION */
.pa-product-description {
  margin-top: 50px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  padding: 30px;
  line-height: 1.7;
  font-size: 1.05rem;
  backdrop-filter: blur(10px);
}

.my-3 * {
  background: transparent !important;
  color: #e6e6ea !important;
  font-family: 'Poppins', sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  border-radius: 12px; 

  
}

.my-3 ul {

  background: transparent !important;
}

.my-3 li {
  list-style: disc !important;
}


/* Make sure header-top stays ABOVE the mobile dropdown */
.header-top {
  position: relative;
  z-index: 9999;
}

/* Make sure the dropdown stays BELOW the header-top */
.navbar-collapse {
  position: relative;
  z-index: 1000;
}

/* Prevent clipping */
.navbar,
.ps-header,
.header-top {
  overflow: visible !important;
}


.navbar {
  position: relative;
  z-index: 1;
}

.navbar-collapse.show {
  z-index: 1;
}

@media (max-width: 768px) {
  .ps-header {
    position: relative;
    z-index: 9999;
  }

  .header-top {
    position: relative;
    z-index: 9999;
  }

  .navbar {
    position: relative;
    z-index: 1;
  }

  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: #111; /* or your dark color */
  }
}

.ps-header .header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap; /* prevents wrapping */
  gap: 10px;
}

.header-search {
  flex: 1 1 auto; /* flexible, allowed to shrink */
  min-width: 80px; /* prevents collapsing too far */
}

.header-actions {
  flex: 0 0 auto; /* fixed width */
}

.navbar-toggler {
  flex: 0 0 auto; /* fixed width */
}

/* ================================
   HEADER — ALWAYS ONE LINE
   ================================ */

.ps-header .header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;        /* prevents wrapping */
  gap: 10px;
  width: 100%;
}

/* Logo stays fixed size */
.header-top .navbar-brand img {
  height: 48px;
  flex: 0 0 auto;
}

/* Search bar is the ONLY flexible element */
.header-search {
  flex: 1 1 auto;           /* grows + shrinks */
  min-width: 80px;          /* prevents collapsing too far */
  max-width: 100%;
}

.header-search input {
  width: 100%;
  min-width: 0;             /* CRITICAL: allows shrinking */
}

/* Icons stay fixed size */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;           /* never shrink */
}

.header-actions .header-icon {
  height: 28px;
  flex: 0 0 auto;
}

/* Hamburger menu stays fixed size */
.navbar-toggler {
  flex: 0 0 auto;
  padding: 6px;
}

/* ================================
   MOBILE BEHAVIOR
   ================================ */

@media (max-width: 768px) {

  /* Keep everything on one line */
  .ps-header .header-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }



 

  /* Dropdown menu appears BELOW header */
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #111;
    z-index: 1000;
  }

  /* Prevent clipping */
  .navbar,
  .ps-header,
  .header-top {
    overflow: visible !important;
  }

  /* Icons stay visible */
  .header-icon {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10000;
  }
}

.header-top .navbar-brand img {
  height: 90px !important;
  width: auto !important;      /* keeps aspect ratio */
  max-width: none !important;  /* prevents flexbox squeezing */
  flex-shrink: 0 !important;   /* prevents shrinking on mobile */
}

.mx-4 {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (max-width: 768px) {
  .navbar-brand {
    margin-right: 0 !important;
  }
}

.py-3 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

