/* ============================================================
   LOYAPY — Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --black: #0a0a0a;
  --dark: #111111;
  --dark2: #1a1a1a;
  --mid: #2a2a2a;
  --border: #2e2e2e;
  --muted: #666;
  --light: #f0ece4;
  --white: #fafaf8;
  --accent: #e94560;
  --accent2: #c73652;
  --gold: #c9a96e;
  --success: #00c896;
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow: 0 4px 24px rgba(0,0,0,0.25);
  --shadow-lg: 0 16px 64px rgba(0,0,0,0.4);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --header-h: 68px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ── Header ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: var(--header-h);
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--white);
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 36px;
}

.main-nav a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 100%;
  height: 1px;
  background: var(--accent);
  transition: right var(--transition);
}

.main-nav a:hover, .main-nav a.active {
  color: var(--white);
}

.main-nav a:hover::after, .main-nav a.active::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-btn {
  position: relative;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--white);
  transition: background var(--transition);
}

.icon-btn:hover { background: var(--mid); }

.cart-badge {
  position: absolute;
  top: 4px; right: 4px;
  width: 18px; height: 18px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn { display: none; }

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  background: var(--dark);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.open {
  max-height: 300px;
}

.mobile-menu a {
  padding: 16px 24px;
  font-size: 15px;
  border-bottom: 1px solid var(--border);
  display: block;
}

/* Search Bar */
.search-bar {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  border-top: 1px solid transparent;
}

.search-bar.open {
  max-height: 80px;
  border-top-color: var(--border);
}

.search-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.search-inner svg { color: var(--muted); flex-shrink: 0; }

.search-inner input {
  flex: 1;
  background: none;
  border: none;
  color: var(--white);
  font-size: 15px;
  font-family: var(--font-body);
  outline: none;
}

.search-inner input::placeholder { color: var(--muted); }

.search-inner button {
  color: var(--muted);
  font-size: 16px;
  padding: 4px 8px;
  transition: color var(--transition);
}

.search-inner button:hover { color: var(--white); }

/* ── Page Wrapper ── */
.page-wrap {
  padding-top: var(--header-h);
  min-height: 100vh;
}

/* ── Section Titles ── */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 300;
  letter-spacing: 1px;
  line-height: 1.15;
}

.section-subtitle {
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent2);
  border-color: var(--accent2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(233,69,96,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  border: 2px solid #25d366;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
  border-color: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

.btn-ghost {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 2px solid transparent;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}

/* ── Product Card ── */
.product-card {
  cursor: pointer;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark2);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--mid);
  box-shadow: var(--shadow-lg);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--mid);
}

.product-img-wrap img {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.07);
}

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.badge-sale { background: var(--accent); color: #fff; }
.badge-new { background: var(--gold); color: #111; }
.badge-bestseller { background: #fff; color: #111; }
.badge-limited { background: linear-gradient(135deg, #6d28d9, #4c1d95); color: #fff; }

.product-discount {
  position: absolute;
  top: 12px; right: 12px;
  background: rgba(0,0,0,0.7);
  color: var(--accent);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.quick-add {
  position: absolute;
  bottom: 12px; right: 12px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  color: var(--black);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: all var(--transition);
  z-index: 2;
}

.product-card:hover .quick-add {
  opacity: 1;
  transform: scale(1);
}

.quick-add:hover {
  background: var(--accent);
  color: #fff;
  transform: scale(1.1) !important;
}

.product-info {
  padding: 16px;
}

.product-cat {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.product-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 8px;
  line-height: 1.2;
}

.product-rating {
  color: var(--gold);
  font-size: 12px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.product-rating span {
  color: var(--muted);
  font-size: 11px;
}

.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
}

.price-current {
  font-size: 17px;
  font-weight: 600;
  color: var(--white);
}

.price-original {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
}

/* ── Products Grid ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

/* ── WhatsApp Footer Button ── */
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  padding: 10px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 16px;
  transition: all var(--transition);
}

.wa-btn:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
}

/* ── Footer ── */
.site-footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 64px 32px 32px;
  margin-top: 80px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  max-width: 1400px;
  margin: 0 auto 48px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.footer-tagline {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.footer-section h4 {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-section a,
.footer-section p {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
  line-height: 1.6;
  transition: color var(--transition);
}

.footer-section a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  max-width: 1400px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 13px;
}

/* ── Empty State ── */
.empty-state {
  text-align: center;
  padding: 80px 24px;
  color: var(--muted);
}

.empty-state svg { margin: 0 auto 20px; opacity: 0.3; }
.empty-state h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
  margin-bottom: 12px;
}

/* ── Skeleton Loader ── */
.skeleton {
  background: linear-gradient(90deg, var(--mid) 25%, var(--border) 50%, var(--mid) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .mobile-menu { display: flex; }
  .header-inner { padding: 0 20px; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .search-inner { padding: 12px 20px; }
}



/* Added */

.social-icon {
  color: #94a3b8;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
  color: #38bdf8; /* Uses your drone blue accent */
  transform: translateY(-3px);
}
