/*
 * DanIT Product Page Override
 * All selectors scoped to body#product for specificity.
 */

:root {
  --dpp-accent:     #4C3CFF;
  --dpp-grad-start: #000000;
  --dpp-grad-mid:   #4C3CFF;
  --dpp-grad-end:   #87A1FF;
}

/* ── Title ───────────────────────────────────────────────── */
body#product h1.h1.page-title,
body#product h1.h1.page-title span {
  font-family: 'Poppins', sans-serif !important;
  font-size: 2.8rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  line-height: 1.15 !important;
  margin-bottom: 8px !important;
}

/* ── Price label "À partir de" ───────────────────────────── */
body#product .dpp-price-label {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--dpp-accent);
  margin-bottom: 2px;
  margin-top: 12px;
}

body#product .product-prices .current-price .product-price {
  font-family: 'Poppins', sans-serif !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
}

body#product .product-prices .tax-shipping-delivery-label {
  display: none !important;
}

/* ── Variant chips ───────────────────────────────────────── */
body#product .product-variants-item .custom-select2 select.dpp-hidden {
  display: none !important;
}

body#product .product-variants-item .custom-select2 {
  border: none !important;
  padding: 0 !important;
  background: none !important;
}

body#product .product-variants-item .custom-select2:has(select.dpp-hidden) {
  display: none !important;
}

body#product .dpp-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 20px;
  border: 1.5px solid #d0d0d0;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  background: #fff;
  color: #1a1a1a;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  outline: none;
  line-height: 1.3;
}

body#product .dpp-chip:hover {
  border-color: var(--dpp-accent);
}

body#product .dpp-chip.dpp-chip--active {
  border-color: var(--dpp-accent);
  background: var(--dpp-accent);
  color: #fff;
}

body#product .dpp-chip.dpp-chip--unavailable {
  opacity: 0.35;
  text-decoration: line-through;
  cursor: not-allowed;
}

/* ── Size guide trigger button ───────────────────────────── */
body#product .dpp-size-guide-trigger-wrap {
  margin: 14px 0 18px;
}

body#product .dpp-size-guide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: transparent;
  border: 1.5px solid #d0d0d0;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

body#product .dpp-size-guide-btn:hover,
body#product .dpp-size-guide-btn:focus-visible {
  border-color: var(--dpp-accent);
  color: var(--dpp-accent);
  background: rgba(76, 60, 255, 0.06);
  outline: none;
}

body#product .dpp-size-guide-icon {
  display: inline-flex;
  align-items: center;
  color: currentColor;
}

/* ── Buy button — gradient ───────────────────────────────── */
body#product .product-add-to-cart .add-to-cart,
body#product .product-add-to-cart .btn-primary {
  width: 150% !important;
    max-width: 160% !important;
    padding: 12px 60px !important;
    border-radius: 999px !important;
    border: none !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.2rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    background-image: linear-gradient(34deg, var(--dpp-grad-start) -10%, var(--dpp-grad-mid) 30%, var(--dpp-grad-end) 70%, var(--dpp-grad-mid) 90%, var(--dpp-grad-start) 120%) !important;
    background-color: transparent !important;
    background-size: 300% 100% !important;
    background-position: 0% 50% !important;
    transition: background-position 0.6s ease !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

body#product .product-add-to-cart .add-to-cart:hover,
body#product .product-add-to-cart .btn-primary:hover {
  background-position: 50% 20% !important;
  color: #ffffff !important;
}

/* Hide qty input for cleaner look — keep it but minimize */
body#product .product-add-to-cart .qty {
  display: none !important;
}
.row.product-info-row {
    padding-top: 40px;
    margin-bottom: 0px !important;
}

.tabs.product-tabs {
    display: none;
}

.product-additional-info.js-product-additional-info {
    border: none;
    padding-top: 5px;
}
/* Wishlist button inline */
body#product .col-add-wishlist {
  margin-top: 8px;
}

/* ── Product tabs → accordion style ──────────────────────── */
body#product .dpp-tab-accordion {
  border-top: 1px solid #e0e0e0;
}

body#product .dpp-tab-accordion:last-child {
  border-bottom: 1px solid #e0e0e0;
}

body#product .dpp-tab-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  cursor: pointer;
  user-select: none;
}

body#product .dpp-tab-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a1a;
}

body#product .dpp-tab-chevron {
  font-size: 0.7rem;
  color: #888;
  transition: transform 0.25s;
}

body#product .dpp-tab-accordion.dpp-tab-open .dpp-tab-chevron {
  transform: rotate(180deg);
}

body#product .dpp-tab-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

body#product .dpp-tab-accordion.dpp-tab-open .dpp-tab-body {
  max-height: 2000px;
}

