:root{
  --bg:#F0E4D8; /* E8D8C1 Burası ana background rengi eskisi #fcf4d9 fff */
  --fg:#3B2D1B; /* Burası üç çizgi resmi eskisi 111*/
  --muted:#314530; /* Yazıların Grisi eskisi#666 */
  --line:#e7e7e7; /* Açık Gri Ton */
  --btn:#111; /* Siyah */
  --btnfg:#fff; /* Beyaz */
  --max:1200px;
  --blk:#000;
}

/*:root{
  --bg:#e2e8d3; Burası ana background rengi eskisi #fcf4d9 fff
  --fg:#3d5c3b;  Burası üç çizgi resmi eskisi 111
  --muted:#314530; Yazıların Grisi eskisi#666 
  --line:#e7e7e7;  Açık Gri Ton 
  --btn:#111;  Siyah 
  --btnfg:#fff;  Beyaz 
  --max:1200px;
  --blk:#000;
}*/

*{box-sizing:border-box}

html,body{height:100%}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--blk);
  padding-top:112px;
}

html{scrollbar-gutter:stable}
img{max-width:100%; display:block}

[hidden]{display:none !important;}
.lightbox[hidden]{display:none !important;}
.detail-gallery-modal[hidden]{display:none !important;}
.mail-modal[hidden]{display:none !important;}

/* Topbar */
.topbar{
  position:fixed;
  top:0;
  left:0;
  right:0;
  width:100%;
  z-index:10000;
  background:rgba(89, 72, 51,0.5);
 /* background:rgba(131,145,99,0.5);*/
  backdrop-filter:blur(10px);
  border-bottom:3px solid var(--fg);
  border-top:3px solid var(--fg);
  border-left:3px solid var(--fg);
  border-right:3px solid var(--fg);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0px 25px;
  gap:14px;
  box-sizing:border-box;
}

.brand{
  grid-column:1;
  display:flex;
  align-items:center;
  text-decoration:none;
}

.brand__logo{
  height:100px;
}

.topbar__terms{
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:14px;
  text-decoration:none;
  color:var(--fg);
  font-size:14px;
  font-weight:600;
  white-space:nowrap;
  flex:0 0 auto;
}

.topbar__terms:hover{
  opacity:.8;
}

.topbar__terms-icon{
  font-size:16px;
  line-height:1;
  color:#000;
}

.topbar__terms-text{
  line-height:1;
  font-weight:700;
  color:var(--fg);
  font-size: 14px;
}

.topbar__nav{
  display:flex;
  align-items:center;
  gap:8px;
  margin-left:auto;
  flex-wrap:nowrap;
}

.topbar__link{
  text-decoration:none;
  color:var(--fg);
  font-weight:bold;
  font-size:13px;
  white-space:nowrap;
}

.social{
  display:flex;
  align-items:center;
  gap:6px;
}

.social__btn{
  width:26px;
  height:26px;
  margin-top:0;
  flex:0 0 auto;
  display:grid;
  place-items:center;
  border:1px solid var(--line);
  border-radius:999px;
  text-decoration:none;
  color:var(--blk);
  font-size:12px;
  position:relative;
  bottom:5px;
}

/* Hero */
.hero{
  max-width:var(--max);
  margin:0 auto;
  padding:28px 18px 10px;
  display:grid;
  grid-template-columns:1.35fr 1fr;
  gap:26px;
  align-items:start;
}

.hero__media{
  position:relative;
  border:1px solid var(--line);
  overflow:hidden;
  border-radius:12px;
}

.hero__viewport{
  position:relative;
  aspect-ratio:4/3;
  background:#f7f7f7;
}

.hero__slide{
  position:absolute;
  inset:0;
  opacity:0;
  transition:opacity .35s ease;
}

.hero__slide.is-active{opacity:1}

.hero__slide img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero__nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  border:0;
  background:rgba(255,255,255,0.75);
  width:40px;
  height:40px;
  border-radius:999px;
  cursor:pointer;
  z-index:5;
}

.hero__nav[disabled]{
  opacity:.35;
  cursor:default;
  pointer-events:none;
}

.hero__nav--prev{left:10px}
.hero__nav--next{right:10px}

.dots{
  position:absolute;
  left:0;
  right:0;
  bottom:10px;
  display:flex;
  gap:8px;
  justify-content:center;
  pointer-events:auto;
  z-index:5;
}

.dot{
  width:9px;
  height:9px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,0.25);
  background:rgba(255,255,255,0.8);
  cursor:pointer;
}

