/* ==========================================================================
   Sholize — habillage moderne du thème Classic (PrestaShop 8.2)
   Chargé automatiquement après theme.css (FrontController, priorité 1000)
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --sz-accent: #4f46e5;
  --sz-accent-dark: #4338ca;
  --sz-accent-soft: #eef2ff;
  --sz-ink: #16181d;
  --sz-muted: #6b7280;
  --sz-surface: #ffffff;
  --sz-bg: #f7f7f9;
  --sz-border: #e7e9ee;
  --sz-radius: 14px;
  --sz-radius-sm: 10px;
  --sz-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  --sz-shadow-hover: 0 12px 28px -8px rgba(16, 24, 40, 0.16);
  --sz-transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--sz-ink);
  background-color: var(--sz-bg);
  border-top: 0;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--sz-accent);
  color: #fff;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: inherit;
  color: var(--sz-ink);
  font-weight: 700;
}

a {
  color: var(--sz-accent);
  transition: color var(--sz-transition);
}

a:hover {
  color: var(--sz-accent-dark);
}

p, .product-description {
  color: var(--sz-muted);
}

#wrapper {
  background: var(--sz-bg);
  box-shadow: none;
  padding-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */

.btn {
  border-radius: var(--sz-radius-sm);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  padding: 0.65rem 1.4rem;
  transition: background-color var(--sz-transition), box-shadow var(--sz-transition),
    transform var(--sz-transition), border-color var(--sz-transition),
    color var(--sz-transition);
}

.btn-primary,
.btn-primary:focus {
  background-color: var(--sz-accent);
  border-color: var(--sz-accent);
  color: #fff;
  box-shadow: var(--sz-shadow);
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active {
  background-color: var(--sz-accent-dark);
  border-color: var(--sz-accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--sz-shadow-hover);
}

.btn-secondary,
.btn-tertiary {
  background-color: var(--sz-surface);
  border: 1px solid var(--sz-border);
  color: var(--sz-ink);
  box-shadow: var(--sz-shadow);
}

.btn-secondary:hover,
.btn-tertiary:hover {
  background-color: var(--sz-accent-soft);
  border-color: var(--sz-accent);
  color: var(--sz-accent-dark);
}

/* --------------------------------------------------------------------------
   Formulaires
   -------------------------------------------------------------------------- */

.form-control {
  border: 1px solid var(--sz-border);
  border-radius: var(--sz-radius-sm);
  background-color: var(--sz-surface);
  color: var(--sz-ink);
  transition: border-color var(--sz-transition), box-shadow var(--sz-transition);
}

.form-control:focus {
  border-color: var(--sz-accent);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
  outline: none;
  background-color: var(--sz-surface);
  color: var(--sz-ink);
}

.input-group .input-group-btn > .btn {
  border-radius: 0 var(--sz-radius-sm) var(--sz-radius-sm) 0;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

#header {
  background: var(--sz-surface);
  box-shadow: var(--sz-shadow);
}

#header .header-nav {
  background: var(--sz-ink);
  border-bottom: 0;
  max-height: none;
  margin-bottom: 0;
}

#header .header-nav,
#header .header-nav .material-icons,
#header .header-nav a,
#header .header-nav span,
#header .header-nav .expand-more {
  color: #e5e7eb;
}

#header .header-nav a:hover,
#header .header-nav a:hover .material-icons {
  color: #fff;
}

#header .header-nav #_desktop_contact_link #contact-link {
  margin-top: 0.55rem;
}

#header .header-nav .blockcart {
  background: transparent;
  margin-left: 0.5rem;
}

#header .header-nav .blockcart .cart-products-count {
  color: #fff;
  background: var(--sz-accent);
  border-radius: 999px;
  padding: 0.05rem 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
}

#header .header-top {
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

#header .logo {
  max-height: 56px;
  width: auto;
}

/* Menu principal */
#header .top-menu a[data-depth="0"] {
  color: var(--sz-ink);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  position: relative;
  padding: 0.4rem 0.2rem;
}

#header .top-menu a[data-depth="0"]::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  right: 100%;
  bottom: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--sz-accent);
  transition: right var(--sz-transition);
}

#header .top-menu a[data-depth="0"]:hover {
  color: var(--sz-accent);
}

#header .top-menu a[data-depth="0"]:hover::after,
#header .top-menu .current a[data-depth="0"]::after {
  right: 0.2rem;
}

