/* ============================================================
   SolutionParents PHP — Surcharges et styles spécifiques
   Ces règles complètent styles.css du thème Symmetry
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: var(--font-body, 'Futura', 'Century Gothic', sans-serif);
  color: var(--color-text);
  background: var(--color-bg);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6,
.heading-font, .logotext {
  font-family: var(--font-heading, 'Josefin Sans', sans-serif);
  color: var(--color-headings);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

a { color: var(--color-link); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== CONTAINER ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ===== BUTTONS ===== */
.btn, .btn-primary {
  display: inline-block;
  background: var(--color-btn);
  color: var(--color-btn-text) !important;
  padding: 12px 28px;
  border-radius: var(--btn-radius);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity .2s, transform .1s;
  line-height: 1.4;
}
.btn:hover, .btn-primary:hover {
  opacity: .88;
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--color-headings) !important;
  border: 2px solid var(--color-headings);
  padding: 10px 26px;
  border-radius: var(--btn-radius);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s;
  display: inline-block;
}
.btn-secondary:hover {
  background: var(--color-headings);
  color: #fff !important;
  text-decoration: none;
}

/* ===== HEADER ===== */
#pageheader {
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navigation__link:hover {
  color: var(--color-nav-hover) !important;
}
.navigation__link {
  font-family: var(--font-heading);
}

/* Force header links/buttons to be dark by default and pink on hover
   This overrides the .pageheader color: #fff inheritance so links
   are visible and match the requested behaviour. */
.pageheader .navigation__link,
.pageheader .header-account-link,
.pageheader .header-cart-btn,
.pageheader .show-search-link,
.pageheader .header-admin-link,
.pageheader .logo__link {
  color: var(--color-headings) !important;
}
.pageheader .navigation__link:hover,
.pageheader .header-account-link:hover,
.pageheader .header-cart-btn:hover,
.pageheader .show-search-link:hover,
.pageheader .header-admin-link:hover,
.pageheader .logo__link:hover {
  color: var(--color-btn) /* fallback */;
  color: var(--sp-pink) !important;
}

/* ===== SLIDESHOW ===== */
.sp-slideshow {
  position: relative;
  overflow: hidden;
  height: 600px;
  background: #1a1a1a;
}
@media (max-width: 767px) { .sp-slideshow { height: 460px; } }

.sp-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  display: flex;
}
.sp-slide.active { opacity: 1; z-index: 1; }

.sp-slide__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 7s ease;
  background-color: #be529a20;
}
.sp-slide.active .sp-slide__bg { transform: scale(1); }

.sp-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 60%, transparent 100%);
}

.sp-slide__content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  padding: 48px 60px;
  width: 100%;
}
@media (max-width: 767px) { .sp-slide__content { padding: 32px 24px; } }

.sp-slide__text-block { max-width: 640px; }

.sp-slide__sub {
  font-size: 14px;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-family: var(--font-body);
}
.sp-slide__title {
  font-size: 44px;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 28px;
  font-family: var(--font-heading);
  text-transform: uppercase;
}
@media (max-width: 767px) { .sp-slide__title { font-size: 28px; } }

/* Flèches slideshow */
.sp-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s;
  backdrop-filter: blur(4px);
}
.sp-arrow:hover { background: rgba(255,255,255,.35); }
.sp-arrow--prev { left: 20px; }
.sp-arrow--next { right: 20px; }

/* Dots */
.sp-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.sp-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background .2s, transform .2s;
}
.sp-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ===== RICH TEXT ===== */
.sp-rich-text {
  padding: 64px var(--gutter);
  text-align: center;
  background: var(--color-bg);
}
.sp-rich-text__heading {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-headings);
  margin: 0 auto 20px;
  max-width: 700px;
  line-height: 1.3;
}
.sp-rich-text__body {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
}

/* ===== FEATURED COLLECTION ===== */
.sp-collection {
  padding: 60px 0;
  background: var(--color-bg);
}
.sp-collection__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding: 0 var(--gutter);
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
}
.sp-collection__title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-headings);
  margin: 0;
}
.sp-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 0 var(--gutter);
  max-width: var(--container-max);
  margin: 0 auto;
}
@media (max-width: 1024px) { .sp-products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .sp-products-grid { grid-template-columns: 1fr; } }

.sp-product-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.07);
  transition: box-shadow .25s, transform .25s;
  position: relative;
}
.sp-product-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
  transform: translateY(-4px);
}
.sp-product-card__img-wrap {
  position: relative;
  padding-top: 100%;
  background: var(--color-prod-thumb-bg);
  overflow: hidden;
}
.sp-product-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.sp-product-card:hover .sp-product-card__img { transform: scale(1.05); }

.sp-product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  z-index: 2;
}
.sp-badge--new { background: var(--color-prod-new-bg); color: var(--color-prod-new-text); }
.sp-badge--sale { background: #df5641; color: #fff; }

.sp-product-card__details {
  padding: 16px;
  background: var(--color-prod-thumb-bg);
}
.sp-product-card__vendor {
  font-size: 11px;
  color: var(--color-prod-thumb-text);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}
.sp-product-card__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-prod-thumb-detail-col-a, #202223);
  margin-bottom: 8px;
  line-height: 1.4;
}
.sp-product-card__price {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-headings);
}
.sp-product-card__old-price {
  font-size: 13px;
  text-decoration: line-through;
  color: var(--color-prod-thumb-text);
  font-weight: 400;
}
.sp-product-card__btn {
  display: none;
  width: calc(100% - 32px);
  margin: 0 16px 16px;
  text-align: center;
}
.sp-product-card:hover .sp-product-card__btn { display: block; }