.dot.is-active{
  background:rgba(0,0,0,0.65);
}

.hero__content{padding-top:6px}

.hero__title{
  margin:0 0 10px;
  font-size:28px;
  letter-spacing:.6px;
}

.hero__quote{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.6;
}

.hero__meta{
  border-top:1px solid var(--line);
  padding-top:14px;
}

.tag{
  font-size:12px;
  color:var(--muted);
  margin-bottom:6px;
}

.hero__subtitle{
  margin:0;
  font-size:16px;
}

/* Works */
.works{
  max-width:var(--max);
  margin:0 auto;
  padding:18px 18px 36px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.work-card{
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  background:#fff;
  display:flex;
  flex-direction:column;
}

.work-card__img{
  display:block;
  background:#f4f4f4;
}

.work-card__img img{
  aspect-ratio:4/3;
  object-fit:cover;
  width:100%;
}

.work-card__body{padding:14px}

.work-card__title{
  margin:0 0 8px;
  font-size:16px;
}

.work-card__dims{
  color:var(--muted);
  font-size:12px;
  line-height:1.5;
  margin-bottom:10px;
}

.work-card__desc{
  margin:0 0 12px;
  color:var(--muted);
  font-size:13px;
  line-height:1.55;
}

.btn{
  display:inline-block;
  padding:10px 12px;
  border-radius:10px;
  background:var(--btn);
  color:var(--btnfg);
  text-decoration:none;
  font-size:13px;
  border:0;
  cursor:pointer;
}

/* Page */
.page{
  max-width:var(--max);
  margin:0 auto;
  padding:22px 18px 40px;
}

.page__title{
  margin:0 0 8px;
  font-size:26px;
}

.page__lead{
  margin:0 0 18px;
  color:var(--muted);
  line-height:1.6;
}

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  background:#e2e8d3;
}

.gallery--products{
  align-items:stretch;
}

.gallery__item{
  border:1px solid var(--line);
  border-radius:10px;
  overflow:hidden;
  padding:0;
  background:#fff;
}

.gallery__item--product{
  display:flex;
  flex-direction:column;
  text-align:left;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:14px;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.gallery__item--product:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 22px rgba(0,0,0,0.08);
  border-color:rgba(0,0,0,0.14);
}

.gallery__open{
  display:block;
  width:100%;
  padding:0;
  margin:0;
  border:0;
  background:transparent;
  text-align:left;
  cursor:pointer;
}

.gallery__thumb{
  display:block;
  width:100%;
  background:#f5f5f5;
}

.gallery__thumb img{
  width:100%;
  aspect-ratio:4/3;
  object-fit:cover;
}

.gallery__body{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:12px 12px 14px;
}

.gallery__code{
  display:block;
  font-size:14px;
  font-weight:700;
  color:var(--blk);
  line-height:1.35;
}

.gallery__price{
  display:block;
  font-size:13px;
  color:#5c5c5c;
  margin-top:2px;
}

.gallery__text{
  display:block;
  font-size:13px;
  line-height:1.55;
  color:var(--muted);
}

.gallery__actions{
  padding:0 12px 14px;
}

.gallery__mail-btn{
  display:inline-block;
  width:100%;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,0.12);
  background:#f4f4f4;
  color:var(--blk);
  font-size:13px;
  cursor:pointer;
}

.gallery__mail-btn:hover{
  background:#ececec;
}

.gallery__item img{
  width:100%;
  aspect-ratio:1/1;
  object-fit:cover;
}

/* Detail gallery modal */
.detail-gallery-modal{
  position:fixed;
  top:112px;
  left:0;
  right:0;
  bottom:0;
  background:rgba(0,0,0,0.78);
  display:flex;
  align-items:flex-start;
  justify-content:center;
  z-index:95;
  padding:18px 18px calc(18px + env(safe-area-inset-bottom));
  overflow:auto;
  -webkit-overflow-scrolling:touch;
}

.detail-gallery{
  position:relative;
  width:min(1120px,96vw);
  max-height:calc(100dvh - 140px - env(safe-area-inset-bottom));
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  background:#e2e8d3;
  border-radius:16px;
  padding:22px 18px 18px;
  box-shadow:0 20px 50px rgba(0,0,0,0.35);
  display:flex;
  flex-direction:column;
}

.detail-gallery__title{
  margin:0 46px 16px 0;
  font-size:20px;
  flex:0 0 auto;
}

