/*
Theme Name:  AI Builder Canvas
Theme URI:   https://aipagebuilderpro.com/theme
Description: A zero-opinion blank canvas theme built for AI Page Builder. Delivers pixel-perfect rendering of AI-generated pages with no style interference, maximum performance, and full compatibility with the AI Builder plugin.
Version:     1.0.1
Author:      Malik Rashid
Author URI:  https://aipagebuilderpro.com
License:     GPL-2.0+
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: aipb-canvas
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Tags: blank, ai-page-builder, minimal, full-width-template, custom-background
*/

/*
 * This file is intentionally minimal.
 * All visual design is handled by the AI-generated page CSS.
 * Only baseline resets are here.
 */

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure images are responsive by default */
img, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Remove default list styles */
ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Remove default heading margins */
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
}

/* Remove default paragraph margins */
p {
    margin: 0;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
}

/* Remove default button styles */
button {
    border: none;
    background: none;
    cursor: pointer;
    padding: 0;
    font: inherit;
}

/* WordPress admin bar spacing */
.admin-bar #aipb-root {
    padding-top: 0;
}

/* Non-AI pages fallback styling */
.aipb-canvas-fallback {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    font-family: system-ui, sans-serif;
    color: #1a1a1a;
    line-height: 1.7;
}

.aipb-canvas-fallback h1,
.aipb-canvas-fallback h2,
.aipb-canvas-fallback h3 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.aipb-canvas-fallback p {
    margin-bottom: 1rem;
    color: #444;
}

.aipb-canvas-fallback a {
    color: #7c3aed;
    text-decoration: underline;
}
