/* ============================================================
   Astra Child — style-bundle.css
   Version complète avec suppression soulignement sur tous les liens
============================================================== */

/* ============================================================
   LOCAL FONTS — Inter (WOFF2)
============================================================ */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   LOCAL FONT — Vujahday Script (WOFF2)
============================================================ */

@font-face {
  font-family: 'Vujahday Script';
  src: url('../fonts/VujahdayScript-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ------------------------------------------------------------ */
:root {
  --color-primary: #1A658C;
  --color-hover: #000000;
  --color-text: #333333;
  --color-background: #ffffff;

  --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  --grid-gap: 10px;
  --radius: 0px;
  --transition-fast: 0.25s ease;

  --flipbox-gap: 2px;
  --flipbox-min-height-desktop: 320px;
  --flipbox-min-height-tablet: 260px;
  --flipbox-min-height-mobile: 220px;
}

/* ------------------------------------------------------------
   2) Reset global
-------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Media */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Titres neutres */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
  margin: 0 0 10px;
}

/* Paragraphes */
p {
  line-height: 1.6;
  margin: 0 0 15px;
}

/* Liens - Suppression du soulignement sur tous les liens */
a {
  color: var(--color-primary);
  text-decoration: none; /* Suppression du soulignement */
}

a:hover {
  color: var(--color-hover);
  text-decoration: none; /* Aucun soulignement au survol */
}

/* Boutons */
button,
.button {
  background: var(--color-primary);
  color: #fff;
  border: 0;
  cursor: pointer;
  transition: background var(--transition-fast);
}

/* Header base */
.site-header {
  background: #fff;
  padding: 20px 0;
}

/* ------------------------------------------------------------
   WooCommerce — grille produits
-------------------------------------------------------------- */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--grid-gap);
}

@media (max-width: 921px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 544px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, 1fr);
  }
}

.woocommerce ul.products li.product {
  background: #fff;
  display: flex;
  flex-direction: column;
}

/* Mobile sécurité overflow */
@media (max-width: 480px) {
  .woocommerce ul.products {
    overflow-x: hidden;
  }
}
