@import url('https://fonts.googleapis.com/css2?family=Andika:ital,wght@0,400;0,700;1,400;1,700&family=Lexend:wght@100..900&display=swap');


:root {
  --primary: #5170FF;
  --text: #2E2E2E;
  --muted: #6B7280;
  --bg: #ffffff;
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "lexend", sans-serif;
}

body, html{
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* HEADER */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.tagline {
  font-size: 0.8em;
  color: var(--muted);
  margin-top: 4px;
}

.logo {
  height: 40px;
}

/* CONTAINER */
.container {
  margin: 0 25px auto;
  padding: 20px 5px;
}

/* FILTER SECTION*/
.filter-section {
  display: flex;
  justify-content: space-between;
  justify-items: center;
  align-items: center;
  margin-bottom: 20px;
}

/* FILTERS */
.filters {
  display: flex;
  gap: 10px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 14px;
  border-radius: 5px;
  border: 1px solid #e5e7eb;
  background: white;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.5s ease;
}

.filter-btn:hover {
  background: var(--primary);
  color: white;
  border: 1px solid var(--primary);
}

.filter-btn.active {
  background: var(--primary);
  color: white;
  border: 1px solid var(--primary);
}

/* SEARCH */
/*  .search-wrapper {
  margin-bottom: 20px;
}*/

.search-wrapper {
  width: 40%;
}

.search-wrapper input {
  width: 100%;
  padding: 10px 14px;
  border-radius: 5px;
  border: 1px solid #e5e7eb;
  outline: none;
  font-size: 14px;
}

/* GRID */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

/* CARD */
.card {
  background: white;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  transition: 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  font-size: 15px;
  margin: 10px 12px 4px;
}

.price {
  color: var(--primary);
  font-weight: 600;
  margin: 0 12px 12px;
}

/* EMPTY STATE */
.empty-state {
  grid-column: 1 / -1;
  /* 🔥 THIS IS THE KEY FIX */
  text-align: center;
  padding: 80px 20px;
  color: var(--muted);
}


.empty-state h2 {
  margin-bottom: 10px;
  font-weight: 500;
}

.empty-state p {
  font-size: 14px;
}

.empty-state h2 {
  margin-bottom: 10px;
  font-weight: 500;
}

.empty-state p {
  font-size: 14px;
}

/* FOOTER */
.footer {
  margin-top: 40px;
  padding: 10px 0;
  text-align: center;
  bottom: 0;
  width: 100%;
  background-color: var(--primary);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  /* Allows links to wrap to the next line on mobile */
  gap: 10px 20px;
  /* Vertical and horizontal spacing */
  margin-bottom: 5px;
}

.footer-links a {
  text-decoration: none;
  color: white;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #d1d5db;
  /* Lighter shade on hover */
}

.footer-bottom {
  background: var(--primary);
  color: white;
  padding: 10px 0 5px 0;
  font-size: 0.85rem;
  width: 100%;
}

/* CONTACT PAGE */
.qroca-contact-container {
  max-width: 1250px;
  margin: 20px auto;
  padding: 20px;
  font-family: 'Inter', sans-serif;
  line-height: 1.7;
  /* Or your site's font */
}

.qroca-business-info {
  margin-bottom: 10px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  color: #333;
}

.qroca-business-info h2 {
  display: inline-block;
  margin-bottom: 10px;
  color: #007bff;
}

.qroca-business-info p {
  margin: 5px 0;
  font-size: 0.95rem;
}

/* Ensure the iframe looks seamless */
iframe[data-tally-src] {
  border: none;
  border-radius: 8px;
  background: transparent;
}

/* TERMS AND CONDITIONS PAGE */
.legal-policy-container {
    max-width: 1250px;
    margin: 20px auto;
    padding: 20px;
    color: #333;
    line-height: 1.7;
    font-family: sans-serif;
}

.legal-policy-container h2 {
    margin-bottom: 10px;
    display: inline-block;
    color: var(--primary);
}

.policy-meta {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 30px;
}

.policy-content h3 {
    margin: 25px 0 10px 0;
    font-size: 1.0rem;
    color: #000;
    text-transform: uppercase;
    border-left: 4px solid #007bff;
    padding-left: 10px;
}

.policy-content p {
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.legal-footer-note em{
    margin-top: 40px;
    font-size: 0.85em;
    color: #999;
    font-style: italic;
    border-top: 1px solid #eee;
    padding-top: 10px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .filter-section {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .filters {
    width: 100%;
    justify-content: space-between;
  }

  .filter-btn {
    flex: 1;
    text-align: center;
  }

  .search-wrapper {
    width: 100%;
    margin-top: 10px;
  }

  .logo {
    height: 28px;
  }

  .container {
    padding: 20px 0px;
  }

  .footer-links {
    justify-content: center;
    gap: 10px 10px;
    /* Vertical and horizontal spacing */
    margin-bottom: 1px;
  }
  .footer-links a {
    font-size: 0.7rem;
  }
  .footer-bottom {
    font-size: 0.7rem;
    padding: 10px;
  }
}