#header .top-menu .popover.sub-menu {
  border: 1px solid var(--sz-border);
  border-radius: var(--sz-radius);
  box-shadow: var(--sz-shadow-hover);
  padding: 1rem;
}

/* Barre de recherche */
#search_widget form input[type="text"],
.search-widgets form input[type="text"] {
  background: var(--sz-bg);
  border: 1px solid var(--sz-border);
  border-radius: 999px;
  padding: 0.55rem 2.6rem 0.55rem 1.2rem;
  color: var(--sz-ink);
  transition: border-color var(--sz-transition), box-shadow var(--sz-transition),
    background-color var(--sz-transition);
}

#search_widget form input[type="text"]:focus,
.search-widgets form input[type="text"]:focus {
  background: var(--sz-surface);
  border-color: var(--sz-accent);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
  outline: none;
}

#search_widget form button[type="submit"],
.search-widgets form button[type="submit"] {
  bottom: 0.35rem;
  right: 0.6rem;
  color: var(--sz-muted);
}

#search_widget form button[type="submit"] .search:hover,
.search-widgets form button[type="submit"]:hover .search {
  color: var(--sz-accent);
}

/* --------------------------------------------------------------------------
   Fil d'ariane et notifications
   -------------------------------------------------------------------------- */

.breadcrumb {
  background: transparent;
  padding-left: 0;
}

.breadcrumb li::after {
  color: var(--sz-muted);
}

.breadcrumb li a span {
  color: var(--sz-muted);
}

.breadcrumb li:last-child a span {
  color: var(--sz-ink);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Carrousel d'accueil
   -------------------------------------------------------------------------- */

#carousel {
  border-radius: calc(var(--sz-radius) + 6px);
  overflow: hidden;
  box-shadow: var(--sz-shadow-hover);
  margin-bottom: 3rem;
}

#carousel .carousel-item img {
  border-radius: 0;
}

#carousel .caption {
  background: linear-gradient(90deg, rgba(22, 24, 29, 0.55), rgba(22, 24, 29, 0));
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  max-width: none;
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

#carousel .caption .display-1 {
  font-size: 2.6rem;
  font-weight: 800;
  text-transform: none;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
  max-width: 50%;
}

#carousel .caption .caption-description {
  max-width: 45%;
}

#carousel .caption .caption-description p {
  color: rgba(255, 255, 255, 0.92);
}

#carousel .direction {
  z-index: 5;
}

#carousel .carousel-indicators li {
  width: 26px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  border: 0;
}

#carousel .carousel-indicators li.active {
  background: #fff;
}

/* --------------------------------------------------------------------------
   Titres de sections
   -------------------------------------------------------------------------- */

.products-section-title,
.h2.products-section-title {
  text-transform: none;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-align: left;
  margin: 1rem 0 1.6rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.products-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 4px;
  border-radius: 999px;
  background: var(--sz-accent);
}

.all-product-link {
  color: var(--sz-accent);
  font-weight: 600;
}

.all-product-link:hover {
  color: var(--sz-accent-dark);
}

/* --------------------------------------------------------------------------
   Cartes produit
   -------------------------------------------------------------------------- */

.product-miniature .thumbnail-container {
  background: var(--sz-surface);
  border: 1px solid var(--sz-border);
  border-radius: var(--sz-radius);
  overflow: hidden;
  box-shadow: var(--sz-shadow);
  transition: transform var(--sz-transition), box-shadow var(--sz-transition),
    border-color var(--sz-transition);
  margin-bottom: 1.75rem;
}

.product-miniature .thumbnail-container:hover {
  transform: translateY(-5px);
  box-shadow: var(--sz-shadow-hover);
  border-color: #d9ddf5;
}

.product-miniature .thumbnail-container .product-thumbnail {
  overflow: hidden;
  display: block;
}

