
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f7f9fa;
  color: #222;
}

.verification-banner {
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  padding: 16px 0;
  position: relative;
  transition: opacity 3s;
}
.verification-banner.visible {
  opacity: 1;
  pointer-events: auto;
}
.verification-banner.fixed-popup {
  position: fixed !important;
  left: 0;
  right: 0;
  top: 0;
  bottom: auto;
  z-index: 9999;
  margin: 0;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.verification-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.verification-icon {
  width: 24px;
  height: 24px;
  background: #ffd600;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: bold;
  font-size: 14px;
  flex-shrink: 0;
}

.verification-text {
  color: #000;
  font-size: 14px;
  font-weight: bold;
  line-height: 1.4;
  text-align: center;
}

.verify-button {
  background: #ffd600;
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
  text-decoration: none;
  display: inline-block;
}

.verify-button:hover {
  background: #ffed4e;
}

@media (max-width: 768px) {
  .verification-content {
    padding: 0 20px;
    flex-direction: row;
    gap: 12px;
    justify-content: flex-start;
  }
  
  .verification-text {
    font-size: 13px;
    text-align: left;
  }
}
.navbar {
  background: #0a2342;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
}
.navbar .logo {
  display: flex;
  align-items: center;
  font-weight: bold;
  font-size: 1.3em;
  letter-spacing: 1px;
}
.navbar .logo-icon {
  max-height: 60px;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  display: inline;
  margin-right: 0;
  font-size: inherit;
  color: inherit;
  vertical-align: middle;
  object-fit: contain;
}
.navbar nav {
  display: flex;
  gap: 32px;
}
.navbar nav a {
  color: #fff;
  text-decoration: none;
  font-size: 1em;
  transition: color 0.2s;
}
.navbar nav a:hover {
  color: #ffd600;
}
.navbar .signin {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
  margin-left: 16px;
  transition: color 0.2s;
}
.navbar .signin:hover {
  color: #ffd600;
}

/* Desktop and Mobile navbar visibility */
.mobile-navbar {
  display: none;
}

.desktop-navbar {
  display: flex;
}
.hero {
  background: #eaf3fa;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 48px 40px 32px 40px;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  position: relative;
  overflow: hidden;
}
.hero-content {
  max-width: 400px;
  margin: 0 auto;
}
.hero-title {
  font-size: 2.6em;
  font-weight: bold;
  margin-bottom: 12px;
  line-height: 1.1;
}
.hero-desc {
  font-size: 1.2em;
  margin-bottom: 28px;
  color: #333;
}
.hero-btn {
  background: #2176ff;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 32px;
  font-size: 1.1em;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(33,118,255,0.08);
  transition: background 0.2s;
}
.hero-btn:hover {
  background: #174ea6;
}
.hero-img {
  max-width: 380px;
  width: 100%;
  margin: 0 auto;
  display: block;
}
.categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 40px 0 0 0;
}
.category-card {
  width: 220px;
  min-height: 160px;
  max-width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin: 10px 8px;
  padding: 0;
  box-sizing: border-box;
}
.category-card:hover {
  box-shadow: 0 4px 16px rgba(33,118,255,0.10);
}
.category-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
  background: #f3f3f3;
  display: block;
}
.category-title {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 4px;
  text-align: center;
}
.popular-section {
  margin: 48px auto 0 auto;
  max-width: 1200px;
  padding: 0 24px;
}
.popular-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.popular-title {
  font-size: 1.7em;
  font-weight: bold;
}
.sort {
  font-size: 1em;
  color: #444;
  background: #f2f2f2;
  border: none;
  border-radius: 6px;
  padding: 6px 16px;
}
.popular-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 28px;
}
.item-card {
  width: 220px;
  min-height: 190px;
  max-width: 100%;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  margin: 10px 8px;
  padding: 0;
  box-sizing: border-box;
}
.item-card:hover {
  box-shadow: 0 4px 16px rgba(33,118,255,0.10);
}
.item-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
  background: #f3f3f3;
  display: block;
}
.item-title {
  font-size: 1.08rem;
  font-weight: 600;
  margin-bottom: 4px;
  text-align: center;
}
.item-price {
  font-size: 1rem;
  color: #1976d2;
  font-weight: 500;
  margin-bottom: 4px;
}
.item-desc {
  font-size: 0.95rem;
  color: #444;
  text-align: center;
  margin-bottom: 4px;
}
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    padding: 32px 10px 24px 10px;
  }
  .hero-img {
    margin: 32px 0 0 0;
    max-width: 90vw;
  }
  .categories {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}
@media (max-width: 900px) {
  /* Show mobile navbar, hide desktop */
  .desktop-navbar {
    display: none;
  }
  
  .mobile-navbar {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 10px;
    height: auto;
  }
  
  .mobile-navbar .top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 8px 0;
  }
  
  .mobile-navbar .logo {
    font-size: 1em;
  }
  
  .mobile-navbar .logo-icon {
    max-height: 50px;
    min-width: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
  }
  
  .mobile-navbar .auth-buttons {
    display: flex;
    gap: 8px;
  }
  
  .mobile-navbar .auth-buttons .signin {
    margin-left: 0;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
  }
  
  .mobile-navbar .auth-buttons .signin:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
  }
  
  .mobile-navbar nav {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 12px 0;
  }
}

.footer {
  background: #0a2342;
  color: #fff;
  padding: 48px 40px 24px 40px;
  margin-top: 64px;
  flex-shrink: 0;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}
.footer-section h3 {
  font-size: 1.3em;
  margin-bottom: 20px;
  color: #ffd600;
}
.footer-section p,
.footer-section a {
  color: #ccc;
  text-decoration: none;
  line-height: 1.6;
  margin-bottom: 8px;
  display: block;
  transition: color 0.2s;
}
.footer-section a:hover {
  color: #ffd600;
}
.footer-bottom {
  border-top: 1px solid #1a365d;
  margin-top: 32px;
  padding-top: 24px;
  text-align: center;
  color: #999;
}
.social-links {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.social-links a {
  width: 40px;
  height: 40px;
  background: #1a365d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-weight: bold;
  transition: background 0.2s, color 0.2s;
}
.social-links a:hover {
  background: #ffd600;
  color: #0a2342;
}
@media (max-width: 900px) {
  .footer {
    padding: 32px 20px 20px 20px;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* --- Sticky footer layout --- */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.main-content {
  flex: 1 0 auto;
}

@media (max-width: 700px) {
  .item-card {
    width: 100%;
    min-width: 0;
    margin: 0;
  }
  .popular-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    justify-items: center;
  }
  .categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    justify-items: center;
  }
  .category-card, .item-card {
    width: 95%;
    min-width: 0;
    margin: 0;
  }
}

@media (max-width: 900px) and (min-width: 701px) {
  .categories {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    justify-items: center;
  }
}
