/* GOALKIT — Bottom-Sheet Product Detail Modal */

html.gk-sheet-locked, html.gk-sheet-locked body { overflow: hidden; }

.gk-sheet {
  position: fixed; inset: 0;
  z-index: 9000;
  pointer-events: none;
  visibility: hidden;
}
.gk-sheet.is-open { visibility: visible; pointer-events: auto; }

.gk-sheet-scrim {
  position: absolute; inset: 0;
  background: rgba(8, 10, 14, 0);
  transition: background 0.3s ease;
  cursor: pointer;
}
.gk-sheet.is-open .gk-sheet-scrim { background: rgba(8, 10, 14, 0.72); }

.gk-sheet-card {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  max-height: 92dvh;
  background: var(--charcoal, #14181F);
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
  box-shadow: 0 -20px 60px rgba(0,0,0,0.55);
  transform: translateY(100%);
  transition: transform 0.36s cubic-bezier(.16,1,.3,1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.gk-sheet.is-open .gk-sheet-card { transform: translateY(0); }

.gk-sheet-handle {
  width: 44px; height: 5px;
  background: var(--charcoal-3, #2a3140);
  border-radius: 999px;
  margin: 10px auto 6px;
  flex: 0 0 auto;
  cursor: grab;
}
.gk-sheet-handle:active { cursor: grabbing; }

.gk-sheet-close {
  position: absolute;
  top: 12px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(20,24,31,0.85);
  color: #fff;
  border: 1.5px solid var(--charcoal-3, #2a3140);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 4;
  display: flex; align-items: center; justify-content: center;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
}
.gk-sheet-close:hover { background: var(--lime, #D9FE06); border-color: var(--lime, #D9FE06); color: var(--charcoal, #14181F); }

.gk-sheet-body {
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 0 32px;
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .gk-sheet-card {
    left: auto;
    right: 0;
    bottom: 0;
    top: 0;
    max-height: 100dvh;
    width: 480px;
    border-radius: 22px 0 0 22px;
    transform: translateX(100%);
  }
  .gk-sheet.is-open .gk-sheet-card { transform: translateX(0); }
}

/* === GALLERY === */
.gk-sheet-gallery { padding: 0 16px; }
.gk-sheet-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--charcoal-3, #2a3140);
  border-radius: 14px;
  overflow: hidden;
  margin-top: 6px;
}
.gk-sheet-slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gk-sheet-slide.is-active { opacity: 1; cursor: zoom-in; }
.gk-sheet-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(20,24,31,0.78);
  color: #fff;
  border: 1.5px solid rgba(217,254,6,0.6);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  padding: 0 0 2px 0;
  cursor: pointer;
  z-index: 3;
  -webkit-appearance: none;
  appearance: none;
}
.gk-sheet-nav:hover { background: var(--lime, #D9FE06); color: var(--charcoal, #14181F); }
.gk-sheet-prev { left: 10px; }
.gk-sheet-next { right: 10px; }

.gk-sheet-tier {
  position: absolute; top: 12px; left: 12px; z-index: 4;
  background: var(--lime, #D9FE06); color: var(--charcoal, #14181F);
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: 12px; letter-spacing: 1px; font-weight: 800;
  padding: 4px 10px; border-radius: 999px;
}
.gk-sheet-savepill {
  position: absolute; top: 12px; right: 12px; z-index: 4;
  background: var(--charcoal, #14181F); color: var(--lime, #D9FE06);
  border: 1px solid var(--lime, #D9FE06);
  font-weight: 800; font-size: 11px;
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: 0.4px;
}

.gk-sheet-zoom-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 5;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(20, 24, 31, 0.85);
  color: #fff;
  border: 1.5px solid var(--charcoal-3, #2a3140);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.4);
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.2s cubic-bezier(.2,1.2,.3,1), background 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}
.gk-sheet-zoom-btn:hover {
  border-color: var(--lime, #D9FE06);
  color: var(--lime, #D9FE06);
  transform: scale(1.08);
}
.gk-sheet-zoom-btn:active { transform: scale(0.96); }
.gk-sheet-zoom-btn svg { display: block; }

.gk-sheet-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 6px;
  margin-top: 10px;
}
.gk-sheet-thumb {
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid var(--charcoal-3, #2a3140);
  padding: 0;
  cursor: pointer;
  background: var(--charcoal-2, #1f252f);
  -webkit-appearance: none;
  appearance: none;
}
.gk-sheet-thumb.is-active { border-color: var(--lime, #D9FE06); }
.gk-sheet-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* === INFO === */
.gk-sheet-info { padding: 16px; }
.gk-sheet-name {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(22px, 4.5vw, 30px);
  line-height: 1.15;
  letter-spacing: 0.5px;
  margin: 6px 0 10px;
}
html[lang="bn"] .gk-sheet-name { font-family: 'Noto Sans Bengali', 'Bebas Neue', sans-serif; }

.gk-sheet-price-row {
  display: flex; align-items: baseline; gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 14px;
}
.gk-sheet-price {
  font-family: 'Bebas Neue', Impact, sans-serif;
  font-size: clamp(28px, 5vw, 38px);
  color: var(--lime, #D9FE06);
  line-height: 1;
  letter-spacing: 0.5px;
}
html[lang="bn"] .gk-sheet-price { font-family: 'Noto Sans Bengali', 'Bebas Neue', sans-serif; }
.gk-sheet-compare {
  font-size: 15px;
  color: var(--text-muted, #9ba3b0);
  text-decoration: line-through;
}
.gk-sheet-savepill-sm {
  font-size: 11px;
  background: rgba(217,254,6,0.10);
  color: var(--lime, #D9FE06);
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid rgba(217,254,6,0.35);
}

.gk-sheet-trust {
  list-style: none;
  margin: 0 0 14px;
  padding: 10px 12px;
  background: var(--charcoal-2, #1f252f);
  border: 1px solid var(--charcoal-3, #2a3140);
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 12px;
  font-size: 12.5px;
  color: var(--text, #e8eaee);
}

.gk-sheet-scarcity {
  display: flex; align-items: center; gap: 10px;
  background: rgba(217,254,6,0.06);
  border: 1px solid rgba(217,254,6,0.25);
  border-radius: 10px;
  padding: 8px 11px;
  font-size: 12.5px;
  color: var(--text, #e8eaee);
  margin: 0 0 14px;
}
.gk-sheet-dot {
  width: 9px; height: 9px;
  background: var(--lime, #D9FE06);
  border-radius: 50%;
  flex: 0 0 auto;
  animation: gkDot 1.4s ease-in-out infinite;
}
@keyframes gkDot {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(217,254,6,0.6); }
  50%      { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(217,254,6,0); }
}

.gk-sheet-sizes { border: none; padding: 0; margin: 0 0 14px; }
.gk-sheet-sizes legend {
  font-size: 12px;
  color: var(--text-muted, #9ba3b0);
  margin-bottom: 6px;
  font-weight: 600;
}
.gk-sheet-size-row { display: flex; flex-wrap: wrap; gap: 8px; }
.gk-sheet-size {
  min-width: 48px;
  padding: 9px 14px;
  border: 1.5px solid var(--charcoal-3, #2a3140);
  background: transparent;
  color: var(--text, #e8eaee);
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
}
.gk-sheet-size:hover { border-color: var(--lime, #D9FE06); }
.gk-sheet-size.is-active {
  background: var(--lime, #D9FE06);
  color: var(--charcoal, #14181F);
  border-color: var(--lime, #D9FE06);
}

.gk-sheet-cta-row { display: flex; flex-direction: column; gap: 8px; margin: 0 0 14px; }
.gk-sheet-cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: filter 0.15s ease, transform 0.12s ease;
}
.gk-sheet-cta:hover { filter: brightness(1.05); transform: translateY(-1px); }
.gk-sheet-cta-wa { background: var(--lime, #D9FE06); color: var(--charcoal, #14181F); box-shadow: 0 8px 24px rgba(217,254,6,0.30); }
.gk-sheet-cta-fb { background: var(--charcoal-2, #1f252f); color: #fff; border: 1.5px solid var(--charcoal-3, #2a3140); }
.gk-sheet-cta-fb:hover { border-color: var(--lime, #D9FE06); color: var(--lime, #D9FE06); }

/* ===== Out-of-stock state ===== */
.gk-sheet-soldpill {
  position: absolute; top: 12px; right: 12px; z-index: 4;
  background: var(--bd-red, #DA291C); color: #fff;
  font-weight: 800; font-size: 11px;
  padding: 4px 10px; border-radius: 999px;
  letter-spacing: 0.5px; text-transform: uppercase;
}
.gk-sheet-soldout-note {
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(218,41,28,0.08);
  border: 1px solid rgba(218,41,28,0.35);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0 0 14px;
}
.gk-sheet-soldout-note strong {
  color: var(--bd-red, #DA291C);
  font-size: 13px; letter-spacing: 0.4px; text-transform: uppercase;
}
.gk-sheet-soldout-note span { font-size: 12.5px; color: var(--text-muted, #9ba3b0); }
.gk-sheet-cta-notify { background: var(--lime, #D9FE06); color: var(--charcoal, #14181F); box-shadow: 0 8px 24px rgba(217,254,6,0.30); }

.gk-sheet-tryon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 14px;
  margin: 0 0 10px;
  border-radius: 14px;
  border: 1.5px dashed var(--lime, #D9FE06);
  background: linear-gradient(135deg, rgba(217,254,6,0.10), rgba(217,254,6,0.02));
  color: var(--lime, #D9FE06);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.3px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.1s;
}
.gk-sheet-tryon:hover {
  background: var(--lime, #D9FE06);
  color: var(--charcoal, #14181F);
  border-style: solid;
  transform: translateY(-1px);
}
.gk-sheet-tryon:hover .gk-sheet-tryon-badge {
  background: var(--charcoal, #14181F);
  color: var(--lime, #D9FE06);
}
.gk-sheet-tryon-badge {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.8px;
  padding: 3px 6px;
  border-radius: 5px;
  background: var(--lime, #D9FE06);
  color: var(--charcoal, #14181F);
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}
.gk-sheet-tryon svg { flex-shrink: 0; }

.gk-sheet-custom {
  background: linear-gradient(135deg, rgba(217,254,6,0.07), rgba(217,254,6,0.02));
  border: 1px solid rgba(217,254,6,0.3);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0 0 14px;
  font-size: 13px;
}
.gk-sheet-custom strong { color: var(--lime, #D9FE06); display: block; margin-bottom: 3px; font-size: 13px; }
.gk-sheet-custom p { margin: 0; color: var(--text-muted, #9ba3b0); font-size: 12px; line-height: 1.5; }

.gk-sheet-delivery {
  background: var(--charcoal-2, #1f252f);
  border: 1px solid var(--charcoal-3, #2a3140);
  border-radius: 10px;
  padding: 10px 12px;
  margin: 0 0 14px;
  font-size: 12.5px;
}
.gk-sheet-delivery strong { display: block; margin-bottom: 6px; color: var(--text, #e8eaee); font-size: 13px; }
.gk-sheet-delivery div {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; border-top: 1px solid var(--charcoal-3, #2a3140);
  color: var(--text-muted, #9ba3b0);
}
.gk-sheet-delivery div:first-of-type { border-top: none; padding-top: 0; }
.gk-sheet-delivery b { color: var(--lime, #D9FE06); font-weight: 800; font-size: 12.5px; }

.gk-sheet-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-muted, #9ba3b0);
  margin: 0 0 14px;
  white-space: pre-wrap;
}

.gk-sheet-full {
  display: inline-block;
  padding: 9px 14px;
  border: 1.5px solid var(--lime, #D9FE06);
  color: var(--lime, #D9FE06);
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
.gk-sheet-full:hover { background: rgba(217,254,6,0.08); }

/* Mobile small */
@media (max-width: 380px) {
  .gk-sheet-trust { grid-template-columns: 1fr; }
}
