/*
 Theme Name: BlankSlate Child
 Theme URI: https://zrihtaj.me
 Description: Child theme for BlankSlate
 Author: Tine Sitar
 Template: blankslate
 Version: 1.0
*/

/* -------------------------------------
   Global Fonts
-------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700&display=swap');

:root {
    --am-font-family: 'Figtree', sans-serif;
}

.amelia-app-booking * {
    font-family: 'Figtree', sans-serif !important;
}

/* -------------------------------------
   Remove WP Adminbar & Header/Footer
-------------------------------------- */

/* Admin bar fix */
html {
    margin-top: 0 !important;
}

#wpadminbar {
    display: none !important;
}

/* Hide BlankSlate header/footer */
header,
footer,
.site-header,
.site-footer {
    display: none !important;
}

/* Hide WP titles */
.site-title,
.search-form,
.entry-title,
.page-title {
    display: none !important;
}

/* Hide BlankSlate sidebar widgets */
.widget-area,
.widget,
aside {
    display: none !important;
}

/* Make sure Amelia is visible */
.amelia-app-booking {
    display: block !important;
}

/* -------------------------------------
   BOOKING PAGE LAYOUT – Clean + 60%
-------------------------------------- */

/* celotni booking container: 763 širine, center */
/*.wp-block-group.booking-container {
    width: 763px !important;
    margin: auto !important;
    padding: 0 !important;
}  */

/* Entry content cleanup */
.entry-content {
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Body cleanup */
body {
    margin: 0 !important;
    padding: 0 !important;
    background: #fff !important;
}


/* -------------------------------------
   Amelia Internal Cleanup
-------------------------------------- */

/* Remove shadows ONLY from inputs, not container */
.amelia-v2-booking input,
.amelia-v2-booking .el-form-item,
.amelia-v2-booking .am-select,
.amelia-v2-booking .el-select {
    box-shadow: none !important;
}

/* Remove internal paddings */
.am-fs-sb {
    padding-bottom: 0 !important;
    margin-left: -2px !important;
}

.am-fs-sb__footer {
    display: none !important;
}

.am-fs__main-inner {
    padding: 0 !important;
}

/* Amelia wrapper: naj ne raztegne več kot container */
#amelia-container,
.amelia-v2-booking .am-fs__wrapper {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* -------------------------------------
   GOOGLE MATERIAL SHADOW (FINAL)
-------------------------------------- */

/* Google shadow samo na glavni kartici */
*.wp-block-group.booking-container .am-fs__wrapper {
    box-shadow: none !important;
}

/* -------------------------------------
   MOBILE RESPONSIVE
-------------------------------------- */

/* celotni booking container: 763 širine, center */
@media (max-width: 768px) {
    /* CSS STYLE HERE */
}

/* ==================================================
   ZRIHTAJ.ME – BLANKSLATE GLOBAL CLEAN BACKGROUND
   - odstrani sivino / senco / gradient na booking straneh
   - velja za vse podstrani na booking subsite-ih
   ================================================== */

html,
body {
    width: 100% !important;
    min-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

/* BlankSlate / WP osnovni wrapperji */
#page,
#site,
#wrapper,
#container,
#content,
#main,
.site,
.site-content,
.content-area,
.entry-content,
.wp-site-blocks,
main,
article,
.page,
.hentry {
    background: #ffffff !important;
    box-shadow: none !important;
    border: none !important;
}

/* Odstrani morebitne pseudo overlaye / gradient ozadja */
body::before,
body::after,
#page::before,
#page::after,
#wrapper::before,
#wrapper::after,
#content::before,
#content::after,
main::before,
main::after {
    display: none !important;
    content: none !important;
    background: none !important;
    box-shadow: none !important;
}

/* Amelia booking naj ostane čist brez dodatnega shadow efekta */
#amelia-container,
.amelia-app-booking,
.amelia-v2-booking,
.amelia-v2-booking .am-fs__wrapper,
.amelia-v2-booking .am-fs__main,
.amelia-v2-booking .am-fs__main-inner {
    background: #ffffff !important;
    box-shadow: none !important;
}