.product-miniature .thumbnail-container .product-thumbnail img {
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-miniature .thumbnail-container:hover .product-thumbnail img {
  transform: scale(1.05);
}

.product-miniature .product-title a {
  color: var(--sz-ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.product-miniature .product-title a:hover {
  color: var(--sz-accent);
}

.product-miniature .price {
  color: var(--sz-ink);
  font-weight: 700;
  font-size: 1.05rem;
}

.product-miniature .regular-price {
  color: var(--sz-muted);
  font-weight: 500;
}

.product-miniature .discount-product,
.product-flag.discount {
  background: var(--sz-accent);
  font-weight: 700;
}

.product-flags .product-flag {
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  font-weight: 600;
  text-transform: none;
  box-shadow: var(--sz-shadow);
}

.product-flags .product-flag.new {
  background: var(--sz-ink);
  color: #fff;
}

.product-miniature .highlighted-informations {
  box-shadow: none;
  border-top: 1px solid var(--sz-border);
  background: var(--sz-surface);
}

.product-miniature .highlighted-informations .quick-view {
  color: var(--sz-muted);
  font-weight: 600;
}

.product-miniature .highlighted-informations .quick-view:hover {
  color: var(--sz-accent);
}

.product-miniature .variant-links {
  background: transparent;
}

/* --------------------------------------------------------------------------
   Page produit
   -------------------------------------------------------------------------- */

.product-container,
#main .product-container {
  background: var(--sz-surface);
  border-radius: var(--sz-radius);
}

.page-product #content-wrapper,
.page-product .product-container {
  background: transparent;
}

.product-prices .current-price span,
.current-price-value {
  color: var(--sz-ink);
  font-weight: 800;
}

.product-discount .regular-price {
  color: var(--sz-muted);
}

.product-actions .add-to-cart {
  border-radius: var(--sz-radius-sm);
  padding: 0.85rem 2rem;
  font-size: 1rem;
}

.product-actions .add-to-cart .material-icons {
  margin-right: 0.5rem;
}

.product-variants > .product-variants-item select {
  border-radius: var(--sz-radius-sm);
  border: 1px solid var(--sz-border);
  box-shadow: none;
}

.product-variants > .product-variants-item ul li .color,
.variant-links .color {
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}

.product-variants .input-color:checked + span,
.product-variants .input-color:hover + span {
  border: 2px solid var(--sz-ink);
  border-radius: 999px;
}

#product #content {
  border-radius: var(--sz-radius);
  overflow: hidden;
}

.product-images > li.thumb-container > .thumb {
  border-radius: var(--sz-radius-sm);
  border: 2px solid transparent;
  transition: border-color var(--sz-transition);
}

.product-images > li.thumb-container > .thumb.selected,
.product-images > li.thumb-container > .thumb:hover {
  border-color: var(--sz-accent);
}

.tabs {
  border-radius: var(--sz-radius);
  box-shadow: var(--sz-shadow);
  border: 1px solid var(--sz-border);
}

.tabs .nav-tabs .nav-link {
  color: var(--sz-muted);
  font-weight: 600;
  text-transform: none;
}

.tabs .nav-tabs .nav-link.active {
  color: var(--sz-accent);
  border-bottom: 3px solid var(--sz-accent);
}

.product-features > dl.data-sheet dd.value,
.product-features > dl.data-sheet dt.name {
  background: var(--sz-bg);
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   Listing / catégorie
   -------------------------------------------------------------------------- */

#search_filters,
#js-active-search-filters {
  border-radius: var(--sz-radius);
  box-shadow: var(--sz-shadow);
  border: 1px solid var(--sz-border);
  background: var(--sz-surface);
}

#search_filters .facet .facet-title {
  color: var(--sz-ink);
  font-weight: 700;
}

.block-category {
  border-radius: var(--sz-radius);
  box-shadow: var(--sz-shadow);
  border: 1px solid var(--sz-border);
  background: var(--sz-surface);
}

.products-selection {
  background: transparent;
}

.pagination .page-list {
  border-radius: var(--sz-radius);
  box-shadow: var(--sz-shadow);
  border: 1px solid var(--sz-border);
}

.pagination .current a {
  color: var(--sz-accent);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Panier / checkout
   -------------------------------------------------------------------------- */

.cart-grid-body .card,
.cart-grid-right .card,
.card {
  border: 1px solid var(--sz-border);
  border-radius: var(--sz-radius);
  box-shadow: var(--sz-shadow);
}

.cart-summary-line .value {
  color: var(--sz-ink);
  font-weight: 600;
}

.block-promo .promo-code {
  background: var(--sz-accent-soft);
  border-radius: var(--sz-radius-sm);
}

#checkout .checkout-step {
  border-radius: var(--sz-radius);
}

.bootstrap-touchspin {
  border-radius: var(--sz-radius-sm);
  overflow: hidden;
  box-shadow: none;
  border: 1px solid var(--sz-border);
}

