/*
Theme Name: Facetrough Premium
Theme URI: https://facetrough.com
Author: Antigravity AI Elite Dev
Author URI: https://facetrough.com
Description: A premium, minimalist, and ultra-fast WooCommerce theme for the undisputed #1 global dealer of faceting rough.
Version: 1.0.0
Text Domain: facetrough
*/

/* --- Typography & Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&display=swap');

/* --- CSS Variables --- */
:root {
    --color-gold: #D4AF37;
    --color-dark: #0f172a; /* Deeper slate for headers/footers */
    --color-slate: #1e293b; /* Dark slate for main background */
    --color-text: #e2e8f0; /* Light text for readability on dark background */
    --color-white: #ffffff;
    --color-light-gray: #334155; /* Adjusted for dark mode panels */
    
    --font-heading: 'Cinzel', serif;
    --font-body: Georgia, 'Times New Roman', Times, serif;

    --transition-speed: 0.3s;
}

/* --- Base Styles --- */
html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-slate);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color-gold);
}

a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

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

/* --- Container & Layout --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: var(--color-gold);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-speed) ease;
}

.btn:hover {
    background-color: var(--color-dark);
    color: var(--color-white);
}

/* --- Header & Navigation --- */
.site-header {
    background-color: var(--color-dark);
    color: var(--color-white);
    padding: 1rem 0;
}

.site-header a {
    color: var(--color-white);
}

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

.site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding img.custom-logo {
    max-width: 250px;
    height: auto;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.main-navigation li a {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--color-dark);
    color: var(--color-light-gray);
    padding: 3rem 0;
    text-align: center;
    margin-top: 4rem;
}

/* --- WooCommerce Specific Styles --- */

/* Data Table Styles */
.facetrough-tech-specs {
    margin: 2rem 0;
    padding: 2rem;
    background-color: var(--color-light-gray);
    border-radius: 4px;
}

.facetrough-tech-specs h3 {
    margin-top: 0;
    text-align: center;
    color: var(--color-gold);
    text-transform: uppercase;
}

table.shop_attributes {
    width: 100%;
    border-collapse: collapse;
}

table.shop_attributes th,
table.shop_attributes td {
    padding: 1rem;
    border-bottom: 1px solid #ddd;
    text-align: left;
}

table.shop_attributes th {
    width: 30%;
    font-weight: 700;
    color: var(--color-dark);
}

table.shop_attributes tr:last-child th,
table.shop_attributes tr:last-child td {
    border-bottom: none;
}

/* --- Responsive mobile-first --- */

@media (max-width: 768px) {
    .site-header-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    table.shop_attributes th,
    table.shop_attributes td {
        display: block;
        width: 100%;
    }
    
    table.shop_attributes th {
        padding-bottom: 0.25rem;
        border-bottom: none;
    }
    
    table.shop_attributes td {
        padding-top: 0;
        margin-bottom: 1rem;
    }
}
