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

body {
  font-family: system-ui, -apple-system, Arial, sans-serif;
  background: #fff;
  color: #222;
}

img { max-width: 100%; height: auto; display: block; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
}

.logo a {
  text-decoration: none;
  color: #111;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.logo-sub {
  font-size: 10px;
  letter-spacing: 2px;
  color: #888;
  margin-top: 2px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 4px 8px;
  color: #222;
  line-height: 1;
}

.navlinks {
  display: flex;
  gap: 24px;
  align-items: center;
}

.navlinks a {
  text-decoration: none;
  color: #222;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.navlinks a.active {
  text-decoration: underline;
  text-underline-offset: 6px;
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }

  .navlinks {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 8px 0;
    z-index: 99;
  }

  .navlinks.open { display: flex; }

  .navlinks a {
    padding: 14px 28px;
    font-size: 16px;
    border-bottom: 1px solid #f0f0f0;
  }

  .navlinks a:last-child { border-bottom: none; }
}

.page-hero{
  padding: 56px 60px 22px;
  background: #fff;            /* screenshot is white */
  border-top: 1px solid #eee;  /* subtle line like Shopify */
}

.page-hero h1{
  margin: 0;
  font-size: 44px;
  font-weight: 400;
  color: #111;
}

/* Products section */
.products-section{
  padding: 18px 60px 80px;
  background: #fff;
}

.products-wrap{
  max-width: 1200px;
  margin: 0 auto;
}

/* 4-up grid like your screenshot */
.product-grid{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px;
}

/* Card */
.product-card{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Image tile */
.product-media{
  position: relative;
  background: #f3f3f3;
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 1 / 1; /* make all tiles consistent */
}

.product-media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Sold out pill */
.badge{
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: #2f2f2f;
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
}
*/
/* Name + price */
.product-name{
  margin: 0;
  font-size: 12px;
  font-weight: 400;
  color: #2b2b2b;
  text-transform: lowercase; /* matches screenshot vibe */
}

.product-price{
  margin: 0;
  font-size: 14px;
  color: #111;
}

/* responsive */
@media (max-width: 1100px){
  .product-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px){
  .page-hero{ padding: 44px 20px 18px; }
  .products-section{ padding: 14px 20px 60px; }
  .product-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 480px){
  .product-grid{ grid-template-columns: 1fr; }
}

/* Make entire card clickable */
.product-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease;
}

/* Hover lift */
.product-card:hover {
  transform: translateY(-6px);
}

/* Image zoom effect */
.product-media img {
  transition: transform 0.3s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.05);
}

/* Cursor pointer */
.product-card {
  cursor: pointer;
}
/* Underline product name on hover */
.product-name {
  transition: text-decoration 0.2s ease;
}

.product-card:hover .product-name {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- PRODUCT DETAIL PAGE ---------- */

.product-page{
  padding: 28px 60px 80px;
  background: #fff;
}

.product-page-wrap{
  max-width: 1200px;
  margin: 0 auto;
}

.back-link{
  display: inline-block;
  margin-bottom: 18px;
  text-decoration: none;
  color: #222;
  font-size: 14px;
}

.back-link:hover{
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-detail{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: start;
}

.product-detail-media{
  background: #f3f3f3;
  border-radius: 2px;
  overflow: hidden;
}

.product-detail-media img{
  width: 100%;
  height: auto;
  display: block;
}

.product-title{
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 400;
  color: #111;
  text-transform: lowercase;
}

.product-detail-price{
  margin: 0 0 18px;
  font-size: 18px;
  color: #111;
}

.product-detail-desc{
  margin: 0 0 18px;
  line-height: 1.7;
  color: #333;
  font-size: 14px;
}

.product-detail-meta p{
  margin: 10px 0;
  color: #333;
  font-size: 13px;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 900px){
  .product-page{ padding: 20px 20px 60px; }
  .product-detail{ grid-template-columns: 1fr; gap: 28px; }
  .product-title{ font-size: 28px; }
}


/* ── FOOTER ── */
.site-footer {
  border-top: 1px solid #eee;
  padding: 48px 28px 36px;
  text-align: center;
}
.footer-logo { font-size: 16px; letter-spacing: 0.5px; color: #111; margin-bottom: 4px; }
.footer-logo-sub { font-size: 9px; letter-spacing: 2.5px; color: #aaa; margin-bottom: 28px; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 20px; }
.footer-links a { text-decoration: none; color: #888; font-size: 12px; letter-spacing: 0.5px; }
.footer-links a:hover { color: #111; }
.footer-links span { color: #ddd; font-size: 12px; }
.footer-copy { font-size: 11px; color: #bbb; letter-spacing: 0.5px; }
@media (max-width: 768px) {
  .footer-links span { display: none; }
  .footer-links { gap: 10px 14px; }
}