body#product .dpp-tab-body-inner {
  padding: 0 0 20px;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #444;
}

/* ── Product details / feature list (inside accordion) ───── */
body#product .dpp-tab-body-inner .product-features,
body#product .dpp-tab-body-inner .data-sheet,
body#product .dpp-tab-body-inner dl.data-sheet {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 8px 0 0 !important;
  margin: 0 !important;
  list-style: none;
  border-top: 1px solid #ececf3;
}

body#product .dpp-tab-body-inner .product-features > *,
body#product .dpp-tab-body-inner .data-sheet > * {
  font-family: 'Poppins', sans-serif !important;
}

/* PrestaShop renders features as a <dl> with alternating dt/dd */
body#product .dpp-tab-body-inner dl.data-sheet {
  grid-template-columns: minmax(180px, 0.9fr) 1.6fr;
}

body#product .dpp-tab-body-inner dl.data-sheet dt,
body#product .dpp-tab-body-inner dl.data-sheet dd {
  margin: 0 !important;
  padding: 14px 4px !important;
  border-bottom: 1px solid #ececf3;
  font-size: 0.98rem !important;
  line-height: 1.4;
  background: transparent !important;
  float: none !important;
  width: auto !important;
  clear: none !important;
}

body#product .dpp-tab-body-inner dl.data-sheet dt {
  color: #1a1a1a !important;
  font-weight: 700 !important;
  position: relative;
  padding-left: 22px !important;
}

body#product .dpp-tab-body-inner dl.data-sheet dt::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dpp-accent);
  box-shadow: 0 0 0 3px rgba(76, 60, 255, 0.12);
}

body#product .dpp-tab-body-inner dl.data-sheet dd {
  color: #444 !important;
  font-weight: 500 !important;
  text-align: right;
}

/* Row hover */
body#product .dpp-tab-body-inner dl.data-sheet dt:hover,
body#product .dpp-tab-body-inner dl.data-sheet dt:hover + dd {
  background: #fafaff !important;
}

/* "Marque Ray-Ban" type fallback — simple paragraphs */
body#product .dpp-tab-body-inner .product-manufacturer {
  margin-top: 14px;
  font-size: 0.95rem;
  color: #555;
}

body#product .dpp-tab-body-inner .product-manufacturer label {
  font-weight: 700;
  color: #1a1a1a;
  margin-right: 6px;
}

/* ── Voice command marketing banner ──────────────────────── */
body#product .dpp-voice-banner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  margin: 60px 0 40px;
  padding: 56px 48px;
  background:
    radial-gradient(circle at 0% 0%, rgba(76, 60, 255, 0.12), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(135, 161, 255, 0.12), transparent 55%),
    linear-gradient(180deg, #0a0a14 0%, #13112c 100%);
  color: #fff;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  font-family: 'Poppins', sans-serif;
}

body#product .dpp-voice-banner::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(76, 60, 255, 0.35), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
  filter: blur(20px);
}

body#product .dpp-voice-text {
  position: relative;
  z-index: 1;
}

body#product .dpp-voice-eyebrow {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 20px;
}

body#product .dpp-voice-title {
  font-family: 'Poppins', sans-serif !important;
  font-size: 2.6rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  color: #fff !important;
  margin: 0 0 18px !important;
  letter-spacing: -0.01em;
}

body#product .dpp-voice-title-accent {
  background: linear-gradient(90deg, #87A1FF 0%, #4C3CFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline;
  font-weight: 800;
}

body#product .dpp-voice-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 24px;
  max-width: 520px;
}

body#product .dpp-voice-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

body#product .dpp-voice-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.98rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

body#product .dpp-voice-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, #87A1FF, #4C3CFF);
  box-shadow: 0 0 14px rgba(76, 60, 255, 0.8);
  flex-shrink: 0;
}

body#product .dpp-voice-media {
  position: relative;
  z-index: 1;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

body#product .dpp-voice-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform 0.6s ease;
}

body#product .dpp-voice-banner:hover .dpp-voice-media img {
  transform: scale(1.08);
}

body#product .dpp-voice-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #1a1a1a;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

body#product .dpp-voice-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4C3CFF;
  position: relative;
  animation: dpp-voice-pulse 1.6s ease-in-out infinite;
}

body#product .dpp-voice-pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #4C3CFF;
  animation: dpp-voice-ring 1.6s ease-out infinite;
}

@keyframes dpp-voice-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

@keyframes dpp-voice-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

