/* ==========================================================================
   BPSTORE SPOTLIGHT SHOWCASE — APPLE FIXED 4-PRODUCT GRID SPECIFICATION
   - Khung 1440px / 1560px mở rộng toàn màn hình
   - Cố định 4 sản phẩm Flagship bề thế, vững chãi
   - Nền Xám Khói Studio (#f5f5f7) chuẩn Apple
   - Micro-interaction: 3D Hover Lift (-8px) & Ambient Green Glow
   ========================================================================== */

:root {
  --spot-bg: #ffffff;
  --spot-card-bg: #ffffff;
  --spot-card-border: transparent;
  --spot-border-hover: rgba(26, 182, 6, 0.45);
  --spot-green: #0c7c0b;
  --spot-green-accent: #1ab606;
  --spot-green-glow: rgba(26, 182, 6, 0.16);
  --spot-text-main: #1d1d1f;
  --spot-text-sub: #6e6e73;
  --spot-radius: 22px;
  --spot-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Roboto, Arial, sans-serif;
}

.bp-spotlight-section {
  width: 100%;
  padding: 30px 0 45px;
  background: var(--spot-bg);
  position: relative;
  font-family: var(--spot-font);
  box-sizing: border-box;
}

/* CONTAINER CHUẨN 1200px ĐỒNG BỘ VỚI HEADER */
.bp-spotlight-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .bp-spotlight-container {
    padding: 0 12px;
  }
}

/* HEADER SECTION: CĂN TRÁI & IN HOA ĐỒNG BỘ */
.bp-spotlight-header {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-bottom: 26px;
  text-align: left;
}

.bp-spotlight-title-wrap {
  text-align: left;
  max-width: 100%;
}

.bp-spotlight-title {
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--spot-text-main);
  line-height: 1.25;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}

.bp-spotlight-subtitle {
  font-size: 14.5px;
  font-weight: 400;
  color: var(--spot-text-sub);
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   4-PRODUCT SHOWCASE GRID (CỐ ĐỊNH 4 SẢN PHẨM)
   ========================================================================== */
.bp-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

/* THẺ SPOTLIGHT CLEAN LUXURY (STUDIO WHITE TRÊN NỀN TRẮNG - KHÔNG LỘ HỘP) */
.bp-spot-card {
  background: #ffffff;
  border: 1px solid transparent;
  border-radius: var(--spot-radius);
  padding: 16px;
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: none;
  box-sizing: border-box;
}

/* MICRO-INTERACTION CHUẨN APPLE: HOVER CHỈ ĐỔ BÓNG DỊU KHÔNG VIỀN */
.bp-spot-card:hover {
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* KHUNG ẢNH SẢN PHẨM */
.bp-spot-img-wrap {
  position: relative;
  border-radius: 16px;
  background: #ffffff;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.bp-spot-img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bp-spot-card:hover .bp-spot-img-wrap img {
  transform: scale(1.028);
}

/* HUY HIỆU TRÊN ẢNH */
.bp-spot-badge-top {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 99px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bp-badge-preorder {
  background: rgba(37, 99, 235, 0.92);
  color: #ffffff;
}

.bp-badge-limited {
  background: rgba(225, 29, 72, 0.92);
  color: #ffffff;
}

.bp-badge-new {
  background: rgba(12, 124, 11, 0.92);
  color: #ffffff;
}

.bp-badge-hot {
  background: #dc2626;
  color: #ffffff;
}

/* THÔNG TIN SẢN PHẨM CĂN GIỮA CHUẨN APPLE STUDIO */
.bp-spot-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
}

.bp-spot-name {
  font-size: 17.5px;
  font-weight: 600;
  color: var(--spot-text-main);
  line-height: 1.38;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 48px;
  text-align: center;
  letter-spacing: -0.015em;
}

/* VÙNG GIÁ CĂN GIỮA ĐỒNG ĐIỆU */
.bp-spot-price-box {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: 4px;
}

.bp-spot-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--spot-green);
  letter-spacing: -0.02em;
}

.bp-spot-price.bp-spot-price-contact {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--spot-green);
  letter-spacing: -0.01em;
}

.bp-spot-compare {
  font-size: 13px;
  color: #86868b;
  text-decoration: line-through;
  font-weight: 500;
}

/* NÚT FULL-WIDTH GÓC VUÔNG: CHỈ XUẤT HIỆN KHI HOVER */
.bp-spot-btn-wrap {
  width: 100%;
  margin-top: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.3s ease;
  pointer-events: none;
}

.bp-spot-card:hover .bp-spot-btn-wrap {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.bp-spot-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  background: #1d1d1f;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 0px; /* Góc vuông 90 độ dứt khoát */
  border: 1px solid #1d1d1f;
  box-sizing: border-box;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bp-spot-card:hover .bp-spot-btn {
  background: #000000;
  border-color: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .bp-spotlight-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .bp-spotlight-title {
    font-size: 24px;
  }
}

@media (max-width: 600px) {
  .bp-spotlight-section {
    padding: 24px 0 32px;
  }
  .bp-spotlight-header {
    margin-bottom: 16px;
  }
  .bp-spotlight-title {
    font-size: 20px;
  }
  .bp-spotlight-subtitle {
    font-size: 13.5px;
  }
  .bp-spotlight-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .bp-spot-card {
    padding: 14px;
    border-radius: 18px;
  }
  .bp-spot-img-wrap {
    padding: 10px;
    border-radius: 12px;
    margin-bottom: 10px;
  }
  .bp-spot-name {
    font-size: 14px;
    min-height: 38px;
  }
  .bp-spot-price {
    font-size: 15px;
  }
  .bp-spot-compare {
    font-size: 11px;
  }
  .bp-spot-btn-wrap {
    display: none;
  }
}
