/* ============================================================
   SHOP.CSS — Lumière Luxury Store
   Shop Hero · Filters · Product Grid · Booking Form
   ============================================================ */

/* ── SHOP HERO ── */
.shop-hero {
  position: relative;
  height: 55vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--espresso);
}

.shop-hero-video-wrap {
  position: absolute;
  inset: 0;
}

.shop-hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
}

.shop-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(26,15,10,0.6) 0%, rgba(26,15,10,0.35) 100%);
}

.shop-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 2rem;
}

.shop-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 1rem;
  animation: fadeUp 0.8s var(--ease) 0.3s both;
}

.shop-hero-sub {
  font-size: 1rem;
  color: rgba(250,246,238,0.65);
  font-weight: 300;
  animation: fadeUp 0.8s var(--ease) 0.5s both;
}

/* ── FILTER TABS ── */
.shop-filters {
  background: var(--ivory);
  padding: 2rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 94px;
  z-index:10;
}

.filter-tabs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  max-width: var(--inner-max);
  margin: 0 auto;
}

.filter-tab {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: transparent;
  color: var(--sand);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.filter-tab:hover {
  border-color: var(--gold);
  color: var(--mahogany);
}

.filter-tab.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--cream);
}

/* ── SHOP GRID ── */
.shop-grid-section {
  padding: 5rem 2rem;
  background: var(--ivory);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.shop-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.shop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(44,24,16,0.1);
}

.shop-card.hidden {
  display: none;
}

.shop-card-img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--parchment);
}

.shop-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.shop-card:hover .shop-card-img {
  transform: scale(1.05);
}
.shop-card-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.shop-card:hover .shop-card-video {
  opacity: 1;
}

/*.shop-card:hover .shop-card-img {
  opacity: 0;
}*/

.video-hint {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26,15,10,0.75);
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
  display: none; /* hidden on desktop */
}

@media (max-width: 900px) {
  .video-hint {
    display: block;
  }
}

/* hide hint when video is playing */
.shop-card.playing .video-hint {
  display: none;
}

.shop-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--gold);
  color: var(--cream);
  padding: 0.28rem 0.65rem;
  border-radius: 2px;
}

.new-badge { background: var(--mahogany); }

.shop-card-order {
  position: absolute;
  bottom: -48px;
  left: 0;
  right: 0;
  background: rgba(26,15,10,0.92);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem;
  border: none;
  cursor: pointer;
  transition: bottom 0.3s var(--ease);
}

.shop-card:hover .shop-card-order {
  bottom: 0;
}

.shop-card-info {
  padding: 1.1rem;
}

.shop-card-category {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 0.35rem;
}

.shop-card-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--mahogany);
  line-height: 1.3;
  margin-bottom: 0.9rem;
}

.shop-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.shop-card-price {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--espresso);
}

.shop-card-cta {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.38rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: none;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}

.shop-card-cta:hover {
  background: var(--gold);
  color: var(--cream);
}

/* ── BOOKING SECTION ── */
.booking {
  padding: 7rem 2rem;
  background: var(--parchment);
}

.booking-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
  max-width: var(--inner-max);
  margin: 0 auto;
}

.booking-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 600;
  color: var(--mahogany);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.booking-desc {
  font-size: 0.9rem;
  color: var(--sand);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.payment-details {
  background: var(--espresso);
  border-radius: 4px;
  padding: 1.8rem;
}

.payment-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.payment-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border-dark);
}

.payment-row:last-of-type { border-bottom: none; }

.payment-key {
  font-size: 0.78rem;
  color: var(--sand);
  font-weight: 500;
}

.payment-val {
  font-size: 0.85rem;
  color: var(--cream);
  font-weight: 600;
}

.copy-val {
  cursor: pointer;
  border-bottom: 1px dashed var(--gold);
  padding-bottom: 1px;
  transition: color 0.2s;
}

.copy-val:hover { color: var(--gold); }

.copy-hint {
  font-size: 0.65rem;
  color: var(--sand);
  opacity: 0.6;
  margin-top: 0.6rem;
  text-align: right;
}

/* ── BOOKING FORM ── */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.booking-success {
  display: none;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 4px;
}

.booking-success.visible { display: block; }

.success-icon {
  width: 60px;
  height: 60px;
  background: var(--gold);
  color: var(--cream);
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.booking-success h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--mahogany);
  margin-bottom: 0.75rem;
}

.booking-success p {
  font-size: 0.9rem;
  color: var(--sand);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.whatsapp-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 1rem;
  background: #25D366;
}

.whatsapp-btn svg {
  width: 18px;
  height: 18px;
}

.whatsapp-btn:hover {
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35);
}

.booking-success .btn-outline {
  width: 100%;
  justify-content: center;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mahogany);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--mahogany);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.85rem 1rem;
  transition: border-color 0.25s, box-shadow 0.25s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,150,63,0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-readonly {
  background: var(--parchment) !important;
  color: var(--gold) !important;
  font-weight: 600 !important;
  cursor: default;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: end;
}

.form-group--sm input {
  width: 80px;
  text-align: center;
}

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 1rem;
  font-size: 0.82rem;
  margin-top: 0.5rem;
}

/* ── KEYFRAMES ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .shop-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .booking-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  /*.shop-filters { top: 56px; }*/
  .filter-tab {
    font-size: 0.7rem;
    padding: 0.5rem 0.9rem;
  }
}

@media (max-width: 480px) {
  .shop-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-group--sm input {
    width: 100%;
    text-align: left;
  }
}