@media (max-width: 768px) {
  body#product .dpp-voice-banner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 36px 24px;
    margin: 32px 0 24px;
    border-radius: 18px;
  }

  body#product .dpp-voice-title {
    font-size: 1.9rem !important;
  }

  body#product .dpp-voice-desc {
    font-size: 0.95rem;
  }

  body#product .dpp-tab-body-inner dl.data-sheet {
    grid-template-columns: 1fr 1fr;
  }
}

/* Hide original tabs nav */
body#product .product-tabs .nav-tabs {
  display: none !important;
}

body#product .product-tabs .tab-content {
  display: none !important;
}

/* ── Cross-sell product buttons ──────────────────────────── */
body#product .product-miniature .btn-product-list,
body#product .product-miniature .add-to-cart {
  border-radius: 999px !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
  color: #ffffff !important;
  background-image: linear-gradient(34deg,
    var(--dpp-grad-start) -10%,
    var(--dpp-grad-mid) 30%,
    var(--dpp-grad-end) 70%,
    var(--dpp-grad-mid) 90%,
    var(--dpp-grad-start) 120%) !important;
  background-color: transparent !important;
  background-size: 300% 100% !important;
  background-position: 0% 50% !important;
  border: none !important;
  transition: background-position 0.6s ease !important;
}

body#product .product-miniature .btn-product-list:hover,
body#product .product-miniature .add-to-cart:hover {
  background-position: 50% 20% !important;
  color: #ffffff !important;
}

/* ── Modal / Sidebar for guides ──────────────────────────── */

/* Hidden by default — use visibility so transitions still work */
body#product .dpp-modal {
  visibility: hidden;
  pointer-events: none;
}

body#product .dpp-modal.dpp-modal--open {
  visibility: visible;
  pointer-events: auto;
}

body#product .dpp-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0);
  z-index: 100000;
  transition: background 0.3s ease;
}

body#product .dpp-modal.dpp-modal--open .dpp-modal-overlay {
  background: rgba(0,0,0,0.45);
}

body#product .dpp-modal-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 600px;
  max-width: 92vw;
  height: 100%;
  background: #fff;
  z-index: 100001;
  padding: 80px 36px 40px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

body#product .dpp-modal.dpp-modal--open .dpp-modal-panel {
  transform: translateX(0);
}

body#product .dpp-modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #666;
  line-height: 1;
  z-index: 100002;
}

body#product .dpp-modal-close:hover { color: #000; }

body#product .dpp-modal-body {
  margin-top: 32px;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ── Product images — grid layout (desktop only) ─────────── */
@media (min-width: 769px) {
  body#product .product-images-large.swiper {
    overflow: visible !important;
  }

  body#product #swiper-wrapper-column-images {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
    transform: none !important;
    transition: none !important;
  }

  body#product #swiper-wrapper-column-images .swiper-slide:first-child {
    grid-column: 1 / -1 !important;
  }

  body#product #swiper-wrapper-column-images .swiper-slide {
    width: 100% !important;
    margin: 0 !important;
  }

  body#product .product-cover .swiper-button-prev,
  body#product .product-cover .swiper-button-next,
  body#product .product-cover .swiper-pagination-product {
    display: none !important;
  }
}

body#product .product-cover img,
body#product .images-container .product-cover img {
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  border-radius: 12px;
}

/* ── Hide social share ───────────────────────────────────── */
body#product .social-sharing,
body#product .product-social-sharing {
  display: none !important;
}

/* ── Attributes — keep default layout, just style chips ──── */
body#product .dpp-chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  margin-bottom: 8px;
}

/* ── IQIT product variants (thumbnail swatches) ──────────── */
body#product .iqitproductvariants {
  margin: 20px 0 !important;
}

body#product .iqitproductvariants__label {
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin-bottom: 10px !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

body#product .iqitproductvariants__products {
  gap: 10px;
}

body#product .iqitproductvariants__product-col {
  padding: 0 !important;
}

body#product .iqitproductvariants__product {
  display: block;
  border: 1.5px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  padding: 4px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

body#product .iqitproductvariants__product:hover {
  border-color: var(--dpp-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(76, 60, 255, 0.12);
}

body#product .iqitproductvariants__product--current {
  border-color: var(--dpp-accent) !important;
  box-shadow: 0 0 0 2px rgba(76, 60, 255, 0.18);
}

body#product .iqitproductvariants__img {
  border-radius: 6px;
  display: block;
  width: 100%;
  height: auto;
}

/* ── Product variants (color + size radios) ──────────────── */
body#product .product-variants {
  margin-top: 16px;
}

body#product .product-variants-item {
  margin-bottom: 16px;
}

body#product .product-variants-item .form-control-label {
  display: block;
  font-family: 'Poppins', sans-serif !important;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin-bottom: 8px !important;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 0 !important;
}

body#product .product-variants-item ul {
  list-style: none;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body#product .product-variants-item .input-container {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
}

