/* ==========================================================================
   Footer V2 — new-footer.css
   Figma: My Service Animal / Footer
   ========================================================================== */

/* ---------- Wrapper ---------- */

.footer-v2 {
  font-family: 'Montserrat', sans-serif;
  color: var(--color-text);
  background: var(--color-bg-secondary);
  border-radius: var(--radius-3xl) var(--radius-3xl) 0 0;
  border-bottom: 4px solid var(--color-accent);
  margin-top: 50px;
}

.footer-v2__container {
  max-width: calc(var(--container-width) + var(--container-padding) * 2);
  margin: 0 auto;
  padding: 44px var(--container-padding);
}

/* ---------- Top row ---------- */

.footer-v2__top {
  display: flex;
  gap: var(--gap-md);
  padding-bottom: var(--gap-lg);
}

/* ---------- Info column (left) ---------- */

.footer-v2__info {
  display: flex;
  flex-direction: column;
  gap: var(--gap-md);
  flex: 1;
  min-width: 0;
}

/* Logo */

.footer-v2__logo {
  display: flex;
  align-items: center;
  height: 44px;
}

.footer-v2__logo img {
  height: 44px;
  width: auto;
}

.footer-v2__logo-text {
  font-size: 33px;
  font-weight: 700;
  line-height: 38.5px;
  color: var(--color-text);
}

/* Contacts */

.footer-v2__contacts {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-v2__contact {
  display: flex;
  gap: var(--gap-xs);
  align-items: center;
  font-size: var(--text-label);
  line-height: var(--text-label-lh);
}

.footer-v2__contact--hours {
  align-items: flex-start;
}

.footer-v2__contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-accent);
}

.footer-v2__contact-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: var(--text-label);
  line-height: var(--text-label-lh);
}

.footer-v2__contact-lines strong {
  font-weight: 500;
}

/* Language switcher */

.footer-v2__lang-wrapper {
  display: flex;
}

.footer-v2__lang {
  display: inline-flex;
  align-items: center;
  gap: var(--gap-sm);
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 12px var(--space-md);
  width: fit-content;
}

.footer-v2__lang-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--text-label);
  font-weight: 500;
  line-height: var(--text-label-lh);
  color: var(--color-text);
  text-decoration: none;
}

.footer-v2__lang-item:hover {
  text-decoration: none;
  color: var(--color-accent);
}

.footer-v2__lang-flag {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  object-fit: cover;
}

.footer-v2__lang-divider {
  width: 0;
  height: 16px;
  border-left: 1px solid var(--color-border);
}

/* Mobile Divider */
.footer-v2__divider-mobile {
  display: none;
  width: 100%;
  height: 1px;
  background: var(--color-border);
  margin: var(--gap-md) 0;
}

/* ---------- Nav columns (right) ---------- */

.footer-v2__nav {
  display: flex;
  gap: var(--gap-md);
}

.footer-v2__nav-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 260px;
}