.detail-gallery__grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(256px, 256px));
  justify-content:center;
  gap:14px;
  overflow:auto;
  max-height:calc(100dvh - 240px - env(safe-area-inset-bottom));
  padding-right:4px;
  -webkit-overflow-scrolling:touch;
}

.detail-gallery__item{
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  padding:0;
  background:#fff;
  cursor:pointer;
}

.detail-gallery__item img{
  display:block;
  width:256px;
  height:192px;
  object-fit:cover;
}

.detail-gallery__close{
  position:absolute;
  top:14px;
  right:14px;
  width:42px;
  height:42px;
  border-radius:999px;
  border:0;
  background:rgba(0,0,0,0.1);
  color:#111;
  font-size:18px;
  cursor:pointer;
  z-index:2;
}

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.86);
  display:grid;
  place-items:center;
  z-index:110;
  padding:120px 18px calc(18px + env(safe-area-inset-bottom));
}

.lightbox__img{
  max-width:min(1100px,96vw);
  max-height:calc(100dvh - 170px - env(safe-area-inset-bottom));
  border-radius:12px;
}

.lightbox__close{
  position:fixed;
  top:126px;
  right:14px;
  width:42px;
  height:42px;
  border-radius:999px;
  border:0;
  background:rgba(255,255,255,0.18);
  color:#fff;
  font-size:18px;
  cursor:pointer;
}

/* Mail modal */
.mail-modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.72);
  display:grid;
  place-items:start center;
  z-index:120;
  padding:130px 18px calc(18px + env(safe-area-inset-bottom));
  overflow:auto;
  -webkit-overflow-scrolling:touch;
}

.mail-modal__dialog{
  position:relative;
  width:min(760px,96vw);
  max-height:calc(100dvh - 160px - env(safe-area-inset-bottom));
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
  background:#fff;
  border-radius:16px;
  padding:22px 18px 18px;
  box-shadow:0 20px 50px rgba(0,0,0,0.35);
}

.mail-modal__close{
  position:absolute;
  top:14px;
  right:14px;
  width:42px;
  height:42px;
  border-radius:999px;
  border:0;
  background:rgba(0,0,0,0.08);
  color:#111;
  font-size:18px;
  cursor:pointer;
}

.mail-modal__title{
  margin:0 46px 18px 0;
  font-size:22px;
}

.mail-form__grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:14px;
}

.mail-form__field{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.mail-form__field--full{
  grid-column:1 / -1;
}

.mail-form__field span{
  font-size:13px;
  color:var(--muted);
}

.mail-form__field input,
.mail-form__field textarea{
  width:100%;
  border:1px solid rgba(0,0,0,0.14);
  border-radius:10px;
  padding:11px 12px;
  font:inherit;
  color:var(--blk);
  background:#fff;
}

.mail-form__field input[readonly]{
  background:#f4f4f4;
}

.mail-form__field textarea{
  resize:vertical;
  min-height:140px;
  max-height:38dvh;
}

.mail-form__actions{
  margin-top:16px;
  display:flex;
  justify-content:flex-end;
  position:sticky;
  bottom:0;
  background:#fff;
  padding-top:12px;
  padding-bottom:calc(2px + env(safe-area-inset-bottom));
  z-index:1;
}

.mail-form{
  position:relative;
}

.mail-form__loading[hidden]{
  display:none;
}

.mail-form__loading{
  position:absolute;
  inset:0;
  display:grid;
  place-items:center;
  background:rgba(255,255,255,0.88);
  z-index:20;
  border-radius:16px;
}

.mail-form__loading-box{
  display:grid;
  gap:12px;
  justify-items:center;
  text-align:center;
  padding:20px;
}

.mail-form__spinner{
  width:36px;
  height:36px;
  border:4px solid #ddd;
  border-top-color:#785c0a;
  border-radius:50%;
  animation:mailSpin 0.8s linear infinite;
}

@keyframes mailSpin{
  to{
    transform:rotate(360deg);
  }
}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  padding:18px;
}

.footer__inner{
  max-width:var(--max);
  margin:0 auto;
  display:flex;
  gap:10px;
  justify-content:space-between;
  color:var(--muted);
  font-size:12px;
}

/* Burger */
.burger{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  min-width:42px;
  height:42px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#ecf0e1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  flex-direction:row;
  gap:8px;
  padding:0 12px;
  z-index:10001;
}

.burger__icon{
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:4px;
}

.burger__icon span{
  display:block;
  width:20px;
  height:4px;
  background:var(--fg);
  border-radius:5px;
}

.burger__text{
  font-size:14px;
  font-weight:600;
  color:var(--fg);
  line-height:1;
  white-space:nowrap;
}

