/* ================================================================
   ECLARA — BOUTIQUE LUXE
   Inspired by La Mer, Charlotte Tilbury, Sisley Paris
   ================================================================ */

/* ================================================================
   PAGE BACKGROUND
   ================================================================ */
body.page-shop {
  background: #F9F5F0;
}

/* ================================================================
   SHOP HERO
   ================================================================ */
.shop-hero {
  background: #F9F5F0;
  padding: 80px 20px 64px;
  text-align: center;
  animation: luxFadeUp 0.5s ease 0.05s both;
}
.shop-hero__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 72px);
  font-weight: 600;
  color: #1A1A1A;
  line-height: 1;
  margin: 0;
}
.shop-hero__line {
  width: 60px;
  height: 1px;
  background: #C9956A;
  margin: 18px auto 0;
}
.shop-hero__count {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #8A8070;
  margin-top: 18px;
  font-weight: 500;
}

/* ================================================================
   PHILOSOPHY
   ================================================================ */
.shop-philosophy {
  background: #F9F5F0;
  padding: 0 20px 60px;
  text-align: center;
}
.shop-philosophy p {
  font-family: var(--font-display);
  font-size: clamp(18px, 2.5vw, 22px);
  color: #8A8070;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ================================================================
   FILTER PILLS
   ================================================================ */
.shop-filters {
  background: #F9F5F0;
  padding: 0 5vw 40px;
}
.filter-pills {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.filter-pill {
  font-family: var(--font-body);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-weight: 500;
  padding: 8px 22px;
  border-radius: 50px;
  border: 1px solid #C9956A;
  color: #C9956A;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}
.filter-pill:hover {
  background: rgba(201,149,106,0.08);
}
.filter-pill.active {
  background: #C9956A;
  color: #fff;
}
.filter-pill:active {
  transform: scale(0.97);
}

/* ================================================================
   PRODUCT GRID
   ================================================================ */
.shop-products {
  background: #F9F5F0;
  padding: 0 5vw 80px;
}
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ================================================================
   LUXURY PRODUCT CARD
   ================================================================ */
.luxury-card {
  background: #FDFAF6;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: #1A1A1A;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0;
  animation: luxCardUp 0.5s ease forwards;
}
.luxury-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.10);
  text-decoration: none;
  color: #1A1A1A;
}
.luxury-card__image-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #F0EDE8;
}
.luxury-card__image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.luxury-card:hover .luxury-card__image-wrap img {
  transform: scale(1.03);
}
.luxury-card__badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #C9956A;
  color: #fff;
  font-family: var(--font-body);
  font-size: 9.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 4px 12px;
  border-radius: 50px;
  z-index: 2;
  line-height: 1.4;
}
.luxury-card__body {
  padding: 20px 20px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.luxury-card__name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: #1A1A1A;
  line-height: 1.25;
  margin: 0;
}
.luxury-card__tagline {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: #8A8070;
  line-height: 1.5;
  margin: 0;
}
.luxury-card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 6px;
}
.luxury-card__price-current {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: #C9956A;
}
.luxury-card__price-compare {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: #8A8070;
  text-decoration: line-through;
  opacity: 0.7;
}
.luxury-card__footer {
  padding: 0 20px 20px;
}
.luxury-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 44px;
  background: #C9956A;
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease;
}
.luxury-card__cta:hover {
  background: #B8845A;
}
.luxury-card:active .luxury-card__cta {
  transform: scale(0.97);
}

/* Stagger animation delays */
.luxury-card:nth-child(1)  { animation-delay: 0.07s; }
.luxury-card:nth-child(2)  { animation-delay: 0.14s; }
.luxury-card:nth-child(3)  { animation-delay: 0.21s; }
.luxury-card:nth-child(4)  { animation-delay: 0.28s; }
.luxury-card:nth-child(5)  { animation-delay: 0.35s; }
.luxury-card:nth-child(6)  { animation-delay: 0.42s; }
.luxury-card:nth-child(7)  { animation-delay: 0.49s; }
.luxury-card:nth-child(8)  { animation-delay: 0.56s; }
.luxury-card:nth-child(9)  { animation-delay: 0.63s; }
.luxury-card:nth-child(10) { animation-delay: 0.70s; }
.luxury-card:nth-child(11) { animation-delay: 0.77s; }
.luxury-card:nth-child(12) { animation-delay: 0.84s; }

/* ================================================================
   TRUST PILLARS
   ================================================================ */
.shop-trust {
  background: #fff;
  padding: 50px 5vw;
  border-top: 1px solid #E8E0D6;
  border-bottom: 1px solid #E8E0D6;
}
.trust-pillars {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  flex-wrap: wrap;
}
.trust-pillar {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-body);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8A8070;
  font-weight: 500;
}
.trust-pillar__icon {
  font-size: 22px;
  flex-shrink: 0;
  line-height: 1;
}
.trust-pillar-sep {
  width: 1px;
  height: 28px;
  background: #E8E0D6;
  flex-shrink: 0;
}

/* ================================================================
   FOOTER — LUXURY OVERRIDE
   ================================================================ */
body.page-shop .footer {
  background: #1A1A1A;
  padding-block: 60px;
}
body.page-shop .footer__bottom {
  color: #555;
  font-size: 12px;
}

/* ================================================================
   WA FLOAT — LUXURY TOUCH
   ================================================================ */
body.page-shop .wa-float {
  width: 54px;
  height: 54px;
  bottom: 24px;
  right: 24px;
}
body.page-shop .wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.60);
}

/* ================================================================
   KEYFRAMES
   ================================================================ */
@keyframes luxNavDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes luxFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes luxCardUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1280px) {
  .shop-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .shop-hero { padding: 56px 20px 44px; }
  .shop-hero__title { font-size: 40px; }
  .shop-philosophy { padding-bottom: 40px; }
  .shop-grid { grid-template-columns: 1fr; }
  .shop-products { padding: 0 20px 60px; }
  .shop-filters { padding: 0 20px 32px; }
  .trust-pillars { flex-direction: column; align-items: flex-start; gap: 16px; }
  .trust-pillar-sep { display: none; }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}
