* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Times New Roman", Georgia, serif;
  background-color: #ffffff;
  color: #2b44b8;
}

/* PAGE LAYOUT */
.page-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
}

/* LEFT SIDEBAR (Classic Y2K Sticky Frame) */
.sidebar {
  width: 220px;
  flex-shrink: 0;
  height: 100vh;
  position: sticky;
  top: 0;
  background-color: #fff3fa;
  border-right: 1px solid #2b44b8;
  padding: 18px 16px 16px 16px;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  overflow-y: auto;
}

.icon-box.menu-btn {
  width: 108px;
  height: 50px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid #222222;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.icon-box.menu-btn:hover {
  background-color: #f4f6ff;
}

/* SIDEBAR LINKS */
.side-nav {
  margin-top: 56px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.side-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #2b44b8;
  text-decoration: none;
}

.side-nav a .nav-label {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.side-nav a .nav-icon {
  width: 16px;
  text-align: center;
  font-style: normal;
  text-decoration: none;
}

.side-nav a.no-icon {
  padding-left: 22px;
  margin-top: 6px;
}

.side-nav a:hover {
  color: #162470;
}

/* SMALL BUNNY GIF PINNED TO BOTTOM OF PINK SIDEBAR */
.sidebar-gif-wrap {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  flex-shrink: 0;
}

.sidebar-gif {
  width: 115px;
  max-width: 100%;
  height: auto;
  display: block;
}

/* MAIN CONTENT AREA */
.main-content {
  flex: 1;
  background-color: #ffffff;
  padding: 18px 32px 48px 32px;
  max-width: 1040px;
  min-width: 0;
}

/* TOP RIGHT HEADER BUTTONS */
.top-bar {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 18px;
}

.top-btn {
  height: 48px;
  min-width: 106px;
  padding: 0 14px;
  background-color: #ffffff;
  border: 1px solid #222222;
  color: #2b44b8;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.top-btn:hover {
  background-color: #f4f6ff;
}

/* Y2K HEADER ROW: LOGO + BANNER AD SIDE BY SIDE */
.hero-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0 18px 0;
  margin-bottom: 14px;
  border-top: 1px dashed #2b44b8;
  border-bottom: 1px dashed #2b44b8;
}

/* Auto-crops the empty space above & below your square logo.png */
.logo-wrap {
  width: 340px;
  max-width: 48%;
  flex-shrink: 0;
  overflow: hidden;
}

.site-logo {
  width: 100%;
  height: 155px;
  object-fit: cover;
  object-position: 50% 44%;
  display: block;
}

/* Classic Y2K Framed Banner Ad Box */
.ad-column {
  width: 420px;
  max-width: 50%;
  background-color: #fff3fa;
  border: 1px solid #2b44b8;
  padding: 8px 10px 6px 10px;
  display: flex;
  flex-direction: column;
}

.ad-link {
  display: block;
  text-decoration: none;
  border: 1px solid #222222;
}

.ad-banner {
  width: 100%;
  height: auto;
  display: block;
}

.ad-tag {
  font-family: "Times New Roman", Georgia, serif;
  font-style: italic;
  font-size: 11px;
  color: #2b44b8;
  text-align: right;
  margin-top: 3px;
}

/* FILTER ICON ROW + CENTERED LABEL */
.filter-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-bottom: 12px;
}

.filter-btn {
  justify-self: start;
  width: 74px;
  height: 42px;
  background-color: #ffffff;
  border: 1px solid #4957a8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.filter-btn:hover {
  background-color: #f4f6ff;
}

.marketplace-label {
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  font-weight: 700;
  color: #6f6f6f;
  text-align: center;
  line-height: 1.3;
  letter-spacing: 1px;
  margin: 0;
}

/* PRODUCT GRID */
.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.product-card {
  border: 1px solid #2b44b8;
  background-color: #ffffff;
  padding: 18px 24px 16px 24px;
}

.card-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 14px;
}

/* FULL-WIDTH BOTTOM CARD */
.product-card.featured {
  grid-column: 1 / -1;
  padding: 22px 24px 18px 24px;
}