.footer-v2__nav-title {
  padding: 4px 0;
  font-size: var(--text-caption);
  font-weight: 600;
  line-height: var(--text-caption-lh);
  letter-spacing: 0.48px;
  text-transform: uppercase;
  color: var(--color-text-tertiary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-v2__nav-title svg {
  transition: 0.3s ease-in-out;
  @media screen and (min-width: 768px) {
    display: none;
  }
}

.footer-v2__nav-col.is-open svg {
  transform: rotate(180deg);
}

.footer-v2__nav-arrow {
  display: none;
  width: 20px;
  height: 20px;
  transition: transform 0.3s;
}

.footer-v2__nav-content {
  display: flex;
  flex-direction: column;
  gap: 4px;

  @media screen and (min-width: 768px) {
    display: flex !important;
  }
}

.footer-v2__nav-link {
  display: block;
  padding: 8px 0;
  font-size: var(--text-label);
  font-weight: 500;
  line-height: var(--text-label-lh);
  color: var(--color-text);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-v2__nav-link:hover {
  color: var(--color-accent);
  text-decoration: none;
}

/* ---------- Bottom bar ---------- */

.footer-v2__bottom {
  display: flex;
  align-items: center;
  gap: var(--gap-md);
  padding-top: var(--gap-lg);
  border-top: 1px solid var(--color-border);
}

.footer-v2__copy {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
}

.footer-v2__copy-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  font-size: var(--text-caption);
  line-height: var(--text-caption-lh);
  color: var(--color-text);
}

.footer-v2__copy-line strong {
  font-weight: 500;
}

.footer-v2__copy-line a {
  color: var(--color-text);
  font-weight: 500;
  text-decoration: none;
}

.footer-v2__copy-line a:hover {
  text-decoration: underline;
}

/* Payment icons */

.footer-v2__payments {
  display: flex;
  gap: var(--gap-xs);
  align-items: center;
}

.footer-v2__pay-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 32px;
  background: var(--color-white);
  border: 0.667px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
}

.footer-v2__pay-icon img {
  max-width: fit-content;
  max-height: max-content;
  object-fit: contain;
}

/* ---------- Responsive ---------- */

@media screen and (max-width: 1100px) {
  .footer-v2__top {
    flex-direction: column;
    gap: var(--gap-lg);
  }

  .footer-v2__nav {
    gap: var(--gap-lg);
  }

  .footer-v2__nav-col {
    width: auto;
    flex: 1;
  }
}

@media screen and (max-width: 768px) {
  .footer-v2 {
    border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  }

  .footer-v2__container {
    padding: var(--gap-md) var(--space-md);
  }

  .footer-v2__top {
    gap: 0;
    padding-bottom: var(--gap-md);
  }

  .footer-v2__info {
    gap: var(--gap-md);
  }

  .footer-v2__logo {
    height: 32px;
  }

  .footer-v2__logo img {
    height: 32px;
  }

  .footer-v2__logo-text {
    font-size: var(--text-title);
    line-height: var(--text-title-lh);
  }

  .footer-v2__lang-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
  }

  .footer-v2__lang {
    padding: 8px 12px;
    gap: var(--gap-xs);
  }

  .footer-v2__lang-item {
    font-size: var(--text-body-sm);
    line-height: var(--text-body-sm-lh);
  }

  .footer-v2__divider-mobile {
    display: block;
  }

  .footer-v2__nav {
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  .footer-v2__nav-col {
    width: 100%;
    gap: 0;
  }

  .footer-v2__nav-col + .footer-v2__nav-col {
    margin-top: 24px;
  }

  .footer-v2__nav-title {
    padding: 0;
    cursor: pointer;
  }

  .footer-v2__nav-arrow {
    display: block;
  }

  .footer-v2__nav-col.is-open .footer-v2__nav-arrow {
    transform: rotate(180deg);
  }

  .footer-v2__nav-content {
    display: none;
    padding-top: var(--space-md);
  }

  .footer-v2__nav-link {
    font-size: var(--text-body-sm);
    line-height: var(--text-body-sm-lh);
  }

  .footer-v2__bottom {
    flex-direction: column;
    align-items: center;
    gap: var(--gap-md);
    padding-top: var(--gap-md);
    padding-bottom: var(--gap-md);
  }

  .footer-v2__copy {
    align-items: center;
    text-align: center;
    gap: 8px;
  }

  .footer-v2__copy-line {
    justify-content: center;
  }

  .footer-v2__payments {
    gap: 8px;
  }

  .footer-v2__pay-icon {
    width: 39px;
    height: 25px;
    border-radius: 3px;
  }
}

/* ---------- WPML Overrides ---------- */

/* Hide default WPML footer switcher to avoid duplication */
.wpml-ls-statics-footer {
  display: none !important;
}

/* ==========================================================================
   Global Popups — change-registration-popup & product-variation-popup
   ========================================================================== */

/* ── Backdrop ──────────────────────────────────────────────────────────── */

.msa-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 13, 18, 0.4);
  display: flex;
  align-items: flex-end; /* mobile default: panel sits at bottom */
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.msa-popup.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ── Panel — mobile (bottom sheet) ────────────────────────────────────── */

