/*
 * Boutique SOC
 * La page Elementor utilise un conteneur « boxed » : les widgets sont donc
 * enfants de .e-con-inner et non directement du conteneur principal.
 */

body.page-id-2664 {
  --soc-shop-ink: #25272d;
  --soc-shop-red: #9e0b12;
  --soc-shop-cream: #f4f0ea;
  --soc-shop-paper: #fff;
  --soc-shop-muted: #74767d;
  background: var(--soc-shop-cream) !important;
}

body.page-id-2664 .elementor-2664,
body.page-id-2664 .elementor-2664 *,
body.page-id-2664 .elementor-2664 *::before,
body.page-id-2664 .elementor-2664 *::after {
  box-sizing: border-box;
}

body.page-id-2664 .site-content > .ast-container,
body.page-id-2664 #primary,
body.page-id-2664 article.page,
body.page-id-2664 .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-id-2664 .elementor-2664 {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none !important;
  margin-left: -50vw !important;
  overflow: hidden;
}

@supports (width: 100dvw) {
  body.page-id-2664 .elementor-2664 {
    width: 100dvw;
    margin-left: -50dvw !important;
  }
}

/* Fond sombre du hero, puis papier crème derrière le catalogue. */
body.page-id-2664 .elementor-element-3f42e44 {
  position: relative;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: var(--soc-shop-cream) !important;
  overflow: hidden;
}

body.page-id-2664 .elementor-element-3f42e44::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: clamp(440px, 43vw, 560px);
  background: linear-gradient(115deg, #25272d 0 72%, #202228 72% 100%);
}

/* C'est ce conteneur intermédiaire Elementor qui porte réellement les widgets. */
body.page-id-2664 .elementor-element-3f42e44 > .e-con-inner {
  position: relative;
  z-index: 1;
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  column-gap: clamp(20px, 2.4vw, 36px);
  row-gap: clamp(54px, 6vw, 82px);
  width: 100% !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: clamp(76px, 8vw, 118px) clamp(24px, 5vw, 76px) clamp(72px, 8vw, 118px) !important;
}

body.page-id-2664 .elementor-element-1f8d974 {
  display: none !important;
}

/* Hero. */
body.page-id-2664 .elementor-element-5c46d78 {
  grid-column: 1 / span 7;
  align-self: end;
  min-width: 0;
  margin: 0 !important;
  text-align: left !important;
}

body.page-id-2664 .elementor-element-5c46d78::before {
  content: "BOUTIQUE OFFICIELLE · SOC CARCASSONNE BASKET";
  display: block;
  margin-bottom: 24px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .2em;
  line-height: 1.4;
}

body.page-id-2664 .elementor-element-5c46d78::after {
  content: "";
  display: block;
  width: 58px;
  height: 5px;
  margin-top: 28px;
  background: var(--soc-shop-red);
}

body.page-id-2664 .elementor-element-5c46d78 .elementor-heading-title {
  margin: 0 !important;
  font-size: 0 !important;
  overflow-wrap: anywhere;
  text-align: left !important;
  white-space: normal !important;
}

body.page-id-2664 .elementor-element-5c46d78 .elementor-heading-title::before,
body.page-id-2664 .elementor-element-5c46d78 .elementor-heading-title::after {
  display: block;
}

body.page-id-2664 .elementor-element-5c46d78 .elementor-heading-title::before {
  content: "Portez le SOC,";
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: clamp(58px, 6.2vw, 96px);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.055em;
}

body.page-id-2664 .elementor-element-5c46d78 .elementor-heading-title::after {
  content: "partout avec vous.";
  margin-top: 8px;
  color: #e33d46;
  font-family: Georgia, serif;
  font-size: clamp(48px, 5.35vw, 82px);
  font-style: italic;
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.045em;
}

body.page-id-2664 .elementor-element-af16e5c {
  grid-column: 8 / -1;
  align-self: end;
  min-width: 0;
  margin: 0 0 3px !important;
  padding-left: clamp(4px, 2vw, 28px);
}

body.page-id-2664 .elementor-element-af16e5c .elementor-widget-container,
body.page-id-2664 .elementor-element-af16e5c p {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: rgba(255, 255, 255, .72) !important;
  font-size: clamp(15px, 1.3vw, 18px) !important;
  line-height: 1.65 !important;
  text-align: left !important;
  white-space: normal !important;
}

