:root {
  --font-main: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --border-color: #000000;
  --bg-color: #ffffff;
  --text-dark: #000000;
  --text-muted: #666666;
  --placeholder-color: #bebbb5; /* Exact neutral grey placeholder matching screenshot */
  --accent-light: #f5f3ef;
  --blue-tag: #1d4ed8;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

/* FLOATING NAVBAR OVERLAY & GLASS TRANSITION */
.navbar-wrapper {
  position: fixed;
  top: 12px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 1000;
  padding: 0 12px;
  pointer-events: none;
}

.navbar {
  pointer-events: auto;
  width: 100%;
  max-width: 1140px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 12px;
  /* TRANSPARENT AT TOP */
  background-color: transparent;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
  border: 1px solid transparent;
  box-shadow: none;
  transition: background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              backdrop-filter 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* GLASS EFFECT WHEN SCROLLED DOWN */
.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.navbar.expanded {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.navbar-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  width: 100%;
}

.menu-btn, .cart-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 4px;
  min-height: 44px;
  min-width: 44px;
}

.menu-btn .icon-close { display: none; }
.menu-btn.active .icon-hamburger { display: none; }
.menu-btn.active .icon-close { display: block; }

.brand-logo {
  text-decoration: none;
  color: #000;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
}

.cart-badge {
  position: absolute;
  top: 4px;
  right: 2px;
  background: #000000;
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 700;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-drawer {
  max-height: 0;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.navbar.expanded .nav-drawer {
  max-height: 300px;
  opacity: 1;
  visibility: visible;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 20px 20px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
}

/* FULL-WIDTH HERO SECTION (50vh HEIGHT, ZERO MARGINS) */
.hero-section {
  width: 100%;
  height: 50vh;
  min-height: 320px;
  margin: 0;
  padding: 0;
  background-color: var(--placeholder-color);
  border-bottom: 1px solid var(--border-color);
}

.hero-media-container {
  width: 100%;
  height: 100%;
}

.hero-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--placeholder-color);
}

/* BROWSE GRID & CARDS */
.browse-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.browse-heading {
  font-size: 2.2rem;
  font-weight: 600;
  padding: 24px 20px 16px;
  border-bottom: 1px solid var(--border-color);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.product-card {
  border-right: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
}

.product-card:nth-child(2n) {
  border-right: none;
}

.product-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 14px;
  background-color: var(--placeholder-color);
  overflow: hidden;
}

.placeholder-box {
  width: 100%;
  height: 100%;
  background-color: var(--placeholder-color);
}

/* BLUE CATEGORY TAG LINK OVERLAY */
.blue-tag-link {
  position: absolute;
  top: 8px;
  left: 8px;
  color: var(--blue-tag);
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: underline;
  z-index: 2;
  text-transform: uppercase;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
  flex-grow: 1;
}

.product-title {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
}

.price {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.product-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  background: var(--accent-light);
  border: 1px solid var(--border-color);
  margin-top: 4px;
  width: fit-content;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 2px;
  cursor: pointer;
  padding: 10px 16px;
  min-height: 44px;
  transition: all 0.2s ease;
  width: 100%;
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: #000;
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: #000;
  color: #fff;
}

.btn-solid {
  background: #e3ded6;
  color: #000;
  border: 1px solid #d0c9bd;
}

.btn-solid:hover {
  background: #000;
  color: #fff;
}

.btn-subtle {
  background: #c2c0bc;
  color: #000;
  border: 1px solid #b0ada8;
}

.view-all-container {
  padding: 28px 20px;
  display: flex;
  justify-content: flex-end;
  border-bottom: 1px solid var(--border-color);
}

/* CUSTOM SECTION */
.custom-cta-section {
  background: var(--accent-light);
  padding: 44px 20px;
  border-bottom: 1px solid var(--border-color);
}

.custom-cta-container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-direction: column;
}

/* FOOTER */
.site-footer {
  background: #ffffff;
  padding: 36px 20px 20px;
  max-width: 1140px;
  margin: 0 auto;
}

/* TOAST NOTIFICATION */
#netsorna-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--text-dark);
  color: #ffffff;
  padding: 12px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
  z-index: 9999;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

#netsorna-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* DESKTOP BREAKPOINTS */
@media (min-width: 768px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
  .product-card:nth-child(2n) { border-right: 1px solid var(--border-color); }
  .product-card:nth-child(4n) { border-right: none; }
  .custom-cta-container { flex-direction: row; justify-content: space-between; align-items: center; }
  .cta-actions { flex-direction: row; width: auto; }
}
