@font-face {
  font-family: "GarageGothicBold";
  src: url("/DigitUp/Minus196/assets/fonts/garage-gothic.woff2") format("woff2"), url("/DigitUp/Minus196/assets/fonts/garage-gothic.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "BarlowSemiCondensed";
  src: url("/DigitUp/Minus196/assets/fonts/BarlowSemiCondensed-ExtraBold.woff2") format("woff2"), url("/DigitUp/Minus196/assets/fonts/BarlowSemiCondensed-ExtraBold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "BarlowSemiCondensedLight";
  src: local("Barlow Semi Condensed Light"), local("BarlowSemiCondensed-Light"), local("Barlow Semi Condensed");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "OpenSansLight";
  src: url("/fonts/OpenSans-Light.woff2") format("woff2"), url("/fonts/OpenSans-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
.product-cans-row {
  position: relative;
  z-index: 6;
  height: 650px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 1;
  transform: none;
  gap: 0;
}

.productTopBar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  display: flex;
  justify-content: flex-end;
  z-index: 10;
}

.canWrapProduct {
  position: absolute;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.canWrap--center {
  z-index: 9;
}

.canWrap--left {
  z-index: 8;
  left: 12%;
}

.canWrap--right {
  z-index: 8;
  left: -17%;
}

.left {
  display: flex;
}

.can--lemon img {
  width: 345px;
  height: auto;
  position: relative;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.6));
  transition: width 0.5s, z-index 0.5s, left 0.5s, transform 0.5s;
}

.can--grapefruit img {
  width: 315px;
  height: auto;
  position: relative;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.5));
  transition: width 0.5s, z-index 0.5s, left 0.5s, transform 0.5s;
}

.can--peach img {
  width: 315px;
  height: auto;
  position: relative;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.5));
  transition: width 0.5s, z-index 0.5s, left 0.5s, transform 0.5s;
}

@media (max-width: 1300px) {
  .can--lemon img {
    width: 290px;
  }
  .can--grapefruit img,
  .can--peach img {
    width: 260px;
  }
}
@media (max-width: 1100px) {
  .can--lemon img {
    width: 255px;
  }
  .can--grapefruit img,
  .can--peach img {
    width: 229px;
  }
}
@media (max-width: 900px) {
  .can--lemon img {
    width: 220px;
  }
  .can--grapefruit img,
  .can--peach img {
    width: 180px;
  }
}
@media (max-width: 600px) {
  .can--lemon img {
    width: 160px;
  }
  .can--grapefruit img,
  .can--peach img {
    width: 120px;
  }
}
/* ===== CAN WRAP & FLAVOUR CANS ===== */
.canWrapProduct {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  flex: 1 1 0;
}

.canWrap--center {
  z-index: 9;
}

.canWrap--left,
.canWrap--right {
  z-index: 8;
}

/* Flavour-specific can sizes and positions */
.can--lemon img {
  width: 255px;
  z-index: 9;
  position: relative;
  left: 0;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.6));
  transition: width 0.5s, z-index 0.5s, left 0.5s;
}

.canWrap--center .can--lemon img {
  width: 345px;
  left: 0;
}

.can--grapefruit img {
  width: 229px;
  z-index: 8;
  position: relative;
  left: 40px;
  margin-top: 48px;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.5));
  transition: width 0.5s, z-index 0.5s, left 0.5s, margin-top 0.5s;
}

.canWrap--right .can--grapefruit img {
  width: 315px;
  left: 60px;
  margin-top: 60px;
}

.can--peach img {
  width: 229px;
  z-index: 8;
  position: relative;
  left: -40px;
  margin-top: 48px;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.5));
  transition: width 0.5s, z-index 0.5s, left 0.5s, margin-top 0.5s;
}

.canWrap--left .can--peach img {
  width: 315px;
  left: -60px;
  margin-top: 60px;
}

@media (max-width: 1100px) {
  .can--lemon img {
    width: 255px;
  }
  .canWrap--center .can--lemon img {
    width: 290px;
  }
  .can--grapefruit img,
  .can--peach img {
    width: 229px;
  }
  .canWrap--right .can--grapefruit img,
  .canWrap--left .can--peach img {
    width: 260px;
  }
}
@media (max-width: 900px) {
  .can--lemon img {
    width: 220px;
  }
  .canWrap--center .can--lemon img {
    width: 255px;
  }
  .can--grapefruit img,
  .can--peach img {
    width: 180px;
  }
  .canWrap--right .can--grapefruit img,
  .canWrap--left .can--peach img {
    width: 200px;
  }
}
@media (max-width: 600px) {
  .can--lemon img {
    width: 160px;
  }
  .canWrap--center .can--lemon img {
    width: 180px;
  }
  .can--grapefruit img,
  .can--peach img {
    width: 120px;
  }
  .canWrap--right .can--grapefruit img,
  .canWrap--left .can--peach img {
    width: 140px;
  }
}
.product-section {
  position: relative;
  overflow: hidden;
  padding: 6rem;
  background: #000;
  z-index: 0;
  display: block;
}