/* Drawer */
.drawer{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.35);
  z-index:10002;
}

.drawer__panel{
  position:absolute;
  top:20px;
  right:20px;
  width:min(320px,92vw);
  background:#fff;
  border:1px solid var(--line);
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 16px 40px rgba(0,0,0,0.18);
}

.drawer__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 14px;
  border-bottom:1px solid var(--line);
}

.drawer__title{
  font-size:14px;
  color:var(--muted);
}

.drawer__close{
  width:38px;
  height:38px;
  border:1px solid var(--line);
  border-radius:12px;
  background:#fff;
  cursor:pointer;
}

.drawer__link{
  display:block;
  padding:12px 14px;
  text-decoration:none;
  color:var(--blk);
  border-bottom:1px solid var(--line);
}

.drawer__link:last-child{border-bottom:0}
.drawer__link:hover{background:#fafafa}

.drawer__link--sub{
  padding-left:28px;
  font-size:13px;
  color:var(--muted);
}

.drawer__link--action{
  width:100%;
  text-align:left;
  background:none;
  border:0;
  cursor:pointer;
  font:inherit;
}

/* Data-Tag ve Subtitle görünmesin */
.tag,
.subtitle{
  display:none;
}

.social__btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  white-space:nowrap;
  margin-top:10px;
}

.social + .btn{
  margin-top:10px;
}

.buyer-thread-modal{
  position:fixed;
  inset:0;
  z-index:1400;
  padding:110px 16px 24px;
  background:rgba(0,0,0,.55);
  display:flex;
  align-items:flex-start;
  justify-content:center;
}

.buyer-thread-modal[hidden]{
  display:none !important;
}

.buyer-thread-modal__dialog{
  position:relative;
  width:min(860px, 100%);
  max-height:calc(100dvh - 140px);
  overflow:auto;
  background:#fff;
  color:#111;
  border-radius:18px;
  padding:22px;
  box-shadow:0 20px 60px rgba(0,0,0,.28);
}

.buyer-thread-modal__close{
  position:absolute;
  top:12px;
  right:12px;
  width:40px;
  height:40px;
  border:0;
  border-radius:999px;
  cursor:pointer;
  font-size:22px;
  background:#f2f2f2;
}

.buyer-thread-modal__title{
  margin:0 44px 18px 0;
  font-size:1.4rem;
  font-weight:700;
}

.buyer-thread-search__grid,
.buyer-thread-summary{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:14px;
}

.buyer-thread-search__field,
.buyer-thread-compose__field,
.buyer-thread-summary__item{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.buyer-thread-search__field span,
.buyer-thread-compose__field span,
.buyer-thread-summary__item span{
  font-weight:600;
  font-size:.95rem;
}

.buyer-thread-search__field input,
.buyer-thread-compose__field input,
.buyer-thread-compose__field textarea{
  width:100%;
  border:1px solid #d7d7d7;
  border-radius:12px;
  padding:12px 14px;
  font:inherit;
  background:#fff;
}

.buyer-thread-compose__field textarea{
  resize:vertical;
  min-height:120px;
}

.buyer-thread-search__actions,
.buyer-thread-compose__actions{
  margin-top:14px;
}

.buyer-thread__loading{
  margin-top:12px;
  font-size:.95rem;
  color:#444;
}

.buyer-thread-panel{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid #e7e7e7;
}

.buyer-thread-summary{
  margin-bottom:18px;
}

.buyer-thread-summary__item{
  padding:12px 14px;
  border:1px solid #ececec;
  border-radius:14px;
  background:#fafafa;
}

.buyer-thread-history__title,
.buyer-thread-compose__title{
  margin:0 0 12px;
  font-size:1.05rem;
}

.buyer-thread-messages{
  display:flex;
  flex-direction:column;
  gap:12px;
  margin-bottom:18px;
}

.buyer-thread__message,
.buyer-thread__empty{
  border:1px solid #e8e8e8;
  border-radius:14px;
  padding:14px;
  background:#fff;
}

.buyer-thread__message-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}

.buyer-thread__message-sender{
  font-size:.98rem;
}

.buyer-thread__message-time{
  font-size:.85rem;
  color:#666;
}

.buyer-thread__message-subject{
  font-weight:700;
  margin-bottom:8px;
}

.buyer-thread__message-body{
  margin:0;
  white-space:pre-wrap;
  line-height:1.5;
}

