/* سمة «باستل» — كاندي شوب: هيدر عائم مدور، هيرو في بلوك متدرج مدور بزرار، حبوب ملونة، سعر كبادج على الصورة، كروت متمايلة */
:root {
  --bg: #fdf1ec; --surface: #ffffff; --ink: #43262e; --muted: #a9838d;
  --accent: #e75d7d; --accent-dark: #c9446a; --line: #f6dde3;
  --radius: 22px; --shadow: 0 8px 24px rgba(231, 93, 125, 0.12);
}
body { background: var(--bg); color: var(--ink); }
h1, h2, .strip-title { font-family: "Changa", "Cairo", sans-serif; }

/* هيدر عائم زي الفقاعة */
.site-header {
  position: sticky; top: 8px; margin: 10px 12px 0;
  background: #fff; border: none; border-radius: 999px;
  box-shadow: 0 6px 20px rgba(231, 93, 125, 0.18); padding: 8px 14px;
}
.logo { color: var(--accent-dark); font-family: "Changa", sans-serif; font-size: 1.5rem; }
.header-search input, .search-input {
  border: 1.5px solid var(--line); border-radius: 999px; background: var(--bg); color: var(--ink);
}
.cart-btn { color: var(--accent-dark); }
.cart-count { background: var(--accent); }

/* هيرو في بلوك متدرج مدور */
.hero {
  margin: 14px 12px 4px; border-radius: 28px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #ffd6e0, #ffe9d9 60%, #fdeef1);
  padding: 44px 24px 40px; text-align: center;
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.5);
}
.hero::before { width: 120px; height: 120px; top: -40px; inset-inline-start: -30px; }
.hero::after { width: 80px; height: 80px; bottom: -24px; inset-inline-end: -16px; }
.hero h1 { font-family: "Changa", sans-serif; font-size: 1.9rem; color: var(--accent-dark); position: relative; }
.hero p { color: #8a5a66; font-size: 1rem; position: relative; }
.hero-cta {
  display: inline-block; margin-top: 16px; padding: 12px 36px; position: relative;
  background: var(--accent); color: #fff; font-weight: 800; font-size: 1rem;
  border-radius: 999px; text-decoration: none; box-shadow: 0 6px 16px rgba(231, 93, 125, 0.4);
}
.hero-cta:hover { background: var(--accent-dark); }

/* حبوب ملونة */
.chips { gap: 8px; padding: 16px 16px 8px; }
.chip { border: none; border-radius: 999px; padding: 8px 18px; font-weight: 700; color: #43262e; background: #ffe3ec; }
.chip:nth-of-type(5n+2) { background: #e2f4ea; }
.chip:nth-of-type(5n+3) { background: #efe4f7; }
.chip:nth-of-type(5n+4) { background: #fdeed6; }
.chip:nth-of-type(5n+5) { background: #e0eefb; }
.chip.active { background: var(--accent) !important; color: #fff; box-shadow: 0 4px 12px rgba(231, 93, 125, 0.35); }
.brand-strip .chip { background: #fff; border: 1.5px solid var(--line); font-weight: 400; }
.brand-strip .chip-count { color: var(--accent); font-weight: 700; }
.strip-title { font-family: "Changa", sans-serif; color: var(--accent-dark); text-align: center; font-size: 1.25rem; margin-top: 14px; }

/* كروت مدورة، السعر بادج فوق الصورة، وتمايل خفيف للكروت الزوجية */
.grid { gap: 14px 12px; }
@media (min-width: 640px) { .grid { gap: 20px 16px; } .card:nth-child(even) { transform: translateY(12px); } }
@media (min-width: 960px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.card { border-radius: 24px; box-shadow: var(--shadow); position: relative; }
.card-img { background: #fdeef1; }
.card-img img { transition: transform 0.25s; }
.card:hover .card-img img { transform: scale(1.04); }
.badge-sale { background: var(--accent); font-size: 0.72rem; }
.badge-out { background: #9a8b8f; }
.card-body { padding: 12px 14px 14px; position: relative; padding-top: 26px; }
.price-row {
  position: absolute; top: -18px; inset-inline-start: 10px;
  background: var(--accent); color: #fff; border-radius: 999px; padding: 4px 12px;
  box-shadow: 0 4px 10px rgba(231, 93, 125, 0.35); align-items: center;
}
.price-row .price { color: #fff; font-size: 0.95rem; }
.price-row .old-price { color: rgba(255, 255, 255, 0.75); font-size: 0.75rem; }
.card-actions .btn-primary {
  background: var(--accent); border-radius: 999px; padding: 11px;
  box-shadow: 0 4px 12px rgba(231, 93, 125, 0.3);
}
.card-actions .btn-primary:hover { background: var(--accent-dark); }
.card-actions .btn-ghost { background: #fff; border: 1.5px solid var(--line); color: var(--accent-dark); border-radius: 999px; }

/* أزرار عامة */
.btn { border-radius: 999px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: #fff; color: var(--accent-dark); border: 1.5px solid var(--line); }
.fab-cart { background: var(--accent); border-radius: 999px; box-shadow: 0 8px 20px rgba(231, 93, 125, 0.45); }

/* فوتر مرجانه مدور من فوق */
.site-footer {
  background: var(--accent-dark); color: #ffd9e1; border-top: none;
  border-radius: 28px 28px 0 0; margin-top: 30px; padding: 30px 16px; text-align: center;
}
.site-footer .store-name { font-family: "Changa", sans-serif; color: #fff; font-size: 1.25rem; display: block; margin-bottom: 2px; }

/* صفحة المنتج */
.product-hero { border-radius: 26px; box-shadow: var(--shadow); }
.pdp-gallery { border-radius: 22px; overflow: hidden; }
.pdp-thumbs button { border-radius: 14px; }
.pdp-thumbs button.active { border-color: var(--accent); }
.order-no-box { border: 1.5px dashed var(--accent); border-radius: 16px; background: #fff5f7; }
.rate-form { border-radius: 16px; }
.rate-btn { border-radius: 999px; background: var(--accent); border-color: var(--accent); }
.track-actions .link-btn { border-radius: 999px; border-color: var(--accent); color: var(--accent); }
.track-steps li.done .dot { background: var(--accent); border-color: var(--accent); }
.store-flash { border-radius: 999px; background: var(--accent-dark); }
.drawer { border-radius: 22px 0 0 22px; }
.checkout input, .checkout select, .checkout textarea, .track-form input, #pp-variant, #pp-qty, #qv-variant, #qv-qty {
  border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--ink);
}
a { color: var(--accent-dark); }
