/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Albero kitchen portfolio and header phone dropdown. */
.albero-phone-dropdown { position: relative; font-size: 13px; color: #263a2b; }
.albero-phone-dropdown summary { cursor: pointer; list-style: none; font-weight: 700; white-space: nowrap; }
.albero-phone-dropdown summary::-webkit-details-marker { display: none; }
.albero-phone-dropdown summary::after { content: "⌄"; margin-left: 7px; color: #d8a94f; }
.albero-phone-dropdown[open] > div { position: absolute; z-index: 1000; top: calc(100% + 14px); right: 0; min-width: 260px; padding: 18px 20px; border-radius: 12px; background: #fff; box-shadow: 0 16px 45px rgba(38,58,43,.18); }
.albero-phone-dropdown a { display: block; color: #263a2b; font-weight: 700; margin-bottom: 6px; }
.albero-phone-dropdown small { display: block; color: #7a6a57; line-height: 1.45; }

.albero-project-single { --project-shell: 1280px; color: #263a2b; }
.albero-project-head,
.albero-project-hero,
.albero-project-story,
.albero-project-gallery,
.albero-project-related { width: min(calc(100% - 40px), var(--project-shell)); margin-inline: auto; }
.albero-project-head { padding: 72px 0 40px; }
.albero-project-kicker { color: #d8a94f; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.albero-project-head h1 { max-width: 940px; margin: 14px 0 18px; font-size: clamp(46px, 6vw, 88px); line-height: .98; color: #263a2b; }
.albero-project-lead { max-width: 760px; color: #7a6a57; font-size: clamp(18px, 2vw, 24px); line-height: 1.55; }
.albero-project-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.albero-project-hero { overflow: hidden; border-radius: 18px; aspect-ratio: 16/9; background: #eee9df; }
.albero-project-hero img { width: 100%; height: 100%; object-fit: cover; }
.albero-project-story { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(320px,.6fr); gap: 80px; padding: 96px 0; }
.albero-project-story h2,
.albero-project-related h2,
.albero-project-cta h2 { margin: 14px 0 22px; color: #263a2b; font-size: clamp(34px,4vw,56px); line-height: 1.08; }
.albero-project-description { color: #7a6a57; font-size: 18px; line-height: 1.75; }
.albero-project-specs { margin: 0; padding: 28px; border-radius: 16px; background: #f5f0e6; }
.albero-project-specs > div { padding: 18px 0; border-bottom: 1px solid rgba(38,58,43,.12); }
.albero-project-specs > div:last-child { border-bottom: 0; }
.albero-project-specs dt { margin-bottom: 6px; color: #d8a94f; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.albero-project-specs dd { margin: 0; color: #263a2b; font-size: 17px; }
.albero-project-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; padding-bottom: 96px; }
.albero-project-gallery figure { overflow: hidden; margin: 0; border-radius: 16px; aspect-ratio: 4/3; }
.albero-project-gallery img { width: 100%; height: 100%; object-fit: cover; }
.albero-project-related { padding: 24px 0 96px; }
.albero-project-related .wd-project .entry-thumbnail { border-radius: 16px 16px 0 0; overflow: hidden; }
.albero-project-related .portfolio-info { padding: 18px 4px; }
.albero-project-cta { width: 100vw; min-width: 100vw; margin-inline: calc(50% - 50vw); background: #263a2b; color: #fff; }
.albero-project-cta-inner { width: min(calc(100% - 40px), var(--project-shell)); margin-inline: auto; padding: 72px 0; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.albero-project-cta h2 { color: #fff; margin-bottom: 10px; }
.albero-project-cta p { margin: 0; color: rgba(255,255,255,.72); font-size: 18px; }

/* Native portfolio listing, visually aligned with the Albero concept. */
.albero-kitchen-catalog .wd-projects { row-gap: 32px; }
.albero-kitchen-catalog .wd-project { background: transparent; }
.albero-kitchen-catalog .entry-thumbnail { aspect-ratio: 4/3; overflow: hidden; }
.albero-kitchen-catalog .entry-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.albero-kitchen-catalog .wd-project:hover .entry-thumbnail img { transform: scale(1.025); }
.albero-kitchen-catalog .portfolio-info { padding: 20px 22px 24px; background: transparent; }
.albero-kitchen-catalog .proj-cats-list { color: #d8a94f; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.albero-kitchen-catalog .wd-entities-title { font-size: 24px; }

@media (max-width: 1024px) {
  .albero-phone-dropdown { display: none; }
  .albero-project-story { grid-template-columns: 1fr; gap: 36px; padding: 72px 0; }
}
@media (max-width: 767px) {
  .albero-project-head,
  .albero-project-hero,
  .albero-project-story,
  .albero-project-gallery,
  .albero-project-related { width: min(calc(100% - 28px), var(--project-shell)); }
  .albero-project-head { padding: 48px 0 28px; }
  .albero-project-head h1 { font-size: 46px; }
  .albero-project-gallery { grid-template-columns: 1fr; padding-bottom: 64px; }
  .albero-project-cta-inner { width: min(calc(100% - 28px), var(--project-shell)); padding: 56px 0; align-items: flex-start; flex-direction: column; }
}

/* Full project photographs retain their original portrait/landscape framing. */
.albero-project-head h1 { font-size: clamp(36px, 5vw, 72px); line-height: 1.08; overflow-wrap: anywhere; }
.albero-project-hero { aspect-ratio: auto; text-align: center; }
.albero-project-hero img { display: block; width: 100%; height: auto; max-height: 780px; object-fit: contain; }
.albero-project-gallery { align-items: start; }
.albero-project-gallery figure { aspect-ratio: auto; }
.albero-project-gallery img { display: block; height: auto; }
.albero-project-specs { align-self: start; }
.albero-project-related .entry-thumbnail { aspect-ratio: 4/3; }
.albero-project-related .entry-thumbnail img { width: 100%; height: 100%; object-fit: cover; }

.albero-project-breadcrumbs { margin-bottom: 28px; color: #7a6a57; font-size: 14px; }
.albero-kitchen-catalog .portfolio-thumbnail,
.albero-project-related .portfolio-thumbnail { display: block; aspect-ratio: 4/3; }
.albero-kitchen-catalog .portfolio-thumbnail img,
.albero-project-related .portfolio-thumbnail img { width: 100%; height: 100%; aspect-ratio: 4/3; object-fit: cover; }
#projects { scroll-margin-top: 110px; }

/* Editable kitchen photos: native WoodMart Image Hotspot widgets. */
.albero-project-elementor { width: min(calc(100% - 40px), 1280px); margin-inline: auto; }
.albero-kitchen-editor { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; gap: 28px; }
.albero-hotspot-help { color: #7a6a57; max-width: 860px; font-size: 16px; }
.albero-hotspot-hero { width: min(100%, 980px); margin-inline: auto; }
.albero-hotspot-hero .wd-image-hotspot-img { max-height: none; }
.albero-kitchen-editor .wd-image-hotspot-hotspots > img { display: block; width: 100%; height: auto; border-radius: 16px; }
.albero-kitchen-editor .wd-spots { margin-bottom: 0; }
.albero-kitchen-editor .hotspot-content { width: 260px; max-width: calc(100vw - 48px); text-align: left; border-radius: 12px; z-index: 30; }
.albero-kitchen-editor .hotspot-content-image img { width: auto; max-width: 100%; height: 140px; object-fit: contain; margin-inline: auto; }
.albero-kitchen-editor .hotspot-content .wd-entities-title { font-size: 17px; line-height: 1.3; }
.albero-kitchen-editor .hotspot-content-text { font-size: 13px; line-height: 1.5; }
.albero-kitchen-editor .hotspot-btn:focus-visible { outline: 3px solid #263a2b; outline-offset: 5px; }
.albero-hotspot-story { gap: 48px; padding-block: 40px; }
.albero-hotspot-copy { width: 65%; padding: 0; color: #7a6a57; font-size: 18px; line-height: 1.75; }
.albero-hotspot-specs { width: 35%; padding: 0; }
.albero-hotspot-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px; padding: 0 0 72px; align-items: start; }
.albero-hotspot-photo { width: 100%; min-width: 0; padding: 0; }
.albero-kitchen-editor h2 { color: #263a2b; font-size: clamp(30px, 4vw, 46px); line-height: 1.15; }
@media (max-width: 767px) {
 .albero-project-elementor { width: calc(100% - 28px); }
 .albero-hotspot-story { flex-direction: column; gap: 24px; padding-block: 24px; }
 .albero-hotspot-copy, .albero-hotspot-specs { width: 100%; }
 .albero-hotspot-gallery { grid-template-columns: 1fr; gap: 24px; }
}

.albero-project-elementor .albero-hotspot-hero { width: min(100%, 980px); margin-inline: auto; }
.albero-project-elementor .albero-hotspot-hero.albero-hotspot-portrait { width: min(100%, 640px); }
.albero-project-elementor .e-con.albero-hotspot-gallery { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
@media (max-width:767px) { .albero-project-elementor .e-con.albero-hotspot-gallery { grid-template-columns: 1fr; } }

.albero-project-elementor .albero-kitchen-editor .elementor-heading-title { color: #263a2b; font-family: inherit; }
.albero-kitchen-editor .wd-image-hotspot.wd-opened { z-index: 40; }
@media (prefers-reduced-motion: reduce) {
 .albero-kitchen-editor .hotspot-sonar, .albero-kitchen-editor .hotspot-btn { animation: none; }
}

/* Albero: shared rhythm and the editorial homepage. */
.albero-home-photo img { display:block; width:100%; height:520px; object-fit:cover; border-radius:14px; }
.albero-home-hero { padding-block:48px; }
.albero-home-hero .albero-h1 { max-width:650px; }
.albero-body { max-width:78ch; }
.albero-h1, .albero-h2, .albero-h2-light { text-wrap:balance; }
.albero-section-primary .albero-eyebrow { color:#DEC389; }
.albero-project-kicker, .albero-project-specs dt, .albero-kitchen-catalog .proj-cats-list { color:#80652D; }
.albero-project-cta .albero-project-kicker { color:#DEC389; }
.albero-project-head { padding-top:56px; }
.albero-project-head h1 { font-size:clamp(36px,4.5vw,56px); font-weight:600; }
.albero-project-single h2 { font-size:clamp(28px,3vw,38px); font-weight:600; }
.whb-header .wd-nav-main { flex-wrap:nowrap; gap:22px; }
.whb-header .wd-nav-main > li > a { padding-inline:0; }
.whb-header .wd-header-nav { margin-inline:20px; }
.albero-kitchen-catalog .portfolio-info { min-height:130px; }
.sidebar-container .widget_product_categories .children { padding-inline-start:16px; }
@media(max-width:1024px) {
 .albero-home-photo img { height:420px; }
}
@media(max-width:767px) {
 .albero-home-photo img { height:340px; }
 .albero-home-hero { padding-block:32px; }
 .albero-home-hero .albero-row { gap:28px; }
 .albero-project-head { padding-top:36px; }
 .whb-header .whb-col-mobile { min-width:0; }
 .whb-header .wd-button-wrapper .btn { padding:8px 12px; min-height:38px; font-size:12px; }
}
.whb-header .wd-button-wrapper .btn { color:#253227; }
.albero-material-reference h3 { margin-top:28px; font-size:24px; line-height:1.25; }
.albero-material-reference a { text-decoration:underline; text-underline-offset:3px; }

/* Portfolio cards: border belongs to the inner card, outside the grid gutters. */
:is(.albero-kitchen-catalog, .albero-project-related) .wd-project { background:transparent; }
:is(.albero-kitchen-catalog, .albero-project-related) .portfolio-text-shown .entry-header {
 background:transparent; border:1px solid rgba(38,58,43,.18); border-radius:14px; overflow:hidden; box-shadow:none;
}
:is(.albero-kitchen-catalog, .albero-project-related) .portfolio-text-shown .portfolio-info {
 background:transparent; min-height:144px; padding:20px 22px 24px;
}
:is(.albero-kitchen-catalog, .albero-project-related) .entry-thumbnail { border-radius:0; }
/* Elementor sections already own their vertical spacing; remove Woodmart's extra tail. */
:is(.page-id-19, .page-id-20, .page-id-21, .page-id-22, .page-id-23, .page-id-24, .single-portfolio) .wd-content-layout { padding-bottom:0; }

/* Short measurement request: native Elementor form, shared Albero palette. */
.albero-order-hero .albero-order-row { display:grid !important; grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr); align-items:start; gap:56px; }
.albero-order-copy { width:100%; min-width:0; }
.albero-order-copy .albero-h1 { font-size:clamp(36px,4vw,52px); }
.albero-order-panel { width:100%; min-width:0; padding:32px; border:1px solid rgba(38,58,43,.18); border-radius:16px; }
.elementor-21 .albero-order-panel .elementor-heading-title { font:600 24px/1.3 Manrope, sans-serif; margin:0 0 8px; color:#263a2b; }
#albero_measurement .elementor-form-fields-wrapper { column-gap:0; row-gap:18px; margin:0 -8px; }
#albero_measurement .elementor-field-group { padding:0 8px; margin:0; }
#albero_measurement .elementor-field-label { color:#263a2b; font:600 14px/1.5 Manrope,sans-serif; padding-bottom:8px; }
#albero_measurement .elementor-field-textual { background:transparent; border:1px solid rgba(38,58,43,.28); border-radius:8px; min-height:48px; padding:12px 14px; color:#263a2b; font:400 16px/1.5 Manrope,sans-serif; box-shadow:none; }
#albero_measurement textarea.elementor-field-textual { min-height:108px; resize:vertical; }
#albero_measurement .elementor-field-textual:focus { border-color:#80652d; outline:2px solid rgba(128,101,45,.18); outline-offset:2px; }
#albero_measurement .elementor-field-textual::placeholder { color:#817867; opacity:1; }
#albero_measurement input[type=file] { background:transparent; max-width:100%; font:400 13px/1.5 Manrope,sans-serif; color:#625c50; }
#albero_measurement input[type=file]::file-selector-button { border:1px solid rgba(38,58,43,.3); border-radius:6px; padding:10px 14px; margin-right:10px; color:#263a2b; background:transparent; cursor:pointer; }
#albero_measurement .elementor-field-type-html { color:#756d5e; font-size:13px; line-height:1.6; }
#albero_measurement .elementor-button { background:#263a2b; color:#fff; min-height:50px; border-radius:8px; font:600 15px/1.4 Manrope,sans-serif; padding:14px 24px; }
#albero_measurement .elementor-button:hover { background:#364d3c; }
#albero_measurement .elementor-button:focus-visible { outline:3px solid #b39146; outline-offset:3px; }
#albero_measurement .elementor-message { padding:14px 16px; border-radius:8px; line-height:1.6; font-size:15px; }
#albero_measurement .elementor-message-success { color:#263a2b; background:#e9eee6; border:1px solid #b4c4ac; }
#albero_measurement .elementor-message-danger { color:#8b3024; }
.albero-order-note { color:#756d5e; font-size:14px; line-height:1.6; }
@media(max-width:1024px) {
 .albero-order-hero .albero-order-row { gap:32px; }
 .albero-order-panel { padding:24px; }
}
@media(max-width:767px) {
 .albero-order-hero .albero-order-row { grid-template-columns:1fr; }
 .albero-order-copy, .albero-order-panel { width:100%; }
 .albero-order-panel { padding:20px 16px; }
 #albero_measurement .elementor-field-group { width:100%; }
}

/* Gold actions retain contrast against the beige surface on hover and focus. */
.elementor .albero-button-accent.e-button-base:is(:hover, :focus-visible),
.btn.btn-color-alt.btn-style-default:is(:hover, :focus-visible) {
 background-color:var(--albero-primary, #293527);
 color:#fff;
 border-color:var(--albero-primary, #293527);
 box-shadow:inset 0 0 0 1px rgba(214,171,89,.5);
}
.elementor .albero-button-accent.e-button-base:focus-visible,
.btn.btn-color-alt.btn-style-default:focus-visible {
 outline:2px solid #80652d;
 outline-offset:3px;
}

/* Links in prose stay recognizable independently of their text colour. */
:is(.elementor-widget-text-editor, .albero-body, .albero-project-description, .woocommerce-product-details__short-description) a:not(.btn, .button, .elementor-button, .e-button-base),
:is(.entry-content, .woocommerce-Tabs-panel) :is(p, li) a:not(.btn, .button, .elementor-button, .e-button-base) {
 text-decoration:underline;
 text-decoration-thickness:1px;
 text-underline-offset:.18em;
 text-decoration-skip-ink:auto;
}
.albero-project-elementor .e-con.albero-hotspot-gallery.albero-masonry { display:block; }
.albero-project-elementor .albero-masonry > .e-con.albero-hotspot-photo {
 width:calc((100% - 28px) / 2); margin:0 0 28px; overflow:visible;
}
.albero-project-elementor .albero-masonry > .albero-hotspot-photo:has(.wd-opened) { z-index:5; }
@media(max-width:767px) {
 .albero-project-elementor .albero-masonry > .e-con.albero-hotspot-photo { width:100%; }
}

/* Privacy policy remains editable as an ordinary WordPress page. */
.albero-policy { max-width:940px; margin-inline:auto; padding:56px 24px 72px; color:#625c50; font:400 17px/1.75 Manrope,sans-serif; }
.albero-policy h1 { color:#293527; font:600 clamp(30px,4vw,44px)/1.2 Manrope,sans-serif; margin-bottom:28px; }
.albero-policy h2 { color:#293527; font:600 clamp(23px,3vw,28px)/1.3 Manrope,sans-serif; margin:36px 0 18px; }
.albero-policy p, .albero-policy ul { margin-bottom:20px; }
.albero-policy mark { color:#5b4011; background:#f4e6bf; padding:2px 4px; border-radius:3px; box-decoration-break:clone; -webkit-box-decoration-break:clone; }
#albero_measurement .albero-privacy-note { font-size:13px; line-height:1.6; color:#756d5e; }
#albero_measurement .albero-privacy-note a { text-decoration:underline; text-underline-offset:.18em; }
@media(max-width:767px) { .albero-policy { padding:36px 20px 48px; font-size:16px; } }
/* CookieYes link and button states. */
.cky-notice-des a { text-decoration:underline !important; text-underline-offset:.18em; }
.cky-btn:hover, .cky-btn:focus-visible { background-color:#293527 !important; border-color:#293527 !important; color:#fff !important; }
/* Keep the contact column unchanged; let its map sibling fill its own column. */
.elementor-24 .elementor-element.elementor-element-40000095 { width:100%; max-width:100%; align-self:stretch; }
.elementor-24 .elementor-element-40000095 iframe { display:block; width:100%; }

/* Albero: ADWORK footer credit */
.elementor-32 .albero-developer-credit {
 display:inline-flex;align-items:center;align-self:center;flex:0 0 auto;
 width:84px;max-width:100%;margin-inline-start:auto;padding-block:4px;
}
.elementor-32 .albero-developer-credit img {display:block;width:84px;max-width:100%;height:auto;}
.elementor-32 .albero-developer-credit a:focus-visible {outline:2px solid #d6ab59;outline-offset:6px;border-radius:2px;}
@media(max-width:767px){
 .elementor-32 .albero-developer-credit {width:78.4px;margin-inline-start:0;margin-block-end:20px!important;align-self:flex-start;}
 .elementor-32 .albero-developer-credit img {width:78.4px;}
}