body.page-id-2664 .elementor-element-af16e5c p:first-child {
  max-width: 460px;
  margin: 0 !important;
}

body.page-id-2664 .elementor-element-af16e5c p:last-child {
  position: relative;
  max-width: 500px;
  margin: 26px 0 0 !important;
  padding: 21px 22px 21px 58px !important;
  border: 0 !important;
  background: #fff;
  box-shadow: 12px 12px 0 var(--soc-shop-red);
  color: var(--soc-shop-ink) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}

body.page-id-2664 .elementor-element-af16e5c p:last-child::before {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 20px;
  width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--soc-shop-red);
  color: #fff;
  font-size: 13px;
  transform: translateY(-50%);
}

/* Catalogue. */
body.page-id-2664 .elementor-element-c69ab62 {
  grid-column: 1 / -1;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: clamp(28px, 4vw, 54px) !important;
  border: 1px solid #e2ddd5 !important;
  border-top: 6px solid var(--soc-shop-red) !important;
  background: var(--soc-shop-paper) !important;
  box-shadow: 0 30px 80px rgba(37, 39, 45, .13) !important;
}

body.page-id-2664 .elementor-element-c69ab62::before {
  content: "La boutique SOC  🏀";
  display: block;
  margin: 0 0 28px;
  color: var(--soc-shop-ink);
  font-family: "Oswald", sans-serif;
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.04em;
}