/* Color swatches */
body#product .product-variants-item .input-color {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}

body#product .product-variants-item .color {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid #e0e0e0;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: inset 0 0 0 2px #fff;
}

body#product .product-variants-item .color:hover {
  border-color: var(--dpp-accent);
  transform: scale(1.05);
}

body#product .product-variants-item .input-color:checked + .color,
body#product .product-variants-item .input-container.selected .color {
  border-color: var(--dpp-accent) !important;
  box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px rgba(76, 60, 255, 0.25);
}

/* Text / size radios */
body#product .product-variants-item .input-radio {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  z-index: 2;
}

body#product .product-variants-item .radio-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  padding: 8px 18px;
  border: 1.5px solid #d0d0d0;
  border-radius: 999px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  background: #fff;
  color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
  line-height: 1.3;
}

body#product .product-variants-item .radio-label:hover {
  border-color: var(--dpp-accent);
}

body#product .product-variants-item .input-radio:checked + .radio-label,
body#product .product-variants-item .input-container.selected .radio-label {
  border-color: var(--dpp-accent);
  background: var(--dpp-accent);
  color: #fff;
}

@media (max-width: 768px) {
  body#product .product-variants-item .color {
    width: 32px;
    height: 32px;
  }

  body#product .product-variants-item .radio-label {
    padding: 6px 14px;
    font-size: 0.8rem;
  }

  body#product .iqitproductvariants__product {
    padding: 3px;
  }
}

/* ── Description short — hide on restyled page ───────────── */
body#product .product-description {
  font-size: 1rem;
  line-height: 1.6;
}

/* ── Hide comments / reviews ─────────────────────────────── */
body#product #product-comments-list-header,
body#product #product-comments-list,
body#product .product-comments,
body#product #product_comments_block_tab,
body#product .product-comment-list-item,
body#product .comment-form,
body#product #product_comments_block_extra {
  display: none !important;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  body#product h1.h1.page-title,
  body#product h1.h1.page-title span {
    font-size: 2rem !important;
  }

  body#product .product-prices .current-price .product-price {
    font-size: 1.6rem !important;
  }

  body#product .dpp-chip {
    padding: 6px 14px;
    font-size: 0.78rem;
  }

  body#product .dpp-modal-panel {
    width: 100vw;
    max-width: 100vw;
  }

  /* Mobile: let Swiper drive the slider natively */

  /* ── Luxury sticky buy bar on mobile ─────────────────── */
  body#product {
    padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px));
  }

  body#product .dpp-voice-banner {
    margin-bottom: 24px;
  }

  body#product .product-add-to-cart {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9998;
    margin: 0 !important;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.08);
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  body#product .product-add-to-cart .product-quantity {
    width: 100%;
    margin: 0 !important;
    display: flex !important;
    justify-content: center;
  }

  body#product .product-add-to-cart .add-to-cart,
  body#product .product-add-to-cart .btn-primary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 18px 24px !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em !important;
    border-radius: 999px !important;
    box-shadow:
      0 10px 30px rgba(76, 60, 255, 0.35),
      0 4px 12px rgba(0, 0, 0, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    position: relative;
    overflow: hidden;
    animation: dpp-buy-pulse 3.2s ease-in-out infinite;
  }

  body#product .product-add-to-cart .add-to-cart::before,
  body#product .product-add-to-cart .btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 50%;
    height: 100%;
    background: linear-gradient(120deg,
      transparent 0%,
      rgba(255, 255, 255, 0.22) 50%,
      transparent 100%);
    transform: skewX(-20deg);
    animation: dpp-buy-shine 3.2s ease-in-out infinite;
    pointer-events: none;
  }

  body#product .product-add-to-cart .add-to-cart:active,
  body#product .product-add-to-cart .btn-primary:active {
    transform: scale(0.98);
    box-shadow:
      0 4px 12px rgba(76, 60, 255, 0.3),
      0 2px 6px rgba(0, 0, 0, 0.15) !important;
  }

  /* Hide the inline price inside buy bar if theme shows it — keep the CTA clean */
  body#product .product-add-to-cart .product-minimal-quantity,
  body#product .product-add-to-cart .product-discounts {
    display: none !important;
  }
}

@keyframes dpp-buy-pulse {
  0%, 100% {
    box-shadow:
      0 10px 30px rgba(76, 60, 255, 0.35),
      0 4px 12px rgba(0, 0, 0, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow:
      0 14px 40px rgba(76, 60, 255, 0.55),
      0 6px 18px rgba(0, 0, 0, 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }
}

@keyframes dpp-buy-shine {
  0% { left: -60%; }
  60%, 100% { left: 120%; }
}
