/* ==========================================================================
   Global design system (Studio Treta tokens, typography, buttons, forms)
   ========================================================================== */

/* ==========================================================================
   STUDIO TRETA — GLOBAL LUXURY AESTHETIC
   Brand Colors: Leilani (#FDF9F0), Black (#000000), Navy (#13264A)
   Typography: Times New Roman (Display), Montserrat (Body)
   ========================================================================== */

/* 1. IMPORT FONTS */


/* 2. GLOBAL CSS VARIABLES */
:root {
    --st-black: #000000;
    --st-white: #FFFFFF;
    --st-cream: #FDF9F0;       /* Leilani */
    --st-navy:  #13264A;       /* Blue Zodiac */
    --st-grey:  #AEAEAE;       /* Dark Silver */
    
    --st-font-display: 'Times New Roman', Times, serif;
    --st-font-body: 'Montserrat', sans-serif;
    
    --st-transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 3. BASE BACKGROUND & TEXT */
html, body {
    background-color: var(--st-cream) !important;
    color: var(--st-black) !important;
    font-family: var(--st-font-body) !important;
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Override default theme container backgrounds so the cream shows through */
#page, .site, .site-content, .site-main, .main-content {
    background-color: transparent !important;
}

/* 4. SELECTION HIGHLIGHT (Editorial Touch) */
::selection {
    background-color: var(--st-navy);
    color: var(--st-white);
}
::-moz-selection {
    background-color: var(--st-navy);
    color: var(--st-white);
}

/* 5. TYPOGRAPHY HIERARCHY */
h1, h2, h3, h4, h5, h6,
.entry-title, .page-title, .product_title, .widget-title {
    font-family: var(--st-font-display) !important;
    color: var(--st-black) !important;
    font-weight: 400 !important; /* Times New Roman looks most elegant at Regular weight */
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 0.8em;
}

p, span, div, li {
    font-family: var(--st-font-body);
}

/* 6. LINKS & BUTTONS */
a {
    color: var(--st-black);
    text-decoration: none !important;
    transition: var(--st-transition);
}

a:hover {
    color: var(--st-navy);
}

/* Global Button Styling */
button, input[type="submit"], .button, .btn, .ast-button {
    background-color: var(--st-black) !important;
    color: var(--st-white) !important;
    font-family: var(--st-font-body) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    padding: 16px 32px !important;
    border: 1px solid var(--st-black) !important;
    border-radius: 0 !important; /* Strict square corners */
    cursor: pointer;
    transition: var(--st-transition) !important;
}

button:hover, input[type="submit"]:hover, .button:hover, .btn:hover, .ast-button:hover {
    background-color: var(--st-navy) !important;
    border-color: var(--st-navy) !important;
    color: var(--st-white) !important;
}

/* 7. WOOCOMMERCE SPECIFIC OVERRIDES (For pages other than your custom snippets) */
.woocommerce div.product p.price, .woocommerce div.product span.price {
    color: var(--st-black) !important;
    font-family: var(--st-font-body) !important;
    font-size: 18px;
    font-weight: 500;
}

.woocommerce-loop-product__title {
    font-family: var(--st-font-display) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-top: 15px !important;
}

.woocommerce ul.products li.product a img {
    margin-bottom: 0 !important;
    transition: transform 1s cubic-bezier(0.19, 1, 0.22, 1) !important;
}

.woocommerce ul.products li.product a:hover img {
    transform: scale(1.05); /* Subtle editorial zoom on shop page */
}

/* 8. FORMS & INPUTS */
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], textarea, select {
    background: transparent !important;
    border: 1px solid var(--st-grey) !important;
    color: var(--st-black) !important;
    font-family: var(--st-font-body) !important;
    font-size: 12px !important;
    padding: 14px 18px !important;
    border-radius: 0 !important;
    transition: var(--st-transition);
}

input:focus, textarea:focus, select:focus {
    border-color: var(--st-black) !important;
    outline: none !important;
    box-shadow: none !important;
}
