/* ===================================
   WorkToGo – BASE CSS (Foundation)
   Grocery + Fashion Unified Theme
   Mobile First
=================================== */

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Root Colors */
:root {
    --primary: #16a34a;
    --primary-dark: #15803d;
    --bg: #f8fafc;
    --text: #1f2933;
    --muted: #6b7280;
    --border: #e5e7eb;
    --card: #ffffff;
    --radius: 10px;
}

/* Body */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.4;
}

/* Images */
img {
    max-width: 100%;
    display: block;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
}

/* Container */
.container {
    width: 100%;
    padding: 0 12px;
    margin: auto;
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1100px;
    }
}

/* Headings */
h1, h2, h3, h4 {
    font-weight: 600;
    color: var(--text);
}

/* Buttons Global */
button,
.btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.2s ease;
}

button:hover,
.btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover {
    background: var(--primary-dark);
}

/* Inputs */
input,
select,
textarea {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid var(--border);
    font-size: 14px;
}

/* Card Base */
.card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Debug Test (Temporary) */
/*
body {
    border: 5px solid red;
}
*/
