/* === Sticky CTA === */
.dring-custom-mobile-cta-banner{
    display: none;
}
@media (max-width: 749px) {
  .dring-custom-mobile-sticky-cta {
    overflow: visible;
    box-shadow: 0 -8px 30px rgba(0,0,0,0.2);
    background: #000;
    border-radius: 45px 45px 0 0;
    padding: 12px 16px 0 16px;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 999;
    .dring-custom-mobile-cta-banner{
        display: block;
    }
  }
  body.template-product {
    padding-bottom: 140px;
  }
}
/* === Banner === */
.dring-custom-mobile-cta-banner {
  background: transparent;
  color: #fff;
  text-align: center;
  font-size: clamp(11px, 3vw, 14px);
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 4px;
  border-radius: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 !important;
}
.dring-custom-mobile-cta-banner strong { font-weight: bold; }

/* === Main Content === */

/* === Price Section === */
.dring-custom-mobile-cta-price-section,
.dring-custom-mobile-cta-price-left {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.dring-custom-mobile-cta-price-section {
    justify-content: flex-start;
    margin: 8px 0;
    display: none;
}
.dring-custom-mobile-cta-price-left { flex: 1; }
.dring-custom-mobile-cta-price-main {
  font-size: clamp(20px, 6vw, 28px);
  font-weight: 900;
  color: #000;
  line-height: 1;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.dring-custom-mobile-cta-original-price {
  font-size: clamp(12px, 3.5vw, 16px);
  color: #666;
  text-decoration: line-through;
  font-weight: 400;
  letter-spacing: -0.3px;
  white-space: nowrap;
}
.dring-custom-mobile-cta-discount {
  color: #5a4fa3;
  font-size: clamp(10px, 3vw, 14px);
  font-weight: 900;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(90, 79, 163, 0.1);
}
.dring-custom-mobile-cta-tax-text {
  font-size: clamp(8px, 2.5vw, 11px);
  color: #666;
  font-weight: 400;
  white-space: nowrap;
  margin-left: 4px;
}

/* === Buttons Section === */
.dring-custom-mobile-cta-buttons {
  display: flex;
  gap: 12px;
  align-items: stretch;
  padding-top: 30px;
  padding-bottom: 20px;
}
@media (max-width: 750px) {
  .dring-custom-mobile-cta-buttons { padding-top: 2px; }

.dring-custom-mobile-cta-price-section{
    display: block;
}
    .dring-custom-mobile-cta-content {
        background: #fdec09;
        padding: 16px 20px 20px 20px;
        border-radius: 35px 35px 0 0 !important;
        margin: 0 -16px -20px -16px;
        position: relative;
        min-height: 120px;
    }

}

/* === CTA Buttons === */
.dring-custom-mobile-cta-btn {
  flex: 1;
  padding: 12px 16px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  letter-spacing: 0.3px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  outline: none;
  -webkit-touch-callout: none;
}
.dring-custom-mobile-cta-btn:focus {
  outline: 2px solid #4a90e2;
  outline-offset: 2px;
}
.dring-custom-mobile-cta-btn:active { transform: scale(0.98); }
.dring-custom-mobile-cta-btn:disabled {
  background: #d1d5db;
  color: #9ca3af;
  cursor: not-allowed;
  transform: none;
}
.dring-custom-mobile-cta-add-to-cart {
  background: #fff;
  color: #000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border: 1px solid #e0e0e0;
}
.dring-custom-mobile-cta-add-to-cart:hover {
  background: #f8f8f8;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.dring-custom-mobile-cta-buy-now {
  background: #5a4fa3;
  color: #fdec09;
  box-shadow: 0 2px 6px rgba(90,79,163,0.3);
}
.dring-custom-mobile-cta-buy-now:hover {
  background: #4a3f8a;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(90,79,163,0.4);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* === Responsive & Safe Area Adjustments === */
@media (max-width: 480px) {
  .dring-custom-mobile-sticky-cta { padding: 10px 12px 0 12px; }
  .dring-custom-mobile-cta-content {
    padding: 4px 16px 18px 16px;
    margin: 0 -12px -20px -12px;
    // min-height: 120px;
  }
  .dring-custom-mobile-cta-price-left { gap: 4px; }
  .dring-custom-mobile-cta-discount { padding: 2px 4px; border-radius: 3px; }
  .dring-custom-mobile-cta-btn { font-size: 14px; padding: 10px 12px; min-height: 44px; }
  .dring-custom-mobile-cta-buttons { gap: 10px; }
}
@media (max-width: 360px) {
  .dring-custom-mobile-cta-price-left { gap: 3px; }
  .dring-custom-mobile-cta-btn { font-size: 13px; letter-spacing: 0.2px; }
  .dring-custom-mobile-cta-banner { padding: 3px 0 3px 0 !important; }
}
@media (min-width: 480px) and (max-width: 749px) {
  .dring-custom-mobile-cta-content {
    min-height: 125px;
    padding: 4px 24px 22px 24px;
  }
  .dring-custom-mobile-cta-price-left { gap: 8px; }
  .dring-custom-mobile-cta-btn { font-size: 16px; min-height: 50px; }
}
@media (max-width: 749px) and (orientation: landscape) {
  body.template-product { padding-bottom: 120px; }
  .dring-custom-mobile-cta-content {
    min-height: 100px;
    padding: 12px 20px 16px 20px;
  }
  .dring-custom-mobile-cta-price-section { margin-bottom: 10px; }
  .dring-custom-mobile-cta-btn { min-height: 42px; padding: 10px 16px; }
}
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .dring-custom-mobile-sticky-cta { padding-bottom: env(safe-area-inset-bottom); }
  body.template-product { padding-bottom: calc(140px + env(safe-area-inset-bottom)); }
  @media (max-width: 749px) and (orientation: landscape) {
    body.template-product { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
  }
}

/* === Breadcrumbs Arrow === */
.breadcrumbs__arrow {
  margin: 0 8px;
  display: inline-flex;
  align-items: center;
  opacity: 0.6;
}
.breadcrumbs__arrow .icon,
.breadcrumbs__arrow svg {
  width: 8px;
  height: 12px;
  stroke: #999;
  fill: none;
}
/* === High DPI === */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .dring-custom-mobile-cta-btn { border-width: 0.5px; }
}

div#dring-custom-mobile-sticky-cta.no-deal {
    background: transparent;
    box-shadow: 0 0 0 0 !important;
}