.buyer-thread-role{
  border:0;
  margin:0 0 14px;
  padding:0;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.buyer-thread-role__option{
  display:inline-flex;
  align-items:center;
  gap:8px;
  cursor:pointer;
}

.footer__inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  text-align:center;
}

.footer__contact,
.footer__copy{
  font-size:14px;
  line-height:1.5;
}

.footer__mail{
  color:inherit;
  text-decoration:none;
  font-weight:600;
}

.footer__mail:hover{
  text-decoration:underline;
}

/* Responsive */
@media (max-width:980px){
  .hero{
    grid-template-columns:1fr;
  }

  .works{
    grid-template-columns:1fr;
  }

  .gallery{
    grid-template-columns:repeat(2,1fr);
  }

  .topbar{
    padding:5px 14px;
    gap:10px;
  }

  /*.topbar__terms{
    margin-left:4px;
    gap:6px;
    font-size:12px;
    white-space:normal;
    max-width:118px;
    align-items:flex-start;
  }

  .topbar__terms-text{
    display:block;
    line-height:1.1;
  }

  .topbar__terms-icon{
    font-size:15px;
    margin-top:1px;
  }*/

  .burger{
    min-width:42px;
    height:40px;
    gap:6px;
    padding:0 10px;
    border-radius:10px;
  }

  .burger__icon span{
    width:16px;
    height:4px;
  }

  .burger__text{
    font-size:10px;
  }
}

@media (max-width: 768px){
  .footer__contact,
  .footer__copy{
    font-size:11px;
  }

 /* .topbar__terms .topbar__terms-text{
    font-size:11px;
  }*/
  .topbar__terms{
    /*margin-left: -6px;*/
	transform: translateX(-8px);
    gap: 4px;
    white-space: normal;
    max-width: 82px;
    align-items: flex-start;
  }

  .topbar__terms-icon{
    font-size: 14px;
    margin-top: 1px;
  }

  .topbar__terms-text{
    display: block;
    font-size: 9px;
    line-height: 1.02;
  }
}


@media (max-width:700px){
  .buyer-thread-modal{
    padding:92px 10px 16px;
  }

  .buyer-thread-modal__dialog{
    padding:18px;
    max-height:calc(100dvh - 108px);
  }

  .buyer-thread-search__grid,
  .buyer-thread-summary{
    grid-template-columns:1fr;
  }
  
	.footer__contact,
	.footer__copy{
	font-size:12px;
}

}

.mail-form__field--ghost{
  visibility: hidden;
  pointer-events: none;
}

@media (max-width:640px){
  .detail-gallery{
    width:min(96vw,96vw);
    max-height:calc(100dvh - 132px - env(safe-area-inset-bottom));
    padding:18px 12px 12px;
  }

  .detail-gallery__grid{
    grid-template-columns:repeat(2, minmax(0,1fr));
    gap:10px;
    max-height:calc(100dvh - 210px - env(safe-area-inset-bottom));
  }

  .detail-gallery__item img{
    width:100%;
    height:auto;
    aspect-ratio:4/3;
  }

  .gallery{
    grid-template-columns:1fr;
  }

  .mail-form__grid{
    grid-template-columns:1fr;
  }

  .mail-modal{
    padding:120px 10px calc(10px + env(safe-area-inset-bottom));
  }

  .mail-modal__dialog{
    width:min(96vw,96vw);
    max-height:calc(100dvh - 136px - env(safe-area-inset-bottom));
    padding:18px 12px 12px;
    border-radius:14px;
  }

  .mail-form__field textarea{
    min-height:120px;
    max-height:34dvh;
  }

  .topbar{
    padding:4px 10px;
    gap:8px;
  }

  .brand__logo{
    height:60px;
  }

 /* .topbar__terms{
    margin-left:2px;
    gap:5px;
    font-size:11px;
    max-width:102px;
  }*/

  .topbar__nav{
    gap:6px;
  }

.topbar__terms{
  margin-left:2px;
  gap:4px;
  max-width:86px;
  align-items:flex-start;
}

.topbar__terms-text{
  font-size:10px;
  line-height:1.05;
}

  .topbar__link{
    font-size:11px;
  }

  .social__btn{
    width:24px;
    height:24px;
    font-size:11px;
  }

  .burger{
    min-width:42px;
    height:36px;
    gap:5px;
    padding:0 8px;
    border-radius:10px;
  }

  .burger__icon span{
    width:16px;
    height:4px;
  }

  .burger__text{
    font-size:10px;
  }
}

.hero,
.hero__media,
.hero__viewport{
  position:relative;
  z-index:1;
}