/* ===== BACKGROUND VIDEO ===== */
.product-bg-video {
  position: absolute;
  left: 50%;
  width: auto;
  height: auto;
  min-width: 116%;
  min-height: 116%;
  object-fit: cover;
  object-position: center center;
  z-index: 1;
  opacity: 1;
  mix-blend-mode: screen;
  filter: grayscale(1) brightness(0.78) contrast(1.3);
  transform: translate(-50%, -50%);
  pointer-events: none;
  will-change: transform, opacity, filter;
}

/* ===== BOTTOM IMAGE ===== */
.product-bottom-image {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%;
  z-index: 2;
  pointer-events: none;
  display: flex;
  justify-content: center;
}

.product-bottom-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 100vw;
}

/* ===== CANS ===== */
.product-cans-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: 40px;
}

.product-can {
  position: relative;
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.8s ease;
}

.product-can.is-in {
  opacity: 1;
  transform: translateY(0);
}

.can-img {
  height: 320px;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-can:hover .can-img {
  transform: scale(1.08);
}

.tag-img {
  position: absolute;
  top: -80px;
  left: -3rem !important;
  width: 70px;
}

/* ===== DETAILS ===== */
.product-details-row {
  position: relative;
  z-index: 6;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-align: center;
  gap: 20px;
}

.product-detail {
  max-width: 260px;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.product-detail.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* TEXT */
.product-title-jp {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
}

.product-title-en {
  font-size: 2rem;
  font-weight: 900;
  margin: 8px 0;
}
.product-title-en.peach {
  color: #f9a14a;
}
.product-title-en.lemon {
  color: #ffe600;
}
.product-title-en.grapefruit {
  color: #ff4a4a;
}

.product-desc {
  font-size: 0.9rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 12px;
}

.product-meta {
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 10px;
}

.product-icons {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.product-icons img {
  width: 80%;
}

/* MOBILE */
@media (max-width: 768px) {
  .product-cans-row,
  .product-details-row {
    flex-direction: column;
    align-items: center;
  }
  .can-img {
    height: 220px;
  }
}
@media (max-width: 768px) {
  .product-cans-row,
  .product-details-row {
    flex-direction: column;
    align-items: center;
  }
  .can-img {
    height: 220px;
  }
}
@media (max-width: 1300px) {
  .can--lemon {
    width: 290px;
  }
  .can--grapefruit, .can--peach {
    width: 260px;
  }
  .can--lemon {
    transform: translateX(-88%) translateY(0);
  }
  .can--grapefruit {
    transform: translateX(-12%) translateY(40px);
  }
  .can--peach {
    transform: translateX(-164%) translateY(40px);
  }
}
@media (max-width: 1100px) {
  .can--lemon {
    width: 255px;
  }
  .can--grapefruit, .can--peach {
    width: 229px;
  }
  .can--lemon {
    transform: translateX(-88%) translateY(0);
  }
  .can--grapefruit {
    transform: translateX(-12%) translateY(40px);
  }
  .can--peach {
    transform: translateX(-164%) translateY(40px);
  }
}
@media (max-width: 900px) {
  .can--lemon {
    width: 220px;
  }
  .can--grapefruit, .can--peach {
    width: 180px;
  }
  .can--lemon {
    transform: translateX(-88%) translateY(0);
  }
  .can--grapefruit {
    transform: translateX(-12%) translateY(40px);
  }
  .can--peach {
    transform: translateX(-164%) translateY(40px);
  }
}
@media (max-width: 600px) {
  .can--lemon {
    width: 160px;
  }
  .can--grapefruit, .can--peach {
    width: 120px;
  }
  .can--lemon {
    transform: translateX(-88%) translateY(0);
  }
  .can--grapefruit {
    transform: translateX(-12%) translateY(40px);
  }
  .can--peach {
    transform: translateX(-164%) translateY(40px);
  }
}
@media (max-width: 768px) {
  .desktop-view, .product-bottom-image {
    display: none;
  }
  .product-bg-video {
    transform: translate(-50%, -12%);
  }
  .product-mobile {
    display: block;
  }
  .product-section {
    padding: 0;
  }
  .tag-img {
    position: absolute;
    top: -60px;
    left: 13rem !important;
  }
}
@media (min-width: 769px) {
  .product-mobile {
    display: none;
  }
}
@media (max-width: 768px) {
  .mobile-product-card {
    position: relative;
    text-align: center;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-content: center;
    align-items: center;
    justify-content: center;
    padding: 5rem;
  }
  /* Background Image inside each card */
  .mobile-card-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    opacity: 1;
  }
  .mobile-card-bg img {
    width: 100%;
    height: auto;
    min-height: 90vh;
  }
  /* Keep content above background */
  .mobile-can,
  .mobile-details {
    position: relative;
    z-index: 2;
    padding: 1rem;
  }
}
