@import url('/fonts/fonts.css');

/* ── Base ─────────────────────────────────────────────────────────────── */

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

body,
html {
  background-color: #a1a1a1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  margin: 0;
  padding: 0;
  cursor: pointer;
}

a {
  color: antiquewhite;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

a:visited {
  color: antiquewhite;
}

a:hover {
  color: black;
}

/* ── Nav ─────────────────────────────────────────────────────────────── */

.grid-container0 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4vw;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  font-family: 'Inter', sans-serif;
  font-size: 21px;
  height: calc(50px + 2vh);
  padding: 0 2vw;
  background-color: rgba(161, 161, 161, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.nav-title-link {
  color: antiquewhite;
  font-family: 'Inter', sans-serif;
  font-size: 56px;
  font-weight: 400;
  padding-top: 2vh;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.nav-title-link:visited {
  color: antiquewhite;
}

.nav-title-link:hover {
  color: black;
}

/* ── Contact — fixed bottom-right corner ────────────────────────── */

.contact-corner {
  position: fixed;
  bottom: 3vh;
  right: 2vw;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(250, 235, 215, 0.55);
  text-decoration: none;
  z-index: 200;
  letter-spacing: 0.06em;
  transition: color 0.2s ease;
}

.contact-corner:hover {
  color: black;
}

/* ── Photo Browser (left panel) ──────────────────────────────────────── */

.photo-browser {
  position: fixed;
  top: 50%;
  left: 2vw;
  transform: translateY(-50%);
  width: 46vw;
  height: 80vh;
  background: #8c8c8c;
  border-radius: 8px;
  border: 2px solid rgba(206, 27, 27, 0.4);
  overflow: hidden;
}

.photo-track {
  width: 100%;
  height: 100%;
}

.photo-slide {
  display: none;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.photo-slide.active {
  display: flex;
  animation: fadeIn 0.35s ease;
}

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

/* ── Photo Navigation Arrows ─────────────────────────────────────────── */

.photo-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 10;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.photo-arrow:hover {
  opacity: 1;
}

.photo-arrow svg {
  width: 100%;
  height: 100%;
}

.photo-arrow-prev {
  left: 1.2vw;
}

.photo-arrow-next {
  right: 1.2vw;
}

/* ── Dot Indicators ──────────────────────────────────────────────────── */

.photo-dots {
  position: absolute;
  bottom: 1.8vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 10;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: antiquewhite;
  opacity: 0.35;
  cursor: pointer;
  transition: opacity 0.2s ease, background 0.2s ease;
}

.dot.active {
  opacity: 1;
  background: #ce1b1b;
}

.dot:hover {
  opacity: 0.75;
}

/* ── Product Panel (right panel) ─────────────────────────────────────── */

.product-panel {
  position: fixed;
  top: 50%;
  right: 2vw;
  transform: translateY(-50%);
  width: 45vw;
  height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2vh;
  padding: 2.5vh 2.5vw;
  background: #8c8c8c;
  border-radius: 8px;
  border: 2px solid rgba(206, 27, 27, 0.4);
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-panel::-webkit-scrollbar {
  display: none;
}

/* ── Product Text ─────────────────────────────────────────────────────── */

.product-title {
  font-family: 'Inter', sans-serif;
  font-size: 28px;
  font-weight: 400;
  color: antiquewhite;
  margin: 0;
  letter-spacing: 0.03em;
}

.product-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(250, 235, 215, 0.6);
  margin: 0;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-desc {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: antiquewhite;
  margin: 0;
  line-height: 1.65;
}

.product-price {
  font-family: 'Inter', sans-serif;
  font-size: 23px;
  font-weight: 500;
  color: antiquewhite;
  margin: 0;
  letter-spacing: 0.04em;
}

/* ── Shopify Buy Button Wrapper ──────────────────────────────────────── */

.price-buy-group {
  display: flex;
  flex-direction: column;
  gap: 1.2vh;
  align-items: flex-start;
  padding-bottom: 2.5vh;
  width: 100%;
}

.buy-btn-wrapper {
  display: flex;
  justify-content: flex-start;
  width: 100%;
}

.buy-btn-wrapper > div {
  margin-left: 0 !important;
  margin-right: auto !important;
}

.buy-btn-placeholder {
  display: inline-block;
  padding: 10px 30px;
  background: transparent;
  border: 1px solid rgba(206, 27, 27, 0.6);
  color: antiquewhite;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.buy-btn-placeholder:hover {
  background: rgba(206, 27, 27, 0.12);
  border-color: #ce1b1b;
  color: black;
}

/* ── Info Accordions ─────────────────────────────────────────── */

.info-accordion {
  width: 100%;
}

.info-accordion:first-of-type {
  margin-top: auto;
  padding-top: 1.5vh;
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 0.9vh 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 235, 215, 0.7);
  cursor: pointer;
  transition: color 0.2s ease;
}

.accordion-header:hover {
  color: black;
}

.accordion-icon {
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.info-accordion.open .accordion-body {
  max-height: 200px;
}

.accordion-body p {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: rgba(250, 235, 215, 0.65);
  line-height: 1.55;
  margin: 0 0 0.9vh;
  padding-right: 1vw;
}

/* ── Store Footer ─────────────────────────────────────────────── */

.store-footer {
  position: fixed;
  bottom: 1.2vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.8vw;
  z-index: 200;
  white-space: nowrap;
}

.store-footer a,
.store-footer .footer-copy {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(250, 235, 215, 0.4);
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: color 0.2s ease;
}

.store-footer a:hover {
  color: black;
}

.footer-sep {
  color: rgba(250, 235, 215, 0.25);
  font-size: 14px;
}

/* ── Fade Animation ───────────────────────────────────────────────────── */

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Mobile Breakpoint ────────────────────────────────────────────────── */

@media (max-width: 860px) {
  body,
  html {
    overflow-y: auto;
    overflow-x: hidden;
    height: auto;
  }

  .photo-browser {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: calc(100vw - 4vw);
    height: 56vw;
    min-height: 220px;
    margin: calc(44px + 3vh) auto 2vh;
    border-radius: 8px;
  }

  .product-panel {
    position: relative;
    top: auto;
    bottom: auto;
    right: auto;
    transform: none;
    width: calc(100vw - 4vw);
    max-height: none;
    margin: 0 auto 2vh;
    padding: 3vh 5vw;
    gap: 2vh;
  }

  .grid-container0 {
    font-size: 18px;
    height: 44px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .contact-corner {
    position: static;
    display: block;
    text-align: center;
    padding-bottom: 2vh;
    color: rgba(250, 235, 215, 0.55);
  }

  .store-footer {
    position: static;
    transform: none;
    justify-content: center;
    flex-wrap: wrap;
    padding: 2vh 4vw 4vh;
  }
}
