/*
Theme Name: GFM theme
Theme URI: https://example.com/
Author: Shop GFM
Author URI: https://example.com/
Description: Basic starter theme for Shop GFM.
Version: 0.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gfm-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --gfm-color-text: oklch(21% .034 264.665);
    --gfm-color-muted: oklch(87.2% .01 258.338);
    --gfm-color-highlight: #c01f17;
    --gfm-color-background: #ffffff;
    --gfm-color-error: #c01f17;
    --gfm-color-success: #16a34a;
    --gfm-color-info: #1d4ed8;
    --gfm-color-gray-500: oklch(55.1% .027 264.364);
}

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

/* Base styles */
body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--gfm-color-text);
    background-color: var(--gfm-color-background);
}

a {
    color: inherit;
}

.gfm-container {
    width: 100%;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

.gfm-notice {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin: 1.25rem 0;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    border-left: 4px solid transparent;
    background-color: #f9fafb;
    box-shadow: var(--tw-inset-shadow, 0 0 #0000), var(--tw-inset-ring-shadow, 0 0 #0000), var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), 0 15px 45px -20px rgba(15, 23, 42, 0.35);
    color: var(--gfm-color-text);
}

.gfm-notice__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1;
    color: #ffffff;
}

.gfm-notice__content {
    flex: 1;
}

.gfm-notice__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: inherit;
}

.gfm-notice__message {
    margin: 0.35rem 0 0;
    line-height: 1.6;
}

.gfm-notice__list {
    margin: 0.5rem 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.gfm-notice__item {
    line-height: 1.6;
}

.gfm-notice--error {
    border-left-color: var(--gfm-color-error);
    background-color: rgba(192, 31, 23, 0.08);
}

.gfm-notice--error .gfm-notice__icon {
    background-color: var(--gfm-color-error);
}

.gfm-notice--success {
    border-left-color: var(--gfm-color-success);
    background-color: rgba(22, 163, 74, 0.08);
}

.gfm-notice--success .gfm-notice__icon {
    background-color: var(--gfm-color-success);
}

.gfm-notice--info {
    border-left-color: var(--gfm-color-info);
    background-color: rgba(29, 78, 216, 0.08);
}

.gfm-notice--info .gfm-notice__icon {
    background-color: var(--gfm-color-info);
}

.site-header {
    background-color: #0d0d0d;
    color: #ffffff;
}

.site-header__inner {
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-branding {
    text-align: center;
}

.site-branding__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-branding__logo {
    max-height: 60px;
    width: 200px;
}

.site-footer {
    background-color: #0d0d0d;
    color: var(--gfm-color-gray-500);
    padding: 3rem 0;
}

.site-footer__inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
}

.site-footer__copyright,
.site-footer__credit {
    margin: 0;
    font-size: 0.95rem;
}

.site-footer__credit-link {
    color: #e02b20;
    text-decoration: none;
    font-weight: 600;
}

.site-footer__credit-link:hover {
    text-decoration: underline;
}


body:not(.woocommerce-block-theme-has-button-styles) .wc-block-components-button:not(.is-link) {
    background-color: var(--gfm-color-highlight) !important;
    color: #ffffff !important;
    border: none;
    border-radius: 0.75rem;
    min-height: 3.5rem;
    padding: 0 1.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s 
ease, box-shadow 0.2s 
ease, background-color 0.2s 
ease;
    cursor: pointer;
}
