/*
Theme Name: KetoMarket Theme
Theme URI: https://ketomarket.es
Author: AI Assistant
Author URI: https://ketomarket.es
Description: A WordPress theme for KetoMarket, restored from a web archive. Uses original PrestaShop theme styles.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ketomarket
*/

/*
 * IMPORTANT: This theme uses the original PrestaShop theme CSS from warehousechild.
 * The original styles are loaded via functions.php from assets/css/original-theme.css
 * This file contains only WordPress-specific overrides and compatibility fixes.
 */

/* WordPress Admin Bar compatibility */
body.admin-bar {
    margin-top: 0 !important;
}

body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* Ensure original theme styles are preserved */
#wrapper,
#inner-wrapper,
#content-wrapper,
#main,
#content,
.page-home {
    /* Let original styles handle these */
}

/* WordPress content wrapper compatibility */
.site-content {
    /* Keep minimal to preserve original layout */
}

/* Fix image paths in content */
.entry-content img {
    max-width: 100%;
    height: auto;
}

/* WordPress post/page content styling */
.entry-content {
    /* Minimal styling - let original theme handle most */
}

.entry-header {
    margin-bottom: 2em;
}

.entry-title {
    font-family: 'Fraunces', serif;
    color: #5f2756;
}

/* WordPress comment form compatibility */
.comment-form {
    margin-top: 2em;
}

/* Ensure proper text color for readability */
body {
    color: #333;
}

/* WordPress widget areas */
.widget {
    margin-bottom: 2em;
}

.widget-title {
    font-family: 'Fraunces', serif;
    color: #5f2756;
    margin-bottom: 1em;
}

/* Responsive fixes for WordPress */
@media (max-width: 768px) {
    /* Ensure mobile menu works */
    .main-navigation ul {
        display: block;
    }
}
