/* ============================================================
   MONDE APICOL — Boutique & Pages internes
   ============================================================ */

/* ── PAGE HERO (intérieur) ──────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--bee-brown) 0%, #2C1810 100%);
  padding: 7rem 0 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '🐝';
  position: absolute;
  font-size: 14rem;
  opacity: .04;
  top: -2rem; right: 2rem;
}
.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 1rem;
}
.page-hero .breadcrumb a { color: var(--honey-gold); }
.page-hero .breadcrumb span { font-size: .6rem; }
.page-hero h1 { color: var(--white); margin-bottom: .7rem; }
.page-hero p { color: rgba(255,255,255,.6); font-size: 1rem; max-width: 500px; margin: 0 auto; }

/* ── BOUTIQUE LAYOUT ────────────────────────────────────── */
.boutique-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  padding: 3rem 0;
}

/* SIDEBAR */
.shop-sidebar { position: sticky; top: 100px; height: fit-content; }
.sidebar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}
.sidebar-card h4 {
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--bee-brown);
  margin-bottom: 1.2rem;
  padding-bottom: .8rem;
  border-bottom: 2px solid var(--honey-light);
}
.sidebar-search {
  position: relative;
}
.sidebar-search input {
  width: 100%;
  padding: .75rem 1rem .75rem 2.8rem;
  border: 1.5px solid var(--honey-light);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  outline: none;
  transition: var(--transition);
  background: var(--honey-cream);
  color: var(--text-dark);
}
.sidebar-search input:focus { border-color: var(--honey-gold); background: var(--white); }
.sidebar-search .search-icon {
  position: absolute;
  left: .9rem; top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
  font-size: .9rem;
}

.cat-filter-list { display: flex; flex-direction: column; gap: .4rem; }
.cat-filter-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .6rem .9rem;
  border: none;
  background: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: .87rem;
  color: var(--text-mid);
  transition: var(--transition);
  text-align: left;
  width: 100%;
}
.cat-filter-btn:hover,
.cat-filter-btn.active {
  background: var(--honey-light);
  color: var(--honey-dark);
  font-weight: 600;
}
.cat-filter-btn .cat-count {
  background: var(--honey-light);
  color: var(--honey-dark);
  font-size: .7rem;
  font-weight: 700;
  padding: .15rem .5rem;
  border-radius: 50px;
}
.cat-filter-btn.active .cat-count { background: var(--honey-gold); color: var(--white); }

.price-range { padding: .5rem 0; }
.price-inputs {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
}
.price-inputs input {
  flex: 1;
  padding: .5rem .8rem;
  border: 1.5px solid var(--honey-light);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: .82rem;
  outline: none;
  background: var(--honey-cream);
  color: var(--text-dark);
}
.price-inputs input:focus { border-color: var(--honey-gold); }
.price-inputs span { color: var(--text-light); font-size: .8rem; }
.price-slider {
  width: 100%;
  accent-color: var(--honey-gold);
}

/* SHOP MAIN */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  margin-bottom: 1.8rem;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 1rem;
}
.shop-count { font-size: .88rem; color: var(--text-light); }
.shop-count strong { color: var(--bee-brown); }
.sort-select {
  padding: .55rem 1rem;
  border: 1.5px solid var(--honey-light);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: .85rem;
  outline: none;
  background: var(--honey-cream);
  color: var(--text-dark);
  cursor: pointer;
  transition: var(--transition);
}
.sort-select:focus { border-color: var(--honey-gold); }

