/*
Theme Name: M&M Crafts
Description: Bespoke e-commerce theme for M&M Crafts.
Version: 1.0.0
Text Domain: mmcrafts
Requires PHP: 8.0
*/

/* =========================================
   1. Brand colours and global variables
   ========================================= */

:root {
    --color-primary: #142D3C;
    --color-secondary: #245B60;
    --color-accent: #76B5A4;
    --color-thistle: #78458A;
    --color-background: #F8F3E8;
    --color-white: #FFFFFF;
    --color-text: #263238;
    --color-border: #E0E0E0;

    --font-heading: Georgia, serif;
    --font-body: Arial, sans-serif;

    --container-width: 1280px;
    --border-radius: 8px;
    --transition: 0.25s ease;
}

/* =========================================
   2. Global reset
   ========================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

/* =========================================
   3. Reusable layout classes
   ========================================= */

.container {
    width: calc(100% - 40px);
    max-width: var(--container-width);
    margin-inline: auto;
}

.section {
    padding: 80px 0;
}

@media (max-width: 768px) {
    .section {
        padding: 48px 0;
    }
}
