/* Villenas PDP V1D black-gold coupon | 2026-11-16 */
@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&display=swap");

.product-coupon[data-v1d="1"] {
  margin-top: 14px;
  position: relative;
}
.product-coupon[data-v1d="1"] .coupon-label {
  margin-top: 0 !important;
  position: relative !important;
  overflow: hidden !important;
  background: #0b0b0b !important;
  color: #f4e6c4 !important;
  padding: 13px 14px !important;
  border: 1px solid #c6a15b !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
}
.product-coupon[data-v1d="1"] .coupon-label::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  width: auto !important;
  background: linear-gradient(110deg, transparent 18%, rgba(255,230,170,.32) 46%, transparent 72%) !important;
  transform: translateX(-130%);
  animation: v1dShine 3.2s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}
.product-coupon[data-v1d="1"] .coupon-label .ml-10 {
  font-family: Cinzel, Georgia, serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: .32em !important;
  color: #f4e6c4 !important;
  text-transform: uppercase !important;
  margin-left: 8px !important;
  position: relative;
  z-index: 3;
}
.product-coupon[data-v1d="1"] .coupon-label svg.icon { display: none !important; }
.product-coupon[data-v1d="1"] .coupon-label .icon-arrow { fill: #efd9a4 !important; color: #efd9a4 !important; position: relative; z-index: 3; }
.product-coupon[data-v1d="1"] .coupon-label .set-diy-list { position: relative; z-index: 3; gap: 6px; }
.product-coupon[data-v1d="1"] .coupon-label .set-diy-list .coupon-tag {
  height: auto !important;
  background: transparent !important;
  border: 1px solid #c6a15b !important;
  border-radius: 0 !important;
  padding: 4px 8px !important;
  margin: 0 4px 0 0 !important;
  box-shadow: none !important;
}
.product-coupon[data-v1d="1"] .coupon-label .set-diy-list .coupon-tag span {
  color: #efd9a4 !important;
  font-family: Cinzel, Georgia, serif !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  letter-spacing: .04em !important;
  line-height: 1.2 !important;
}
.product-coupon[data-v1d="1"] .coupon-label .set-diy-list .coupon-tag .left-arrow,
.product-coupon[data-v1d="1"] .coupon-label .set-diy-list .coupon-tag .right-arrow { display: none !important; }

.product-coupon[data-v1d="1"] .v1d-box {
  width: 34px; height: 30px; position: relative; flex: 0 0 34px; z-index: 3;
  filter: drop-shadow(0 0 8px rgba(243,215,138,.7));
  animation: v1dGiftPulse 1.8s ease-in-out infinite;
}
.product-coupon[data-v1d="1"] .v1d-box .body { position: absolute; left: 4px; right: 4px; bottom: 0; height: 18px; background: linear-gradient(180deg,#d4b36a,#9a742e); border: 1px solid #f2d48a; }
.product-coupon[data-v1d="1"] .v1d-box .lid { position: absolute; left: 1px; right: 1px; top: 6px; height: 10px; background: linear-gradient(180deg,#f0d58a,#b58a3a); border: 1px solid #f7e3a8; }
.product-coupon[data-v1d="1"] .v1d-box .rv { position: absolute; left: 50%; top: 8px; bottom: 0; width: 5px; margin-left: -2.5px; background: #f6e2a4; }
.product-coupon[data-v1d="1"] .v1d-box .rh { position: absolute; left: 4px; right: 4px; top: 14px; height: 5px; background: #f6e2a4; }
.product-coupon[data-v1d="1"] .v1d-box .bow { position: absolute; left: 50%; top: 0; width: 14px; height: 10px; margin-left: -7px; }
.product-coupon[data-v1d="1"] .v1d-box .bow:before,
.product-coupon[data-v1d="1"] .v1d-box .bow:after { content: ""; position: absolute; top: 0; width: 8px; height: 8px; border: 2px solid #f6e2a4; border-radius: 50% 50% 50% 0; background: rgba(246,226,164,.2); }
.product-coupon[data-v1d="1"] .v1d-box .bow:before { left: 0; transform: rotate(-45deg); }
.product-coupon[data-v1d="1"] .v1d-box .bow:after { right: 0; transform: rotate(45deg) scaleX(-1); }

.product-coupon[data-v1d="1"] .v1d-ribbon { position: absolute; height: 3px; border-radius: 3px; background: linear-gradient(90deg,#7a5a1c,#f8e19a,#7a5a1c); z-index: 1; }
.product-coupon[data-v1d="1"] .v1d-r1 { width: 78px; top: 7px; left: -18px; animation: v1dFloatR 3s ease-in-out infinite; }
.product-coupon[data-v1d="1"] .v1d-r2 { width: 96px; bottom: 7px; right: -22px; animation: v1dFloatR 3.6s ease-in-out infinite reverse; }
.product-coupon[data-v1d="1"] .v1d-r3 { width: 52px; top: 16px; right: 30%; transform: rotate(18deg); animation: v1dFloatR 2.5s ease-in-out infinite; }
.product-coupon[data-v1d="1"] .v1d-spark { position: absolute; width: 4px; height: 4px; background: #ffe9a8; border-radius: 50%; box-shadow: 0 0 8px #ffe9a8; animation: v1dSpark 1.4s ease-in-out infinite; z-index: 3; }
.product-coupon[data-v1d="1"] .v1d-s1 { top: 6px; left: 48px; animation-delay: .1s; }
.product-coupon[data-v1d="1"] .v1d-s2 { bottom: 8px; left: 62px; animation-delay: .5s; }
.product-coupon[data-v1d="1"] .v1d-s3 { top: 10px; right: 40%; animation-delay: .8s; }

.product-coupon[data-v1d="1"] .coupon-list {
  top: calc(100% + 8px) !important;
  left: 0 !important;
  transform: none !important;
  width: 100% !important;
  max-width: 100% !important;
  background: #0c0c0c !important;
  border: 1px solid #c6a15b !important;
  border-radius: 0 !important;
  padding: 12px !important;
  box-shadow: 0 18px 40px rgba(0,0,0,.28) !important;
  overflow: hidden;
}
.product-coupon[data-v1d="1"] .coupon-list::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(110deg, transparent 18%, rgba(255,230,170,.28) 46%, transparent 72%) !important;
  transform: translateX(-130%);
  animation: v1dShine 3.2s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
  border: 0 !important;
}
.product-coupon[data-v1d="1"] .coupon-list::after { display: none !important; }
.product-coupon[data-v1d="1"] .coupon-list .title { display: none !important; }
.product-coupon[data-v1d="1"] .coupon-list .coupon-box {
  position: relative;
  z-index: 2;
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  max-height: min(70vh, 560px);
  overflow-y: auto;
}
.product-coupon[data-v1d="1"] .coupon-list .item-coupon {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: transparent !important;
  border: 1px dashed #5c4a2c !important;
  border-radius: 0 !important;
  margin: 8px 0 !important;
  min-height: 0 !important;
  position: relative;
  z-index: 2;
}
.product-coupon[data-v1d="1"] .coupon-list .item-coupon .left-info {
  width: auto !important;
  flex: 1 1 auto !important;
  padding: 10px 12px !important;
  color: #f4e6c4 !important;
}
.product-coupon[data-v1d="1"] .coupon-list .item-coupon .left-info::before,
.product-coupon[data-v1d="1"] .coupon-list .item-coupon .left-info::after,
.product-coupon[data-v1d="1"] .coupon-list .item-coupon .coupon-item-divider { display: none !important; }
.product-coupon[data-v1d="1"] .coupon-list .item-coupon .off {
  font-family: Cinzel, Georgia, serif !important;
  font-size: 16px !important;
  color: #f4e6c4 !important;
  font-weight: 500 !important;
}
.product-coupon[data-v1d="1"] .coupon-list .item-coupon .condition {
  display: block !important;
  color: #b9a57a !important;
  font-size: 12px !important;
  margin-top: 2px !important;
}
.product-coupon[data-v1d="1"] .coupon-list .item-coupon .right-info {
  width: auto !important;
  background: transparent !important;
  padding: 10px 12px !important;
}
.product-coupon[data-v1d="1"] .coupon-list .item-coupon .code-btn {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  color: #efd9a4 !important;
  border: 1px solid #c6a15b !important;
  border-radius: 0 !important;
  box-sizing: border-box !important;
  width: 110px !important;
  min-width: 110px !important;
  max-width: 110px !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 !important;
  margin: 0 auto !important;
  font-family: Cinzel, Georgia, serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  box-shadow: none !important;
  text-align: center !important;
  line-height: 40px !important;
}
.product-coupon[data-v1d="1"] .coupon-list .item-coupon .code-btn span {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  min-height: 0 !important;
  min-width: 0 !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  letter-spacing: 0.08em !important;
  text-align: center !important;
  box-shadow: none !important;
}
.product-coupon[data-v1d="1"] .coupon-list .item-coupon .code-btn:hover {
  background: #c6a15b !important;
  color: #111 !important;
}
.product-coupon[data-v1d="1"] .coupon-list .item-coupon .code-btn:hover span {
  background: transparent !important;
  color: #111 !important;
  border: 0 !important;
}

@keyframes v1dShine { 0% { transform: translateX(-130%); } 60%, 100% { transform: translateX(130%); } }
@keyframes v1dFloatR { 0%, 100% { transform: translateX(0) rotate(0); } 50% { transform: translateX(12px) rotate(8deg); } }
@keyframes v1dGiftPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.08); } }
@keyframes v1dSpark { 0%, 100% { opacity: .2; transform: scale(.6); } 50% { opacity: 1; transform: scale(1.3); } }

@media (max-width: 1024px) {
  .product-coupon[data-v1d="1"] .coupon-label { padding: 11px 12px !important; }
  .product-coupon[data-v1d="1"] .coupon-label .ml-10 { letter-spacing: .18em !important; font-size: 10px !important; }
  .product-coupon[data-v1d="1"] .v1d-r3 { display: none; }
}
@media (max-width: 767px) {
  .product-coupon[data-v1d="1"] .coupon-label { padding: 10px 10px !important; }
  .product-coupon[data-v1d="1"] .coupon-label .ml-10 { letter-spacing: .1em !important; font-size: 9px !important; margin-left: 6px !important; }
  .product-coupon[data-v1d="1"] .coupon-label .set-diy-list .coupon-tag:nth-child(n+3) { display: none !important; }
  .product-coupon[data-v1d="1"] .coupon-label .set-diy-list .coupon-tag { padding: 3px 6px !important; }
  .product-coupon[data-v1d="1"] .coupon-label .set-diy-list .coupon-tag span { font-size: 10px !important; }
  .product-coupon[data-v1d="1"] .v1d-box { width: 26px; height: 24px; flex-basis: 26px; }
  .product-coupon[data-v1d="1"] .v1d-r1, .product-coupon[data-v1d="1"] .v1d-r2 { opacity: .7; }
  .product-coupon[data-v1d="1"] .coupon-list { width: calc(100vw - 24px) !important; left: 50% !important; transform: translateX(-50%) !important; padding: 10px !important; }
  .product-coupon[data-v1d="1"] .coupon-list .item-coupon .off { font-size: 14px !important; }
  .product-coupon[data-v1d="1"] .coupon-list .item-coupon .code-btn { min-width: 78px !important; min-height: 32px !important; font-size: 10px !important; }
}

.product-coupon[data-v1d="1"] .coupon-list .item-coupon {
  align-items: stretch !important;
}
.product-coupon[data-v1d="1"] .coupon-list .item-coupon .right-info {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 132px !important;
  flex: 0 0 132px !important;
  padding: 10px 12px !important;
}
.product-coupon[data-v1d="1"] .coupon-list .item-coupon .code-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 110px !important;
  min-width: 110px !important;
  max-width: 110px !important;
  height: 40px !important;
  min-height: 40px !important;
  margin: 0 auto !important;
  text-align: center !important;
}
.product-coupon[data-v1d="1"] .coupon-list .item-coupon .code-btn span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  text-align: center !important;
  line-height: 1 !important;
  margin: 0 !important;
}

/* v1d claim true center | 20261116c */
.product-coupon[data-v1d="1"] .coupon-list .item-coupon .code-btn span {
  position: absolute !important;
  inset: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  min-height: 0 !important;
  height: 100% !important;
  padding: 0 !important;
}

/* v1d early title fit | 20261116 */
.product-coupon[data-v1d="1"] .coupon-label .ml-10 {
  letter-spacing: 0.12em !important;
  white-space: nowrap !important;
  overflow: visible !important;
  font-size: 11px !important;
}
@media (max-width: 1024px) {
  .product-coupon[data-v1d="1"] .coupon-label .ml-10 {
    letter-spacing: 0.06em !important;
    font-size: 10px !important;
  }
}
@media (max-width: 767px) {
  .product-coupon[data-v1d="1"] .coupon-label .ml-10 {
    letter-spacing: 0.04em !important;
    font-size: 9px !important;
    white-space: normal !important;
  }
}
