/* =============================================
   GLAMBORROW — headerflex.css (Responsive + Modern)
   Theme: Deep navy #233e5c | Gold accents | Dark luxe
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; }

:root {
  --navy: #233e5c;
  --navy-dark: #132030;
  --navy-mid: #1a2f47;
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --cream: #f8f7f5;
  --white: #ffffff;
  --red: #e53e3e;
  --green: #38a169;
  --text-dark: #1a1a2e;
  --text-muted: #6b7280;
  --border: rgba(201,168,76,0.25);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.12);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.18);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.25);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 50px;
  --header-h: 68px;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ---- HEADER ---- */
.Headerflex {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(19, 32, 48, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  box-shadow: var(--shadow-md);
  gap: 10px;
}

.Headerflex2 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0 20px;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(19, 32, 48, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

/* ---- LOGO ---- */
.forGlambadge {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.Glambadge {
  height: 52px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

/* ---- SEARCH BAR ---- */
.searchdiv {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex: 1;
  max-width: 400px;
}

.forsearchbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  flex: 1;
}

.searchbar {
  display: flex;
  align-items: center;
  width: 100%;
  height: 36px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(201,168,76,0.4);
  background: rgba(255,255,255,0.08);
  color: var(--cream);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  padding: 0 14px;
  outline: none;
  transition: var(--transition);
}

.searchbar::placeholder {
  color: rgba(255,255,255,0.45);
  padding-left: 0;
}

.searchbar:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

input[type="text"] {
  padding-left: 14px;
}

.searchbutton {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.4);
  background: rgba(201,168,76,0.1);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
}

.searchbutton:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.searchbutton:active { opacity: 0.7; }

.magnifyingglass {
  width: 16px;
  height: 16px;
  filter: invert(1);
}

/* ---- PREMIUM / BUDGET BUTTONS ---- */

.Premium,
.budget,
.orders-button,
.Disclaimer-button {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 0 14px;
  height: 34px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(201,168,76,0.5);
  background: transparent;
  color: var(--gold-light);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.Premiumbudget:hover {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(201,168,76,0.3);
}

.Premiumbudget:active { opacity: 0.8; }

/* ---- CART + FILTER ---- */
.Div-for-filterbutton-Cart {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.cart-container {
  position: relative;
}

.cartbutton {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 14px;
  height: 36px;
  border-radius: var(--radius-pill);
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.4);
  cursor: pointer;
  transition: var(--transition);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-light);
}

.cartbutton:hover {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  box-shadow: 0 4px 12px rgba(201,168,76,0.3);
}

.cartimg {
  height: 18px;
  width: auto;
  filter: invert(1);
  opacity: 0.9;
}

.cartbutton:hover .cartimg {
  filter: invert(0.1);
}

.cart-Quantity-css {
  background: var(--red);
  color: white;
  border-radius: 50%;
  height: 18px;
  width: 18px;
  position: absolute;
  top: -8px;
  right: -6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
  border: 2px solid var(--navy-dark);
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

.cart-buy-Quantity-css {
  background: var(--green);
  color: white;
  border-radius: 50%;
  height: 15px;
  width: 15px;
  position: fixed;
  top: 17px;
  right: 140px;
}

/* ---- FILTER BUTTON ---- */
.filterbutton {
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  padding: 0 14px;
  height: 34px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: rgba(255,255,255,0.85);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.filterbutton:hover {
  background: rgba(255,255,255,0.12);
  color: white;
  border-color: rgba(255,255,255,0.5);
}

.filterbutton:active { opacity: 0.7; }

/* ---- FOOTER ---- */
.footerflex {
  flex-direction: row;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background-color: var(--navy-dark);
  height: 50px;
  border-top: 1px solid var(--border);
}

/* Modern social footer */
.footerflex3 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(135deg, #0a1520 0%, #132030 50%, #0a1520 100%);
  height: 56px;
  border-top: 1px solid var(--border);
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 1px;
  font-weight: 600;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.3);
  background: rgba(201,168,76,0.06);
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-social-link:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.18);
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201,168,76,0.2);
}

.footer-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.5px;
}

.footerflex2 {
  flex-direction: row;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(135deg, #0a1520 0%, #132030 100%);
  height: 56px;
  border-top: 1px solid var(--border);
  z-index: 999;
}

/* ---- MISC ---- */
.cartdiv {
  display: flex;
  flex-direction: row;
  align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-pill);
  height: 36px;
  cursor: pointer;
  transition: var(--transition);
}