.bootstrap-touchspin .form-control,
.bootstrap-touchspin .btn-touchspin {
  border: 0;
  box-shadow: none;
}

/* --------------------------------------------------------------------------
   Réassurance
   -------------------------------------------------------------------------- */

#blockreassurance_product .item-product,
.blockreassurance_product .item-product,
#block-reassurance li,
.block-reassurance li {
  border: 0;
}

#block-reassurance,
.block-reassurance {
  background: var(--sz-surface);
}

#block-reassurance li .block-reassurance-item,
.block-reassurance li .block-reassurance-item {
  padding: 1.1rem 1.4rem;
}

/* --------------------------------------------------------------------------
   Blog Sedestral
   -------------------------------------------------------------------------- */

.sedestral.blog-post {
  border: 1px solid var(--sz-border);
  border-radius: var(--sz-radius);
  overflow: hidden;
  background: var(--sz-surface);
  box-shadow: var(--sz-shadow);
  transition: transform var(--sz-transition), box-shadow var(--sz-transition);
}

.sedestral.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--sz-shadow-hover);
}

.sedestral.blog-next-button {
  border-radius: var(--sz-radius-sm);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.footer-container {
  background: var(--sz-ink);
  box-shadow: none;
  margin-top: 3.5rem;
  padding-top: 3rem;
  overflow: hidden;
}

.footer-container .footer-title,
.footer-container .h3,
.footer-container .myaccount-title a,
.footer-container p.h3 {
  color: #fff;
  font-weight: 700;
  text-transform: none;
}

.footer-container li a,
.footer-container .cms-page-link,
.footer-container .account-list a {
  color: #9ca3af;
  transition: color var(--sz-transition);
}

.footer-container li a:hover,
.footer-container .cms-page-link:hover,
.footer-container .account-list a:hover {
  color: #fff;
}

.footer-container .links .collapse,
.footer-container .links ul {
  background: transparent;
}

.footer-container #copyright,
.footer-container .copyright,
.footer-container p {
  color: #6b7280;
}

.footer-container a[href*="prestashop"] {
  color: #9ca3af;
}

/* Newsletter */
.block_newsletter {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 1.5rem;
}

.block_newsletter p#block-newsletter-label,
.block_newsletter .h3,
.block_newsletter p {
  color: #e5e7eb;
}

.block_newsletter form input[type="email"] {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px 0 0 999px;
  color: #fff;
  padding-left: 1.2rem;
}

.block_newsletter form input[type="email"]::placeholder {
  color: #9ca3af;
}

.block_newsletter form input[type="email"]:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--sz-accent);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.3);
  color: #fff;
}

.block_newsletter form .input-wrapper {
  overflow: visible;
}

.block_newsletter form input[type="submit"],
.block_newsletter form button[type="submit"] {
  border-radius: 0 999px 999px 0;
}

/* Réseaux sociaux */
.block-social li {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  transition: background-color var(--sz-transition), transform var(--sz-transition);
}

.block-social li:hover {
  background-color: var(--sz-accent);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Divers
   -------------------------------------------------------------------------- */

.modal-content {
  border-radius: var(--sz-radius);
  border: 0;
  box-shadow: 0 24px 48px -12px rgba(16, 24, 40, 0.3);
}

.dropdown-menu {
  border: 1px solid var(--sz-border);
  border-radius: var(--sz-radius-sm);
  box-shadow: var(--sz-shadow-hover);
}

#notifications .alert {
  border-radius: var(--sz-radius-sm);
}

.page-content,
.page-wrapper,
.card-block {
  border-radius: var(--sz-radius);
}

#main .page-content,
#main .page-header,
.page-wrapper {
  box-shadow: none;
}

.grade-stars .star-content .star-on,
.grade-stars .star-content .star-hover {
  filter: hue-rotate(0deg);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-thumb {
  background: #c9cdd6;
  border-radius: 999px;
  border: 2px solid var(--sz-bg);
}

::-webkit-scrollbar-thumb:hover {
  background: #a8aeba;
}

::-webkit-scrollbar-track {
  background: var(--sz-bg);
}

@media (max-width: 767px) {
  #carousel .caption {
    padding: 1.25rem 1.5rem;
  }

  #carousel .caption .display-1 {
    font-size: 1.4rem;
    max-width: 100%;
  }

  #carousel .caption .caption-description {
    display: none;
  }

  .products-section-title,
  .h2.products-section-title {
    font-size: 1.35rem;
  }
}
