/* WooCommerce / DarkPads */

/* Mini-cart */

.dp-topbar__cart,
.dp-nav__cart-mobile-wrap {
  position: relative;
}

.dp-cart-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.dp-cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
  opacity: 0;
  transform: scale(0.7);
  transform-origin: center;
  transition:
    opacity .22s ease,
    transform .22s ease;
}

.dp-cart-count.has-items {
  opacity: 1;
  transform: scale(1);
}

.dp-mini-cart[hidden] {
  display: none !important;
}

.dp-mini-cart {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  width: min(440px, calc(100vw - 40px));
  z-index: 10020;
}

.dp-mini-cart__inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.08);
  background:
    linear-gradient(
      180deg,
      rgba(248,248,249,0.98) 0%,
      rgba(236,236,238,0.98) 100%
    );
  color: #111111;
  box-shadow:
    0 28px 70px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.86);
}

.dp-mini-cart__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  background: #050505;
  color: #f4f4f5;
}

.dp-mini-cart__title {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.dp-mini-cart__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.dp-mini-cart__close:hover {
  opacity: 0.82;
}

.dp-mini-cart__body {
  padding: 0;
}

.dp-mini-cart__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.dp-mini-cart__item {
  position: relative;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 16px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.dp-mini-cart__remove {
  position: absolute;
  top: 12px;
  left: 92px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #c96d6d;
  color: #ffffff !important;
  text-decoration: none;
  font-size: 16px;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
}

.dp-mini-cart__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  background: rgba(255,255,255,0.55);
}

.dp-mini-cart__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dp-mini-cart__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding-right: 6px;
}

.dp-mini-cart__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.dp-mini-cart__name,
.dp-mini-cart__name a {
  color: #1b1b1b;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.dp-mini-cart__name a:hover {
  color: #000000;
}

.dp-mini-cart__qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 10px;
  background: rgba(255,255,255,0.66);
}

.dp-mini-cart__qty-btn {
  width: 34px;
  height: 34px;
  border: 0;
  background: rgba(0,0,0,0.04);
  color: #111111;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.dp-mini-cart__qty-btn:hover {
  background: rgba(0,0,0,0.08);
}

.dp-mini-cart__qty-input {
  width: 42px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #111111;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  appearance: textfield;
  -moz-appearance: textfield;
}

.dp-mini-cart__qty-input::-webkit-outer-spin-button,
.dp-mini-cart__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.dp-mini-cart__prices {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  margin-left: auto;
}

.dp-mini-cart__unit-price {
  color: rgba(17,17,17,0.62);
  font-size: 12px;
  font-weight: 600;
}

.dp-mini-cart__line-subtotal {
  color: #111111;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}

.dp-mini-cart__totals {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px 10px;
  color: #111111;
}

.dp-mini-cart__totals-label {
  font-size: 15px;
  font-weight: 700;
}

.dp-mini-cart__totals-value {
  font-size: 16px;
  font-weight: 800;
}

.dp-mini-cart__footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 8px 20px 20px;
}

.dp-mini-cart__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition:
    transform .22s ease,
    opacity .22s ease,
    background .22s ease,
    color .22s ease,
    border-color .22s ease;
}

.dp-mini-cart__button:hover {
  transform: translateY(-1px);
}

.dp-mini-cart__button--dark,
.dp-mini-cart__button--continue {
  background: #050505;
  color: #f4f4f5;
  border: 1px solid #050505;
}

.dp-mini-cart__button--dark {
  flex: 1 1 calc(50% - 5px);
}

.dp-mini-cart__button--continue {
  flex: 1 1 100%;
}

.dp-mini-cart__button--dark:hover,
.dp-mini-cart__button--continue:hover {
  background: #1b1b1d;
  color: #ffffff;
}

.dp-mini-cart__empty {
  padding: 26px 20px;
}

.dp-mini-cart__empty p {
  margin: 0;
  color: #1b1b1b;
  font-size: 14px;
  line-height: 1.5;
}

/* Boutique landing */

.dp-shop-page {
  position: relative;
  padding: 150px 0 90px;
  color: #111111;
}

