/*
Theme Name: Ancus Theme
Description: A modern WordPress child theme
Template: astra
Version: 1.0.1
Author: yii
Text Domain: ancus-theme
*/

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* WordPress specific styles */
.wp-block-group {
    margin: 0;
}


.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* Hide WordPress admin bar for clean display */
.admin-bar #root,
.admin-bar #main-content,
.admin-bar #woocommerce-content {
    margin-top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar #root,
    .admin-bar #main-content,
    .admin-bar #woocommerce-content {
        margin-top: 46px;
    }
}

/* Styles for non-React pages */
#main-content,
#woocommerce-content {
    min-height: 100vh;
    padding: 20px 0;
}
.woocommerce{
	max-width: 1420px;
	margin: 0 auto;
	padding:1rem;
}
.entry-title{
	display:none;
}
#main-content .container,
#woocommerce-content .woocommerce-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* WooCommerce specific styles */
.woocommerce-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px;
}

/* Ensure full height for React app */
html, body, #root {
    height: 100%;
    min-height: 100vh;
}

#root {
    display: flex;
    flex-direction: column;
}
#main-content{
    margin-top: 80px;
}

.woocommerce form .form-row label .required {
    color: #ef4444;
    font-weight: bold;
}

.woocommerce form .form-row.validate-required label::after {
    /*content: " *";
    color: #ef4444;
    font-weight: bold;*/
}