.msa-popup__panel {
  background: var(--color-white);
  border-radius: var(--radius-2xl) var(--radius-2xl) 0 0;
  box-shadow:
    0px 20px 48px -8px rgba(10, 13, 18, 0.28),
    0px 4px 12px 0px rgba(10, 13, 18, 0.06);
  width: 100%;
  max-height: 92dvh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  /* start below the viewport, slide up on open */
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.34, 1.1, 0.64, 1);
}

.msa-popup.is-open .msa-popup__panel {
  transform: translateY(0);
}

/* drag handle pill (visual affordance on mobile) */
.msa-popup__panel::before {
  content: '';
  display: block;
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--color-border);
  margin: 10px auto 0;
  flex-shrink: 0;
}

/* ── Panel — desktop (centered dialog) ────────────────────────────────── */

@media (min-width: 600px) {
  .msa-popup {
    align-items: center;
    padding: 16px;
  }

  .msa-popup__panel {
    max-width: 450px;
    max-height: calc(100dvh - 32px);
    border-radius: var(--radius-2xl);
    /* fade + gentle lift */
    transform: translateY(18px) scale(0.97);
    transition:
      transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.22s ease;
    opacity: 0;
  }

  .msa-popup__panel::before {
    display: none; /* no drag handle on desktop */
  }

  .msa-popup.is-open .msa-popup__panel {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

/* ── Header ────────────────────────────────────────────────────────────── */

.msa-popup__head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 20px 24px 16px;
  border-bottom: 1px solid var(--color-border);
}

.msa-popup__head-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.msa-popup__title {
  font-size: var(--text-h3);
  line-height: var(--text-h3-lh);
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
}

.msa-popup__subtitle {
  font-size: var(--text-body-sm);
  line-height: 22px;
  font-weight: 400;
  color: var(--color-text-secondary);
  margin: 0;
}

.msa-popup__subtitle strong {
  font-weight: 600;
}

.msa-popup__close {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease;
}

.msa-popup__close:hover {
  color: var(--color-text);
}

/* ── Body ───────────────────────────────────────────────────────────────── */

.msa-popup__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow-y: auto;
}

@media (max-width: 599px) {
  .msa-popup__body {
    padding: 16px;
  }
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

.msa-popup__footer {
  padding: 24px;
  padding-bottom: max(24px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

@media (max-width: 599px) {
  .msa-popup__footer {
    padding: 16px;
    padding-bottom: max(16px, env(safe-area-inset-bottom));
  }
}

.msa-popup__btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  height: 48px;
  padding: 0 16px;
  background: var(--color-accent);
  color: var(--color-white);
  font-family: var(--font-family);
  font-size: var(--text-body);
  line-height: var(--text-btn-lh);
  font-weight: 700;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition:
    opacity 0.15s ease,
    transform 0.15s ease;
}

.msa-popup__btn-primary:hover:not(:disabled) {
  opacity: 0.88;
}

.msa-popup__btn-primary:active:not(:disabled) {
  transform: scale(0.98);
}

.msa-popup__btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.msa-popup__btn-cancel {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  padding: 7px 12px;
  background: none;
  border: none;
  cursor: pointer;
}

.msa-popup__btn-cancel span {
  font-family: var(--font-family);
  font-size: var(--text-body-sm);
  line-height: 20px;
  font-weight: 600;
  color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-text-secondary);
  padding-bottom: 2px;
  transition:
    color 0.15s ease,
    border-color 0.15s ease;
}

.msa-popup__btn-cancel:hover span {
  color: var(--color-text);
  border-color: var(--color-text);
}

/* ── Change-registration: downgrade upsell block ────────────────────────── */

/* In downgrade mode the header + upsell share a single bordered group, so the
   divider moves from the header down to the bottom of the upsell block. */
.msa-popup.is-downgrade .msa-popup__head {
  border-bottom: none;
  padding-bottom: 0;
}

.changeReg-upsell {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--color-border);
}

