/*
Theme Name: GSC Wines
Theme URI: https://globalshopping.ch
Author: Global Shopping Casher
Author URI: https://globalshopping.ch
Description: Thème moderne pour la boutique de vins casher Global Shopping Casher.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gsc-wines
Domain Path: /languages
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --gsc-primary: #891b37;
    --gsc-primary-hover: #a12243;
    --gsc-primary-dark: #5c1224;
    --gsc-primary-light: #b82b52;
    --gsc-accent: #c47a3e;
    --gsc-accent-hover: #d49052;
    --gsc-gold: #c4a342;
    --gsc-surface: #fcf3ea;
    --gsc-surface-dark: #f2e0ce;
    --gsc-white: #ffffff;
    --gsc-off-white: #faf7f2;
    --gsc-black: #1a1513;
    --gsc-gray: #6b6260;
    --gsc-gray-medium: #8a807e;
    --gsc-gray-light: #d9d3ce;
    --gsc-gray-lighter: #f0ede8;

    --gsc-radius-sm: 6px;
    --gsc-radius: 10px;
    --gsc-radius-lg: 14px;
    --gsc-radius-xl: 20px;

    --gsc-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --gsc-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
    --gsc-shadow-md: 0 8px 24px rgba(0, 0, 0, 0.10), 0 4px 8px rgba(0, 0, 0, 0.06);
    --gsc-shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.14), 0 4px 12px rgba(0, 0, 0, 0.08);
    --gsc-shadow-btn: 0 4px 14px rgba(137, 27, 55, 0.3);

    --gsc-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --gsc-transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);

    --gsc-font-heading: 'Playfair Display', 'Georgia', 'Times New Roman', serif;
    --gsc-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;

    --gsc-max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--gsc-font-body);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    color: var(--gsc-black);
    background: var(--gsc-white);
    letter-spacing: -0.01em;
}

a {
    color: var(--gsc-primary);
    text-decoration: none;
    transition: var(--gsc-transition-fast);
}

a:hover {
    color: var(--gsc-primary-hover);
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--gsc-font-heading);
    font-weight: 600;
    color: var(--gsc-primary-dark);
    margin-top: 0;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

p {
    margin-top: 0;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}

.container {
    max-width: var(--gsc-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Buttons ---- */
.btn,
.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 30px;
    font-family: var(--gsc-font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--gsc-surface);
    background: var(--gsc-primary);
    border: 2px solid var(--gsc-primary);
    border-radius: var(--gsc-radius);
    cursor: pointer;
    transition: var(--gsc-transition);
    text-align: center;
    line-height: 1.3;
    text-decoration: none;
    box-shadow: var(--gsc-shadow-sm);
}

.btn:hover,
.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
    background: var(--gsc-primary-hover);
    border-color: var(--gsc-primary-hover);
    color: var(--gsc-surface);
    box-shadow: var(--gsc-shadow-btn);
    transform: translateY(-1px);
}

.btn:active,
.button:active,
.woocommerce a.button:active,
.woocommerce button.button:active {
    transform: translateY(0);
    box-shadow: var(--gsc-shadow-sm);
}

.btn-outline {
    background: transparent;
    color: var(--gsc-surface);
    border-color: var(--gsc-surface);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--gsc-surface);
    color: var(--gsc-primary);
    border-color: var(--gsc-surface);
    box-shadow: 0 4px 16px rgba(252, 243, 234, 0.25);
}

.btn-large {
    padding: 16px 38px;
    font-size: 1rem;
    border-radius: var(--gsc-radius-lg);
}

.site {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1;
    padding-top: 0;
    padding-bottom: 0;
}

.alignwide {
    max-width: var(--gsc-max-width);
    margin-left: auto;
    margin-right: auto;
}

.alignfull {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
