/* ═══════════════════════════════════════════════
   BOUTIQUE — Styles page produits Les Poochs
   ═══════════════════════════════════════════════ */

/* ── Page layout ── */
.boutique-hero {
  background: linear-gradient(135deg, #690008 0%, #8d4c46 100%);
  color: #fff;
  padding: 5rem 0 3rem;
  text-align: center;
}

.boutique-hero__eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #D4AF37;
  margin: 0 0 0.75rem;
}

.boutique-hero h1 {
  font-family: 'Playfair Display', 'Noto Serif', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin: 0 0 1rem;
  line-height: 1.2;
}

.boutique-hero__subtitle {
  font-size: 1.05rem;
  opacity: 0.88;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.boutique-hero__badges {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.boutique-badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 2rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* ── Filters ── */
.boutique-filters {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 2rem 1rem 0;
}

.filter-btn {
  background: #fff;
  border: 2px solid #e8dcc8;
  border-radius: 2rem;
  padding: 0.55rem 1.2rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #524747;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: #690008;
  color: #690008;
}

.filter-btn.active {
  background: #690008;
  border-color: #690008;
  color: #fff;
}

/* ── Products section ── */
.boutique-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* ── Product card ── */
.product-card {
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(139, 26, 26, 0.08);
  border-radius: 16px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 32px rgba(105, 0, 8, 0.12);
  border-color: #D4AF37;
}

.product-card[data-featured="true"]::before {
  content: '⭐ Bestseller';
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #D4AF37;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 1rem;
  letter-spacing: 0.05em;
}

.product-emoji {
  font-size: 2.75rem;
  line-height: 1;
}

.product-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background: #f5f0eb;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.product-card:hover .product-img img {
  transform: scale(1.04);
}

.product-category-badge {
  display: inline-block;
  background: #fdf0f1;
  color: #690008;
  border-radius: 0.5rem;
  padding: 0.2rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
}
.badge-brosses      { background: #fff0f0; color: #690008; }
.badge-shampoings   { background: #f0f6ff; color: #1a4f8a; }
.badge-soins        { background: #f0fff5; color: #1a6b3a; }
.badge-soins-oreilles { background: #f0f9ff; color: #0d6b7e; }
.badge-parfums      { background: #faf0ff; color: #6b1a8a; }
.badge-accessoires  { background: #f5f5f0; color: #4a4a2a; }

.product-badge-promo {
  display: inline-block;
  background: #D4AF37;
  color: #201212;
  border-radius: 0.5rem;
  padding: 0.15rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.product-name {
  font-family: 'Noto Serif', 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #201212;
  margin: 0;
  line-height: 1.3;
}

.product-description {
  font-size: 0.875rem;
  line-height: 1.65;
  color: #524747;
  margin: 0;
  flex: 1;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: #524747;
}

.product-stars {
  color: #D4AF37;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.product-price {
  font-family: 'Manrope', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: #690008;
}

.btn-add-to-cart {
  flex-shrink: 0;
  background: #690008;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 0.65rem 1.15rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-add-to-cart:hover {
  background: #8d4c46;
  transform: scale(1.03);
}

.btn-add-to-cart:active {
  transform: scale(0.97);
}

/* ── Cart icon button in nav ── */
.cart-icon-btn {
  position: relative;
  background: none;
  border: 2px solid #690008;
  border-radius: 12px;
  padding: 0.4rem 0.9rem;
  font-size: 1rem;
  cursor: pointer;
  color: #690008;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
}

.cart-icon-btn:hover {
  background: #690008;
  color: #fff;
}

.cart-badge {
  background: #D4AF37;
  color: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -7px;
  right: -7px;
}

/* ── Cart drawer ── */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 490;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(420px, 100vw);
  background: #fcf9f6;
  z-index: 500;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 32px rgba(0,0,0,0.12);
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid #e8dcc8;
}

.cart-drawer__title {
  font-family: 'Noto Serif', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #201212;
  margin: 0;
}

.cart-drawer__close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: #524747;
  padding: 0.25rem;
  border-radius: 8px;
  transition: background 0.2s;
}

.cart-drawer__close:hover {
  background: #f0e8e0;
}

.cart-drawer__items {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #8d7d7d;
}

.cart-empty__icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.75rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  border: 1px solid #e8dcc8;
  border-radius: 12px;
  padding: 0.9rem 1rem;
}

.cart-item__emoji {
  font-size: 2rem;
  flex-shrink: 0;
}

.cart-item__info {
  flex: 1;
  min-width: 0;
}

.cart-item__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #201212;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item__price {
  font-size: 0.8rem;
  color: #690008;
  font-weight: 600;
  margin-top: 0.15rem;
}

.cart-item__qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid #e8dcc8;
  background: #fff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #690008;
  transition: border-color 0.2s, background 0.2s;
}

.qty-btn:hover {
  border-color: #690008;
  background: #fdf0f1;
}

.qty-value {
  font-size: 0.875rem;
  font-weight: 700;
  min-width: 1.25rem;
  text-align: center;
  color: #201212;
}

.cart-drawer__footer {
  padding: 1.25rem 1.5rem 1.5rem;
  border-top: 1px solid #e8dcc8;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-total__label {
  font-size: 0.9rem;
  color: #524747;
  font-weight: 600;
}

.cart-total__amount {
  font-size: 1.4rem;
  font-weight: 800;
  color: #690008;
  font-family: 'Manrope', sans-serif;
}

.cart-note {
  font-size: 0.75rem;
  color: #8d7d7d;
  text-align: center;
}

.btn-checkout {
  background: linear-gradient(135deg, #690008 0%, #8d4c46 100%);
  color: #fff;
  border: none;
  border-radius: 14px;
  padding: 1rem;
  font-family: 'Manrope', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
  transition: opacity 0.2s, transform 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-checkout:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-checkout:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Confirmation page ── */
.confirmation-page {
  min-height: 100vh;
  background: #fcf9f6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.confirmation-card {
  background: #fff;
  border-radius: 24px;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 480px;
  width: 100%;
  box-shadow: 0 4px 32px rgba(0,0,0,0.08);
}

.confirmation-icon {
  font-size: 4rem;
  display: block;
  margin-bottom: 1rem;
}

.confirmation-card h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: #201212;
  margin: 0 0 0.75rem;
}

.confirmation-card p {
  color: #524747;
  margin: 0 0 0.5rem;
  line-height: 1.6;
}

.confirmation-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #690008;
  margin: 1.5rem 0;
  font-family: 'Manrope', sans-serif;
}

.btn-back-home {
  display: inline-block;
  background: #690008;
  color: #fff;
  border-radius: 14px;
  padding: 0.9rem 2rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  margin-top: 1rem;
}

.btn-back-home:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ── Teaser section sur l'accueil ── */
.section-boutique-teaser {
  padding: 5rem 0;
  background: #F5F0EB;
}

.boutique-teaser-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

.boutique-teaser-inner .section-eyebrow {
  font-family: 'Manrope', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #690008;
  margin: 0 0 0.75rem;
}

.boutique-teaser-inner h2 {
  font-family: 'Playfair Display', 'Noto Serif', serif;
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  color: #201212;
  margin: 0 0 0.75rem;
}

.boutique-teaser-inner > p {
  color: #524747;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.boutique-featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.btn-voir-boutique {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #690008;
  color: #fff;
  border-radius: 14px;
  padding: 0.9rem 2rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}

.btn-voir-boutique:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ── Delivery selector in cart ── */
.delivery-selector {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.delivery-selector__label {
  font-size: 0.8rem;
  font-weight: 700;
  color: #524747;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.delivery-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #fff;
  border: 1.5px solid #e8dcc8;
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  cursor: pointer;
  transition: border-color 0.2s;
  font-size: 0.875rem;
  font-weight: 500;
  color: #201212;
}

.delivery-option:hover,
.delivery-option.selected {
  border-color: #690008;
  background: #fdf0f1;
}

.delivery-option input[type="radio"] {
  accent-color: #690008;
}

.delivery-option__price {
  margin-left: auto;
  font-weight: 700;
  color: #690008;
  font-size: 0.8rem;
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .boutique-hero {
    padding: 4rem 1rem 2rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .boutique-featured-grid {
    grid-template-columns: 1fr;
  }

  .cart-drawer {
    width: 100vw;
  }
}
