/*
Theme Name: Meoowoof Astra Child
Theme URI: https://www.meoowoof.com
Description: Custom Astra child theme for Meoowoof — UAE dual-currency reference display (AED/USD), Arabic RTL typography, and Pet Stars features.
Author: Meoowoof Team
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

/* Dual-currency price presentation */
.mw-aed-price,
.mw-aed-ins {
  font-weight: 700;
  color: #1c3d32;
  text-decoration: none;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.mw-aed-del {
  opacity: 0.55;
  font-size: 0.9em;
  margin-right: 0.35em;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.mw-usd-ref {
  font-size: 0.82em;
  font-weight: 400;
  color: #64746c;
  margin-left: 0.3em;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.mw-checkout-ddp-note {
  background: #f3f7f5;
  border-left: 4px solid #1c3d32;
  border-radius: 6px;
  padding: 12px 16px;
  margin: 0 0 18px 0;
  font-size: 14px;
  line-height: 1.55;
  color: #243830;
}

/* Arabic RTL layout & typography support */
[dir="rtl"],
.mw-rtl {
  direction: rtl;
  text-align: right;
  font-family: "Noto Sans Arabic", "Geeza Pro", "Segoe UI", Tahoma, sans-serif;
}

[dir="rtl"] .mw-checkout-ddp-note,
.mw-rtl .mw-checkout-ddp-note {
  border-left: none;
  border-right: 4px solid #1c3d32;
}

/* Pet Stars submission form & community gallery */
.mw-ps-card {
  background: #ffffff;
  border: 1px solid #dce6df;
  border-radius: 20px;
  padding: clamp(22px, 4vw, 40px);
  margin: 28px 0;
  box-shadow: 0 8px 28px rgba(23, 43, 34, 0.06);
}

.mw-ps-title {
  margin: 0 0 8px;
  color: #172b22;
  font-size: clamp(22px, 3vw, 28px);
}

.mw-ps-sub {
  margin: 0 0 22px;
  color: #4f6359;
  font-size: 15px;
  line-height: 1.6;
}

.mw-ps-alert {
  padding: 14px 18px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-size: 15px;
  font-weight: 600;
}

.mw-ps-alert-ok {
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  color: #065f46;
}

.mw-ps-alert-err {
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #991b1b;
}

.mw-ps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.mw-ps-field {
  margin-bottom: 16px;
}

.mw-ps-field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: #1c3d32;
  margin-bottom: 6px;
}

.mw-ps-field input[type="text"],
.mw-ps-field input[type="email"],
.mw-ps-field input[type="file"],
.mw-ps-field select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #c5d4ca;
  border-radius: 10px;
  font-size: 15px;
  background: #fafcfb;
}

.mw-ps-consents {
  background: #f5f9f6;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 18px 0 22px;
}

.mw-ps-perm-heading {
  font-weight: 700;
  font-size: 14px;
  color: #172b22;
  margin: 14px 0 10px;
}

.mw-ps-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: #263b31;
  cursor: pointer;
}

.mw-ps-check input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.mw-ps-btn {
  background: #172b22;
  color: #f0c984;
  border: none;
  border-radius: 999px;
  padding: 14px 30px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.mw-ps-btn:hover {
  opacity: 0.92;
}

.mw-ps-empty {
  background: #f7faf8;
  border: 1px dashed #b7ccc0;
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  color: #496055;
  margin: 20px 0;
}

.mw-ps-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.mw-ps-star-item {
  background: #fff;
  border: 1px solid #e2ebe5;
  border-radius: 16px;
  overflow: hidden;
}

.mw-ps-star-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.mw-ps-star-body {
  padding: 14px 16px;
}

.mw-ps-star-body h4 {
  margin: 0 0 6px;
  font-size: 17px;
  color: #172b22;
}

.mw-ps-star-body p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #4f6359;
}

.mw-ps-badge {
  display: inline-block;
  background: #fef3c7;
  color: #92400e;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}
