/*
Theme Name: Astra Child – Elegance
Template: astra
Version: 1.0.0
Description: Child theme for Elegance Furniture. Renders the Elementor "Site Footer" template, adds the glass header behaviour and the design-system component styles. Content lives in Elementor; this file only holds styling.
Text Domain: astra-child
*/
:root{--ef-dark:#1F2A1C;--ef-green:#3E5233;--ef-cream:#F1F0EB;--ef-surface:#F7F6F2;--ef-beige:#DCD9CC;--ef-text:#1A1A1A;--ef-muted:#6B6B66;--ef-footer:#1C1C1C;}
html,body{overflow-x:clip;}
body{background:var(--ef-cream);-webkit-font-smoothing:antialiased;}
.elementor-widget-text-editor p:last-child{margin-bottom:0;}
[id]{scroll-margin-top:120px;}

/* ---------- Glass navigation bar (Astra Header Builder) ---------- */
#masthead{position:fixed !important;top:16px;left:0;right:0;z-index:999;background:transparent !important;pointer-events:none;}
.admin-bar #masthead{top:48px;}
#masthead .main-header-bar-wrap,#masthead .ast-mobile-header-content,#masthead .ast-desktop-header-content{pointer-events:auto;}
#masthead .ast-primary-header-bar{max-width:900px;margin:0 auto;border-radius:12px;background:rgba(255,255,255,0.08) !important;-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%);border:1px solid rgba(255,255,255,0.14) !important;box-shadow:0 10px 30px rgba(0,0,0,0.12);transition:background-color .35s ease,border-color .35s ease;}
#masthead .ast-primary-header-bar .site-primary-header-wrap{min-height:64px;padding:0 8px 0 22px;max-width:100%;}
body.ef-scrolled #masthead .ast-primary-header-bar{background:rgba(31,42,28,0.96) !important;border-color:rgba(255,255,255,0.06) !important;}
#masthead .site-title,#masthead .site-title a{color:#fff !important;letter-spacing:-0.02em;}
#masthead .main-header-menu .menu-link{color:rgba(255,255,255,0.82) !important;font-size:14px;padding:0 14px;}
#masthead .main-header-menu .menu-item:hover>.menu-link,#masthead .main-header-menu .current-menu-item>.menu-link{color:#fff !important;}
#masthead .ast-header-button-1 .ast-custom-button{display:inline-flex;align-items:center;gap:10px;background:var(--ef-beige) !important;color:var(--ef-text) !important;border:0 !important;border-radius:999px !important;padding:6px 6px 6px 18px !important;font:500 14px/1 Inter,sans-serif;min-height:44px;transition:background-color .25s ease;}
#masthead .ast-header-button-1 .ast-custom-button::after{content:"";width:32px;height:32px;border-radius:50%;background:var(--ef-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center/13px no-repeat;transform:rotate(-45deg);transition:transform .3s ease;}
#masthead .ast-header-button-1 .ast-custom-button:hover{background:#CFCBBC !important;}
#masthead .ast-header-button-1 .ast-custom-button:hover::after{transform:rotate(0deg);}
@media (max-width:921px){
 #masthead{top:12px;}
 #masthead .ast-primary-header-bar{margin:0 12px;}
 #masthead .ast-primary-header-bar .site-primary-header-wrap{padding:0 8px 0 18px;}
 #masthead .ast-mobile-header-content{margin:8px 12px 0;border-radius:12px;background:var(--ef-dark) !important;overflow:hidden;box-shadow:0 20px 40px rgba(0,0,0,0.25);}
 #masthead .ast-mobile-header-content .menu-link{color:#fff !important;padding:14px 24px !important;min-height:48px;display:flex;align-items:center;border-color:rgba(255,255,255,0.08) !important;font-size:16px;}
 #masthead .ast-mobile-header-content .main-header-menu,#masthead .ast-mobile-header-content .ast-builder-menu-mobile{background:transparent !important;}
 #masthead .menu-toggle{min-width:44px;min-height:44px;color:#fff !important;background:transparent !important;}
 #masthead .menu-toggle .ast-mobile-svg{fill:#fff !important;}
}

/* ---------- Pill button (Elementor Button widget, class ef-pill) ---------- */
.ef-pill .elementor-button{min-height:44px;transition:background-color .25s ease;}
.ef-pill .elementor-button:hover,.ef-pill .elementor-button:focus-visible{background-color:#CFCBBC !important;}
.ef-pill .elementor-button-content-wrapper{align-items:center;}
.ef-pill .elementor-button-icon{width:32px;height:32px;border-radius:50%;background:var(--ef-dark);display:inline-flex;align-items:center;justify-content:center;flex:0 0 32px;}
.ef-pill .elementor-button-icon svg{width:12px;height:12px;fill:#fff;transform:rotate(-45deg);transition:transform .3s ease;}
.ef-pill .elementor-button:hover .elementor-button-icon svg{transform:rotate(0deg);}
.ef-pill--dark .elementor-button:hover,.ef-pill--dark .elementor-button:focus-visible{background-color:var(--ef-green) !important;}
.ef-pill--dark .elementor-button-icon{background:var(--ef-beige);}
.ef-pill--dark .elementor-button-icon svg{fill:var(--ef-dark);}
.ef-chip .elementor-button{min-height:44px;transition:background-color .25s ease;}
.ef-chip .elementor-button:hover,.ef-chip .elementor-button:focus-visible{background-color:var(--ef-beige) !important;}

/* ---------- Layout helpers ---------- */
.ef-hero--full{--min-height:max(700px,100vh) !important;}
.ef-float{position:relative;z-index:3;}
.ef-beam{position:relative;z-index:1;}
.ef-thumb-card{box-shadow:0 18px 40px rgba(0,0,0,0.25);}
.ef-product__media,.ef-card__media{overflow:hidden;}
.ef-product__media img,.ef-card__media img{transition:transform .6s ease;}
.ef-product:hover .ef-product__media img,.ef-card:hover .ef-card__media img{transform:scale(1.03);}
.ef-testi{transition:transform .4s ease;}
.ef-cta-image{position:relative;z-index:1;}

/* ---------- Footer (Elementor template "Site Footer") ---------- */
.ef-site-footer{position:relative;z-index:2;}
.ef-footer__inner{overflow:hidden;}
.ef-footer__meta{border-top:1px solid rgba(255,255,255,0.12);}
.ef-wordmark .elementor-heading-title{white-space:nowrap;margin-bottom:-0.16em;}
.ef-footer .elementor-icon-list-item a{min-height:32px;}
@media (max-width:767px){.ef-footer .elementor-icon-list-item a{min-height:44px;}}
/* ---------- Circular arrow links (Icon widget, class ef-arrow-link) ---------- */
.ef-arrow-link .elementor-icon{transition:background-color .25s ease;}
.ef-arrow-link .elementor-icon svg{transform:rotate(-45deg);transition:transform .3s ease;}
.ef-arrow-link .elementor-icon:hover svg,.ef-card:hover .ef-arrow-link svg{transform:rotate(0deg);}
.ef-card:hover .ef-arrow-link .elementor-icon{background-color:#CFCBBC;}

.ef-stats{border-top:1px solid var(--ef-beige);}
.ef-stats .elementor-counter-title{text-align:left;}

.ef-banner{overflow:hidden;}

.ef-step{border-top:1px solid rgba(255,255,255,0.18);}

.ef-map{overflow:hidden;}
.ef-map iframe{display:block;}
.ef-faq .elementor-accordion-item{border-radius:12px;overflow:hidden;margin-bottom:12px;}
.ef-faq .elementor-accordion-item+.elementor-accordion-item{border-top:1px solid #DCD9CC;}
.ef-faq .elementor-tab-title{min-height:44px;}
.ef-details .elementor-icon-list-item a{min-height:44px;align-items:center;}
.ef-details .elementor-icon-list-text{line-height:1.5;}
