:root {
  --coop-red:   hsl(0, 73%, 52%);
  --coop-white: #fff;
  --coop-bg:    #fff6f6;
  --coop-black: #363636;
  --shadow:     0 2px 10px rgba(0,0,0,0.1);
  --radius:     16px;
}



html, body {
  margin: 0;
  padding: 0;
  background: var(--coop-white);
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--coop-black);
}

/* HEADER */
.menu-header {
  background: var(--coop-red);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 14px;
  box-shadow: 0 2px 24px #a3000021;
  position: sticky;
  top: 0;
  z-index: 999999999;
}
.brand-name {
  color: white;
  font-size: 18px;
  font-weight: bold;
  margin-left: 10px;
}
.coop-logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
}
.header-icons {
  display: flex;
  gap: 10px;
}
.header-icons a img {
  width: 22px;
  height: 22px;
}

/* CATEGORY */
.category {
  width: 94%;
  margin: 0 auto;
  padding: 14px 0;
}
.category-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 12px;
}

/* PRODUCT CARD */
.product {
  position: relative;                   /* butonu absolute konumlandırmak için */
  display: grid;
  grid-template-columns: 50% 50%;       /* görsel %60, detay %40 */
  grid-template-rows: auto;
  grid-template-areas: "image details";
  gap: 8px 12px;
  background: var(--coop-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;                         /* yükseklik küçültüldü */
  margin-bottom: 12px;                  /* alt boşluk azaltıldı */
  height: 160px;
}

/* Görsel */
.product-image {
  grid-area: image;
  width: 100%;
  height: auto;
  aspect-ratio: 1.4;
  object-fit: cover;
  border-radius: 10px;
}

/* Detaylar */
.product-details {
  grid-area: details;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 4px;
  min-width: 0;
}
.product-title {
  font-size: 18px;
  font-weight: bold;
  margin: 0;
}
.product-desc {
  font-size: 13px;
  color: #444;
  line-height: 1.4;
  margin: 0;
  word-break: break-word;
}
.product-price {
  font-size: 15px;
  font-weight: bold;
  margin: 0;
}

/* 360 Görüntüle Butonu */
.view-360-btn {
  position: absolute;
  bottom: 8px;               /* div’in altından 8px yukarıda */
  right: 8px;                /* div’in sağından 8px içeride */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 13px;
  border: none;
  border-radius: 8px;
  background: #f5f5f5ce;
  color: #333;
  cursor: pointer;
}
.view-360-btn::before {
  content: "";
  width: 28px;
  height: 28px;
  background: url("assets/360icon-black.png") no-repeat center center;
  background-size: contain;
}

/* POPUP */
.popup-bg {
  position: fixed;
  inset: 0;
  background: #000c;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s;
}
.popup-bg.active {
  display: flex;
}
.popup-content {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.popup-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.popup-close-btn {
  position: absolute;
  top: 80px;
  right: 16px;
 background: rgba(0, 0, 0, 0.174);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-size: 15px;
  cursor: pointer;
}

.product-navigation {
  position: absolute;
  bottom: 170px;
  left: 50%;
  transform: translateX(-50%);
  width: 96%;
  opacity: 0.85;
  z-index: 999;
  /* border: solid 1px red; */
}

.product-header {
  display: flex;
  justify-content: space-between;  /* Butonlar uçlara yaslanır */
  align-items: center;
  width: 100%;
}

.nav-btn {
  background: rgba(255, 255, 255, 0);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  min-width: 120px; /* eşitlik için opsiyonel */
  opacity: 0.8;
}


/* POWERED LOGO */
.powered-logo {
  width: 110px;
  display: block;
  margin: 30px auto 0;
  opacity: 0.8;
}

