/* ===== Custom PDP Footer — D.VANES Dark Streetwear ===== */

/* ===== Host / Wrapper ===== */
.custom-pdp-footer {
  position: relative;
  background-color: rgb(var(--color-background));
  color: rgb(var(--color-text));
}

/* ===== Back-to-Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(var(--color-entry-line));
  background-color: rgb(var(--color-background));
  color: rgb(var(--color-text));
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  border-radius: 0;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ===== Sticky ATC Bar ===== */
.sticky-atc-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  background-color: rgb(var(--color-background));
  border-top: 1px solid rgb(var(--color-entry-line));
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 0;
  box-sizing: border-box;
}

.sticky-atc-bar.visible {
  transform: translateY(0);
}

/* Left side: title + price inline */
.sticky-atc-bar__info {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.sticky-atc-bar__title {
  font-family: "Roboto", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: rgb(var(--color-text));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sticky-atc-bar__price {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(var(--color-text), 0.6);
  margin-left: 12px;
  flex-shrink: 0;
}

/* ATC Button — inverted: white bg, black text */
.sticky-atc-bar__btn {
  flex-shrink: 0;
  display: inline-block;
  padding: 10px 28px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  background-color: rgb(var(--color-button-background));
  color: rgb(var(--color-button-text));
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.sticky-atc-bar__btn:hover {
  opacity: 0.9;
}

/* ===== Brand Strip ===== */
.brand-strip {
  text-align: center;
  padding: 24px;
  border-top: 1px solid rgb(var(--color-entry-line));
  font-family: "Bebas Neue", sans-serif;
  font-size: 15px;
  letter-spacing: 2px;
  color: rgba(var(--color-text), 0.5);
  text-transform: uppercase;
  border-radius: 0;
}

/* ===== Blocks (heading / text) ===== */
.custom-pdp-footer .block-heading {
  text-align: center;
  font-family: "Bebas Neue", sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  color: rgb(var(--color-text));
  margin: 0;
  padding: 8px 20px;
}

.custom-pdp-footer .block-text {
  text-align: center;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  color: rgb(var(--color-light-text, #949494));
  margin: 0;
  padding: 0 20px 12px;
}

/* ===== Mobile (max-width: 959px) ===== */
@media (max-width: 959px) {
  .sticky-atc-bar {
    padding: 12px 16px;
  }

  .sticky-atc-bar__title {
    font-size: 13px;
  }

  .sticky-atc-bar__price {
    font-size: 12px;
  }

  .sticky-atc-bar__btn {
    padding: 8px 20px;
    font-size: 14px;
  }

  .brand-strip {
    font-size: 13px;
    padding: 16px;
  }

  .back-to-top {
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
  }
}