/* ===== IMAGE WITH TEXT ===== */
.sp-img-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
}
@media (max-width: 767px) { .sp-img-text { grid-template-columns: 1fr; } }

.sp-img-text__img {
  position: relative;
  overflow: hidden;
  min-height: 360px;
}
.sp-img-text__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.sp-img-text__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px;
  background: var(--color-bg);
}
@media (max-width: 767px) { .sp-img-text__content { padding: 40px 24px; } }

.sp-img-text__sub {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-btn);
  margin-bottom: 12px;
  font-weight: 600;
}
.sp-img-text__title {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-headings);
  line-height: 1.2;
  margin: 0 0 20px;
}
.sp-img-text__body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 28px;
}

/* ===== GALLERY 2 COLS ===== */
.sp-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 0 var(--gutter) 16px;
  max-width: 100%;
}
@media (max-width: 600px) { .sp-gallery { grid-template-columns: 1fr; } }

.sp-gallery__item {
  position: relative;
  height: 290px;
  overflow: hidden;
  border-radius: 4px;
  cursor: pointer;
}
@media (max-width: 767px) { .sp-gallery__item { height: 280px; } }

.sp-gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
  display: block;
}
.sp-gallery__item:hover img { transform: scale(1.06); }

.sp-gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,.05) 55%, transparent 100%);
}
.sp-gallery__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 22px;
  z-index: 2;
}
.sp-gallery__title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 6px;
  font-family: var(--font-heading);
  text-transform: uppercase;
}
.sp-gallery__sub {
  font-size: 13px;
  color: rgba(255,255,255,.8);
  margin: 0 0 14px;
  line-height: 1.5;
}

/* ===== TESTIMONIALS ===== */
.sp-testimonials {
  background: var(--color-alt-bg);
  padding: 70px var(--gutter);
}
.sp-testimonials__title {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-headings);
  text-align: center;
  margin: 0 0 48px;
}
.sp-testimonials__slider {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}
.sp-testimonial {
  display: none;
}
.sp-testimonial.active { display: flex; gap: 48px; align-items: center; }
@media (max-width: 767px) {
  .sp-testimonial.active { flex-direction: column; text-align: center; gap: 24px; }
}

.sp-testimonial__img {
  flex-shrink: 0;
  width: 180px; height: 180px;
  border-radius: 6px;
  object-fit: cover;
}
.sp-testimonial__stars {
  color: var(--color-btn);
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}
.sp-testimonial__text {
  font-size: 22px;
  font-style: italic;
  color: var(--color-headings);
  line-height: 1.55;
  margin: 0 0 16px;
}
@media (max-width: 767px) { .sp-testimonial__text { font-size: 17px; } }
.sp-testimonial__author {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text);
  font-weight: 600;
}

/* ===== BIG BANNER ===== */
.sp-banner {
  position: relative;
  height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1a1a1a;
}
@media (max-width: 767px) { .sp-banner { height: 480px; } }

.sp-banner__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.sp-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.48);
}
.sp-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 860px;
}
.sp-banner__sub {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: rgba(255,255,255,.75);
  margin-bottom: 16px;
  font-family: var(--font-body);
}
.sp-banner__title {
  font-size: 62px;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin: 0 0 24px;
  font-family: var(--font-heading);
  text-transform: uppercase;
}
@media (max-width: 767px) { .sp-banner__title { font-size: 36px; } }
.sp-banner__body {
  color: rgba(255,255,255,.85);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 32px;
}

/* ===== MULTI-COLUMN ===== */
.sp-multicolumn {
  padding: 70px var(--gutter);
  background: var(--color-bg);
}
.sp-multicolumn__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: var(--container-max);
  margin: 0 auto;
}
@media (max-width: 900px) { .sp-multicolumn__grid { grid-template-columns: 1fr; } }

.sp-multicolumn__item {
  text-align: center;
}
.sp-multicolumn__img-wrap {
  position: relative;
  padding-top: 75%;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 20px;
}
.sp-multicolumn__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.sp-multicolumn__item:hover .sp-multicolumn__img { transform: scale(1.05); }
.sp-multicolumn__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-headings);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.sp-multicolumn__text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text);
  margin-bottom: 20px;
}

/* ===== PLACEHOLDER IMAGES ===== */
.sp-placeholder {
  background: linear-gradient(135deg, var(--color-alt-bg) 0%, #d8d2c8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(0,0,0,.15);
  font-family: serif;
}

/* ===== SECTION SPACING ===== */
section { overflow: hidden; }

/* ===== PRODUCT PLACEHOLDER ===== */
.sp-product-img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #f0eee8 0%, #ddd8d0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
}

/* ===== SCROLL ANIMATIONS ===== */
[data-sp-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .55s ease, transform .55s ease;
}
[data-sp-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ===== RESPONSIVE NAV ===== */
@media (min-width: 768px) {
  #mobile-nav-btn { display: none; }
}
@media (max-width: 767px) {
  .navigation { display: none; }
  .navigation__link { display: none; }
  .section-header__nav { display: none; }
}