.changeReg-upsell[hidden] {
  display: none;
}

.changeReg-upsell__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.changeReg-upsell__title {
  margin: 0;
  font-size: var(--text-body-sm);
  line-height: 22px;
  font-weight: 600;
  color: var(--color-accent);
}

.changeReg-upsell__desc {
  margin: 0;
  font-size: var(--text-body-sm);
  line-height: 22px;
  font-weight: 400;
  color: var(--color-text-secondary);
}

.changeReg-upsell__art {
  flex-shrink: 0;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.changeReg-upsell__art svg {
  display: block;
}

@media (max-width: 599px) {
  .changeReg-upsell {
    padding: 16px;
  }
}

/* ==========================================================================
   Variation popup — option cards
   ========================================================================== */

/* Per-attribute group + optional label (shown only with multiple attributes) */
.vpopup-attr {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.vpopup-attr:has([data-attr-name='attribute_vest-size']) {
  order: -1;
}

.vpopup-attr__label {
  margin: 0;
  font-size: var(--text-body-sm);
  line-height: 20px;
  font-weight: 600;
  color: var(--color-text);
}

.vpopup-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.vpopup-option {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  padding: 12px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.vpopup-option:hover {
  border-color: var(--color-accent);
  background: var(--color-bg-tint);
}

.vpopup-option.is-selected {
  border-color: var(--color-accent);
}

.vpopup-option__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.vpopup-option__name {
  display: block;
  font-size: var(--text-body);
  line-height: var(--text-body-lh);
  font-weight: 600;
  color: var(--color-text-dark);
}

.vpopup-option__desc {
  display: block;
  font-size: var(--text-label);
  line-height: var(--text-label-lh);
  font-weight: 500;
  color: var(--color-text-tertiary);
}

.vpopup-option__check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: none;
}

.vpopup-option.is-selected .vpopup-option__check {
  display: flex;
  align-items: center;
  justify-content: center;
}

.vpopup-option__check svg {
  width: 24px;
  height: 24px;
}

/* ── Staggered entrance for option cards ───────────────────────────────── */

.vpopup-cards .vpopup-option {
  opacity: 0;
  transform: translateY(8px);
  animation: vpopup-card-in 0.28s ease forwards;
}

@keyframes vpopup-card-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vpopup-cards .vpopup-option:nth-child(1) {
  animation-delay: 0.06s;
}
.vpopup-cards .vpopup-option:nth-child(2) {
  animation-delay: 0.1s;
}
.vpopup-cards .vpopup-option:nth-child(3) {
  animation-delay: 0.14s;
}
.vpopup-cards .vpopup-option:nth-child(4) {
  animation-delay: 0.18s;
}
.vpopup-cards .vpopup-option:nth-child(5) {
  animation-delay: 0.22s;
}

/* ==========================================================================
   Variation popup — size-chart images
   ========================================================================== */

.vpopup-charts {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  width: 100%;
}

.vpopup-charts--single {
  justify-content: center;
}

.vpopup-chart {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  min-width: 0;
  transition:
    flex 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.vpopup-charts--dual .vpopup-chart {
  flex: 1 1 50%;
}

.vpopup-chart__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: border-radius 0.3s ease;
}

.vpopup-chart__frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.vpopup-chart__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-accent);
  max-height: 24px;
  opacity: 1;
  transition:
    max-height 0.3s ease,
    opacity 0.2s ease,
    margin 0.3s ease;
}

.vpopup-chart__toggle span {
  font-family: var(--font-family);
  font-size: var(--text-body-sm);
  line-height: 20px;
  font-weight: 600;
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-accent);
  padding-bottom: 2px;
}

.vpopup-chart__toggle svg {
  flex-shrink: 0;
}

/* Single chart — collapsed by default, expands on click */
.vpopup-charts--single .vpopup-chart {
  width: 120px;
}

