:root {
  color-scheme: light;
  --paper: #f8f5ef;
  --stone: #eee6da;
  --ink: #231d1a;
  --wine: #342026;
  --wine-deep: #27191c;
  --cream: #fbf1e3;
  --muted: #66564f;
  --line: #d9ccbe;
  --sans: "Jost", system-ui, sans-serif;
  --gutter: clamp(16px, 4.5vw, 78px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.55 var(--sans); }
h1, h2, p, figure { margin: 0; }
h1, h2 { font-family: var(--sans); font-weight: 400; line-height: .98; }
a, button, input, select { color: inherit; }
button { font: inherit; cursor: pointer; }
a { text-underline-offset: .28em; }
:focus-visible { outline: 2px solid #9e7155; outline-offset: 4px; }
.site-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 13px var(--gutter); border-bottom: 1px solid var(--line); }
.menu-button, .cart-toggle { display: flex; align-items: center; gap: 9px; border: 0; background: none; padding: 8px 0; }
.menu-button {
  justify-self: start;
  font: 600 1.2rem/1 'Cormorant Garamond', Georgia, serif;
  letter-spacing: .035em;
}
.menu-button span { width: 18px; height: 8px; border-block: 1px solid; }
.cart-toggle { justify-self: end; white-space: nowrap; }
.cart-count { display: grid; place-items: center; min-width: 24px; height: 24px; padding-inline: 4px; color: var(--cream); background: var(--wine); border-radius: 50%; font-size: .78rem; }
.brand { text-align: center; text-decoration: none; }
.brand-mark { display: block; position: relative; width: 62px; height: 38px; margin: 0 auto 4px; overflow: hidden; mix-blend-mode: multiply; }
.brand-mark img { position: absolute; width: 150%; height: auto; max-width: none; left: 50%; top: 50%; transform: translate(-50%, -51.3%); }
.brand small { display: block; letter-spacing: .24em; font-size: .65rem; }
.hero { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; min-height: clamp(450px, 42.63vw, 820px); color: var(--cream); background: #20130d; }
.hero-art { position: absolute; inset: 0; z-index: -1; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #170d08e6, #170d0880 33%, #170d0800 62%); }
.intro { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(36px, 5vw, 92px) var(--gutter); width: min(49%, 760px); }
[dir="rtl"] .hero-art { transform: scaleX(-1); }
h1 { font-size: clamp(2.95rem, 5.7vw, 6.7rem); letter-spacing: -.025em; line-height: 1.04; font-weight: 400; }
h1 em { color: #efd2b3; font-style: normal; font-weight: 400; }
.intro p { max-width: 36ch; margin-top: 20px; color: #f3e0d4; }
.intro .motto { margin-top: 24px; color: #efd2b3; font: italic 400 clamp(1.65rem, 2.7vw, 2.65rem)/1.1 var(--sans); }
.intro .motto + p { margin-top: 10px; }
.action { display: inline-flex; align-items: center; justify-content: center; padding: 11px 18px; border: 1px solid var(--wine); background: var(--wine); color: var(--cream); text-decoration: none; }
.action:hover { background: var(--wine-deep); }
.intro .action { margin-top: clamp(21px, 3vw, 38px); background: transparent; border-color: #bba49a; }
.intro .action:hover { color: var(--wine); background: var(--cream); border-color: var(--cream); }
.style-feature { margin-top: 6px; }
.style-feature h2 { font-size: clamp(2.9rem, 6vw, 6rem); }
.style-feature .style-caption { margin-top: 8px; font-size: .875rem; color: #e4c8b7; }
.style-feature-light { color: #2f241e; background: #eee3d6; }
.style-feature-light .hero-art::after { background: linear-gradient(90deg, #eee3d6ee, #eee3d66b 35%, #eee3d600 62%); }
.style-feature-light .intro p { color: #493a31; }
.style-feature-light .intro .action { color: #2f241e; border-color: #866e5e; }
.style-feature-light .intro .action:hover { color: var(--cream); background: var(--wine); border-color: var(--wine); }
#koleksiyon[hidden] { display: none; }
.collection-back { font-size: .925rem; text-underline-offset: .25em; }
.collection {
  --collection-ink: #252525;
  --collection-muted: #626262;
  padding: clamp(42px, 6vw, 86px) var(--gutter) clamp(50px, 7vw, 100px);
  color: var(--collection-ink);
  background: #fdfdfd;
}
.section-head { display: grid; justify-items: start; gap: 10px; margin-bottom: clamp(20px, 2.5vw, 34px); }
h2 { font-size: clamp(2.6rem, 5.5vw, 5rem); }
.section-head h2 { line-height: 1.16; }
.collection-intro { color: var(--collection-muted); line-height: 1.5; }
.note { color: var(--muted); font-size: .875rem; }
.grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(26px, 3vw, 46px) clamp(12px, 1.1vw, 20px);
}
.featured .section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 14px 24px; }
.featured h2 { font: 400 clamp(2rem, 4vw, 4rem)/1.16 Georgia, serif; }
.card { display: block; width: 100%; min-width: 0; padding: 0; border: 0; background: none; text-align: start; align-self: start; }
.card img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  background: #e8ddd4;
  filter: saturate(.8) brightness(1.04);
}
.card-label { display: grid; justify-items: start; gap: 3px; padding-top: 12px; }
.card-label strong { font: 500 clamp(.925rem, 1.2vw, 1.125rem)/1.25 var(--sans); }
.card-label small { color: var(--collection-muted); font-size: .875rem; }
.card:hover .card-label strong { text-decoration: underline; text-underline-offset: .22em; }
footer { padding: clamp(35px, 5vw, 76px) var(--gutter); display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(22px, 4vw, 64px); align-items: center; color: var(--ink); background: var(--paper); border-top: 1px solid var(--line); }
.footer-brand { display: inline-flex; justify-self: start; align-items: center; gap: 11px; font: 600 .9rem/1.2 var(--sans); text-decoration: none; }
.footer-brand .brand-mark { width: 38px; height: 24px; margin: 0; mix-blend-mode: multiply; }
.footer-contact { justify-self: end; min-width: 0; }
.footer-contact h2 { font: 500 1.2rem/1.3 var(--sans); margin-bottom: 8px; }
.footer-contact p { margin-bottom: 8px; }
.mail-link { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; text-decoration: none; font-size: 1.25rem; }
.mail-link:hover { background: var(--stone); }
.social-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.social-links a { display: grid; width: 42px; height: 42px; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.social-links a:hover { color: var(--wine-deep); background: var(--stone); }
.social-links svg { width: 20px; height: 20px; }
dialog { color: inherit; background: var(--paper); border: 1px solid var(--line); }
dialog::backdrop { background: #21151bc0; backdrop-filter: blur(3px); }
body:has(dialog[open]) { overflow: hidden; }
#menu, .side-panel { height: 100dvh; max-height: none; padding: clamp(20px, 4vw, 38px); }
#menu {
  margin: 0;
  width: min(440px, 92vw);
  color: var(--ink);
  background: var(--paper);
  border: 0;
  border-inline-end: 1px solid var(--line);
  box-shadow: 0 0 38px #21151b55;
}
@media (prefers-reduced-motion: no-preference) {
  #menu[open] { animation: menu-slide-in 280ms cubic-bezier(.22, 1, .36, 1); }
  #menu[open]::backdrop { animation: menu-backdrop-in 280ms ease-out; }
}
@keyframes menu-slide-in {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}
@keyframes menu-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
#menu .dialog-top { padding-bottom: 20px; border-bottom: 1px solid var(--line); }
#menuTitle {
  font: 600 clamp(2.55rem, 8vw, 3.75rem)/1.02 'Cormorant Garamond', Georgia, serif;
  letter-spacing: -.02em;
}
#menu .menu-close { display: grid; place-items: center; flex: 0 0 44px; height: 44px; padding: 0; border-radius: 50%; border-color: var(--line); font-size: 2rem; line-height: 1; }
#menu .menu-close:hover { background: var(--stone); }
.side-panel { margin: 0 0 0 auto; width: min(460px, 100%); }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.close { padding: 7px 12px; border: 1px solid var(--line); background: transparent; }
.close:hover { background: var(--stone); color: var(--wine-deep); }
.nav-links { display: grid; margin-top: 12px; }
.nav-links a, .nav-links button {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 12px 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: start;
  text-decoration: none;
  font: 600 clamp(1.4rem, 4.8vw, 1.8rem)/1.2 'Cormorant Garamond', Georgia, serif;
}
.nav-links a:hover, .nav-links button:hover, .nav-links :focus-visible { background: var(--stone); }
.viewer { width: min(830px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; }
.viewer .dialog-top { position: sticky; top: 0; z-index: 1; padding: 15px clamp(16px, 4vw, 32px); background: var(--wine); color: var(--cream); }
.viewer h2 { font-size: clamp(1.8rem, 4.2vw, 3.35rem); }
.viewer .close { border-color: #ad9089; }
.photo-frame { height: min(53dvh, 560px); background: #e7dbce; }
.detail-photo { display: block; width: 100%; height: 100%; object-fit: contain; }
.detail-gallery:not([hidden]) { display: flex; gap: 8px; justify-content: center; padding: 12px; border-bottom: 1px solid var(--line); }
.detail-gallery button { padding: 2px; border: 1px solid transparent; background: none; }
.detail-gallery button[aria-pressed="true"] { border-color: var(--wine); }
.detail-gallery img { display: block; width: 60px; height: 50px; object-fit: cover; }
.detail-content { padding: clamp(16px, 4vw, 36px); }
.purchase-panel { background: var(--stone); padding: clamp(16px, 3vw, 28px); }
.stock-badge { display: inline-block; padding: 3px 9px; margin-bottom: 14px; color: #245138; background: #e3eadf; font-size: .875rem; font-weight: 600; }
#sizeForm { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 12px; align-items: center; }
.size-label { grid-column: 1 / -1; font-weight: 600; }
#sizeSelect { grid-column: 1; grid-row: 2; min-width: 0; width: 100%; height: 46px; padding: 8px 12px; background: var(--paper); border: 1px solid var(--line); font: inherit; }
#sizeForm .action { grid-column: 2; grid-row: 2; min-height: 46px; }
#sizeNote { grid-column: 1 / -1; }
.detail-section { margin-top: 24px; padding-top: 17px; border-top: 1px solid var(--line); }
.detail-section h3 { margin: 0 0 10px; font: 400 2rem/1.1 var(--sans); }
.product-facts { margin: 0; }
.product-facts div { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.product-facts dt { color: var(--muted); }
.product-facts dd { margin: 0; }
.side-panel .dialog-top { margin-bottom: 20px; }
.cart-items { list-style: none; margin: 0 0 20px; padding: 0; }
.cart-item { padding: 12px 0; display: grid; grid-template-columns: 70px 1fr auto; gap: 10px; align-items: center; border-bottom: 1px solid var(--line); }
.cart-item img { width: 70px; height: 58px; object-fit: cover; }
.cart-item button { background: none; border: 0; text-decoration: underline; text-underline-offset: .28em; }
#orderDraft { margin-top: 12px; }
@media (max-width: 740px) {
  .hero { min-height: 0; }
  .intro { width: 100%; padding: 34px var(--gutter) 28px; }
  h1 { font-size: clamp(2.8rem, 10vw, 5.2rem); }
  .intro p { margin-top: 12px; }
  .hero-art { position: relative; z-index: auto; }
  .hero-art img { height: auto; aspect-ratio: 1.8; object-position: right; }
  .hero-art::after { content: none; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo-frame { height: min(41dvh, 370px); }
  footer { grid-template-columns: 1fr; }
  .footer-contact { justify-self: start; }
}
@media (max-width: 360px) {
  #sizeForm { grid-template-columns: minmax(0, 1fr); }
  #sizeForm .action { grid-column: 1; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.header-tools { display: flex; justify-self: end; align-items: center; gap: clamp(8px, 2vw, 24px); }
.site-header { direction: ltr; }
.locale-controls { display: flex; gap: 8px; align-items: center; }
.language-picker { position: relative; color: var(--ink); z-index: 2; }
.language-picker summary, .language-picker button { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 10px; font: inherit; cursor: pointer; }
.language-picker summary { list-style: none; border: 1px solid var(--line); background: var(--paper); }
.language-picker summary::-webkit-details-marker { display: none; }
.language-picker summary::after { content: ""; width: 6px; height: 6px; margin-inline-start: 5px; border-right: 1px solid; border-bottom: 1px solid; transform: translateY(-2px) rotate(45deg); }
.language-picker img { display: block; width: 22px; height: 15px; object-fit: fill; border-radius: 0; }
.language-picker ul { position: absolute; inset: 100% 0 auto auto; min-width: max(100%, 132px); margin: 4px 0 0; padding: 4px; list-style: none; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 9px 20px #21151b26; }
.language-picker button { width: 100%; border: 0; background: transparent; }
.language-picker button:hover, .language-picker button[aria-pressed="true"] { background: var(--stone); }
#regionalTime { color: var(--muted); font-size: .82rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.card-colors { display: flex; gap: 6px; align-items: center; flex-basis: 100%; padding-top: 4px; }
.card-colors span { display: block; width: 14px; height: 14px; border: 1px solid #736558; border-radius: 50%; }
.material-note { margin-top: 7px; }
@media (max-width: 930px) {
  .locale-controls { flex-direction: column; align-items: end; gap: 2px; }
}
@media (max-width: 560px) {
  .site-header { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); row-gap: 8px; }
  .menu-button, .cart-toggle { min-height: 44px; }
  .header-tools { display: contents; }
  .locale-controls { grid-row: 2; grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; gap: 8px; }
  .language-picker ul { inset-inline: 0 auto; }
  .cart-toggle { grid-row: 1; grid-column: 3; font-size: .9rem; }
}

.hero-brand { margin-bottom: 12px; }
.hero-brand .brand-mark { margin: 0; }
.hero-collection h1 { font-family: Georgia, serif; font-size: clamp(2.55rem, 6vw, 6.35rem); }
.hero-collection .intro { gap: 14px; padding-block: clamp(28px, 4vw, 70px); }
.hero-collection .intro .motto { margin-top: 0; color: #30231c; font: italic 400 clamp(1.2rem, 2.3vw, 1.95rem)/1.3 Georgia, serif; }
.hero-collection .intro .hero-description { margin-top: 0; color: #382b23; font-size: clamp(1rem, 1.5vw, 1.15rem); font-weight: 500; line-height: 1.55; }
.hero-collection .intro .action { margin-top: 4px; font-weight: 600; }
.bow-feature .action { white-space: nowrap; }
.contact-page h2 { margin-block: 24px 14px; font-family: Georgia, serif; }
.contact-page .action { margin-top: 24px; }

/* Brand panels */
#menu {
  background: radial-gradient(ellipse at top right, #e8dbca 0%, transparent 55%),
    linear-gradient(155deg, #fbf7f0, #f1e8db);
}
.panel-heading {
  display: grid;
  justify-items: start;
  gap: .65rem;
  min-width: 0;
}
.panel-monogram {
  display: block;
  width: 72px;
  height: 48px;
  object-fit: cover;
  mix-blend-mode: multiply;
}
#menu .dialog-top { align-items: start; }
#menuTitle {
  font: 500 clamp(2.15rem, 7vw, 3.35rem)/1.05 'Bodoni Moda', Georgia, serif;
  letter-spacing: -.035em;
}
#menu .nav-links a, #menu .nav-links button {
  font: 500 clamp(1.35rem, 4.6vw, 1.7rem)/1.35 'Bodoni Moda', Georgia, serif;
}

.style-feature h2 {
  font: italic 500 clamp(3rem, 7vw, 7rem)/.98 'Bodoni Moda', Georgia, serif;
  letter-spacing: -.045em;
}
.style-feature .intro p:not(.style-caption) {
  font: 600 clamp(1.2rem, 2.2vw, 1.8rem)/1.2 'Cormorant Garamond', Georgia, serif;
}
.style-feature .intro .style-caption { letter-spacing: .04em; }
.style-feature .intro .action {
  font: 600 1.15rem/1.2 'Cormorant Garamond', Georgia, serif;
}
.featured { background: #efe6db; }
.featured h2 { font: 500 clamp(2.25rem, 5vw, 4.5rem)/1.05 'Bodoni Moda', Georgia, serif; }
.featured .section-head { padding-bottom: 1.15rem; border-bottom: 1px solid #cbb6a4; }
.featured .card {
  display: grid;
  grid-template-rows: auto 1fr;
  align-self: stretch;
  background: #fcf8f2;
}
.featured .card img { aspect-ratio: 4 / 5; }
.featured .card-label {
  grid-template-rows: 1fr auto auto;
  gap: 6px;
  padding: 14px clamp(10px, 1.3vw, 16px) 16px;
}
.featured .card-label strong {
  font: 600 clamp(1.1rem, 2vw, 1.5rem)/1.15 'Cormorant Garamond', Georgia, serif;
}

.contact-page { background: #f5eee4; }
.contact-form { max-width: 760px; margin-top: 1.5rem; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.contact-form label { display: block; margin-bottom: 1rem; }
.contact-form input, .contact-form textarea {
  display: block;
  width: 100%;
  margin-top: .35rem;
  padding: .75rem;
  border: 1px solid #b9a491;
  background: #fffaf4;
  font: inherit;
}
.contact-form textarea { resize: vertical; }
.contact-form .action { margin-top: 0; }
.contact-form .note { margin-top: .65rem; }
@media (max-width: 560px) {
  .contact-fields { grid-template-columns: 1fr; gap: 0; }
}
