/* Sticky Add to Cart Bar Container */
.pdp-sticky-atc{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  transform: translateY(110%);
  transition: transform .2s ease;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.12);
  padding: 14px 14px; /* more top/bottom padding */
}

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

/* Inner Layout */
.pdp-sticky-atc__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left side: thumbnail + meta */
.pdp-sticky-atc__left{
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0; /* allows text truncation */
}

.pdp-sticky-atc__thumb-wrap{
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0,0,0,.04);
}

.pdp-sticky-atc__thumb{
  width: 56px;
  height: 56px;
  object-fit: cover;
  display: block;
}

.pdp-sticky-atc__meta{
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.pdp-sticky-atc__title{
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pdp-sticky-atc__variant{
  font-size: 0.9em;
  opacity: .8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Right side: price + button */
.pdp-sticky-atc__right{
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.pdp-sticky-atc__price{
  font-weight: 700;
  white-space: nowrap;
}

/* FORCE button styling inside sticky bar (beats Elementor/Woo defaults) */
body #pdp-sticky-atc button#pdp-sticky-btn.pdp-sticky-atc__btn{
  background-color: #0022A0 !important;
  color: #ffffff !important;
  border-color: #0022A0 !important;
  font-family: aktiv-grotesk, aktiv-grotesque, sans-serif !important;
  padding: 14px 18px !important; /* more top/bottom padding */
  border-width: 0 !important;
  border-style: solid !important;
  border-radius: 10px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  text-transform: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
  cursor: pointer;
}

body #pdp-sticky-atc button#pdp-sticky-btn.pdp-sticky-atc__btn:hover{
  filter: brightness(1.05);
}

body #pdp-sticky-atc button#pdp-sticky-btn.pdp-sticky-atc__btn[disabled]{
  opacity: .5 !important;
  cursor: not-allowed !important;
}
