.chestnut {
  --wine: #4e2023;
  --ink: #2c211d;
  --muted: #66564c;
  color: var(--ink);
  background: #f8f2e6;
  border-block: 1px solid #ddcdb0;
  scroll-margin-top: 7rem;
}
.chestnut *, .chestnut *::after { box-sizing: border-box; }
.chestnut [hidden] { display: none; }
.chestnut__shell {
  width: var(--enb-global-shell-width, calc(100% - 32px));
  margin-inline: auto;
  padding-block: clamp(1.25rem, 2.2vw, 2.5rem);
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 3rem);
  align-items: start;
}
.chestnut__story, .chestnut__exhibit { min-width: 0; }
.chestnut__location { margin: 0 0 1rem; font-weight: 700; color: #78452d; letter-spacing: .065em; }
.chestnut .chestnut__story h1 {
  color: var(--wine);
  font: 600 clamp(2.35rem, 5vw, 4.8rem)/1.02 Georgia, serif;
  letter-spacing: -.045em;
  margin: 0;
  text-wrap: balance;
}
.chestnut__lead { max-width: 54ch; font-size: clamp(1rem, 1.5vw, 1.14rem); line-height: 1.65; margin: 1rem 0 1.5rem; }
.chestnut__offer { background: #fffcf5; border: 1px solid #cdbb99; border-inline-start: 4px solid #b98737; padding: clamp(1rem, 2vw, 1.5rem); border-radius: 0 1rem 1rem 0; }
.chestnut .chestnut__offer h2 { font: bold 1.4rem/1.2 Georgia, serif; color: var(--wine); margin: 0 0 .45rem; }
.chestnut__offer p, .chestnut__rental p { color: var(--muted); line-height: 1.55; margin: .4rem 0 .8rem; }
.chestnut__actions { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem 1.5rem; }
.chestnut__offer .chestnut__price { margin: 0; }
.chestnut__price strong { font-size: 1.4rem; color: var(--ink); }
.chestnut .chestnut__cta { background: var(--wine); color: white; display: inline-flex; align-items: center; justify-content: space-between; gap: 1.6rem; padding: .7rem 1.1rem; min-height: 46px; border-radius: .55rem; text-decoration: none; font-weight: 700; }
.chestnut__rental { margin-top: .75rem; }
.chestnut__rental summary, .chestnut__rental a { cursor: pointer; padding-block: .65rem; color: var(--wine); font-weight: 650; }
.chestnut__rental a { display: inline-block; text-underline-offset: .2em; text-decoration: underline; }
.chestnut__exhibit { position: relative; margin: 0; border-radius: 1.25rem; background: #331f1d; color: #fff6e6; overflow: hidden; }
.chestnut__stage { position: relative; aspect-ratio: 3/4; background: radial-gradient(ellipse at center, #fff7df, #e6d4af); }
.chestnut__stage img, .chestnut__stage canvas { display: block; width: 100%; height: 100%; }
.chestnut__stage img { object-fit: contain; }
.chestnut__stage .chestnut__backdrop { display: none; }
.chestnut__stage canvas { touch-action: pan-y; cursor: grab; }
.chestnut__turntable { position: absolute; inset: 0; pointer-events: none; background-size: 600% 400%; background-repeat: no-repeat; }
.chestnut__stage canvas:active { cursor: grabbing; }
.chestnut__switch, .chestnut__orbit { position: absolute; z-index: 1; display: flex; padding: .2rem; border: 1px solid #bca788; border-radius: .8rem; background: #fff9eb; color: #4e2023; }
.chestnut__switch { top: .75rem; left: .75rem; }
.chestnut__orbit { bottom: .7rem; left: 50%; transform: translateX(-50%); }
.chestnut__exhibit button { appearance: none; border: 0; background: transparent; color: inherit; border-radius: .55rem; min-height: 44px; min-width: 44px; padding: .4rem .8rem; font: inherit; font-weight: 650; cursor: pointer; white-space: nowrap; }
.chestnut__exhibit button[aria-pressed="true"] { color: white; background: #4e2023; }
.chestnut__exhibit figcaption { margin: 0; padding: .7rem 1rem; line-height: 1.4; font-size: .92rem; }
.chestnut :focus-visible { outline: 3px solid #136f8d; outline-offset: 2px; }
.chestnut canvas:focus-visible { outline-offset: -4px; }
@media (min-width: 48rem) {
  .chestnut__shell { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .chestnut__exhibit {
    align-self: stretch;
    display: grid;
    grid-template-rows: minmax(19rem, 1fr) auto;
  }
  .chestnut__stage { aspect-ratio: auto; overflow: hidden; }
  .chestnut__stage img, .chestnut__stage canvas { position: absolute; inset: 0; }
  .chestnut__stage:has([data-photo]:not([hidden])) .chestnut__backdrop {
    display: block;
    object-fit: cover;
    transform: scale(1.08);
    filter: blur(16px) brightness(.72);
  }
  .chestnut__turntable { inset-inline: 0; width: auto; max-width: 100%; height: 100%; aspect-ratio: 3 / 4; margin-inline: auto; }
}
@media (max-width: 47.99rem) {
  .chestnut__exhibit { width: min(100%, 28rem); margin-inline: auto; }
}

.chestnut__location { display:flex; align-items:center; gap:.8rem; }
.chestnut__roast { display:inline-flex; align-items:end; gap:2px; padding-bottom:3px; border-bottom:2px solid #a77442; border-radius:0 0 50% 50%; }
.chestnut__roast i { position:relative; display:block; width:1.25em; height:1.12em; border-radius:62% 34% 40% 44% / 70% 52% 36% 32%; border:1px solid #693b26; background:radial-gradient(ellipse at 32% 31%,#d18d58 1%,#904325 30%,#58291b 68%,#d9a567 82%); transform-origin:50% 85%; }
.chestnut__roast i::after {content:"";position:absolute;inset:19% 24% 38%;background:linear-gradient(45deg,transparent 42%,#f2c078 45% 54%,transparent 58%),linear-gradient(-38deg,transparent 42%,#ecb46d 46% 54%,transparent 58%);}
.chestnut__roast i:nth-child(2) {width:1.04em;height:.98em;}
@keyframes chestnut-toss {
  0%, 72%, 100% {transform:translateY(0) rotate(0)}
  32% {transform:translateY(-.55em) rotate(-25deg)}
  55% {transform:translateY(-.12em) rotate(12deg)}
}
@media (prefers-reduced-motion:no-preference) {
  .chestnut__roast i { animation:chestnut-toss 1.4s ease-in-out 2; }
  .chestnut__roast i:nth-child(2) {animation-delay:.16s}
  .chestnut__roast i:nth-child(3) {animation-delay:.32s}
}
.chestnut-shop {padding-block:clamp(1.5rem,4vw,3.75rem);color:#35251f;background:#fffcf4;}
.chestnut-shop *, .chestnut-shop {box-sizing:border-box;}
.chestnut-shop [hidden], .ikram-store[data-store-service="kestaneci-kiralama"] label[hidden] {display:none;}
.chestnut-shop h2, .chestnut-shop h3 {color:#4e2023;font-family:Georgia,serif;line-height:1.15;margin:0 0 .6rem;}
.chestnut-shop h2 {font-size:clamp(1.8rem,3vw,3rem);}
.chestnut-shop h3 {font-size:1.35rem;}
.chestnut-shop .ikram-store__shell > p {max-width:75ch;margin:0 0 1.25rem;line-height:1.55;}
.chestnut-shop__grid {display:grid;gap:clamp(1rem,3vw,2.5rem);align-items:start;}
.chestnut-shop__grid > *, .chestnut-shop th, .chestnut-shop td {min-width:0;}
.chestnut-shop__table {table-layout:fixed;width:100%;min-width:0;border-collapse:collapse;color:#37251f;font-size:clamp(.8rem,1.4vw,1rem);}
.chestnut-shop__table caption {text-align:start;font-weight:700;padding-bottom:.7rem;}
.chestnut-shop__table th,.chestnut-shop__table td {padding:.6rem .32rem;vertical-align:middle;text-align:start;border-bottom:1px solid #dcceb8;overflow-wrap:anywhere;}
.chestnut-shop__table th:first-child {width:40%;}
.chestnut-shop__table th:nth-child(2) {width:20%;}
.chestnut-shop__table th:nth-child(3) {width:15%;}
.chestnut-shop__table thead {background:#efe5d3;}
.chestnut-shop__table td:last-child {color:#166342;font-weight:750;}
.chestnut-shop__table tr:has(:checked) {background:#fff0c8;}
.chestnut-shop__table label {display:flex;gap:.4rem;align-items:center;min-height:44px;cursor:pointer;line-height:1.25;}
.chestnut-shop input[type=radio] {width:1rem;height:1rem;flex:none;accent-color:#743d25;}
.chestnut-shop__brand {margin-top:1rem;border-block:1px solid #c7ae8d;}
.chestnut-shop__brand summary {padding:.85rem 0;cursor:pointer;font-weight:700;}
.chestnut-shop__brand img {display:block;width:100%;height:auto;border-radius:8px;}
.chestnut-shop__order {display:grid;gap:.85rem;padding:clamp(.85rem,2vw,1.6rem);border:1px solid #bba485;background:#fff;border-radius:1rem;}
.chestnut-shop__order label {display:grid;gap:.35rem;font-weight:650;font-size:.92rem;}
.chestnut-shop__order input,.chestnut-shop__order select {border:1px solid #a38b76;border-radius:.5rem;background:#fff;color:#35251f;padding:.55rem;width:100%;min-width:0;min-height:44px;font:inherit;}
.chestnut-shop__inputs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem;}
.chestnut-shop__receipt {border-block:1px solid #d6c6b2;padding-block:.9rem;line-height:1.55;}
.chestnut-shop__receipt p {margin:.35rem 0;}
.chestnut-shop__receipt strong {color:#542627;}
.chestnut-shop__order .chestnut__cta {display:block;padding:.8rem 1rem;text-align:center;font-weight:750;color:#fff;background:#542627;border:0;border-radius:.65rem;cursor:pointer;}
.chestnut-shop__order .chestnut__cta[hidden] {display:none;}
.chestnut-shop__order small {color:#604c3e;}
.chestnut-shop__order [role=status] {margin:0;}
.chestnut-shop__order [role=status]:empty {display:none;}
.chestnut-shop :focus-visible {outline:3px solid #186b74;outline-offset:2px;}
[data-order-form-summary] {white-space:pre-line;}
@media (min-width:52rem) {.chestnut-shop__grid {grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);}}
@media (max-width:30rem) {.chestnut-shop__table th,.chestnut-shop__table td{padding-inline:.2rem;}.chestnut-shop__table label{gap:.25rem;}}

.chestnut-shop__order details summary {padding-block:.55rem;cursor:pointer;}

.chestnut-shop__table button {
  padding: .45rem .25rem; min-height: 44px; border: 0; background: transparent;
  color: #65272a; font: inherit; font-weight: 700; text-align: start; text-decoration: underline;
  text-underline-offset: .2em; cursor: pointer;
}
.chestnut-shop__order, .chestnut-shop__brand { scroll-margin-top: 8rem; }
.chestnut-shop__order { border-block-start: 4px solid #ae7226; }
.chestnut-shop__receipt { padding: 1rem; background: #fff3d9; border: 1px solid #d6ad67; border-radius: .65rem; }
.ikram-store[data-store-service="kestaneci-kiralama"] .ikram-store__contact-card { background: #fffaf2; border-color: #bb9774; }
.ikram-store[data-store-service="kestaneci-kiralama"] .ikram-store__form-intro { margin: 0; text-align: start; }
.ikram-store[data-store-service="kestaneci-kiralama"] .ikram-store__form-intro h2 { color: #502326; }
.ikram-store[data-store-service="kestaneci-kiralama"] .ikram-store__field :is(input,select,textarea) {
  background-color: white; border-color: #a28a76; color: #32221d;
}
.ikram-store[data-store-service="kestaneci-kiralama"] .ikram-store__field :is(input,select,textarea):focus-visible {
  outline: 3px solid #8d4a23; outline-offset: 2px;
}
.chestnut-booking {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  min-width: 0; padding: clamp(1rem,2vw,1.6rem); background: #55282b; color: #fff5e4;
  border-inline-start: 5px solid #d69b42; border-radius: .75rem; overflow-wrap: anywhere;
}
.ikram-store .chestnut-booking h3 { color: #fff; margin: 0 0 .45rem; font-size: 1.2rem; }
.ikram-store .chestnut-booking p { color: #fff1dc; margin: .25rem 0; }
.chestnut-booking__price { display: grid; gap: .3rem; justify-items: start; }
.chestnut-booking__price strong { color: #ffe19b; font-size: 1.15rem; }
.ikram-store .chestnut-booking a { color: white; text-decoration: underline; text-underline-offset: .2em; display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 47.99rem) {
  .chestnut__location { margin-bottom: .65rem; }
  .chestnut__lead { margin-block: .7rem 1rem; line-height: 1.5; }
}

.chestnut-shop__examples > summary { cursor:pointer; min-height:44px; padding:.65rem .8rem; font-weight:700; color:#512622; }

.chestnut-shop__order [data-legacy-chestnut]:not([hidden]) { display: contents; }
.chestnut-shop__order [data-legacy-chestnut][hidden],
.chestnut-shop__order [data-chestnut-unit-mount]:empty,
.chestnut-shop__order [data-chestnut-unit-mount]:has(> [hidden]) { display: none; }
.chestnut-shop__order [data-chestnut-unit-mount] .enb-food-plan { margin-block: 0; padding: 0; border: 0; box-shadow: none; }