.cartdiv:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
}

/* ---- RESPONSIVE HEADER ---- */
@media (max-width: 768px) {
  :root { --header-h: 60px; }

  .Headerflex {
    padding: 0 12px;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .Glambadge { height: 40px; }

  .searchdiv {
    max-width: none;
    flex: 1;
    min-width: 0;
  }

  .searchbar {
    height: 32px;
    font-size: 13px;
  }

  .PremiumBdgetdiv { display: none; }

  .filterbutton,
  .Premiumbudget {
    font-size: 12px;
    padding: 0 10px;
    height: 30px;
  }

  .cartbutton {
    padding: 0 10px;
    height: 32px;
    font-size: 12px;
  }

  .footerflex3 {
    padding: 0 14px;
    height: 52px;
  }

  .footer-brand {
    font-size: 11px;
  }

  .footer-social-link {
    width: 30px;
    height: 30px;
    font-size: 13px;
  }

  .footer-copy {
    display: none;
  }
}

@media (max-width: 480px) {
  :root { --header-h: 56px; }

  .Headerflex { padding: 0 10px; gap: 6px; }
  .Glambadge { height: 36px; }

  .searchbar {
    height: 30px;
    font-size: 12px;
  }

  .searchbutton {
    width: 30px;
    height: 30px;
  }

  .filterbutton { display: none; }
  
  .filterbutton.js-filterbutton {
    display: flex;
    font-size: 11px;
    padding: 0 8px;
    height: 28px;
  }

  .cartbutton { padding: 0 8px; height: 30px; }
  .cartimg { height: 16px; }

  .footer-social { gap: 4px; }
  .footer-social-link { width: 28px; height: 28px; font-size: 12px; }
}

  @media screen and (max-width: 899px) {
  .Headerflex {
    display: flex;
    flex-direction: row;       /* keep items side by side */
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;         /* smaller padding */
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 56px;              /* fixed compact height */
    background: rgba(19, 32, 48, 0.97);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    gap: 6px;                  /* tighter spacing */
  }

  .Headerflex .logo {
    flex: 0 0 auto;
  }

  .Headerflex .searchbar {
    flex: 1;                   /* search bar stretches */
    margin: 0 8px;
  }

  .Headerflex .searchbar input {
    width: 100%;
    font-size: 14px;           /* smaller text */
  }

  .Headerflex .cart,
  .Headerflex .filter {
    flex: 0 0 auto;
  }
}

/* Footer Styles - paste into your main stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&family=Montserrat:wght@600&display=swap');

.glamborrow-footer {
  background: #0a1520;
  color: #fff;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  padding: 28px 18px;
  box-sizing: border-box;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-brand {
  flex: 1 1 220px;
  min-width: 180px;
}

.brand-name {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: 20px;
  letter-spacing: 1px;
  margin: 0 0 6px 0;
  color: #fff;
}

.reg {
  margin: 0;
  color: rgba(255,255,255,0.78);
  font-size: 13px;
}

.footer-contact {
  flex: 1 1 220px;
  min-width: 200px;
}

.footer-follow {
  flex: 1 1 260px;
  min-width: 200px;
}

.footer-heading {
  margin: 0 0 8px 0;
  font-size: 15px;
  color: #fff;
  font-weight: 600;
}

.footer-link {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.footer-link:hover {
  color: #f3f3f3;
  border-bottom-color: rgba(255,255,255,0.12);
}

.social-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 13px;
  min-width: 84px;
  text-align: center;
}

.social-link:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
}

.social-icons-placeholder {
  margin-top: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
}

/* Upload input styling */
.icon-upload {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  color: #fff;
  background: transparent;
  border: 1px dashed rgba(255,255,255,0.08);
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
}

/* Footer bottom */
.footer-bottom {
  max-width: 1200px;
  margin: 18px auto 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.sep { color: rgba(255,255,255,0.2); margin: 0 8px; }

/* Responsive adjustments */
@media (max-width: 720px) {
  .footer-inner { gap: 14px; padding-bottom: 6px; }
  .brand-name { font-size: 18px; }
  .social-link { min-width: 72px; padding: 6px 8px; font-size: 12px; }
  .footer-bottom { font-size: 13px; }
}
