/*
Theme Name: Kachain
Theme URI: https://kachain.co
Author: Maison Kachain
Author URI: https://kachain.co
Description: A luxury French-minimalist WordPress theme for Maison Kachain — handcrafted premium cushions and pillows. Built with Tailwind CSS, WooCommerce integration, and bilingual Thai/English support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kachain
Tags: e-commerce, woocommerce, custom-logo, custom-menu, featured-images, translation-ready, two-columns, full-width-template

Maison Kachain — เมซง คาเชน
Luxury Cushions & Pillows
*/

/* ============================================
   BASE RESET & TYPOGRAPHY
   ============================================ */

:root {
    --color-brand-bg: #f9f7f2;
    --color-brand-text: #1a1a1a;
    --color-brand-muted: #5e574f;
    --color-brand-border: #e8e4db;
    --color-brand-accent: #a67c37;
    --color-black: #141414;
    --color-white: #FDFCF9;
    --color-gold: #a67c37;
    --color-gold-light: #c5a059;
    --color-gold-dark: #8a6628;
    --color-grey: #5e574f;
    --color-grey-light: #e8e4db;
    --color-grey-dark: #4a4540;
    --font-heading: 'Cormorant Garamond', serif;
    --font-body: 'Inter', 'Sarabun', sans-serif;
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
    font-family: var(--font-body);
    color: var(--color-brand-text);
    background-color: var(--color-brand-bg);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    font-style: italic;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-gold);
}

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

/* ============================================
   SELECTION & SCROLLBAR
   ============================================ */

::selection {
    background-color: var(--color-gold);
    color: var(--color-white);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--color-white);
}

::-webkit-scrollbar-thumb {
    background: var(--color-grey);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

/* ============================================
   SCREEN READER TEXT
   ============================================ */

.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 !important;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}
