/*
Theme Name: Ender Mobilya
Author: OpenAI
Description: Ender Mobilya için Türkçe, premium mobilya katalog teması. Yatak, baza & başlık ve oturma grupları üreticileri için tasarlanmıştır.
Version: 2.3.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: ender-mobilya
*/
:root{--ink:#201d1a;--muted:#736d66;--cream:#f4f0e9;--paper:#fffdfa;--brown:#3b3029;--gold:#a57b4d;--line:#e7dfd5;--white:#fff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.6}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto;display:block}.wrap{width:min(1200px,calc(100% - 40px));margin:auto}.topbar{background:#2d2723;color:#eee7df;font-size:12px;padding:8px 0}.topbar .wrap{display:flex;justify-content:space-between;gap:20px}.header{position:sticky;top:0;z-index:50;background:rgba(255,253,250,.97);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.header-inner{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{font-family:Georgia,serif;font-size:26px;font-weight:700;letter-spacing:.3px}.brand small{display:block;font-family:Arial,sans-serif;font-size:9px;letter-spacing:2.4px;color:var(--muted);font-weight:600;margin-top:-3px}.nav{display:flex;align-items:center;gap:25px;font-size:14px}.nav a:hover{color:var(--gold)}.cta,.btn{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:2px;background:var(--brown);border:1px solid var(--brown);color:#fff;font-weight:700;font-size:14px;transition:.2s}.cta:hover,.btn:hover{background:#55453a;color:#fff}.btn.light{background:transparent;color:var(--brown)}.hero{background:var(--cream);padding:42px 0 58px}.hero-grid{display:grid;grid-template-columns:.82fr 1.18fr;align-items:center;gap:45px}.eyebrow{font-size:11px;letter-spacing:2.3px;text-transform:uppercase;color:var(--gold);font-weight:800}.hero h1{font-family:Georgia,serif;font-size:clamp(42px,5.4vw,70px);font-weight:500;line-height:1.03;letter-spacing:-2px;margin:13px 0 20px}.hero p{font-size:17px;color:#625c56;max-width:510px;margin:0 0 26px}.hero-actions{display:flex;gap:10px;flex-wrap:wrap}.hero-media{height:520px;overflow:hidden;background:#ded5c9}.hero-media img{width:100%;height:100%;object-fit:cover}.placeholder{height:100%;display:grid;place-items:center;text-align:center;padding:30px;background:linear-gradient(135deg,#ded2c2,#f5eee5);color:#71675e}.section{padding:66px 0}.section.soft{background:#f8f5f0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:27px}.section-head h2{font-family:Georgia,serif;font-size:34px;font-weight:500;margin:0;line-height:1.2}.section-head p{margin:8px 0 0;color:var(--muted)}.link{font-size:13px;font-weight:800;color:var(--brown)}.cat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.cat-card{height:360px;position:relative;overflow:hidden;background:#e8e0d6}.cat-card img{width:100%;height:100%;object-fit:cover;transition:.4s}.cat-card:hover img{transform:scale(1.035)}.cat-card:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(20,15,12,.72))}.cat-copy{position:absolute;z-index:2;left:24px;right:24px;bottom:22px;color:#fff}.cat-copy span{font-size:11px;text-transform:uppercase;letter-spacing:1.5px}.cat-copy h3{font-family:Georgia,serif;font-size:29px;margin:2px 0}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.product-card{min-width:0}.product-photo{aspect-ratio:1/1.05;background:#eee8df;overflow:hidden;display:block}.product-photo img{width:100%;height:100%;object-fit:cover;transition:.35s}.product-card:hover .product-photo img{transform:scale(1.035)}.product-info{padding:13px 1px}.product-info h3{font-size:16px;margin:0 0 4px}.product-info p{font-size:12px;color:var(--muted);margin:0}.price{font-weight:800;font-size:14px;margin-top:6px}.story{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.story-media{height:470px;background:#e9e0d5;overflow:hidden}.story-media img{width:100%;height:100%;object-fit:cover}.story h2{font-family:Georgia,serif;font-size:40px;font-weight:500;line-height:1.15;margin:10px 0 18px}.story p{color:var(--muted)}.features{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:28px}.feature{border-top:1px solid var(--line);padding-top:15px}.feature strong{display:block;font-size:14px}.feature span{font-size:12px;color:var(--muted)}.contact-strip{background:var(--brown);color:#fff;padding:36px 40px;display:flex;align-items:center;justify-content:space-between;gap:25px}.contact-strip h2{font-family:Georgia,serif;font-size:30px;font-weight:500;margin:0 0 5px}.contact-strip p{margin:0;color:#ddd3cb}.contact-strip .btn{background:#fff;color:var(--brown);border-color:#fff;white-space:nowrap}.page-hero{background:var(--cream);padding:46px 0}.breadcrumbs{font-size:11px;color:var(--muted);margin-bottom:9px}.page-hero h1{font-family:Georgia,serif;font-size:43px;font-weight:500;margin:0}.catalog{display:grid;grid-template-columns:220px 1fr;gap:34px;padding:42px 0 70px}.sidebar{border-right:1px solid var(--line);padding-right:24px}.sidebar h3{font-size:13px;text-transform:uppercase;letter-spacing:1px;margin:0 0 12px}.sidebar a{display:block;color:var(--muted);font-size:14px;padding:5px 0}.sidebar a:hover{color:var(--gold)}.single{display:grid;grid-template-columns:1.08fr .92fr;gap:50px;padding:45px 0 70px}.gallery-main{min-height:480px;background:#eee8df;overflow:hidden}.gallery-main img{width:100%;height:100%;max-height:680px;object-fit:cover}.single h1{font-family:Georgia,serif;font-size:42px;font-weight:500;line-height:1.08;margin:8px 0 12px}.single-desc{color:var(--muted);margin:18px 0}.specs{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;margin:20px 0}.specs p{margin:7px 0;font-size:14px}.single .btn{margin:5px 7px 5px 0}.note{font-size:12px;color:var(--muted);margin-top:16px}.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:45px;padding:45px 0 70px}.contact-box{background:var(--cream);padding:30px}.contact-box h2{font-family:Georgia,serif;font-weight:500;font-size:29px;margin-top:0}.contact-box p{margin:9px 0}.footer{background:#251f1b;color:#fff;padding:48px 0 20px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px}.footer h3{font-size:13px;text-transform:uppercase;letter-spacing:1.2px}.footer p,.footer a{font-size:13px;color:#d6cec7}.footer a{display:block;margin:5px 0}.copy{border-top:1px solid #514943;margin-top:32px;padding-top:18px;color:#aaa099;font-size:11px}.empty{grid-column:1/-1;background:var(--cream);padding:30px;color:var(--muted)}
@media(max-width:900px){.nav{gap:13px}.hero-grid{gap:25px}.hero-media{height:420px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.cat-card{height:300px}.story{gap:30px}.story-media{height:400px}}
@media(max-width:680px){.wrap{width:min(100% - 28px,1200px)}.topbar .extra{display:none}.topbar .wrap{justify-content:center}.header-inner{min-height:68px;flex-wrap:wrap;padding:10px 0}.brand{font-size:22px}.cta{padding:9px 11px;font-size:11px}.nav{order:3;width:100%;overflow:auto;white-space:nowrap;padding:5px 0 2px}.nav a{font-size:12px}.hero{padding:25px 0 38px}.hero-grid{grid-template-columns:1fr}.hero h1{font-size:44px}.hero-media{height:300px}.section{padding:43px 0}.section-head h2{font-size:29px}.cat-grid{grid-template-columns:1fr}.cat-card{height:270px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.product-info h3{font-size:14px}.story{grid-template-columns:1fr}.story-media{height:300px}.story h2{font-size:33px}.features{grid-template-columns:1fr}.contact-strip{padding:25px;flex-direction:column;align-items:flex-start}.catalog{grid-template-columns:1fr}.sidebar{border-right:0;border-bottom:1px solid var(--line);padding:0 0 20px}.single{grid-template-columns:1fr;gap:25px}.gallery-main{min-height:300px}.single h1{font-size:35px}.contact-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr;gap:22px}}


/* ===== v2 layout hardening =====
   WordPress plugins often use generic classes such as .wrap, .header, .single and .section.
   These rules keep the Ender Mobilya theme full-width and stop those external rules from
   splitting the page into columns. */
body.ender-mobilya-theme{
    width:100%!important;
    max-width:none!important;
    float:none!important;
    display:block!important;
    overflow-x:hidden;
}
body.ender-mobilya-theme .topbar,
body.ender-mobilya-theme .header,
body.ender-mobilya-theme .hero,
body.ender-mobilya-theme .section,
body.ender-mobilya-theme .page-hero,
body.ender-mobilya-theme .footer{
    width:100%!important;
    max-width:none!important;
    float:none!important;
    clear:both!important;
    position:relative;
}
body.ender-mobilya-theme .header{position:sticky!important;top:0!important;}
body.ender-mobilya-theme .wrap{
    width:min(1200px,calc(100% - 40px))!important;
    max-width:1200px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
    float:none!important;
    clear:both!important;
    display:block;
}
body.ender-mobilya-theme .header-inner{
    display:flex!important;
    width:100%!important;
    max-width:none!important;
    float:none!important;
}
body.ender-mobilya-theme .single{
    width:100%!important;
    max-width:none!important;
    float:none!important;
    clear:both!important;
    display:grid!important;
    grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr)!important;
}
body.ender-mobilya-theme .gallery-main{
    width:100%!important;
    max-width:none!important;
    float:none!important;
}
body.ender-mobilya-theme .product-grid{
    width:100%!important;
    max-width:none!important;
    float:none!important;
    clear:both!important;
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
}
body.ender-mobilya-theme .section-head{
    width:100%!important;
    float:none!important;
    clear:both!important;
    display:flex!important;
}
@media(max-width:900px){
 body.ender-mobilya-theme .product-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
}
@media(max-width:680px){
 body.ender-mobilya-theme .wrap{width:calc(100% - 28px)!important}
 body.ender-mobilya-theme .single{grid-template-columns:1fr!important}
 body.ender-mobilya-theme .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* v3: absolute page-layout reset */
html body.ender-mobilya-theme{
  display:block!important;
  grid-template-columns:none!important;
  grid-template-rows:none!important;
  columns:auto!important;
}
html body.ender-mobilya-theme > .topbar,
html body.ender-mobilya-theme > .header,
html body.ender-mobilya-theme > .hero,
html body.ender-mobilya-theme > .page-hero,
html body.ender-mobilya-theme > .section,
html body.ender-mobilya-theme > .wrap,
html body.ender-mobilya-theme > .footer{
  display:block;
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  float:none!important;
  clear:both!important;
  grid-column:1/-1!important;
}
html body.ender-mobilya-theme > .wrap{
  width:min(1200px,calc(100% - 40px))!important;
  max-width:1200px!important;
  margin-left:auto!important;
  margin-right:auto!important;
}


/* ==========================================================
   ENDER MOBİLYA v4 — Modern header + mobile-first polish
   ========================================================== */
:root{
 --em-paper:#fbfaf7;--em-ink:#171512;--em-coffee:#2b241f;--em-caramel:#a87745;
 --em-sand:#eee7dd;--em-line:rgba(31,25,20,.12);--em-muted:#746d65;
}
html{scroll-padding-top:105px}
body.ender-mobilya-theme{background:var(--em-paper);-webkit-font-smoothing:antialiased}
body.em-menu-open{overflow:hidden}

/* New shell is deliberately namespaced; plugin CSS cannot hijack it. */
body.ender-mobilya-theme .em-shell{
 width:min(1280px,calc(100% - 64px))!important;max-width:1280px!important;
 margin:0 auto!important;padding:0!important;float:none!important;
}
.em-site-header{position:sticky;top:0;z-index:9999;width:100%;transition:transform .35s ease,box-shadow .3s ease}
.em-site-header.em-header-hidden{transform:translateY(-100%)}
.em-announcement{background:#211d19;color:#f8f3ec;font-size:12px;letter-spacing:.02em}
.em-announcement-inner{height:34px;display:flex;align-items:center;gap:9px}
.em-announcement-inner>a{margin-left:auto;color:#f8f3ec;text-decoration:none;font-weight:700}
.em-announcement-dot{opacity:.4}
.em-nav-wrap{background:rgba(251,250,247,.96);border-bottom:1px solid var(--em-line);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.em-scrolled .em-nav-wrap{box-shadow:0 10px 35px rgba(35,27,20,.07)}
.em-nav{height:94px;display:grid!important;grid-template-columns:240px 1fr auto;align-items:center;gap:28px}
.em-brand{display:flex;flex-direction:column;width:max-content;text-decoration:none;color:var(--em-ink);line-height:.88}
.em-brand-main{font-family:Georgia,'Times New Roman',serif;font-size:24px;font-weight:700;letter-spacing:-.6px}
.em-brand-sub{font-size:8px;font-weight:800;letter-spacing:3.4px;color:var(--em-caramel);margin-top:9px}
.em-desktop-nav{justify-self:center;display:flex;align-items:center;gap:8px}
.em-desktop-nav a{position:relative;padding:13px 15px;color:#3b3631;text-decoration:none;font-size:14px;font-weight:600;border-radius:999px;transition:.22s}
.em-desktop-nav a:hover{background:#f0ebe4;color:#171512}
.em-desktop-nav a.is-active:after{content:"";position:absolute;left:16px;right:16px;bottom:7px;height:1px;background:var(--em-caramel)}
.em-nav-actions{display:flex;align-items:center;gap:10px;justify-self:end}
.em-phone-link{display:flex;align-items:center;gap:7px;color:#5d554e;text-decoration:none;font-size:12px;font-weight:700}
.em-phone-icon{width:27px;height:27px;border:1px solid var(--em-line);border-radius:50%;display:grid;place-items:center}
.em-wa-button{height:48px;display:flex;align-items:center;gap:22px;background:var(--em-coffee);color:#fff!important;text-decoration:none;padding:0 18px;border-radius:3px;font-size:13px;font-weight:800;transition:.22s}
.em-wa-button:hover{background:#3b3028;transform:translateY(-1px)}
.em-arrow{font-size:17px;font-weight:400}
.em-menu-toggle{display:none;width:45px;height:45px;border:1px solid var(--em-line);background:transparent;border-radius:50%;padding:0;align-items:center;justify-content:center;flex-direction:column;gap:4px;cursor:pointer}
.em-menu-toggle span{display:block;width:17px;height:1.5px;background:#211d19;transition:.25s}
.em-menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(5.5px) rotate(45deg)}
.em-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.em-menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-5.5px) rotate(-45deg)}
.em-mobile-menu{background:var(--em-paper);border-top:1px solid var(--em-line);height:calc(100dvh - 94px);overflow:auto;padding:18px 24px 32px}
.em-mobile-menu[hidden]{display:none!important}
.em-mobile-menu nav a{display:flex;justify-content:space-between;align-items:center;padding:20px 2px;border-bottom:1px solid var(--em-line);text-decoration:none;color:var(--em-ink);font-family:Georgia,'Times New Roman',serif;font-size:28px}
.em-mobile-menu nav a span:last-child{font-family:Arial,sans-serif;font-size:9px;color:var(--em-caramel);letter-spacing:1px}
.em-mobile-contact{padding-top:28px}.em-mobile-contact p{color:var(--em-muted);margin:0 0 13px}
.em-mobile-contact a{display:block;color:var(--em-ink);margin-top:11px;text-decoration:none}
.em-mobile-wa{background:var(--em-coffee);color:#fff!important;padding:15px 17px;display:flex!important;justify-content:space-between!important;font-weight:700}

/* Overall visual polish */
body.ender-mobilya-theme .hero{padding-top:56px;padding-bottom:56px}
body.ender-mobilya-theme .hero h1{font-size:clamp(44px,5vw,72px);line-height:1.01;letter-spacing:-2.6px}
body.ender-mobilya-theme .hero-image{border-radius:2px}
body.ender-mobilya-theme .product-photo{border-radius:2px;background:#f1ede7}
body.ender-mobilya-theme .product-card{transition:transform .25s ease}
body.ender-mobilya-theme .product-card:hover{transform:translateY(-3px)}
body.ender-mobilya-theme .button{border-radius:2px}
body.ender-mobilya-theme .single{padding-top:54px;padding-bottom:72px}
body.ender-mobilya-theme .gallery-main{border-radius:2px;background:#f1ede7}
body.ender-mobilya-theme .details h1{font-size:clamp(38px,4vw,56px);line-height:1.04}
body.ender-mobilya-theme .footer{margin-top:0}

/* Tablet */
@media(max-width:1050px){
 body.ender-mobilya-theme .em-shell{width:min(100% - 40px,1280px)!important}
 .em-nav{grid-template-columns:190px 1fr auto;gap:16px}
 .em-desktop-nav{gap:1px}.em-desktop-nav a{padding:11px 9px;font-size:13px}
 .em-phone-link{display:none}
}
/* Mobile */
@media(max-width:760px){
 html{scroll-padding-top:74px}
 body.ender-mobilya-theme .em-shell{width:calc(100% - 28px)!important}
 .em-announcement{display:none}
 .em-site-header{position:sticky!important;top:0!important}
 .em-nav{height:74px!important;display:flex!important;justify-content:space-between!important;gap:12px!important}
 .em-brand-main{font-size:18px}.em-brand-sub{font-size:6px;letter-spacing:2.5px;margin-top:7px}
 .em-desktop-nav,.em-phone-link,.em-wa-button{display:none!important}
 .em-menu-toggle{display:flex}
 .em-mobile-menu{height:calc(100dvh - 74px)}
 body.ender-mobilya-theme .hero{padding:24px 0 38px!important}
 body.ender-mobilya-theme .hero-grid{grid-template-columns:1fr!important;gap:24px!important}
 body.ender-mobilya-theme .hero h1{font-size:42px!important;letter-spacing:-1.7px!important}
 body.ender-mobilya-theme .hero p{font-size:15px!important}
 body.ender-mobilya-theme .hero-image{height:285px!important}
 body.ender-mobilya-theme .section{padding:42px 0!important}
 body.ender-mobilya-theme .section-head{align-items:flex-end!important;gap:12px!important}
 body.ender-mobilya-theme .section-head h2{font-size:28px!important}
 body.ender-mobilya-theme .category-grid{grid-template-columns:1fr 1fr!important;gap:10px!important}
 body.ender-mobilya-theme .category-card{min-height:100px!important;padding:16px!important}
 body.ender-mobilya-theme .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 body.ender-mobilya-theme .product-info{padding:10px 0 15px!important}
 body.ender-mobilya-theme .product-info h3{font-size:14px!important}
 body.ender-mobilya-theme .single{grid-template-columns:1fr!important;gap:24px!important;padding:22px 0 48px!important}
 body.ender-mobilya-theme .gallery-main{min-height:0!important;aspect-ratio:1/1.08}
 body.ender-mobilya-theme .gallery-main img{height:100%!important;object-fit:cover!important}
 body.ender-mobilya-theme .details h1{font-size:38px!important}
 body.ender-mobilya-theme .details .button{width:100%;margin-right:0!important}
 body.ender-mobilya-theme .contact-banner{padding:25px!important}
 body.ender-mobilya-theme .footer-grid{grid-template-columns:1fr!important}
}
@media(max-width:380px){
 body.ender-mobilya-theme .product-grid{grid-template-columns:1fr!important}
 body.ender-mobilya-theme .category-grid{grid-template-columns:1fr!important}
}

/* v4.2 Customizer-editable homepage imagery */
.em-customizer-image{position:relative}
.em-cat-image{position:absolute;inset:0;width:100%;height:100%}
.em-cat-image>img,.em-cat-image>.placeholder{width:100%;height:100%;object-fit:cover}
.customize-partial-edit-shortcut{z-index:20!important}
.hero-media>.customize-partial-edit-shortcut,
.story-media>.customize-partial-edit-shortcut,
.em-cat-image>.customize-partial-edit-shortcut{position:absolute!important;top:14px!important;left:14px!important}

/* v4.3 image framing controls */
#em-custom-hero-image,
#em-custom-story-image,
#em-custom-cat-image-1,
#em-custom-cat-image-2,
#em-custom-cat-image-3{overflow:hidden!important}
#em-custom-hero-image>img,
#em-custom-story-image>img,
#em-custom-cat-image-1>img,
#em-custom-cat-image-2>img,
#em-custom-cat-image-3>img{
 width:100%!important;height:100%!important;display:block!important;
 transition:transform .2s ease,object-position .2s ease;
}

/* v4.4 Customizer drag-to-reposition crop UI */
.customize-partial-edit-shortcut + .em-drag-hint{}
.em-drag-frame{touch-action:none!important;cursor:grab!important;user-select:none!important;-webkit-user-select:none!important}
.em-drag-frame.is-dragging{cursor:grabbing!important}
.em-drag-frame .em-drag-image{pointer-events:none!important;-webkit-user-drag:none!important}
.em-drag-hint{
 display:none;position:absolute;left:50%;bottom:16px;transform:translateX(-50%);
 z-index:18;background:rgba(24,20,17,.82);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
 color:#fff;padding:9px 13px;border-radius:999px;font:600 11px/1.2 Arial,sans-serif;
 white-space:nowrap;pointer-events:none;box-shadow:0 5px 20px rgba(0,0,0,.15)
}
.customize-preview .em-drag-hint,.em-drag-frame .em-drag-hint{display:flex;align-items:center;gap:7px}
.em-drag-icon{font-size:15px}
.em-drag-frame.is-dragging .em-drag-hint{opacity:.35}

/* v4.5 — Header uses the actual WordPress site menu */
.em-desktop-nav .em-menu-list{
 display:flex!important;align-items:center!important;gap:8px!important;
 list-style:none!important;margin:0!important;padding:0!important;
}
.em-desktop-nav .em-menu-list>li{position:relative!important;margin:0!important;padding:0!important}
.em-desktop-nav .em-menu-list a{
 display:block;position:relative;padding:13px 15px;color:#3b3631;text-decoration:none;
 font-size:14px;font-weight:600;border-radius:999px;transition:.22s
}
.em-desktop-nav .current-menu-item>a,
.em-desktop-nav .current-menu-ancestor>a{background:#f0ebe4;color:#171512}
.em-desktop-nav .sub-menu{
 display:none;position:absolute;top:100%;left:0;min-width:210px;background:#fbfaf7;
 list-style:none;margin:0;padding:8px;border:1px solid rgba(31,25,20,.12);
 box-shadow:0 16px 35px rgba(35,27,20,.10);border-radius:4px
}
.em-desktop-nav li:hover>.sub-menu{display:block}
.em-desktop-nav .sub-menu a{border-radius:3px;padding:11px 12px;white-space:nowrap}

.em-mobile-menu-list,.em-mobile-menu-list .sub-menu{
 list-style:none!important;margin:0!important;padding:0!important;
}
.em-mobile-menu-list>li>a{
 display:flex;justify-content:space-between;align-items:center;padding:20px 2px;
 border-bottom:1px solid var(--em-line);text-decoration:none;color:var(--em-ink);
 font-family:Georgia,'Times New Roman',serif;font-size:28px
}
.em-mobile-menu-list .sub-menu{padding:3px 0 10px 16px!important}
.em-mobile-menu-list .sub-menu a{
 display:block;padding:12px 2px;border-bottom:1px solid var(--em-line);
 color:var(--em-muted);text-decoration:none;font-size:16px
}
@media(max-width:1050px){
 .em-desktop-nav .em-menu-list{gap:1px!important}
 .em-desktop-nav .em-menu-list a{padding:11px 9px;font-size:13px}
}

/* v4.6 — Product gallery */
.em-product-gallery{min-width:0}
.em-gallery-main{
 position:relative;width:100%;aspect-ratio:1/1.05;overflow:hidden;background:#f1ede7;border-radius:2px
}
.em-gallery-main>img{width:100%!important;height:100%!important;display:block;object-fit:cover!important}
.em-gallery-arrow{
 position:absolute;top:50%;transform:translateY(-50%);z-index:3;width:44px;height:44px;border:0;
 border-radius:50%;background:rgba(255,255,255,.9);color:#211d19;font-size:28px;line-height:1;
 cursor:pointer;box-shadow:0 5px 20px rgba(0,0,0,.10)
}
.em-gallery-prev{left:14px}.em-gallery-next{right:14px}
.em-gallery-thumbs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-top:10px}
.em-gallery-thumb{
 aspect-ratio:1/1;border:1px solid transparent;background:#f1ede7;padding:0;overflow:hidden;cursor:pointer;border-radius:2px
}
.em-gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.em-gallery-thumb.is-active{border-color:#2b241f}
@media(max-width:680px){
 .em-gallery-main{aspect-ratio:1/1}
 .em-gallery-thumbs{display:flex;overflow-x:auto;gap:8px;padding-bottom:3px;scrollbar-width:none}
 .em-gallery-thumbs::-webkit-scrollbar{display:none}
 .em-gallery-thumb{flex:0 0 68px}
 .em-gallery-arrow{width:38px;height:38px;font-size:24px}
}

/* =========================================================
   ENDER MOBİLYA v5 — premium contemporary visual refresh
   ========================================================= */
:root{
 --em-bg:#f7f5f1;
 --em-surface:#fff;
 --em-ink:#171714;
 --em-muted:#6f6b64;
 --em-accent:#a4774d;
 --em-dark:#201d1a;
 --em-border:rgba(23,23,20,.10);
 --em-radius:18px;
 --em-shadow:0 22px 60px rgba(28,23,18,.08);
}
body.ender-mobilya-theme{
 background:var(--em-bg)!important;color:var(--em-ink);
 font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
body.ender-mobilya-theme h1,
body.ender-mobilya-theme h2{
 font-family:Georgia,"Times New Roman",serif;font-weight:500;letter-spacing:-.045em;
}
body.ender-mobilya-theme .em-shell,
body.ender-mobilya-theme .wrap{width:min(1320px,calc(100% - 64px))!important;max-width:1320px!important}

/* Header */
.em-announcement{background:#171714!important}
.em-nav-wrap{background:rgba(247,245,241,.88)!important}
.em-nav{height:88px!important}
.em-brand-main{font-size:22px!important;letter-spacing:-.04em!important}
.em-brand-sub{color:var(--em-accent)!important}
.em-desktop-nav .em-menu-list a{font-weight:650!important}
.em-wa-button{border-radius:999px!important;padding:0 22px!important;background:#171714!important}
.em-menu-toggle{background:#fff!important}

/* Hero */
body.ender-mobilya-theme .hero{padding:34px 0 76px!important}
body.ender-mobilya-theme .hero-grid{
 min-height:650px;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)!important;
 gap:54px!important;align-items:center!important
}
body.ender-mobilya-theme .hero h1{
 max-width:690px;font-size:clamp(58px,6vw,92px)!important;line-height:.94!important;
 letter-spacing:-.06em!important;margin:14px 0 26px!important
}
body.ender-mobilya-theme .hero p{max-width:600px;font-size:17px!important;line-height:1.75!important;color:var(--em-muted)!important}
body.ender-mobilya-theme .eyebrow{
 color:var(--em-accent)!important;text-transform:uppercase;letter-spacing:.16em!important;
 font-size:10px!important;font-weight:800!important
}
body.ender-mobilya-theme .hero-media{
 min-height:650px!important;height:650px!important;border-radius:var(--em-radius)!important;
 overflow:hidden;box-shadow:var(--em-shadow);position:relative
}
body.ender-mobilya-theme .hero-media:after{
 content:"";position:absolute;inset:0;pointer-events:none;
 background:linear-gradient(180deg,transparent 55%,rgba(20,17,14,.14))
}
body.ender-mobilya-theme .hero-media img{width:100%;height:100%;object-fit:cover}
body.ender-mobilya-theme .btn{
 border-radius:999px!important;padding:15px 22px!important;min-height:50px!important;
 display:inline-flex!important;align-items:center!important;justify-content:center!important;
 font-size:13px!important;font-weight:750!important;transition:.25s ease!important
}
body.ender-mobilya-theme .btn:hover{transform:translateY(-2px)}
body.ender-mobilya-theme .btn.light{background:transparent!important;border:1px solid var(--em-border)!important}

/* Sections */
body.ender-mobilya-theme .section{padding:90px 0!important}
body.ender-mobilya-theme .section.soft{background:#efebe5!important}
body.ender-mobilya-theme .section-head{margin-bottom:34px!important}
body.ender-mobilya-theme .section-head h2{font-size:clamp(36px,4vw,54px)!important;line-height:1!important;margin:8px 0 0!important}
body.ender-mobilya-theme .link{font-size:12px!important;font-weight:750!important;text-decoration:none!important;color:var(--em-ink)!important}

/* Categories */
body.ender-mobilya-theme .cat-grid{gap:18px!important}
body.ender-mobilya-theme .cat-card{
 min-height:450px!important;border-radius:var(--em-radius)!important;overflow:hidden!important;
 border:0!important;box-shadow:none!important;background:#ddd!important
}
body.ender-mobilya-theme .cat-card:after{
 content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 42%,rgba(14,12,10,.64));z-index:2
}
body.ender-mobilya-theme .cat-card img{transition:transform .7s cubic-bezier(.2,.7,.2,1)!important}
body.ender-mobilya-theme .cat-card:hover img{transform:scale(1.045)!important}
body.ender-mobilya-theme .cat-copy{z-index:3!important;left:26px!important;bottom:24px!important;color:#fff!important}
body.ender-mobilya-theme .cat-copy span{opacity:.72!important;font-size:9px!important;letter-spacing:.16em!important;text-transform:uppercase}
body.ender-mobilya-theme .cat-copy h3{font-family:Georgia,"Times New Roman",serif!important;font-size:29px!important;font-weight:500!important;margin-top:5px!important}

/* Product cards */
body.ender-mobilya-theme .product-grid{gap:28px 18px!important}
body.ender-mobilya-theme .product-card{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.ender-mobilya-theme .product-photo{
 aspect-ratio:1/1.08!important;border-radius:14px!important;overflow:hidden!important;background:#e9e5df!important
}
body.ender-mobilya-theme .product-photo img{transition:transform .6s cubic-bezier(.2,.7,.2,1)!important}
body.ender-mobilya-theme .product-card:hover{transform:none!important}
body.ender-mobilya-theme .product-card:hover .product-photo img{transform:scale(1.035)!important}
body.ender-mobilya-theme .product-info{padding:14px 3px 0!important}
body.ender-mobilya-theme .product-info h3{font-size:16px!important;font-weight:650!important;margin:0 0 5px!important}
body.ender-mobilya-theme .price{font-size:13px!important;color:var(--em-muted)!important}

/* Story */
body.ender-mobilya-theme .story{gap:72px!important;align-items:center!important}
body.ender-mobilya-theme .story-media{border-radius:var(--em-radius)!important;overflow:hidden!important;min-height:580px!important}
body.ender-mobilya-theme .story-media img{width:100%;height:100%;object-fit:cover}
body.ender-mobilya-theme .story h2{font-size:clamp(42px,4.5vw,64px)!important;line-height:1!important}
body.ender-mobilya-theme .story>div>p{font-size:16px!important;line-height:1.8!important;color:var(--em-muted)!important}
body.ender-mobilya-theme .features{border-top:1px solid var(--em-border)!important;margin-top:32px!important}
body.ender-mobilya-theme .feature{padding:18px 0!important;border-bottom:1px solid var(--em-border)!important}

/* Contact CTA */
body.ender-mobilya-theme .contact-strip{
 background:var(--em-dark)!important;color:#fff!important;border-radius:var(--em-radius)!important;
 padding:54px 58px!important;box-shadow:var(--em-shadow)
}
body.ender-mobilya-theme .contact-strip h2{font-size:clamp(34px,4vw,52px)!important;margin:0 0 8px!important}
body.ender-mobilya-theme .contact-strip p{color:rgba(255,255,255,.65)!important}
body.ender-mobilya-theme .contact-strip .btn{background:#fff!important;color:#171714!important}

/* Product detail */
body.ender-mobilya-theme .single{gap:64px!important;padding-top:56px!important}
.em-gallery-main{border-radius:var(--em-radius)!important;box-shadow:var(--em-shadow)!important}
.em-gallery-thumb{border-radius:8px!important}
body.ender-mobilya-theme .single h1{font-size:clamp(46px,5vw,70px)!important}
body.ender-mobilya-theme .specs{border-top:1px solid var(--em-border)!important;border-bottom:1px solid var(--em-border)!important;padding:14px 0!important}

/* Footer */
body.ender-mobilya-theme .footer{background:#171714!important;color:#e9e5df!important;padding-top:68px!important}
body.ender-mobilya-theme .footer a{color:#e9e5df!important}

/* Responsive */
@media(max-width:900px){
 body.ender-mobilya-theme .em-shell,body.ender-mobilya-theme .wrap{width:calc(100% - 36px)!important}
 body.ender-mobilya-theme .hero-grid{min-height:0;grid-template-columns:1fr!important}
 body.ender-mobilya-theme .hero-media{height:520px!important;min-height:520px!important}
 body.ender-mobilya-theme .story{grid-template-columns:1fr!important;gap:34px!important}
 body.ender-mobilya-theme .story-media{min-height:480px!important}
}
@media(max-width:680px){
 body.ender-mobilya-theme .em-shell,body.ender-mobilya-theme .wrap{width:calc(100% - 28px)!important}
 body.ender-mobilya-theme .hero{padding:20px 0 48px!important}
 body.ender-mobilya-theme .hero-grid{gap:28px!important}
 body.ender-mobilya-theme .hero h1{font-size:48px!important;line-height:.98!important}
 body.ender-mobilya-theme .hero p{font-size:15px!important;line-height:1.65!important}
 body.ender-mobilya-theme .hero-media{height:390px!important;min-height:390px!important;border-radius:14px!important}
 body.ender-mobilya-theme .section{padding:58px 0!important}
 body.ender-mobilya-theme .section-head h2{font-size:35px!important}
 body.ender-mobilya-theme .cat-grid{grid-template-columns:1fr!important}
 body.ender-mobilya-theme .cat-card{min-height:360px!important}
 body.ender-mobilya-theme .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:22px 10px!important}
 body.ender-mobilya-theme .product-photo{border-radius:10px!important}
 body.ender-mobilya-theme .product-info h3{font-size:14px!important}
 body.ender-mobilya-theme .story-media{min-height:390px!important}
 body.ender-mobilya-theme .story h2{font-size:40px!important}
 body.ender-mobilya-theme .contact-strip{padding:34px 24px!important;border-radius:14px!important;display:block!important}
 body.ender-mobilya-theme .contact-strip .btn{width:100%!important;margin-top:18px!important}
 body.ender-mobilya-theme .single{gap:28px!important;padding-top:24px!important}
 body.ender-mobilya-theme .single h1{font-size:42px!important}
}

@media(prefers-reduced-motion:no-preference){
 .em-reveal{opacity:0;transform:translateY(18px);transition:opacity .65s ease,transform .65s ease}
 .em-reveal.is-visible{opacity:1;transform:none}
}

/* v5.1 gallery interaction fix */
.em-gallery-thumbs{position:relative;z-index:5}
.em-gallery-thumb{position:relative;z-index:6;cursor:pointer!important;pointer-events:auto!important}
.em-gallery-thumb img{pointer-events:none!important}

/* v5.4 — homepage featured products: 4 across desktop */
@media(min-width:901px){
 body.home.ender-mobilya-theme .product-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