.featured-inner {
  width: 60%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.soap-img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* SELECT BUTTONS */
.select-btn {
  min-width: 116px;
  height: 50px;
  padding: 0 14px;
  background-color: #ffffff;
  border: 1px solid #222222;
  color: #2b44b8;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 26px;
  text-align: left;
  cursor: pointer;
}

.select-btn:hover {
  background-color: #f4f6ff;
}

/* ================================
   PORTAL PAGE (portal.html)
   ================================ */
.portal-link-btn,
.portal-back-box {
  text-decoration: none;
  color: #2b44b8;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 20px;
}

.portal-logo-row {
  margin-bottom: 16px;
}

.portal-card {
  border: 1px solid #2b44b8;
  background-color: #ffffff;
  max-width: 780px;
}

.portal-window-bar {
  background-color: #fff3fa;
  border-bottom: 1px solid #2b44b8;
  padding: 8px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Courier New", Courier, monospace;
  font-size: 13px;
  font-weight: 700;
  color: #2b44b8;
}

.portal-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.portal-gif {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid #222222;
}

.portal-cta {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.portal-subtitle {
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  color: #6f6f6f;
  letter-spacing: 1px;
}

.yt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  background-color: #fff3fa;
  border: 1px solid #222222;
  color: #2b44b8;
  font-family: "Times New Roman", Georgia, serif;
  font-size: 26px;
  text-decoration: none;
}

.yt-btn:hover {
  background-color: #2b44b8;
  color: #ffffff;
  border-color: #2b44b8;
}

.yt-raw-link {
  font-family: "Courier New", Courier, monospace;
  font-size: 14px;
  font-weight: 700;
  color: #2b44b8;
  text-decoration: underline;
  word-break: break-all;
}

.yt-raw-link:hover {
  color: #162470;
}

/* ================================
   MOBILE RESPONSIVENESS
   ================================ */
@media (max-width: 820px) {
  html,
  body {
    overflow-x: hidden;
  }

  .page-layout {
    flex-direction: column;
  }

  /* Compact top pink header on phones */
  .sidebar {
    width: 100%;
    height: auto;
    position: static;
    border-right: none;
    border-bottom: 1px solid #2b44b8;
    padding: 14px 16px;
    align-items: center;
  }

  .icon-box.menu-btn {
    width: 84px;
    height: 40px;
  }

  .side-nav {
    margin-top: 14px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 16px;
    font-size: 13px;
  }

  .side-nav a.no-icon {
    padding-left: 0;
    margin-top: 0;
  }

  .sidebar-gif-wrap {
    margin-top: 12px;
    padding-top: 0;
  }

  .sidebar-gif {
    width: 80px;
  }

  /* Tighter spacing so nothing overflows sideways */
  .main-content {
    padding: 14px 14px 36px 14px;
  }

  /* Fit all 3 top buttons cleanly in one row */
  .top-bar {
    justify-content: center;
    gap: 6px;
    margin-bottom: 14px;
  }

  .top-btn {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 8px;
    font-size: 17px;
  }

  .hero-row {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 10px 0 14px 0;
  }

  .logo-wrap {
    width: 100%;
    max-width: 300px;
  }

  .site-logo {
    height: 125px;
    object-fit: cover;
    object-position: 50% 44%;
  }

  .ad-column {
    width: 100%;
    max-width: 100%;
  }

  /* Align filter button and marketplace label cleanly */
  .filter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
  }

  .filter-btn {
    width: 60px;
    height: 38px;
    flex-shrink: 0;
  }

  .marketplace-label {
    font-size: 12px;
    text-align: right;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .product-card,
  .product-card.featured {
    padding: 14px;
  }

  .featured-inner {
    width: 100%;
  }

  .select-btn {
    min-width: 96px;
    height: 44px;
    font-size: 22px;
  }

  .portal-card-body {
    padding: 14px;
  }

  .yt-btn {
    font-size: 19px;
    padding: 10px 16px;
  }
}