.view-toggles { display: flex; gap: .4rem; }
.view-btn {
  width: 36px; height: 36px;
  border: 1.5px solid var(--honey-light);
  border-radius: var(--radius-sm);
  background: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem;
  color: var(--text-light);
  transition: var(--transition);
}
.view-btn.active,
.view-btn:hover { border-color: var(--honey-gold); color: var(--honey-gold); background: var(--honey-light); }

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.shop-grid.list-view { grid-template-columns: 1fr; }
.shop-grid.list-view .product-card { display: flex; }
.shop-grid.list-view .product-img { width: 180px; flex-shrink: 0; height: 180px; }
.shop-grid.list-view .product-body { display: flex; flex-direction: column; justify-content: center; }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  margin-top: 3rem;
}
.page-btn {
  width: 40px; height: 40px;
  border: 1.5px solid var(--honey-light);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: .88rem;
  color: var(--text-mid);
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.page-btn:hover, .page-btn.active {
  border-color: var(--honey-gold);
  background: var(--honey-gold);
  color: var(--white);
}

/* ── PRODUCT DETAIL ─────────────────────────────────────── */
.product-detail {
  padding: 3rem 0;
}
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.product-gallery { position: sticky; top: 100px; }
.gallery-main {
  background: var(--honey-light);
  border-radius: var(--radius);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
}
.gallery-thumbs { display: flex; gap: .8rem; }
.thumb {
  width: 80px; height: 80px;
  background: var(--honey-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.thumb.active, .thumb:hover { border-color: var(--honey-gold); }

.product-info .product-category {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--honey-gold);
  margin-bottom: .5rem;
}
.product-info h1 {
  font-size: 2rem;
  color: var(--bee-brown);
  margin-bottom: .8rem;
  line-height: 1.2;
}
.product-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.product-rating { display: flex; align-items: center; gap: .4rem; color: var(--honey-gold); font-size: .9rem; }
.product-rating span { color: var(--text-light); font-size: .82rem; }
.product-stock {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: var(--accent-green);
  font-weight: 600;
}
.stock-dot {
  width: 8px; height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
}

.product-price-block { margin-bottom: 1.5rem; }
.price-main {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--honey-dark);
  font-family: 'Playfair Display', serif;
}
.price-original {
  font-size: 1.1rem;
  color: var(--text-light);
  text-decoration: line-through;
  margin-left: .5rem;
}
.price-save {
  display: inline-block;
  background: #FFEBEE;
  color: #C62828;
  font-size: .78rem;
  font-weight: 700;
  padding: .2rem .7rem;
  border-radius: 50px;
  margin-left: .5rem;
}

.product-desc { color: var(--text-mid); font-size: .93rem; line-height: 1.8; margin-bottom: 2rem; }

.quantity-selector {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.quantity-selector label { font-size: .88rem; font-weight: 600; color: var(--text-dark); }
.qty-control {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--honey-light);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qty-control button {
  width: 38px; height: 38px;
  background: var(--honey-light);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--bee-brown);
  font-weight: 700;
  transition: var(--transition);
}
.qty-control button:hover { background: var(--honey-gold); color: var(--white); }
.qty-control input {
  width: 50px; height: 38px;
  border: none;
  border-left: 1.5px solid var(--honey-light);
  border-right: 1.5px solid var(--honey-light);
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  font-weight: 600;
  outline: none;
  color: var(--text-dark);
}

.product-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.product-actions .btn-primary { flex: 1; justify-content: center; }
.btn-wishlist {
  width: 52px; height: 52px;
  border: 1.5px solid var(--honey-light);
  border-radius: var(--radius);
  background: none;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  color: var(--text-light);
}
.btn-wishlist:hover { border-color: #E91E63; color: #E91E63; background: #FCE4EC; }
.btn-wishlist.active { border-color: #E91E63; color: #E91E63; background: #FCE4EC; }

.product-specs {
  background: var(--honey-cream);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.product-specs h4 { font-size: .9rem; color: var(--bee-brown); margin-bottom: 1rem; }
.spec-row {
  display: flex;
  justify-content: space-between;
  padding: .5rem 0;
  border-bottom: 1px solid rgba(245,166,35,.15);
  font-size: .85rem;
}
.spec-row:last-child { border-bottom: none; }
.spec-row .spec-key { color: var(--text-light); }
.spec-row .spec-val { font-weight: 600; color: var(--bee-brown); }

.product-guarantees {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.guarantee-item {
  text-align: center;
  padding: 1rem .5rem;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--honey-light);
  font-size: .78rem;
}
.guarantee-item .g-icon { font-size: 1.5rem; margin-bottom: .4rem; }
.guarantee-item strong { display: block; color: var(--bee-brown); font-size: .8rem; }
.guarantee-item span { color: var(--text-light); }

/* ── A PROPOS ────────────────────────────────────────────── */
.about-story {
  padding: 5rem 0;
  background: var(--white);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-img-wrapper {
  position: relative;
}
.about-img-main {
  width: 100%;
  height: 450px;
  background: linear-gradient(135deg, #FFE082, #FFB300);
  border-radius: 24px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10rem;
  box-shadow: var(--shadow-lg);
}
.about-img-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--bee-brown);
  color: var(--white);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-img-badge .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--honey-gold);
  display: block;
  line-height: 1;
}
.about-img-badge .lbl { font-size: .75rem; opacity: .7; text-transform: uppercase; letter-spacing: .08em; }

.about-text .tag { margin-bottom: 1rem; }
.about-text h2 { margin-bottom: 1.2rem; }
.about-text p { margin-bottom: 1rem; font-size: .95rem; line-height: 1.8; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.value-item {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: 1rem;
  background: var(--honey-cream);
  border-radius: var(--radius-sm);
}
.value-icon { font-size: 1.5rem; }
.value-text strong { display: block; font-size: .85rem; color: var(--bee-brown); margin-bottom: .2rem; }
.value-text span { font-size: .78rem; color: var(--text-light); }

.team-section {
  background: var(--honey-cream);
  padding: 5rem 0;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.team-avatar {
  height: 180px;
  background: linear-gradient(135deg, var(--honey-gold), var(--honey-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  color: var(--white);
}
.team-info { padding: 1.5rem 1rem; }
.team-info h3 { font-size: 1rem; color: var(--bee-brown); margin-bottom: .3rem; }
.team-info span { font-size: .8rem; color: var(--honey-gold); font-weight: 600; }
.team-info p { font-size: .8rem; color: var(--text-light); margin-top: .5rem; }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  padding: 4rem 0;
}
.contact-info-card {
  background: var(--bee-brown);
  color: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  height: fit-content;
  position: sticky;
  top: 100px;
}
.contact-info-card h3 { color: var(--white); margin-bottom: .7rem; font-size: 1.5rem; }
.contact-info-card > p { color: rgba(255,255,255,.65); font-size: .9rem; margin-bottom: 2rem; }
.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail .c-icon {
  width: 46px; height: 46px;
  background: rgba(245,166,35,.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-detail .c-text strong { display: block; font-size: .85rem; margin-bottom: .2rem; }
.contact-detail .c-text span { font-size: .82rem; color: rgba(255,255,255,.6); line-height: 1.5; display: block; }

.hours-grid {
  background: rgba(255,255,255,.08);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-top: 2rem;
}
.hours-grid h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--honey-gold); margin-bottom: .8rem; }
.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: .82rem;
  padding: .4rem 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.7);
}
.hours-row:last-child { border-bottom: none; }
.hours-row .open { color: #A5D6A7; font-weight: 600; }
.hours-row .closed { color: #EF9A9A; }

.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}
.contact-form-card h3 { font-size: 1.5rem; color: var(--bee-brown); margin-bottom: .5rem; }
.contact-form-card > p { color: var(--text-light); font-size: .9rem; margin-bottom: 2rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.2rem;
}
.form-group label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--bee-brown);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: .8rem 1rem;
  border: 1.5px solid var(--honey-light);
  border-radius: var(--radius-sm);
  font-family: 'Poppins', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: var(--transition);
  background: var(--honey-cream);
  color: var(--text-dark);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--honey-gold); background: var(--white); }
.form-group textarea { resize: vertical; min-height: 130px; }

.map-section {
  background: var(--honey-cream);
  padding: 0 0 4rem;
}
.map-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow-md);
  background: var(--honey-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  color: var(--text-light);
  position: relative;
}
.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  color: var(--text-light);
  font-size: 1rem;
}
.map-placeholder .map-icon { font-size: 4rem; }

/* ── RESPONSIVE PAGES ───────────────────────────────────── */
@media (max-width: 1024px) {
  .boutique-layout { grid-template-columns: 1fr; }
  .shop-sidebar { position: static; }
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .about-grid { grid-template-columns: 1fr; }
  .about-img-wrapper { display: none; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-info-card { position: static; }
}
@media (max-width: 768px) {
  .form-row { grid-template-columns: 1fr; }
  .about-values { grid-template-columns: 1fr; }
  .product-guarantees { grid-template-columns: 1fr; }
  .product-actions { flex-direction: column; }
  .product-actions .btn-wishlist { width: 100%; }
}
