/* Olloo error pages — "Atelier" design (from the OLLOO error-page pack). Classes are prefixed e- so they never clash
   with the shop's own styles. Used inside the shop (.errp) and by the standalone /404.html and /error.html. */
.errp { --e-bg: #f2ede5; --e-ink: #312a24; --e-line: rgba(49, 42, 36, .12); --e-accent: #b39b83; --e-frame: #efe8df;
  --e-serif: Didot, "Bodoni MT", "Cormorant Garamond", Georgia, "Times New Roman", serif; --e-text: Georgia, "Times New Roman", serif; --e-sans: "Jost", Arial, Helvetica, sans-serif;
  background: var(--e-bg); color: var(--e-ink); }
.errp *, .errp *::before, .errp *::after { box-sizing: border-box; }
.errp a { color: inherit; }

/* standalone page chrome */
.e-screen { min-height: 100dvh; display: flex; flex-direction: column; overflow: hidden; position: relative; }
.e-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px clamp(28px, 5vw, 80px); background: var(--e-bg); }
.e-head .e-logo { width: 130px; height: auto; display: block; }
.e-head .e-right { display: flex; align-items: center; gap: 22px; }
.e-tag, .e-lang { font: 600 10px/1.3 var(--e-sans); letter-spacing: .19em; text-transform: uppercase; text-decoration: none; }
.e-tag { opacity: .52; }
.e-lang { border-bottom: 1px solid currentColor; padding: 6px 0; background: none; border-top: 0; border-left: 0; border-right: 0; color: inherit; cursor: pointer; }
.e-foot { display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 20px clamp(28px, 5vw, 80px); font: 10px var(--e-sans); text-transform: uppercase; letter-spacing: .19em; opacity: .58; }

/* the page */
.e-hero { width: 100%; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: stretch; flex: 1; min-height: 580px; border-top: 1px solid var(--e-line); }
.e-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; padding: 60px 6vw 70px clamp(28px, 7vw, 112px); max-width: 950px; }
.e-copy::after { content: ""; width: 65px; height: 1px; background: var(--e-accent); position: absolute; left: clamp(28px, 7vw, 112px); bottom: 22px; }
.e-eyebrow { font: 700 10px/1.5 var(--e-sans); letter-spacing: .28em; text-transform: uppercase; margin: 0 0 32px; opacity: .64; }
.e-num { font-family: var(--e-text); font-size: clamp(22px, 3.3vw, 48px); letter-spacing: -.05em; opacity: .52; margin-bottom: 8px; }
.e-h1 { font-family: var(--e-serif); font-weight: 400; letter-spacing: -.045em; line-height: 1.02; font-size: clamp(56px, 7.2vw, 112px); margin: 0 0 29px; max-width: 850px; overflow-wrap: break-word; color: inherit; }
.e-p { font-family: var(--e-text); font-size: clamp(16px, 1.38vw, 20px); line-height: 1.7; max-width: 490px; margin: 0; opacity: .82; }
.e-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 42px; }
.e-cta { display: inline-flex; justify-content: center; align-items: center; gap: 15px; padding: 17px 22px; min-height: 51px; text-decoration: none; border: 1px solid transparent; background: #29231e; color: #fff !important;
  font: 700 10px var(--e-sans); letter-spacing: .16em; text-transform: uppercase; transition: transform .3s ease, background .3s ease, border-color .3s ease; touch-action: manipulation; }
.e-cta.e-secondary { background: transparent; color: inherit !important; border-color: currentColor; }
.e-cta:hover { transform: translateY(-3px); }
.e-cta:focus-visible, .e-lang:focus-visible { outline: 3px solid #9e8260; outline-offset: 4px; }
.e-visual { min-height: 570px; position: relative; overflow: hidden; background: #baada0; border-left: 16px solid var(--e-frame); }
.e-portrait { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 53% 32%; filter: saturate(.86); }
.e-visual::after { content: ""; inset: 0; position: absolute; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 58%, rgba(21, 15, 10, .45)); pointer-events: none; }
.e-rim { position: absolute; z-index: 2; inset: 22px; border: 1px solid rgba(255, 255, 255, .35); pointer-events: none; }
.e-note { position: absolute; z-index: 2; bottom: 35px; left: 35px; color: #fff; font: 700 10px/1.5 var(--e-sans); letter-spacing: .23em; text-transform: uppercase; }

/* compact (no portrait): e.g. empty search inside the shop */
.e-compact { grid-template-columns: 1fr; min-height: 0; border-top: 0; }
.e-compact .e-copy { padding: 70px 0 80px; }
.e-compact .e-copy::after { left: 0; }
.e-compact .e-h1 { font-size: clamp(44px, 5.4vw, 80px); }

/* inside the shop: the site header and footer stay around it */
.errp.in-shop .e-hero { min-height: calc(100dvh - 160px); }

@media (max-width: 780px) {
  .e-head { padding: 23px 24px; } .e-head .e-logo { width: 105px; } .e-tag { display: none; }
  .e-hero { grid-template-columns: 1fr; min-height: 0; }
  .e-copy { padding: 55px 27px 48px; } .e-copy::after { display: none; }
  .e-h1 { font-size: clamp(48px, 13vw, 77px); } .e-p { font-size: 17px; } .e-eyebrow { margin-bottom: 20px; }
  .e-visual { height: 280px; min-height: 280px; border-left: none; border-top: 10px solid var(--e-frame); }
  .e-foot { padding: 19px 24px; line-height: 1.6; }
  .e-ctas { gap: 10px; margin-top: 33px; } .e-cta { width: 100%; max-width: 330px; min-height: 50px; }
  .e-compact .e-copy { padding: 50px 0 60px; }
  .errp.in-shop .e-hero { min-height: 0; }
}
@keyframes e-enter { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes e-unveil { from { opacity: .55; transform: scale(1.025); } to { opacity: 1; transform: scale(1); } }
.e-eyebrow { animation: e-enter .6s ease both; } .e-num { animation: e-enter .65s .05s ease both; } .e-h1 { animation: e-enter .75s .12s cubic-bezier(.2, .7, .2, 1) both; }
.e-p { animation: e-enter .75s .2s ease both; } .e-ctas { animation: e-enter .7s .3s ease both; } .e-portrait { animation: e-unveil 1.2s ease-out both; }
@media (prefers-reduced-motion: reduce) { .errp *, .errp *::before, .errp *::after { transition: none !important; animation: none !important; } }