.dp-shop-page__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(9 9 9) 0%, rgb(255 255 255 / 96%) 60%, rgba(232, 232, 235, 0.94) 100%);
  z-index: 0;
}

.dp-shop-page .dp-container {
  position: relative;
  z-index: 1;
}

.dp-shop-shell {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.dp-shop-breadcrumb .woocommerce-breadcrumb {
  margin: 0 !important;
  color: rgba(255,255,255,0.68);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
}

.dp-shop-breadcrumb .woocommerce-breadcrumb a {
  color: rgba(255,255,255,0.88);
  text-decoration: none;
}

.dp-shop-breadcrumb .woocommerce-breadcrumb a:hover {
  color: #ffffff;
}

.dp-shop-breadcrumb__sep {
  margin: 0 8px;
  color: rgba(255,255,255,0.36);
}

.dp-shop-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: 28px;
  align-items: end;
  margin-bottom: 0;
}

.dp-shop-hero__copy {
  min-width: 0;
}

.dp-shop-hero__search {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.dp-shop-hero .dp-page__eyebrow {
  margin: 0 0 10px;
  color: rgba(255,255,255,0.62);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.dp-shop-hero .dp-page__title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(38px, 4.5vw, 74px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.dp-shop-hero .dp-page__intro {
  margin: 16px 0 0;
  max-width: 60ch;
  color: rgba(255,255,255,0.74);
  font-size: 16px;
  line-height: 1.7;
}

/* Recherche landing */

.dp-shop-hero__search .dp-product-search {
  width: 100%;
  max-width: 520px;
  min-height: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255,255,255,0.30);
  border-radius: 999px;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.90) 0%,
      rgba(244,244,246,0.84) 100%
    );
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  box-shadow:
    0 12px 34px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.86);
}

.dp-shop-hero__search .dp-product-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #111111;
  font: inherit;
  box-shadow: none;
}

.dp-shop-hero__search .dp-product-search__input::placeholder {
  color: rgba(17,17,17,0.42);
}

.dp-shop-hero__search .dp-product-search__input:focus {
  outline: none;
}

.dp-shop-hero__search .dp-product-search__button {
  height: 46px;
  min-width: 150px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 8px 18px rgba(0,0,0,0.16);
  transition:
    transform .22s ease,
    background .22s ease,
    color .22s ease;
}

.dp-shop-hero__search .dp-product-search__button:hover {
  transform: translateY(-1px);
  background: #1b1b1d;
}

/* Catégories */

.dp-shop-categories {
  margin-bottom: 0;
}

.dp-shop-categories__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.dp-shop-category-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 380px;
  border-radius: 34px;
  border: 1px solid rgba(0,0,0,0.08);
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.92) 0%,
      rgba(240,240,242,0.94) 100%
    );
  box-shadow:
    0 18px 44px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.94);
}

.dp-shop-category-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  padding: 24px;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,0.96), rgba(245,245,246,0.72) 55%, rgba(236,236,238,0.92) 100%);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.dp-shop-category-card__image {
  width: 100%;
  max-width: 220px;
  height: auto;
  max-height: 180px;
  object-fit: contain;
  display: block;
}

.dp-shop-category-card__placeholder {
  width: 160px;
  height: 160px;
  border-radius: 28px;
  background:
    linear-gradient(
      180deg,
      rgba(17,17,17,0.10) 0%,
      rgba(17,17,17,0.04) 100%
    );
}

.dp-shop-category-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 24px;
}

.dp-shop-category-card__label,
.dp-shop-subcategories__title,
.dp-shop-results,
.dp-shop-results__head,
.dp-shop-results__title,
.dp-shop-results__count,
.woocommerce-ordering,
.woocommerce-result-count,
.woocommerce ul.products,
ul.products.dp-shop-grid {
  display: none !important;
}

.dp-shop-category-card__title {
  color: #111111;
  text-decoration: none;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.dp-shop-category-card__meta {
  color: rgba(17,17,17,0.64);
  font-size: 14px;
  font-weight: 600;
}

.dp-shop-category-card__children {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.dp-shop-category-card__child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(17,17,17,0.08);
  color: #111111;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition:
    background .22s ease,
    color .22s ease,
    transform .22s ease;
}

.dp-shop-category-card__child:hover {
  background: #111111;
  color: #ffffff;
  transform: translateY(-1px);
}

.dp-shop-empty {
  padding: 20px 0;
}

/* Notices Woo */

.woocommerce-info,
.woocommerce-message,
.woocommerce-error {
  margin: 0 0 24px !important;
  padding: 16px 18px !important;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.94) 0%,
      rgba(236,236,238,0.94) 100%
    );
  color: #111111;
  box-shadow:
    0 10px 24px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