body.page-id-2664 .elementor-element-c69ab62 > .elementor-widget-container,
body.page-id-2664 .elementor-element-c69ab62 .e-n-tabs,
body.page-id-2664 .elementor-element-c69ab62 .e-n-tabs-content,
body.page-id-2664 .elementor-element-c69ab62 .e-n-tabs-content > .e-con,
body.page-id-2664 .elementor-element-c69ab62 .e-con-inner,
body.page-id-2664 .elementor-element-eedba12,
body.page-id-2664 .elementor-element-74c27db,
body.page-id-2664 .elementor-element-488093f,
body.page-id-2664 .elementor-element-eedba12 .elementor-widget-container,
body.page-id-2664 .elementor-element-74c27db .elementor-widget-container,
body.page-id-2664 .elementor-element-488093f .elementor-widget-container {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Onglets plus lisibles et moins massifs. */
body.page-id-2664 .elementor-element-c69ab62 .e-n-tabs-heading {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  width: 100% !important;
  margin: 0 0 clamp(28px, 4vw, 46px) !important;
  padding: 8px !important;
  border: 1px solid #e5e0d9;
  background: var(--soc-shop-cream) !important;
}

body.page-id-2664 .elementor-element-c69ab62 .e-n-tab-title {
  flex: 0 0 auto !important;
  min-width: 150px !important;
  min-height: 49px !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 12px 22px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #666970 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

body.page-id-2664 .elementor-element-c69ab62 .e-n-tab-title:hover {
  background: #e8e3dc !important;
  color: var(--soc-shop-ink) !important;
  transform: translateY(-1px);
}

body.page-id-2664 .elementor-element-c69ab62 .e-n-tab-title[aria-selected="true"] {
  background: var(--soc-shop-red) !important;
  color: #fff !important;
}

body.page-id-2664 .elementor-element-c69ab62 .e-n-tab-title:focus-visible,
body.page-id-2664 ul.products li.product .button:focus-visible {
  outline: 3px solid #e33d46 !important;
  outline-offset: 3px;
}

/* Grilles WooCommerce : aucune largeur Elementor ne doit rétrécir les cartes. */
body.page-id-2664 ul.products,
body.page-id-2664 .woocommerce ul.products,
body.page-id-2664 .elementor-products-grid ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: clamp(18px, 2.3vw, 32px) !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.page-id-2664 ul.products::before,
body.page-id-2664 ul.products::after {
  display: none !important;
}

body.page-id-2664 ul.products li.product,
body.page-id-2664 .woocommerce ul.products li.product,
body.page-id-2664 .elementor-products-grid ul.products li.product {
  position: relative;
  float: none !important;
  clear: none !important;
  display: flex !important;
  flex-direction: column;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  min-height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  border: 1px solid #e8e3dc !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: 0 12px 30px rgba(37, 39, 45, .07) !important;
  text-align: left !important;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

body.page-id-2664 ul.products li.product:hover {
  border-color: rgba(158, 11, 18, .5) !important;
  box-shadow: 0 22px 50px rgba(37, 39, 45, .14) !important;
  transform: translateY(-6px);
}

body.page-id-2664 ul.products li.product::before {
  content: "BOUTIQUE SOC";
  position: absolute;
  z-index: 4;
  top: 16px;
  left: 16px;
  padding: 8px 11px;
  border-radius: 99px;
  background: var(--soc-shop-red);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  line-height: 1;
}

body.page-id-2664 ul.products li.product .astra-shop-thumbnail-wrap,
body.page-id-2664 ul.products li.product .astra-shop-thumbnail-wrap > a {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
}

body.page-id-2664 ul.products li.product img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  margin: 0 !important;
  padding: clamp(22px, 3vw, 38px) !important;
  border-radius: 0 !important;
  background: #f5f2ee !important;
  object-fit: contain !important;
  transition: transform .3s ease;
}

body.page-id-2664 ul.products li.product:hover img {
  transform: scale(1.035);
}

body.page-id-2664 ul.products li.product .astra-shop-summary-wrap {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  padding: clamp(20px, 2.2vw, 28px) !important;
  text-align: left !important;
}

body.page-id-2664 ul.products li.product .ast-woo-product-category {
  order: 1;
  margin: 0 0 10px !important;
  color: #8b8c91 !important;
  font-size: 10px !important;
  font-weight: 900;
  letter-spacing: .15em;
  line-height: 1.3;
  text-align: left !important;
  text-transform: uppercase;
}

body.page-id-2664 ul.products li.product .ast-loop-product__link {
  order: 2;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 !important;
  text-decoration: none !important;
}

body.page-id-2664 ul.products li.product .woocommerce-loop-product__title,
body.page-id-2664 ul.products li.product h2,
body.page-id-2664 ul.products li.product h3 {
  width: 100% !important;
  min-height: 0 !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
  overflow-wrap: anywhere;
  color: var(--soc-shop-ink) !important;
  font-family: "Oswald", sans-serif;
  font-size: clamp(20px, 1.7vw, 26px) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  text-align: left !important;
  text-transform: uppercase;
}

body.page-id-2664 ul.products li.product .price {
  order: 3;
  display: block !important;
  width: 100%;
  margin: auto 0 18px !important;
  color: var(--soc-shop-red) !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1.2;
  text-align: left !important;
}

body.page-id-2664 ul.products li.product .button {
  order: 4;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: auto 0 0 !important;
  padding: 15px 16px !important;
  border: 1px solid var(--soc-shop-red) !important;
  border-radius: 0 !important;
  background: var(--soc-shop-red) !important;
  color: #fff !important;
  font-size: 10px !important;
  font-weight: 900 !important;
  letter-spacing: .12em;
  line-height: 1.35 !important;
  text-align: center !important;
  text-transform: uppercase;
  white-space: normal !important;
  transition: background-color .2s ease, color .2s ease;
}

body.page-id-2664 ul.products li.product .button:hover {
  background: var(--soc-shop-ink) !important;
  border-color: var(--soc-shop-ink) !important;
  color: #fff !important;
}

/* Les billets d'événements sont vendus depuis l'Agenda, pas dans ce catalogue. */
body.page-id-2664 ul.products li.product.product_cat-uncategorized {
  display: none !important;
}

body.page-id-2664 .added_to_cart {
  margin-top: 10px;
  color: var(--soc-shop-red) !important;
  font-size: 11px;
  font-weight: 900;
}

@media (max-width: 1080px) {
  body.page-id-2664 .elementor-element-3f42e44::before {
    height: 610px;
  }

  body.page-id-2664 .elementor-element-3f42e44 > .e-con-inner {
    row-gap: 58px;
    padding: 76px 34px 88px !important;
  }

  body.page-id-2664 .elementor-element-5c46d78 {
    grid-column: 1 / span 8;
  }

  body.page-id-2664 .elementor-element-af16e5c {
    grid-column: 9 / -1;
    padding-left: 0;
  }

  body.page-id-2664 ul.products,
  body.page-id-2664 .woocommerce ul.products,
  body.page-id-2664 .elementor-products-grid ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  body.page-id-2664 .elementor-element-3f42e44::before {
    height: 720px;
  }

  body.page-id-2664 .elementor-element-3f42e44 > .e-con-inner {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    row-gap: 34px;
    padding: 68px 24px 78px !important;
  }

  body.page-id-2664 .elementor-element-5c46d78,
  body.page-id-2664 .elementor-element-af16e5c,
  body.page-id-2664 .elementor-element-c69ab62 {
    grid-column: 1;
  }

  body.page-id-2664 .elementor-element-af16e5c {
    max-width: 600px;
    margin-top: 8px !important;
  }

  body.page-id-2664 .elementor-element-af16e5c p:last-child {
    max-width: 520px;
  }

  body.page-id-2664 .elementor-element-c69ab62 {
    margin-top: 22px !important;
  }
}

@media (max-width: 620px) {
  body.page-id-2664 .elementor-element-3f42e44::before {
    height: 690px;
    background: linear-gradient(145deg, #25272d, #202228);
  }

  body.page-id-2664 .elementor-element-3f42e44 > .e-con-inner {
    row-gap: 26px;
    padding: 52px 15px 64px !important;
  }

  body.page-id-2664 .elementor-element-5c46d78 {
    padding: 0 5px;
  }

  body.page-id-2664 .elementor-element-5c46d78::before {
    margin-bottom: 18px;
    font-size: 9px;
    letter-spacing: .14em;
  }

  body.page-id-2664 .elementor-element-5c46d78::after {
    margin-top: 22px;
  }

  body.page-id-2664 .elementor-element-5c46d78 .elementor-heading-title::before {
    font-size: clamp(48px, 15vw, 64px);
  }

  body.page-id-2664 .elementor-element-5c46d78 .elementor-heading-title::after {
    font-size: clamp(39px, 11.5vw, 49px);
  }

  body.page-id-2664 .elementor-element-af16e5c {
    padding: 0 5px;
  }

  body.page-id-2664 .elementor-element-af16e5c .elementor-widget-container,
  body.page-id-2664 .elementor-element-af16e5c p {
    font-size: 15px !important;
  }

  body.page-id-2664 .elementor-element-af16e5c p:last-child {
    margin-top: 20px !important;
    padding: 18px 16px 18px 49px !important;
    box-shadow: 7px 7px 0 var(--soc-shop-red);
    font-size: 13px !important;
  }

  body.page-id-2664 .elementor-element-af16e5c p:last-child::before {
    left: 15px;
  }

  body.page-id-2664 .elementor-element-c69ab62 {
    margin-top: 20px !important;
    padding: 24px 12px 28px !important;
    box-shadow: 0 20px 45px rgba(37, 39, 45, .12) !important;
  }

  body.page-id-2664 .elementor-element-c69ab62::before {
    margin-bottom: 22px;
    font-size: 34px;
  }

  body.page-id-2664 .elementor-element-c69ab62 .e-n-tabs-heading {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 7px !important;
    padding: 7px !important;
  }

  body.page-id-2664 .elementor-element-c69ab62 .e-n-tab-title {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 46px !important;
    padding: 10px 8px !important;
  }

  body.page-id-2664 .elementor-element-c69ab62 .e-n-tab-title:nth-child(3) {
    grid-column: 1 / -1;
  }

  body.page-id-2664 ul.products,
  body.page-id-2664 .woocommerce ul.products,
  body.page-id-2664 .elementor-products-grid ul.products {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px !important;
  }

  body.page-id-2664 ul.products li.product img {
    aspect-ratio: 1 / .86;
    padding: 26px !important;
  }

  body.page-id-2664 ul.products li.product .astra-shop-summary-wrap {
    padding: 20px !important;
  }

  body.page-id-2664 ul.products li.product .woocommerce-loop-product__title,
  body.page-id-2664 ul.products li.product h2,
  body.page-id-2664 ul.products li.product h3 {
    font-size: 23px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-id-2664 ul.products li.product,
  body.page-id-2664 ul.products li.product img,
  body.page-id-2664 .elementor-element-c69ab62 .e-n-tab-title {
    transition: none !important;
  }
}
