/*
Theme Name: Vinatico Custom
Theme URI: https://vinaticodd.ddproject.net
Description: Tema WooCommerce 100% custom, leggero, ad altissime prestazioni per Vinatico.it (zero page builder, zero plugin ridondanti).
Author: Mandarino Agency & Antigravity
Author URI: https://ddproject.net
Version: 2.3.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: vinatico-custom
Domain Path: /languages
*/

:root {
    /* Design tokens originali Vinatico / 99 Special */
    --gold: #d4af37;
    --champagne-light: #f3e9cc;
    --champagne-dark: #ebdca5;
    --tag-special-bg: #f4d8da;
    --burgundy: #6b1a1a;
    --burgundy-dark: #5a1110;
    --beige: #fbf9f4;
    --beige-light: #f5eedc;

    --color-wine: #5A1110;
    --color-wine-dark: #420B0A;
    --color-wine-deep: #2A0605;
    --color-wine-light: #F7EFF0;
    --color-gold: #B38F4D;
    --color-gold-hover: #9C7B3D;
    --color-gold-light: #FEEFCD;
    --color-gold-border: #EADEC7;
    --color-bg-cream: #FEEFCD;
    --color-bg-sand: #FEEBC6;
    --color-bg-page: #FFFFFF;
    --color-bg-card: #FFFFFF;
    --color-text-primary: #000000;
    --color-text-secondary: #5A1110;
    --color-text-muted: #767676;
    --color-border: #E5DFD9;
    --color-border-cream: #EADEC7;
    --color-border-sand: #FEEBC6;
    --color-border-wine: #5A1110;
    --color-success: #2E6F40;
    --color-danger: #C71610;

    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    --radius-xs: 2px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;

    --shadow-sm: 0 1px 3px rgba(90, 17, 16, 0.05);
    --shadow-md: 0 4px 12px rgba(90, 17, 16, 0.08);
    --shadow-lg: 0 10px 25px rgba(90, 17, 16, 0.12);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    background-color: #FFFFFF;
    color: var(--color-text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6, .font-serif {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    color: var(--color-wine);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

img, svg {
    display: block;
    max-width: 100%;
    height: auto;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* Utilità tipografia */
.vin-nowrap {
    white-space: nowrap !important;
}

.vin-br-desktop {
    display: inline;
}

@media (min-width: 641px) {
    .vin-br-desktop {
        display: block;
    }
}

@media (max-width: 640px) {
    .vin-br-desktop {
        display: none !important;
    }
}
