/*
Theme Name: Astra Child Theme
Theme URI: https://treasurepointonline.com
Description: My custom Astra Child Theme
Author: Treasure Point
Author URI: https://treasurepointonline.com
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

/* --- GLOBAL STYLES --- */
body, html, #page { 
    background-color: #0a0a0a !important; /* Dark background */
    color: #ffffff !important; /* White text */
    font-family: 'Inter', sans-serif !important; 
    overflow-x: hidden;
}

/* --- ASTRA SPECIFIC OVERRIDES --- */
/* Hide Astra's default header elements to prevent duplication and allow our custom hooks */
.main-header-bar, #ast-desktop-header, .ast-primary-header-bar, #site-navigation, #ast-header-custom-item-inside { display: none !important; }

/* Hide page title */
.entry-title, .page-header { display: none !important; }

/* Global Header Container */
.tpo-header-wrapper {
    background-color: #141414; /* Darker panel for header */
    border-bottom: 3px solid #D32F2F; /* Red accent line */
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 9999;
}

/* --- MAIN HEADER BAR (LOGO | SEARCH | ACTIONS) --- */
.tpo-main-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 20px;
    gap: 20px;
}

/* Logo */
.tpo-logo-area { flex-shrink: 0; }
.tpo-brand-link { display: flex; align-items: center; text-decoration: none; }
.tpo-logo-svg { height: 55px; width: auto; }

/* Search */
.tpo-search-area { flex-grow: 1; max-width: 600px; position: relative; }
.tpo-search-form { display: flex; width: 100%; }
.tpo-search-input {
    flex-grow: 1; padding: 10px 20px; border-radius: 50px;
    background: #222; border: 1px solid #444; color: white;
    outline: none; font-size: 15px;
}
.tpo-search-btn {
    position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
    background: #D32F2F; color: white; border-radius: 50px;
    padding: 8px 15px; border: none; cursor: pointer; font-size: 15px;
}

/* Actions */
.tpo-actions-area { display: flex; gap: 20px; flex-shrink: 0; }
.tpo-action-btn {
    display: flex; flex-direction: column; align-items: center; text-decoration: none;
    color: #ccc; font-size: 11px; font-weight: 600; text-transform: uppercase;
    transition: color 0.2s;
}
.tpo-action-btn:hover { color: #ffffff; }
.tpo-icon { font-size: 20px; margin-bottom: 2px; }

/* --- SECONDARY NAV --- */
.tpo-secondary-nav-bar {
    background-color: #1a1a1a;
    border-top: 1px solid #333; /* Separator */
    padding: 0; /* No padding here, handled by container */
}
.tpo-secondary-nav-bar .tpo-nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
}
.tpo-secondary-nav-bar .tpo-nav-link {
    display: block; padding: 15px 25px; color: white; font-weight: 700;
    text-decoration: none; text-transform: uppercase; font-size: 14px;
    transition: background-color 0.2s, color 0.2s;
}
.tpo-secondary-nav-bar .tpo-nav-link:hover {
    background-color: #D32F2F;
    color: white;
}

/* --- WOOCOMMERCE --- */
.woocommerce ul.products li.product { 
    background: #1a1a1a !important; border: 1px solid #333 !important; 
    border-radius: 8px; /* Slightly rounded corners */
    overflow: hidden; /* Ensure image corners are rounded too */
}
.woocommerce-loop-product__title { color: white !important; font-size: 16px; }
.price { color: #D32F2F !important; font-weight: bold; font-size: 1.1em; }

/* --- FOOTER --- */
/* Assuming a custom footer will be built here, otherwise Astra default will show */
#colophon {
    background-color: #050505;
    border-top: 1px solid #333;
    padding: 20px;
    text-align: center;
    color: #888;
}