.vpopup-charts--single.is-expanded .vpopup-chart {
  width: 100%;
}

/* Dual charts — one expanded, the other shrinks to a thumbnail */
.vpopup-charts--dual.is-expanded .vpopup-chart.is-expanded {
  flex: 1 1 100%;
}

.vpopup-charts--dual.is-expanded .vpopup-chart.is-collapsed {
  flex: 0 0 64px;
}

.vpopup-chart.is-collapsed .vpopup-chart__frame {
  border-radius: var(--radius-sm);
}

.vpopup-chart.is-collapsed .vpopup-chart__toggle {
  max-height: 0;
  opacity: 0;
  margin-top: -12px;
  pointer-events: none;
}

@media (min-width: 600px) {
  .vpopup-charts--single .vpopup-chart {
    width: 160px;
  }
}

/* ==========================================================================
   Variation popup — custom dropdown (> 5 options)
   ========================================================================== */

.vpopup-select-wrap {
  position: relative;
  width: 100%;
}

.vpopup-select-trigger {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 16px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: var(--font-family);
  font-size: var(--text-body-sm);
  line-height: 22px;
  font-weight: 500;
  width: 100%;
  text-align: left;
  transition: border-color 0.15s ease;
}

.vpopup-select-trigger:hover {
  border-color: var(--color-accent);
}

.vpopup-select-wrap.is-open .vpopup-select-trigger {
  border-color: var(--color-accent);
}

.vpopup-select-trigger > span:first-child {
  flex: 1;
  min-width: 0;
  color: var(--color-icon-gray);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.vpopup-select-trigger > span.has-value {
  color: var(--color-text);
}

.vpopup-select-arrow {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.vpopup-select-wrap.is-open .vpopup-select-arrow {
  transform: rotate(180deg);
}

.vpopup-select-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  z-index: 10;
  overflow: hidden;
  list-style: none;
  padding: 4px 0;
  margin: 0;
  /* animate open/close */
  opacity: 0;
  transform: translateY(-6px) scaleY(0.94);
  transform-origin: top center;
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.vpopup-select-wrap.is-open .vpopup-select-dropdown {
  opacity: 1;
  transform: translateY(0) scaleY(1);
  pointer-events: auto;
}

.vpopup-select-option {
  padding: 10px 16px;
  font-family: var(--font-family);
  font-size: var(--text-body-sm);
  line-height: 22px;
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  transition: background 0.1s ease;
}

.vpopup-select-option:hover {
  background: var(--color-bg-secondary);
}

.vpopup-select-option.is-selected {
  color: var(--color-accent);
  font-weight: 600;
  background: var(--color-bg-tint);
}

/* ==========================================================================
   Already-in-cart notice & disabled state
   Used by pdp-hero (single.php / variations.php) and cart-sticky-panel
   ========================================================================== */

/* ── PDP Hero notice ────────────────────────────────────────────────────── */

.pdp-hero__in-cart-notice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 10px 0 0;
  padding: 10px 14px;
  background: var(--color-bg-tint);
  border: 1px solid #b3d4f5;
  border-radius: var(--radius-sm);
  font-family: var(--font-family);
  font-size: var(--text-body-sm);
  line-height: 22px;
  color: var(--color-accent);
}

.pdp-hero__in-cart-notice svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-accent);
}

/* Disabled state for the CTA button when item is already in cart */
.pdp-hero__cta--in-cart,
.pdp-hero__cta[disabled].pdp-hero__cta--in-cart {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── Sticky panel notice ────────────────────────────────────────────────── */

.cart-sticky__in-cart-notice {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-family);
  font-size: var(--text-caption);
  line-height: var(--text-caption-lh);
  font-weight: 500;
  color: var(--color-accent);
  margin: 0;
  white-space: nowrap;
  position: absolute;
  bottom: 8px;
}

.cart-sticky__in-cart-notice svg {
  flex-shrink: 0;
  color: var(--color-accent);
}

/* Visually disabled state for the sticky register button */
.cart-sticky__register-btn--disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}
