/*
 * pdau-premium.css — v3
 * Supplements wp-custom-css (post 2672) with services section
 * + maximum-specificity overrides that beat Elementor inline styles
 */

/* ── SERVICES SECTION ────────────────────────────────────────── */
.pdau-services-section {
  padding: 88px 20px;
  background: #071320;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.pdau-services-inner {
  max-width: 1160px;
  margin: 0 auto;
}
.pdau-services-header {
  text-align: center;
  margin-bottom: 60px;
}
.pdau-services-label {
  font-size: 0.67rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: #5e9aac !important;
  margin: 0 0 16px !important;
  display: block;
}
.pdau-services-heading {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem) !important;
  font-weight: 900 !important;
  letter-spacing: -0.04em !important;
  color: #f0f8ff !important;
  margin: 0 0 14px !important;
  line-height: 1.06 !important;
}
.pdau-services-sub {
  font-size: 1rem !important;
  color: #4f7a8a !important;
  max-width: 480px;
  margin: 0 auto !important;
  line-height: 1.75 !important;
}
.pdau-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.pdau-service-card {
  background: #0c1f30;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 34px 28px;
  transition: border-color 0.25s ease, transform 0.3s cubic-bezier(0.2,0,0,1), box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.pdau-service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(198,231,108,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.pdau-service-card:hover {
  border-color: rgba(198,231,108,0.28);
  transform: translateY(-5px);
  box-shadow: 0 12px 48px rgba(0,0,0,0.65), 0 0 0 1px rgba(198,231,108,0.08);
}
.pdau-service-card:hover::before { opacity: 1; }
.pdau-service-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 20px;
  display: block;
}
.pdau-service-title {
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: #f0f8ff !important;
  letter-spacing: -0.015em !important;
  margin: 0 0 10px !important;
  line-height: 1.3 !important;
  text-transform: none !important;
}
.pdau-service-desc {
  font-size: 0.875rem !important;
  color: #4f7a8a !important;
  line-height: 1.7 !important;
  margin: 0 !important;
}
@media (max-width: 767px) {
  .pdau-services-section { padding: 56px 16px; }
  .pdau-services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .pdau-service-card { padding: 24px 18px; }
}
@media (max-width: 480px) {
  .pdau-services-grid { grid-template-columns: 1fr; }
}

/* ── PRODUCT CARD OVERRIDES (beat Elementor inline) ──────────── */
/* WhatsApp button */
.woocommerce ul.products li.product a.button.wa-loop-button {
  background: #16a34a !important;
  color: #ffffff !important;
  border: none !important;
  width: calc(100% - 24px) !important;
  display: block !important;
  text-align: center !important;
  margin: 4px 12px 14px !important;
  border-radius: 4px !important;
  font-weight: 800 !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.09em !important;
  text-transform: uppercase !important;
  padding: 10px 16px !important;
}
.woocommerce ul.products li.product a.button.wa-loop-button:hover {
  background: #15803d !important;
  color: #fff !important;
}

/* Add-to-cart in product cards */
.woocommerce ul.products li.product a.button.add_to_cart_button {
  background: rgba(255,255,255,0.04) !important;
  color: rgba(200,224,236,0.55) !important;
  border: 1px solid rgba(255,255,255,0.08) !important;
}
.woocommerce ul.products li.product a.button.add_to_cart_button:hover {
  border-color: rgba(198,231,108,0.4) !important;
  color: #c6e76c !important;
  background: rgba(198,231,108,0.08) !important;
}

/* ── CHECKOUT CTA — MAXIMUM SPECIFICITY ──────────────────────── */
body .wc-block-components-checkout-place-order-button,
body #place_order,
body .woocommerce #respond input#submit,
body .woocommerce a.button.alt,
body .woocommerce button.button.alt,
body .single_add_to_cart_button.button.alt {
  background: #c6e76c !important;
  color: #040e17 !important;
  font-weight: 900 !important;
}

/* ── PRODUCT PAGE — TRUST SIGNALS ────────────────────────────── */
/* Trust badge row after price on single product */
.single-product .product .price {
  margin-bottom: 6px !important;
}

/* ── ANIMATIONS ──────────────────────────────────────────────── */
@keyframes pdau-shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* Shimmer on primary CTA hover */
.single_add_to_cart_button:hover,
.wc-block-components-checkout-place-order-button:hover,
#place_order:hover {
  background: linear-gradient(90deg, #c6e76c 0%, #dff58a 50%, #c6e76c 100%) !important;
  background-size: 200% auto !important;
  animation: pdau-shimmer 1.5s linear infinite !important;
}

/* ── MISC HIGH-SPECIFICITY FIXES ─────────────────────────────── */
/* Ensure product image area has correct bg */
.woocommerce ul.products li.product .woocommerce-LoopProduct-link,
.woocommerce ul.products li.product a.woocommerce-loop-product__link {
  background: #0a1a29 !important;
}

/* Span colors not matched by general p/span rule */
.woocommerce ul.products li.product span:not(.onsale):not(.price):not(.amount):not(.star-rating) {
  color: #4f7a8a !important;
}

/* Cart remove button */
.woocommerce-cart table.cart .product-remove a.remove {
  color: rgba(200,224,236,0.3) !important;
  font-size: 1.2rem !important;
}
.woocommerce-cart table.cart .product-remove a.remove:hover {
  color: rgba(230,70,70,0.9) !important;
  background: transparent !important;
}

/* ── PRODUCT PAGE SUMMARY PANEL ──────────────────────────────── */
/* Summary sticky on desktop */
@media (min-width: 992px) {
  .single-product div.product .summary {
    position: sticky;
    top: 100px;
  }
}
