/*
Theme Name: ELANN Studio
Description: Uređiva blok-tema za ELANN STUDIO i WooCommerce.
Version: 2.0.7
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: elann-studio
*/
:root{--pad:clamp(22px,6vw,110px);--paper:#f2efea;--carbon:#121212;--espresso:#292423}
.el-head,.el-foot,.el-hero,.feature,.behind,.b2b{background:var(--carbon);color:var(--paper)}
.el-head,.footline{display:flex;align-items:center;justify-content:space-between;gap:18px}.el-head{min-height:78px;padding:0 var(--pad);border-bottom:1px solid #343231;font-size:14px}.el-head figure,.footline figure{margin:0}.el-head figure img,.footline figure img{width:48px}.el-head .wp-block-navigation__container{gap:clamp(14px,2vw,35px)}.el-head .wp-block-navigation__responsive-container.is-menu-open{background:var(--carbon);color:var(--paper);padding:30px}
.el-main img{max-width:100%}.el-main figure{margin:0}.el-main h1,.el-main h2,.el-main h3,.el-foot h2{line-height:1.03;letter-spacing:-.064em;margin:20px 0 30px;font-weight:400}.el-main h1{font-size:clamp(54px,7.9vw,152px);font-weight:700}.el-main h2,.el-foot h2{font-size:clamp(48px,5.6vw,102px)}.el-main h3{font-size:clamp(44px,5.4vw,98px)}.el-main em{font-family:inherit}.section,.el-foot{padding:clamp(55px,7.5vw,125px) var(--pad)}.section p,.intro p,.el-foot p{max-width:47ch;margin:18px 0 24px}.eyebrow,.legend,.wp-element-caption,.el-main .wp-block-button__link{font-size:11px;letter-spacing:.11em;font-weight:700}.el-main .wp-block-buttons{gap:16px}.el-main .wp-block-button__link{padding:16px 20px;border-radius:0;background:var(--paper);color:var(--carbon)}.el-main :focus-visible,.el-head :focus-visible,.el-foot :focus-visible{outline:3px solid #e37759;outline-offset:4px}
.el-hero.wp-block-cover{min-height:min(840px,calc(96svh - 78px));padding:0;isolation:isolate}.el-hero.wp-block-cover .wp-block-cover__image-background,.el-hero.wp-block-cover video{left:27%;width:73%}.el-hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#121212 23%,transparent 62%),linear-gradient(0deg,#121212,transparent 18%);pointer-events:none;z-index:0}.el-hero .wp-block-cover__inner-container{z-index:1}.intro{padding:85px var(--pad) 110px}.intro .eyebrow:before{content:"";display:inline-block;background:#a33432;width:28px;height:3px;vertical-align:middle;margin-right:10px}.intro .wp-block-button:nth-child(2) a,.feature .wp-block-button__link{background:transparent;color:inherit;border-bottom:1px solid;padding-inline:0}.legend{position:absolute;bottom:18px;left:var(--pad);right:var(--pad);border-top:1px solid #666;padding-top:12px}
.paper{background:var(--paper);color:var(--carbon)}.feature,.personal,.behind{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center}.feature,.behind{background:var(--espresso)}.feature-text{padding:5vw}.feature img{display:block;width:100%;height:clamp(330px,37vw,590px);object-fit:contain;background:#251818}.personal,.behind{gap:5vw}.personal{background:#dad4ca;color:var(--carbon)}.personal img{width:100%}.section summary{cursor:pointer;padding:14px 0}.section details{border-block:1px solid #a59c90;margin-top:22px}.placeholder{padding:24px;border:1px solid #82786c;aspect-ratio:1.45;display:flex;flex-direction:column;justify-content:space-between}.b2b{background:#a33432}.footline{margin-top:60px;padding-top:18px;border-top:1px solid #76706a}.el-foot a,.el-head a{color:inherit}.art-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr));gap:16px}.section .woocommerce ul.products li.product h2{font:700 clamp(19px,2vw,32px)/1.25 Manrope,Arial,sans-serif;letter-spacing:-.04em}.el-main .woocommerce ul.products li.product .price{color:#514744;font-size:1rem}
@media(max-width:760px){.el-head{min-height:64px}.el-head .wp-block-navigation{margin-left:auto}.el-head .wp-block-navigation__responsive-container:not(.is-menu-open){display:none}.el-head .wp-block-navigation__responsive-container-open:not(.always-shown){display:flex}.el-hero.wp-block-cover{min-height:clamp(630px,86svh,850px);align-items:flex-end}.el-hero.wp-block-cover .wp-block-cover__image-background,.el-hero.wp-block-cover video{left:0;width:100%;height:69%;object-position:center top}.el-hero::after{background:linear-gradient(0deg,#121212 14%,rgba(18,18,18,.93) 42%,transparent 72%)}.intro{padding:190px var(--pad) 68px}.intro h1{font-size:clamp(54px,12.6vw,90px)}.feature,.personal,.behind{grid-template-columns:1fr}.feature-text{padding:28px}.art-grid{grid-template-columns:1fr 1fr}.el-head figure img{width:39px}}
.section .wc-block-product .wp-block-post-title{font-size:clamp(19px,2vw,32px);letter-spacing:-.04em;line-height:1.2;margin:12px 0}.section .wc-block-product .wp-block-post-title a{text-decoration:none}

.behind .wp-block-image img{display:block;width:100%;height:auto;max-height:680px;object-fit:contain}

.el-main :is(h1,h2,h3),.single-product .product_title,.single-product h1.wp-block-post-title{font-family:var(--wp--preset--font-family--display);font-weight:800;letter-spacing:-.025em;line-height:.98}
.el-hero.wp-block-cover{overflow:hidden;background:radial-gradient(ellipse at 80% 65%,#382a27 0%,#201c1c 38%,#121212 72%);min-height:clamp(600px,88svh,1010px)}
.el-hero.wp-block-cover img.wp-block-cover__image-background{left:45%;width:58%;top:4%;height:92%;object-fit:contain;opacity:.17;transform:rotate(-9deg)}
.el-hero::after{background:linear-gradient(90deg,#121212 0%,transparent 68%)}.el-main h1{font-size:clamp(76px,10.3vw,185px)}
@media(min-width:761px) and (prefers-reduced-motion:no-preference){.el-hero:before{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(105deg,transparent 38%,#f2efea12 50%,transparent 62%);animation:el-light 4.8s ease-out both}@keyframes el-light{from{transform:translateX(-100%)}to{transform:translateX(100%)}}}
#kolekcije,#shop,.el-foot{background:#171616;color:#f2efea}.feature,.behind,.b2b{background:#292423;color:#f2efea}.personal{background:#f2efea;color:#121212}.personal .wp-block-button__link,.intro .wp-block-button:first-child a{background:#a33432;color:white}.el-main .wc-block-product{border-top:1px solid #645b54;padding-top:14px}.wp-block-button a:hover{text-decoration:underline;text-underline-offset:4px}
.el-foot form{max-width:680px;margin:28px 0}.el-foot label,.el-foot .wpforms-field-label{color:#f2efea!important}.el-foot input,.el-foot select,.el-foot textarea{width:100%;border:1px solid #8b8179;padding:12px;box-sizing:border-box}.el-foot button[type=submit]{background:#a33432;color:white;padding:12px 24px;border:0}.el-foot :focus-visible{outline-offset:3px}
.single-product main,.post-type-archive-product main{padding:clamp(22px,5vw,84px);background:#191818;color:#f2efea}.single-product main a,.post-type-archive-product main a{color:inherit}.single-product h1.wp-block-post-title{font-size:clamp(56px,7vw,116px)}.single-product .single_add_to_cart_button,.single-product .wp-block-add-to-cart-form button{background:#a33432;color:white}.single-product .woocommerce-product-gallery img{background:#242121}
@media(max-width:760px){.el-hero.wp-block-cover img.wp-block-cover__image-background{left:27%;width:83%;top:1%;height:57%}.el-hero::after{background:linear-gradient(0deg,#121212 24%,transparent 85%)}.el-main .intro h1{font-size:clamp(64px,15vw,108px)}.intro{padding-top:210px}.section{overflow-wrap:break-word}}
.paper .care-wash,.paper .care-dryclean,.paper .care-bleach,.paper .care-dryer,.paper .care-iron{min-height:36px;padding-left:52px;background-position:left center;background-size:34px;background-repeat:no-repeat;display:flex;align-items:center}
.care-wash{background-image:url(assets/care-wash.svg)}.care-dryclean{background-image:url(assets/care-dryclean.svg)}.care-bleach{background-image:url(assets/care-bleach.svg)}.care-dryer{background-image:url(assets/care-dryer.svg)}.care-iron{background-image:url(assets/care-iron.svg)}.section .wp-block-table{max-width:760px}.wp-block-table :is(td,th){padding:.65em;text-align:left}.collection{background:#191818;color:#f2efea}.collection a{color:inherit}.single-product .wp-block-column>*+*{margin-top:1.2rem}
.single-product .wp-block-columns{gap:clamp(28px,5vw,86px)}.single-product .variations select{background:#f2efea;color:#121212;border:1px solid #a59c90;padding:9px}.single-product .wp-block-woocommerce-product-meta .is-layout-flex{gap:1em;flex-wrap:wrap}.single-product .wp-block-post-excerpt{max-width:58ch}
.el-foot form{width:min(100%,960px);max-width:none}.el-foot form .wpforms-field-container{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 38px}.el-foot form .wpforms-field-select,.el-foot form .wpforms-field-textarea{grid-column:1/-1}.el-foot form :is(input:not([type=hidden]),select,textarea){font:inherit;border:0!important;border-bottom:1px solid #94877c!important;border-radius:0!important;background:#262321!important;color:#f2efea!important;min-height:46px}.el-foot form textarea{min-height:115px}.el-foot form button[type=submit]{font:700 .85rem Manrope,Arial,sans-serif;letter-spacing:.05em;border-radius:0;padding:15px 28px}.el-foot .wpforms-field-label{font:700 .85rem Manrope,Arial,sans-serif}.el-foot form input:focus,.el-foot form select:focus,.el-foot form textarea:focus{outline:2px solid #e3c2a5;outline-offset:2px}
@media(max-width:640px){.el-foot form .wpforms-field-container{grid-template-columns:1fr;gap:5px}}


#shop .wc-block-product .wp-block-post-title a:any-link {
    color: var(--wp--preset--color--ivory, #f2efea);
}
#shop .wc-block-product .wp-block-post-title a:is(:hover, :focus-visible) {
    text-decoration: underline;
    text-underline-offset: 0.16em;
}

.single-product .variations select,
.single-product .variations select option {
    color-scheme: dark;
    color: var(--wp--preset--color--ivory, #f2efea);
    background-color: var(--wp--preset--color--espresso, #292423);
}
@media (min-width: 761px) {
    #studio.behind {
        grid-template-columns: minmax(0, 450px) minmax(0, 590px);
        justify-content: center;
        column-gap: clamp(32px, 5vw, 84px);
    }
    #studio.behind figure img {
        width: auto;
        max-width: 100%;
        margin-inline: 0 auto;
    }
}

.elann-info main .section { text-align: center; }
.elann-info main :is(.wp-block-post-content, .wp-block-post-title) { max-width: 58rem; margin-inline: auto; }
.elann-info main .section p { max-width: 65ch; margin-inline: auto; }
.elann-info main .wp-block-table { margin-inline: auto; }
.elann-info main .wp-block-table :is(th, td) { text-align: center; }
.elann-info main .paper p[class*="care-"] { display: block; padding: 42px 0 0; background-position: center top; }
.elann-info main form { max-width: 36rem; margin-inline: auto; }
.elann-info main .wp-block-post-title { font-size: clamp(2.75rem, 8vw, 8rem); overflow-wrap: anywhere; }
.el-foot .elann-rights { max-width: none; text-align: center; margin: 1.5rem auto 0; font-size: .875rem; }

/* Shared dark catalogue and persistent homepage navigation. */
body.tax-product_cat, body.tax-product_tag, body.post-type-archive-product,
body.tax-product_cat main, body.tax-product_tag main, body.post-type-archive-product main,
.collection, #mojamajica.personal { background: #171616; color: #f2efea; }
:is(.tax-product_cat, .tax-product_tag, .post-type-archive-product) main a:any-link { color: #f2efea; }
:is(.tax-product_cat, .tax-product_tag, .post-type-archive-product) .woocommerce-loop-product__title { color: inherit; }
:is(.tax-product_cat, .tax-product_tag, .post-type-archive-product) :is(.price, .woocommerce-breadcrumb) { color: #f2efea; }
:is(.tax-product_cat, .tax-product_tag, .post-type-archive-product) select { color-scheme: dark; background: #292423; color: #f2efea; border: 1px solid #a59c90; padding: 9px; }
.home .wp-site-blocks > header.wp-block-template-part { position: sticky; top: 0; z-index: 1000; }
.home.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 32px; }
.home { scroll-padding-top: 110px; }
.home :is(main, footer) [id] { scroll-margin-top: 110px; }
.single-product :is(.sku_wrapper, .wp-block-woocommerce-product-sku) { display: none; }
@media (max-width: 782px) { .home.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 46px; } }
@media (max-width: 600px) { .home.admin-bar .wp-site-blocks > header.wp-block-template-part { top: 0; } }

/* Dark checkout: keep WooCommerce controls and validation intact. */
body.woocommerce-checkout { background:#171616; color:#f2efea; color-scheme:dark; }
.woocommerce-checkout main { padding:clamp(24px,4vw,64px) 22px; }
.woocommerce-checkout main > .woocommerce { width:100%; max-width:1100px; margin-inline:auto; }
.woocommerce-checkout .wp-site-blocks > header { background:#121212; border-bottom:1px solid #49413c; padding:22px; }
.woocommerce-checkout main a:any-link, .woocommerce-checkout header a:any-link { color:#f2efea; text-underline-offset:.2em; }
.woocommerce-checkout main a:hover { color:#dfb5a7; }
.woocommerce-checkout main :is(h2,h3) { color:#f2efea; font-family:Manrope,Arial,sans-serif; font-size:clamp(22px,3vw,30px); line-height:1.25; letter-spacing:-.025em; margin-block:24px; }
.woocommerce-checkout .woocommerce form .form-row :is(input.input-text,textarea,select),
.woocommerce-checkout .select2-container--default .select2-selection--single,
.woocommerce-checkout .select2-dropdown, .woocommerce-checkout .select2-search__field { background:#292423; color:#f2efea; border:1px solid #8b8179; border-radius:0; font:inherit; }
.woocommerce-checkout .woocommerce form .form-row :is(input.input-text,textarea,select) { padding:12px; min-height:48px; box-sizing:border-box; width:100%; }
.woocommerce-checkout .woocommerce form .form-row textarea { min-height:120px; }
.woocommerce-checkout .woocommerce form .form-row label { color:#f2efea; margin-bottom:6px; }
.woocommerce-checkout .woocommerce form .form-row ::placeholder { color:#bdb4aa; opacity:1; }
.woocommerce-checkout .select2-container .select2-selection--single { min-height:48px; }
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered { color:#f2efea; line-height:46px; padding-left:12px; }
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { height:46px; }
.woocommerce-checkout .select2-container--default .select2-results__option[aria-selected=true] { background:#49413c; color:#f2efea; }
.woocommerce-checkout .select2-container--default .select2-results__option--highlighted[aria-selected] { background:#a33432; color:white; }
.woocommerce-checkout .woocommerce :is(table.shop_table,table.shop_table td,table.shop_table th) { border-color:#61564f; }
.woocommerce-checkout .woocommerce table.shop_table { background:#201d1c; border-radius:0; }
.woocommerce-checkout .woocommerce table.shop_table :is(th,td) { padding:14px; overflow-wrap:anywhere; }
.woocommerce-checkout #payment { background:#292423; color:#f2efea; border:1px solid #61564f; border-radius:0; }
.woocommerce-checkout #payment div.payment_box { background:#171616; color:#f2efea; }
.woocommerce-checkout #payment div.payment_box::before { border-bottom-color:#171616; }
.woocommerce-checkout #payment ul.payment_methods { border-bottom-color:#61564f; }
.woocommerce-checkout .woocommerce :is(button.button,a.button,input.button) { background:#a33432; color:white; border:0; border-radius:0; min-height:48px; padding:14px 24px; font:700 15px Manrope,Arial,sans-serif; }
.woocommerce-checkout .woocommerce :is(button.button,a.button,input.button):hover { background:#852b29; color:white; }
.woocommerce-checkout main :focus-visible { outline:3px solid #e3c2a5; outline-offset:3px; }
.woocommerce-checkout main :is(input[type=checkbox],input[type=radio]) { accent-color:#a33432; min-width:18px; min-height:18px; vertical-align:middle; }
.woocommerce-checkout .woocommerce :is(.woocommerce-error,.woocommerce-info,.woocommerce-message) { background:#292423; color:#f2efea; }
.woocommerce-checkout .woocommerce .required { color:#ffa6a1; }
@media(max-width:600px) {
 .woocommerce-checkout .woocommerce form .form-row { float:none; width:100%; box-sizing:border-box; }
 .woocommerce-checkout .woocommerce table.shop_table :is(th,td) { padding:10px; }
 .woocommerce-checkout #payment #place_order { width:100%; margin-top:16px; }
}
