/*
Theme Name: Yourstore Tools
Theme URI: https://yourstoretools.com
Description: A lightweight, mobile-friendly WordPress theme for Yourstore Tools
Version: 1.0
Author: Yourstore
Author URI: https://yourstoretools.com
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yourstore-tools
Domain Path: /languages
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #fafafa;
  line-height: 1.6;
}

a {
  color: #0066cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Navigation */
nav {
  background: white;
  border-bottom: 1px solid #e5e5e5;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav ul {
  display: flex;
  gap: 24px;
  list-style: none;
  align-items: center;
}

nav a {
  color: #1a1a1a;
  font-size: 14px;
  font-weight: 500;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* Footer */
footer {
  padding: 40px 20px;
  background: white;
  border-top: 1px solid #e5e5e5;
  text-align: center;
  color: #777;
  font-size: 13px;
  margin-top: 80px;
}

/* Content Lists (WYSIWYG content, e.g. Pages, embedded forms/plugins) */
.entry-content ul,
.entry-content ol,
main ul,
main ol {
  padding-left: 24px;
  margin: 16px 0;
}

.entry-content li,
main li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.entry-content ul ul,
.entry-content ol ol,
main ul ul,
main ol ol {
  margin: 8px 0 8px 8px;
}

/* Generic Form Styling (for embedded forms / plugin shortcodes) */
main input[type="text"],
main input[type="email"],
main input[type="url"],
main input[type="tel"],
main input[type="number"],
main input[type="search"],
main textarea,
main select {
  width: 100%;
  max-width: 600px;
  padding: 10px 14px;
  border: 1px solid #d5d5d5;
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  background: white;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

main input[type="text"]:focus,
main input[type="email"]:focus,
main input[type="url"]:focus,
main input[type="tel"]:focus,
main input[type="number"]:focus,
main input[type="search"]:focus,
main textarea:focus,
main select:focus {
  outline: none;
  border-color: var(--yourstore-primary, #2c3e7f);
  box-shadow: 0 0 0 3px rgba(44, 62, 127, 0.12);
}

main textarea {
  resize: vertical;
  min-height: 120px;
}

main label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  margin-top: 16px;
}

main input[type="submit"],
main button[type="submit"] {
  background: var(--yourstore-primary, #2c3e7f);
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: opacity 0.2s ease;
}

main input[type="submit"]:hover,
main button[type="submit"]:hover {
  opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
  .yourstore-hero-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 12px;
  }

  main {
    padding: 40px 16px;
  }
}
