/*
Theme Name: FastCarton
Theme URI: https://fastcarton.com/
Description: Independent WooCommerce theme for FastCarton.
Author: FastCarton
Version: 1.0.2
Text Domain: fastcarton
*/

/* Component styles are loaded from their own files. */

html{scroll-behavior:smooth;background:var(--fc-surface-canvas)}
*,*::before,*::after{box-sizing:border-box}
body{margin:0;min-height:100vh;background:var(--fc-canvas-background);color:var(--fc-color-white)}
img,svg{max-width:100%}a{color:inherit}button,input,select,textarea{font:inherit}
.fc-generic-page{width:min(var(--fc-container),calc(100% - 32px));min-height:55vh;margin:0 auto;padding:48px 0 80px}
.fc-generic-page article{padding:28px;border:1px solid var(--fc-surface-border);border-radius:22px;background:var(--fc-surface-standard)}
.fc-generic-page h1{margin-top:0;color:var(--fc-color-white);font-size:var(--fc-type-heading-lg)}
.fc-generic-page,.fc-generic-page p{color:var(--fc-color-muted);line-height:1.9}
.fc-generic-page a{color:var(--fc-color-green)}

/* Homepage foundation. */
body.fastcarton-grid-home,
body.fastcarton-grid-home *,
body.fastcarton-grid-home *::before,
body.fastcarton-grid-home *::after {
    box-sizing: border-box;
}

/* The homepage is a distraction-free product purchasing screen. */
body.fastcarton-grid-home {
    margin: 0;
    min-height: 100vh;
    background: var(--fc-canvas-background);
}

body.fastcarton-grid-home img,
body.fastcarton-grid-home svg {
    max-width: 100%;
}

body.fastcarton-grid-home button,
body.fastcarton-grid-home input,
body.fastcarton-grid-home select,
body.fastcarton-grid-home textarea {
    font: inherit;
}

body.fastcarton-grid-home ul,
body.fastcarton-grid-home ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Defensive fallback for older cached requests. The live parent callback is
 * removed in functions.php before wp_footer() runs on the homepage. */
body.fastcarton-grid-home > .bcp-backdrop,
body.fastcarton-grid-home > .bcp-modal,
body.fastcarton-product-page > .bcp-backdrop,
body.fastcarton-product-page > .bcp-modal {
    display: none !important;
}
