/* ============================================
   GLOBAL STYLES - AbiYarn
   ============================================ */

:root {
  --rose:        #f43f5e;
  --rose-dark:   #e11d48;
  --rose-light:  #fff1f2;
  --rose-border: #fecdd3;
  --pink:        #ec4899;
  --gray-text:   #374151;
  --gray-mid:    #4b5563;
  --gray-light:  #9ca3af;
  --gray-border: #e5e7eb;
  --white:       #ffffff;
  --dark:        #111827;
  --green:       #22c55e;
  --red-err:     #ef4444;

  --radius-sm:   0.5rem;
  --radius-md:   0.75rem;
  --radius-lg:   1rem;
  --radius-xl:   1.5rem;
  --radius-full: 2rem;

  --shadow-sm:   0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-md:   0 10px 30px rgba(0, 0, 0, 0.12);
  --shadow-lg:   0 20px 60px rgba(0, 0, 0, 0.15);
  --shadow-rose: 0 8px 25px rgba(244, 63, 94, 0.3);

  --transition:  all 0.3s ease;
}

/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(to bottom, var(--rose-light), var(--white));
  color: var(--gray-text);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
}

h1, h2 { font-family: 'Caveat', cursive; font-weight: 700; }
h3, h4  { font-family: 'Indie Flower', cursive; }
p, span, a, label, button, input, select, textarea { font-family: 'Poppins', sans-serif; }
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }

/* Layout */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}
.section-header h2 { font-size: 2.5rem; margin-bottom: 1rem; }
.section-header p  { color: var(--gray-mid); font-size: 1rem; }

/* Page Hero (inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--rose-light), #fdf2f8);
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--rose-border);
}
.page-hero h1 { font-size: 3rem; color: var(--gray-text); margin-bottom: 0.5rem; }
.page-hero p  { font-size: 1.1rem; color: var(--gray-mid); }

/* Badge */
.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: #ffe4e6;
  color: var(--rose-dark);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.btn-primary {
  background: var(--rose);
  color: var(--white);
  box-shadow: var(--shadow-rose);
}
.btn-primary:hover {
  background: var(--rose-dark);
  box-shadow: 0 12px 35px rgba(244, 63, 94, 0.4);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--white);
  color: var(--rose);
  border: 2px solid var(--rose);
}
.btn-secondary:hover { background: var(--rose-light); }
.btn-full { width: 100%; }
.btn-sm   { padding: 0.5rem 1.25rem; font-size: 0.875rem; }

/* Shared Form Elements */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.form-group { display: flex; flex-direction: column; min-width: 0; width: 100%; }
.form-group-full { margin-bottom: 1.5rem; }
.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--gray-text);
}
.required { color: var(--rose); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.75rem 1rem;
  border: 1px solid var(--rose-border);
  border-radius: var(--radius-md);
  background: var(--white);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.3s;
  color: var(--gray-text);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(244, 63, 94, 0.1);
}
.form-group textarea { resize: none; }

/* Success Icon */
.success-icon {
  width: 80px;
  height: 80px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 1.5rem;
}

/* Close / Back Buttons */
.close-btn {
  background: none;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  color: var(--gray-text);
  transition: color 0.2s;
  border-radius: var(--radius-sm);
}
.close-btn:hover { color: var(--rose); }

.back-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--gray-text);
  padding: 0.25rem;
  transition: color 0.2s;
}
.back-btn:hover { color: var(--rose); }

/* Product Category Tag */
.product-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: #ffe4e6;
  color: var(--rose-dark);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
  text-transform: capitalize;
  font-weight: 500;
}

/* Product Price */
.product-price {
  font-size: 1.4rem;
  color: var(--rose);
  font-weight: 700;
  margin-top: 0.5rem;
}

/* Notification Toast */
.notification {
  position: fixed;
  top: 5rem;
  right: 1.5rem;
  background: var(--green);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  z-index: 9999;
  font-size: 0.95rem;
  animation: slideInNotif 0.3s ease;
}
@keyframes slideInNotif {
  from { opacity: 0; transform: translateX(100%); }
  to   { opacity: 1; transform: translateX(0); }
}
/* ── Footer Social Icons ─────────────────────── */
.footer-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.85rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  transition: transform 0.2s ease, opacity 0.2s ease;
  flex-shrink: 0;
  overflow: hidden;
}
.social-label { display: none; }

.social-icon:hover {
  transform: translateY(-3px);
  opacity: 0.88;
}

.social-facebook  { background: #1877f2; }
.social-tiktok    { background: #010101; }
.social-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
/* ── Grid blowout prevention (mobile) ───────── */
.hero-grid > *,
.highlights-grid > *,
.featured-grid > *,
.products-grid > *,
.form-row > *,
.contact-layout > *,
.inquiry-layout > *,
.footer-grid > * {
  min-width: 0;
}