.woocommerce-error {
  border-color: rgba(190,70,70,0.22);
}

.woocommerce span.onsale {
  top: 14px;
  left: 14px;
  min-width: auto;
  min-height: auto;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17,17,17,0.9);
  color: #f4f4f5;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 10px 20px rgba(0,0,0,0.16);
}

.woocommerce nav.woocommerce-pagination ul {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
  list-style: none;
  background: transparent;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.96) 0%,
      rgba(238,238,240,0.94) 100%
    );
  color: #111111;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  box-shadow:
    0 8px 20px rgba(0,0,0,0.06),
    inset 0 1px 0 rgba(255,255,255,0.86);
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: #111111;
  color: #f4f4f5;
}

/* My account / cart basics remain visible */

@media (max-width: 1200px) {
  .dp-shop-categories__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .dp-shop-hero {
    grid-template-columns: 1fr;
    align-items: stretch;
  }

  .dp-shop-hero__copy,
  .dp-shop-breadcrumb {
    text-align: left;
  }

  .dp-shop-hero__search {
    justify-content: center;
  }

  .dp-shop-categories__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .dp-mini-cart--mobile {
    position: fixed;
    top: 88px;
    left: var(--dp-gutter);
    right: var(--dp-gutter);
    width: auto;
    z-index: 10030;
  }

  .dp-shop-page {
    padding: 120px 0 54px;
  }

  .dp-shop-shell {
    gap: 22px;
  }

  .dp-shop-hero {
    gap: 20px;
  }

  .dp-shop-hero__copy {
    text-align: left;
  }

  .dp-shop-hero .dp-page__intro {
    margin-inline: 0;
  }

  .dp-shop-hero__search {
    justify-content: center;
  }

  .dp-shop-hero__search .dp-product-search {
    max-width: 100%;
  }

  .dp-shop-card__media {
    min-height: 240px;
  }

  .dp-shop-card__image {
    max-height: 180px;
  }
}

@media (max-width: 767px) {
  .dp-shop-page {
    padding: 108px 0 42px;
  }

  .dp-shop-hero .dp-page__title {
    font-size: clamp(34px, 12vw, 54px);
  }

  .dp-shop-hero__search .dp-product-search {
    min-height: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 10px;
    border-radius: 28px;
  }

  .dp-shop-hero__search .dp-product-search__input,
  .dp-shop-hero__search .dp-product-search__button {
    width: 100%;
  }

  .dp-shop-category-card {
    min-height: 280px;
    border-radius: 26px;
  }

  .dp-shop-category-card__media {
    min-height: 180px;
    padding: 20px;
  }

  .dp-shop-category-card__body {
    padding: 20px;
  }

  .dp-shop-category-card__title {
    font-size: 24px;
  }

  .dp-shop-category-card__children {
    gap: 8px;
  }

  .dp-shop-card {
    border-radius: 22px;
  }

  .dp-shop-card__media {
    min-height: 220px;
    padding: 22px;
  }

  .dp-shop-card__body {
    padding: 18px;
  }

  .dp-shop-card__title {
    font-size: 20px;
  }

  .dp-product-search {
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border-radius: 18px;
  }

  .dp-product-search__button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 640px) {
  .dp-mini-cart__item {
    grid-template-columns: 70px 1fr;
    gap: 14px;
    padding: 16px;
  }

  .dp-mini-cart__thumb {
    width: 70px;
    height: 70px;
  }

  .dp-mini-cart__remove {
    left: 76px;
  }

  .dp-mini-cart__row--bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .dp-mini-cart__prices {
    align-items: flex-start;
    margin-left: 0;
  }

  .dp-mini-cart__button--dark,
  .dp-mini-cart__button--continue {
    flex: 1 1 100%;
  }
}