/* ==========================================

   MAR&MA PHOTOBOOTH

   VINTAGE NEW YORK PHOTOBOOTH EXPERIENCE

   STYLE.CSS

========================================== */

/* ==========================================

   01. ROOT VARIABLES

========================================== */

:root {

  --black: #181716;

  --charcoal: #262523;

  --dark-gray: #41403d;

  --metal-light: #d7d4cf;

  --metal-mid: #aaa6a0;

  --metal-dark: #696662;

  --paper: #eeeae3;

  --paper-light: #faf8f3;

  --paper-dark: #d3cec6;

  --ink: #22211f;

  --muted: #76716b;

  --border: rgba(35, 33, 30, 0.35);

  --serif: "Cormorant Garamond", Georgia, serif;

  --sans: "DM Sans", Arial, sans-serif;

  --mono: "IBM Plex Mono", monospace;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

}

/* ==========================================

   02. GLOBAL RESET

========================================== */

* {

  box-sizing: border-box;

}

html {

  scroll-behavior: smooth;

}

body {

  margin: 0;

  min-height: 100vh;

  /* Silver background di luar mesin. */
  background: linear-gradient(135deg, #e8e8e6 0%, #c4c5c5 48%, #e0e0de 100%);

  color: var(--ink);

  font-family: var(--sans);

  -webkit-font-smoothing: antialiased;

}

button,

input {

  font: inherit;

}

button {

  cursor: pointer;

}

button:disabled {

  opacity: 0.4;

  cursor: not-allowed;

}

button:focus-visible,

input:focus-visible,

label:focus-within {

  outline: 2px solid #252321;

  outline-offset: 4px;

}

img {

  display: block;

  max-width: 100%;

}

[hidden] {

  display: none !important;

}

.screen-reader-only {

  position: absolute;

  width: 1px;

  height: 1px;

  padding: 0;

  margin: -1px;

  overflow: hidden;

  clip: rect(0, 0, 0, 0);

  white-space: nowrap;

  border: 0;

}

/* ==========================================

   03. APPLICATION LAYOUT

========================================== */

.photobooth-app {

  width: 100%;

  min-height: 100vh;

  display: flex;

  align-items: center;

  justify-content: center;

  padding: 48px 20px;

  position: relative;

  overflow: hidden;

}

.photobooth-app::before {

  content: "";

  position: fixed;

  inset: 0;

  background-image:

    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");

  opacity: 0.13;

  pointer-events: none;

  z-index: 20;

}

.screen {

  width: 100%;

  max-width: 1100px;

  display: none;

  animation: screenAppear 0.65s var(--ease) both;

}

.screen.is-active:not([hidden]) {

  display: block;

}

.screen[hidden] {

  display: none !important;

}

@keyframes screenAppear {

  from {

    opacity: 0;

    transform: translateY(18px);

  }

  to {

    opacity: 1;

    transform: translateY(0);

  }

}

/* ==========================================

   04. BRUSHED METAL MATERIAL

========================================== */

/* =====================================

   IRIS MIST METALLIC PHOTOBOOTH

   #BAB0C8

===================================== */

.machine-panel {

  background:

    /* Metallic light reflection */

    linear-gradient(

      115deg,

      rgba(255,255,255,0.38) 0%,

      transparent 25%,

      rgba(62,49,79,0.14) 48%,

      transparent 70%,

      rgba(255,255,255,0.22) 100%

    ),

    /* Brushed metal texture */

    repeating-linear-gradient(

      0deg,

      rgba(255,255,255,0.09) 0px,

      rgba(255,255,255,0.09) 1px,

      rgba(49,41,63,0.07) 2px,

      transparent 3px

    ),

    /* Iris Mist metallic gradient */

    linear-gradient(

      90deg,

      #978BA9 0%,

      #C9C0D3 18%,

      #BAB0C8 42%,

      #A49AB5 68%,

      #D0C8D8 87%,

      #9689A8 100%

    );

  /* Bodi, bingkai, dan baut memakai satu containing block. */
  position: relative;
  isolation: isolate;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(250,248,243,0.35);

  box-shadow:

    0 4px 2px rgba(255,255,255,0.15) inset,

    0 -5px 10px rgba(0,0,0,0.15) inset,

    0 18px 30px rgba(0,0,0,0.28),

    0 40px 100px rgba(0,0,0,0.45);

}

.machine-panel::before {

  content: "";

  position: absolute;

  inset: 8px;

  border: 1px solid rgba(39,37,35,0.28);

  border-radius: 15px;

  pointer-events: none;

  z-index: 10;

}

.machine-panel::after {

  content: "";

  position: absolute;

  inset: 0;

  background:

    radial-gradient(

      circle at 12% 12%,

      rgba(255,255,255,0.22),

      transparent 32%

    ),

    radial-gradient(

      circle at 85% 85%,

      rgba(0,0,0,0.13),

      transparent 36%

    );

  pointer-events: none;

  z-index: 9;

}

/* ==========================================

   05. METALLIC SCREWS

========================================== */

.screw {

  position: absolute;

  width: 14px;

  height: 14px;

  border-radius: 50%;

  background:

    linear-gradient(

      135deg,

      #e5e1da,

      #88847e 55%,

      #514e4a

    );

  border: 1px solid #4d4945;

  box-shadow:

    1px 1px 2px rgba(255,255,255,0.6) inset,

    1px 2px 3px rgba(0,0,0,0.4);

  z-index: 15;

}

.screw::after {

  content: "";

  position: absolute;

  width: 7px;

  height: 1px;

  background: #484540;

  top: 6px;

  left: 3px;

  transform: rotate(-35deg);

}

.screw.top-left {

  top: 18px;

  left: 18px;

}

.screw.top-right {

  top: 18px;

  right: 18px;

}

.screw.bottom-left {

  bottom: 18px;

  left: 18px;

}

.screw.bottom-right {

  bottom: 18px;

  right: 18px;

}

/* ==========================================

   06. TYPOGRAPHY & BRANDING

========================================== */

.brand-script,

.status-brand,

.delivery-brand,

.result-brand,

.strip-logo {

  font-family: var(--serif);

  font-weight: 500;

  letter-spacing: -0.05em;

}

.brand-script {

  font-size: 43px;

  line-height: 1;

}

.brand-caption {

  font-family: var(--mono);

  font-size: 11px;

  letter-spacing: 0.23em;

}

.screen-caption {

  margin: 24px 0 0;

  text-align: center;

  color: #615d59;

  font-family: var(--serif);

  font-size: 25px;

  font-style: italic;

}

/* ==========================================

   07. WELCOME SCREEN

========================================== */

.screen-welcome {

  max-width: 560px;

}

.machine-panel-welcome {

  min-height: 650px;
  margin-inline: auto;

  padding: 65px 40px 45px;

  display: flex;

  flex-direction: column;

  align-items: center;

}

.welcome-brand {

  position: relative;

  z-index: 2;

  text-align: center;

}

.welcome-brand .brand-script {

  display: block;

  font-size: 49px;

  margin-bottom: 4px;

}

.welcome-brand h1 {

  margin: 0;

  font-family: Impact, "Arial Narrow", sans-serif;

  font-size: clamp(52px, 10vw, 87px);

  font-weight: 800;

  letter-spacing: -0.035em;

  line-height: 0.98;

  transform: scaleX(0.86);

}

.welcome-brand .brand-caption {

  margin-top: 16px;

}

/* ==========================================

   08. WELCOME DECORATIVE PHOTO STRIP

========================================== */

.welcome-decor-strip {

  position: absolute;

  top: 118px;

  right: 29px;

  width: 72px;

  padding: 5px;

  background: #e8e4de;

  transform: rotate(13deg);

  box-shadow: 3px 7px 10px rgba(0,0,0,0.25);

  z-index: 3;

}

.decor-photo {

  height: 53px;

  margin-bottom: 4px;

  display: flex;

  align-items: center;

  justify-content: center;

  background:

    linear-gradient(

      135deg,

      #77736f,

      #c6c1ba,

      #55514d

    );

  color: rgba(255,255,255,0.55);

  font-family: var(--mono);

  font-size: 10px;

}

.decor-strip-label {

  display: block;

  font-family: var(--serif);

  font-size: 13px;

  text-align: center;

}

/* ==========================================

   09. PAPER STICKER

========================================== */

.paper-sticker {

  position: absolute;

  top: 190px;

  left: 27px;

  width: 116px;

  padding: 19px 13px;

  background:

    linear-gradient(

      110deg,

      #d9d3cb,

      #f2eee7

    );

  transform: rotate(-9deg);

  box-shadow:

    2px 5px 10px rgba(0,0,0,0.19);

  display: flex;

  flex-direction: column;

  gap: 4px;

  z-index: 3;

  color: #332f2c;

  font-family: var(--mono);

  font-size: 11px;

  line-height: 1.3;

}

.sticker-divider {

  width: 35px;

  height: 1px;

  margin: 7px 0;

  background: #817b74;

}

/* ==========================================

   10. MACHINE DELIVERY SLOT

========================================== */

.welcome-machine {

  width: 100%;

  max-width: 355px;

  margin-top: 125px;

}

.machine-slot,

.printer-slot {

  position: relative;

  width: 100%;

  height: 82px;

  padding: 11px;

  border-radius: 47px;

  background:

    linear-gradient(

      180deg,

      #f1eee8 0%,

      #8b8781 22%,

      #d6d2cc 55%,

      #77736d 100%

    );

  border: 2px solid #6b6761;

  box-shadow:

    0 3px 5px rgba(255,255,255,0.6) inset,

    0 -4px 7px rgba(0,0,0,0.3) inset,

    0 8px 14px rgba(0,0,0,0.3);

}

.slot-interior,

.printer-slot-dark {

  position: absolute;

  inset: 12px;

  border-radius: 35px;

  background:

    linear-gradient(

      180deg,

      #111111,

      #242424 35%,

      #050505 70%,

      #1c1b1a

    );

  box-shadow:

    0 6px 11px rgba(0,0,0,0.9) inset,

    0 1px 3px #fff;

}

.slot-highlight {

  position: absolute;

  top: 14px;

  left: 28px;

  right: 28px;

  height: 2px;

  background: rgba(255,255,255,0.65);

  filter: blur(1px);

}

.delivery-instruction {

  margin-top: 22px;

  display: flex;

  flex-direction: column;

  align-items: center;

  text-align: center;

  font-family: var(--mono);

  font-size: 13px;

  line-height: 1.6;

}

.down-arrow {

  font-size: 29px;

  font-weight: bold;

  line-height: 1.2;

}

/* ==========================================

   11. METALLIC BUTTON

========================================== */

.metal-button {

  min-width: 195px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 24px;

  padding: 16px 25px;

  color: #22201e;

  background:

    linear-gradient(

      180deg,

      #eeebe5 0%,

      #b3afa9 42%,

      #8e8a84 80%,

      #d0ccc5 100%

    );

  border: 2px solid #66625d;

  border-radius: 8px;

  box-shadow:

    0 2px 3px rgba(255,255,255,0.7) inset,

    0 -3px 5px rgba(0,0,0,0.25) inset,

    0 8px 12px rgba(0,0,0,0.22);

  font-family: var(--mono);

  font-size: 18px;

  font-weight: 600;

  transition:

    transform 0.25s ease,

    box-shadow 0.25s ease;

}

.metal-button:hover {

  transform: translateY(-3px);

  box-shadow:

    0 2px 3px rgba(255,255,255,0.7) inset,

    0 -3px 5px rgba(0,0,0,0.25) inset,

    0 12px 20px rgba(0,0,0,0.3);

}

.metal-button:active {

  transform: translateY(2px);

}

.start-button {

  margin-top: 27px;

}

.welcome-bottom {

  width: 100%;

  margin-top: auto;

  padding-top: 38px;

  display: flex;

  justify-content: space-between;

  gap: 12px;

  font-family: var(--mono);

  font-size: 9px;

  letter-spacing: 0.08em;

  color: #58534e;

}

/* ==========================================

   12. EDITOR PANELS

========================================== */

.machine-panel-editor {

  min-height: 590px;

  padding: 25px;

}

.editor-layout {

  position: relative;

  z-index: 2;

  display: grid;

  grid-template-columns: 185px minmax(0, 1fr);

  gap: 22px;

  min-height: 535px;

}

/* ==========================================

   13. EDITOR SIDEBAR

========================================== */

.editor-sidebar {

  display: flex;

  flex-direction: column;

  padding: 34px 7px 10px;

}

.sidebar-brand .brand-script {

  display: block;

  font-size: 35px;

}

.sidebar-subtitle {

  display: block;

  font-family: var(--mono);

  font-size: 9px;

  letter-spacing: 0.17em;

  margin-top: 2px;

}

.step-navigation {

  margin-top: 75px;

  display: flex;

  flex-direction: column;

  gap: 23px;

}

.step {

  display: flex;

  align-items: center;

  gap: 11px;

  color: #77726b;

  font-size: 13px;

}

.step-number {

  width: 24px;

  height: 24px;

  flex-shrink: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  border: 1px solid #85817b;

  border-radius: 50%;

  font-family: var(--mono);

  font-size: 10px;

}

.step.active {

  color: #24211f;

  font-weight: 700;

}

.step.active .step-number {

  background: #24211f;

  color: white;

  border-color: #24211f;

}

.step.completed .step-number {

  background: #77736c;

  color: white;

}

.sidebar-decoration {

  margin-top: auto;

  display: flex;

  align-items: flex-end;

  gap: 12px;

  color: #69645e;

  font-family: var(--mono);

  font-size: 9px;

  line-height: 1.6;

}

.flower-symbol {

  font-family: var(--serif);

  font-size: 66px;

  line-height: 0.7;

  color: #6f6962;

}

/* ==========================================

   14. EDITOR WINDOW

========================================== */

.editor-window {

  display: flex;

  flex-direction: column;

  min-width: 0;

  background:

    linear-gradient(

      125deg,

      #e9e5df,

      #d5d0c9 70%,

      #eeebe6

    );

  border: 1px solid #8f8a83;

  border-radius: 12px;

  box-shadow:

    0 2px 6px rgba(255,255,255,0.65) inset,

    0 8px 20px rgba(0,0,0,0.2);

  padding: 25px 28px 22px;

}

.window-heading {

  display: flex;

  justify-content: space-between;

  align-items: flex-start;

  gap: 16px;

  padding-bottom: 16px;

  border-bottom: 1px solid #a9a39b;

}

.window-heading > div {

  display: flex;

  align-items: baseline;

  flex-wrap: wrap;

  gap: 10px;

}

.window-heading h2 {

  margin: 0;

  font-family: var(--mono);

  font-size: 17px;

  font-weight: 600;

  letter-spacing: 0.035em;

}

.window-step {

  font-family: var(--mono);

  font-size: 12px;

  color: #6c6760;

}

.window-symbol {

  font-size: 20px;

  font-weight: 300;

}

/* ==========================================

   15. UPLOAD SCREEN

========================================== */

.upload-content {

  flex: 1;

  display: grid;

  grid-template-columns:

    minmax(0, 1.25fr)

    minmax(170px, 0.75fr);

  align-items: center;

  gap: 32px;

  padding: 26px 0;

}

.upload-grid {

  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  gap: 14px;

}

.upload-slot {

  position: relative;

  aspect-ratio: 1 / 1;

  min-width: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  overflow: hidden;

  background: rgba(252,250,246,0.42);

  border: 1px dashed #9a948c;

  border-radius: 6px;

  cursor: pointer;

  transition:

    border-color 0.2s,

background 0.2s,

    transform 0.2s;

}

.upload-slot:hover {

  border-color: #24211f;

  background: rgba(255,255,255,0.6);

  transform: translateY(-2px);

}

.upload-slot input[type="file"] {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  opacity: 0;

  cursor: pointer;

  z-index: 5;

}

.upload-preview {

  position: absolute;

  inset: 0;

  width: 100%;

  height: 100%;

  object-fit: cover;

  z-index: 1;

}

.upload-placeholder {

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 5px;

  color: #57524c;

  font-family: var(--mono);

  font-size: 11px;

  text-align: center;

}

.upload-plus {

  font-family: var(--sans);

  font-size: 40px;

  font-weight: 300;

  line-height: 1.1;

}

.upload-placeholder small {

  font-size: 9px;

  color: #8a847d;

}

.replace-label {

  position: absolute;

  z-index: 3;

  left: 0;

  right: 0;

  bottom: 0;

  padding: 9px 5px;

  background: rgba(20,20,20,0.8);

  color: white;

  text-align: center;

  font-family: var(--mono);

  font-size: 9px;

  opacity: 0;

  transition: opacity 0.2s;

}

.upload-slot:has(.upload-preview:not([hidden]))

.replace-label {

  opacity: 1;

}

.upload-slot:has(.upload-preview:not([hidden]))

.upload-placeholder {

  display: none;

}

/* ==========================================

   16. UPLOAD DESCRIPTION

========================================== */

.upload-description {

  border-left: 1px solid #aaa49b;

  padding-left: 26px;

}

.description-number {

  font-family: var(--mono);

  font-size: 10px;

  color: #777168;

}

.upload-description h3 {

  margin: 20px 0 15px;

  font-family: var(--serif);

  font-size: 35px;

  font-weight: 500;

  line-height: 1;

}

.upload-description p {

  font-family: var(--mono);

  font-size: 12px;

  line-height: 1.9;

  color: #5a554f;

}

.upload-description .description-note {

  margin-top: 28px;

  font-size: 9px;

  letter-spacing: 0.04em;

  color: #817b73;

}

/* ==========================================

   17. EDITOR BOTTOM ACTIONS

========================================== */

.window-actions {

  display: flex;

  align-items: center;

  justify-content: space-between;

  flex-wrap: wrap;

  gap: 12px;

  padding-top: 18px;

  border-top: 1px solid #aaa49b;

}

.text-button {

  padding: 12px 4px;

  border: 0;

  background: none;

  color: #48433e;

  font-family: var(--mono);

  font-size: 11px;

}

.text-button:hover {

  text-decoration: underline;

}

.photo-counter {

  color: #77716a;

  font-family: var(--mono);

  font-size: 10px;

}

.dark-button {

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 20px;

  padding: 13px 24px;

  border: 1px solid #1a1918;

  border-radius: 6px;

  background: #242321;

  color: #f3f0eb;

  font-family: var(--mono);

  font-size: 11px;

  box-shadow:

    0 3px 7px rgba(0,0,0,0.18);

  transition:

background 0.2s,

    transform 0.2s;

}

.dark-button:hover:not(:disabled) {

  background: #4b4742;

  transform: translateY(-2px);

}

/* ==========================================

   18. CUSTOMIZE SCREEN

========================================== */

.customize-content {

  flex: 1;

  display: grid;

  grid-template-columns:

    minmax(170px, 0.9fr)

    minmax(0, 1.1fr);

  align-items: center;

  gap: 35px;

  padding: 24px 0;

}

.strip-preview-area {

  display: flex;

  align-items: center;

  justify-content: center;

  min-width: 0;

}

.customization-settings {

  display: flex;

  flex-direction: column;

  gap: 27px;

  padding-left: 25px;

  border-left: 1px solid #aaa49b;

}

.setting-group {

  border: 0;

  padding: 0;

  margin: 0;

}

.setting-group legend,

.border-setting label {

  padding: 0;

  margin-bottom: 16px;

  font-family: var(--mono);

  font-size: 12px;

  font-weight: 600;

  letter-spacing: 0.07em;

}

/* ==========================================

   19. FILTER OPTIONS

========================================== */

.filter-options,

.frame-options {

  display: flex;

  gap: 14px;

}

.filter-option,

.frame-option {

  position: relative;

  display: flex;

  flex-direction: column;

  align-items: center;

  gap: 8px;

  cursor: pointer;

  color: #5c5650;

  font-size: 11px;

}

.filter-option input,

.frame-option input {

  position: absolute;

  width: 1px;

  height: 1px;

  opacity: 0;

}

.filter-circle {

  display: block;

  width: 46px;

  height: 46px;

  border-radius: 50%;

  border: 2px solid transparent;

  transition: transform 0.2s;

}

.filter-circle.original {

  background:

    conic-gradient(

      #c1a493,

      #8eaaa2,

      #bcb2a9,

      #b5a9bb,

      #c1a493

    );

}

.filter-circle.bw {

  background:

    linear-gradient(

      135deg,

      #171717 50%,

      #eee 50%

    );

}

.filter-circle.film {

  background:

    repeating-linear-gradient(

      45deg,

      #8d8880 0px,

      #8d8880 2px,

      #b7b1a8 3px,

      #b7b1a8 5px

    );

}

.filter-option input:checked + .filter-circle {

  border-color: #1f1e1c;

  outline: 2px solid #e8e4de;

  box-shadow: 0 0 0 2px #242321;

}

.filter-option:hover .filter-circle {

  transform: scale(1.07);

}

/* ==========================================

   20. FRAME OPTIONS

========================================== */

.frame-swatch {

  display: block;

  width: 44px;

  height: 52px;

  border: 4px solid transparent;

  background: #bbb;

  box-shadow:

    0 2px 5px rgba(0,0,0,0.18);

}

.frame-swatch.ivory {

  border-color: #f5f0e7;

  background: #c6c0b6;

}

.frame-swatch.black {

  border-color: #242321;

  background: #74706b;

}

.frame-swatch.silver {

  border-color: #b4b1ab;

  background: #77736e;

}

.frame-option input:checked + .frame-swatch {

  outline: 2px solid #242321;

  outline-offset: 3px;

}

/* ==========================================

   21. BORDER TOGGLE

========================================== */

.border-setting {

  display: flex;

  align-items: center;

  justify-content: space-between;

  gap: 20px;

}

.border-setting label {

  margin-bottom: 0;

}

.border-toggle {

  appearance: none;

  width: 44px;

  height: 23px;

  position: relative;

  background: #928d85;

  border: 1px solid #66615b;

  border-radius: 20px;

  cursor: pointer;

  transition: background 0.2s;

}

.border-toggle::after {

  content: "";

  position: absolute;

  width: 17px;

  height: 17px;

  top: 2px;

  left: 2px;

  border-radius: 50%;

  background: #f5f2ec;

  transition: transform 0.2s;

}

.border-toggle:checked {

  background: #292725;

}

.border-toggle:checked::after {

  transform: translateX(20px);

}

.replace-photos-button {

  align-self: flex-start;

  padding: 7px 0;

  border: none;

  border-bottom: 1px solid #77716a;

  background: none;

  color: #5c554e;

  font-family: var(--mono);

  font-size: 10px;

}

.replace-photos-button:hover {

  color: black;

}

.customization-note {

  margin: 0;

  color: #79736c;

  font-family: var(--mono);

  font-size: 10px;

  line-height: 1.8;

}

/* ==========================================

   22. CLASSIC VERTICAL PHOTO STRIP

========================================== */

.photostrip {

  --strip-paper: #f3f0e9;

  --strip-ink: #242321;

  position: relative;

  width: 154px;

  display: flex;

  flex-direction: column;

  padding: 8px 8px 11px;

  gap: 5px;

  background: var(--strip-paper);

  color: var(--strip-ink);

  box-shadow:

    1px 2px 3px rgba(0,0,0,0.1),

    5px 10px 18px rgba(0,0,0,0.2);

  transform: translateZ(0);

}

.photostrip.frame-ivory {

  --strip-paper: #f3f0e9;

  --strip-ink: #242321;

}

.photostrip.frame-black {

  --strip-paper: #1c1c1c;

  --strip-ink: #eeeae4;

}

.photostrip.frame-silver {

  --strip-paper: #aaa7a2;

  --strip-ink: #22211f;

}

.strip-photo {

  position: relative;

  width: 100%;

  aspect-ratio: 1.18 / 1;

  overflow: hidden;

  background:

    linear-gradient(

      135deg,

      #bbb7b0,

      #77736f

    );

  flex-shrink: 0;

}

.strip-image {

  display: block;

  width: 100%;

  height: 100%;

  object-fit: cover;

  object-position: center;

  filter: none;

}

.strip-image[hidden] {

  display: none !important;

}

.strip-empty {

  position: absolute;

  inset: 0;

  display: flex;

  align-items: center;

  justify-content: center;

  font-family: var(--mono);

  font-size: 24px;

  color: rgba(255,255,255,0.35);

}

.strip-footer {

  min-height: 31px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  gap: 1px;

  text-align: center;

}

.strip-logo {

  font-size: 22px;

  line-height: 1;

}

.strip-date {

  font-family: var(--mono);

  font-size: 7px;

  letter-spacing: 0.12em;

}

/* ==========================================

   23. PHOTO FILTERS

========================================== */

.photostrip.filter-original .strip-image {

  filter: none;

}

.photostrip.filter-bw .strip-image {

  filter:

    grayscale(1)

    contrast(1.13)

    brightness(1.03);

}

.photostrip.filter-film .strip-image {

  filter:

    grayscale(0.75)

    sepia(0.3)

    contrast(1.13)

    brightness(0.94);

}

/* ==========================================

   24. BORDER CUSTOMIZATION

========================================== */

.photostrip.no-border {

  gap: 0;

}

.photostrip.no-border .strip-photo {

  border: none;

}

.photostrip.has-border .strip-photo {

  border: 1px solid rgba(85,80,74,0.16);

}

/* ==========================================

   25. PRINTING MACHINE SCREEN

========================================== */

.screen-printing,

.screen-delivered {

  max-width: 560px;

}

.machine-panel-printing,

.machine-panel-delivered {

  min-height: 680px;

  display: flex;

  flex-direction: column;

  align-items: center;

  padding: 50px 30px;

  overflow: hidden;

}

/* ==========================================

   26. PRINTING STATUS CARD

========================================== */

.printing-status {

  width: 235px;

  min-height: 160px;

  padding: 22px 20px;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  text-align: center;

  background:

    linear-gradient(

      115deg,

      #e9e5de,

      #c7c1b9

    );

  border: 1px solid #9b958d;

  box-shadow:

    2px 5px 10px rgba(0,0,0,0.2);

  position: relative;

  z-index: 3;

}

.status-brand {

  font-size: 23px;

  line-height: 1;

}

.printing-status h2 {

  margin: 15px 0;

  font-family: var(--mono);

  font-size: 14px;

  font-weight: 500;

  line-height: 1.45;

}

.progress-track {

  width: 100%;

  height: 9px;

  border: 1px solid #3b3835;

  border-radius: 10px;

  overflow: hidden;

  background: #c5c0b8;

}

.progress-fill {

  width: 0%;

  height: 100%;

  background:

    repeating-linear-gradient(

      -45deg,

      #242321 0px,

      #242321 5px,

      #66615b 5px,

      #66615b 9px

    );

  transition: width 0.2s linear;

}

.printing-status-text {

  margin: 13px 0 0;

  color: #66615a;

  font-family: var(--mono);

  font-size: 8px;

  letter-spacing: 0.05em;

}

/* ==========================================

   27. PRINTER MACHINE

========================================== */

.printer-machine,

.delivery-machine {

  position: relative;

  width: 100%;

  max-width: 390px;

  margin-top: 90px;

  display: flex;

  flex-direction: column;

  align-items: center;

}

.printer-machine .printer-slot,

.delivery-machine .printer-slot {

  width: 100%;

  height: 78px;

  z-index: 5;

}

.printer-front {

  position: relative;

  width: 100%;

  height: 45px;

  margin-top: -12px;

  background:

    linear-gradient(

      180deg,

      #a19c95,

      #d5d0c8 35%,

      #9d9891 100%

    );

  border-radius: 0 0 16px 16px;

  box-shadow:

    0 8px 13px rgba(0,0,0,0.3);

  z-index: 6;

}

/* ==========================================

   28. PHOTO PRINTING ANIMATION

========================================== */

.printing-paper {

  position: relative;

  width: 154px;

  height: 0;

  overflow: visible;

  z-index: 4;

  transform: translateY(-20px);

  opacity: 0;

}

.printing-paper .photostrip {

  transform: translateY(-100%);

}

.printing-paper.is-printing {

  opacity: 1;

  animation: printingPaper 4s linear forwards;

}

.printing-paper.is-printing .photostrip {

  animation: printingStrip 4s linear forwards;

}

@keyframes printingPaper {

  0% {

    opacity: 0;

  }

  8% {

    opacity: 1;

  }

  100% {

    opacity: 1;

  }

}

@keyframes printingStrip {

  from {

    transform: translateY(-100%);

  }

  to {

    transform: translateY(0%);

  }

}

.machine-bottom-label {

  margin-top: auto;

  font-family: var(--mono);

  font-size: 10px;

  letter-spacing: 0.12em;

  color: #59534d;

}

/* ==========================================

   29. PHOTO DELIVERED SCREEN

========================================== */

.machine-delivery-sign {

  width: 235px;

  padding: 21px 18px;

  display: flex;

  flex-direction: column;

  align-items: center;

  background:

    linear-gradient(

      120deg,

      #eeeae3,

      #cac5bd

    );

  border: 1px solid #9d9890;

  box-shadow:

    2px 5px 10px rgba(0,0,0,0.18);

  text-align: center;

  z-index: 3;

}

.delivery-brand {

  font-size: 25px;

}

.machine-delivery-sign h2 {

  margin: 14px 0 7px;

  font-family: var(--mono);

  font-size: 15px;

  font-weight: 500;

  line-height: 1.45;

}

.delivery-arrow {

  font-size: 26px;

}

.delivery-machine {

  margin-top: 90px;

}

.delivered-paper {

  position: relative;

  width: 154px;

  height: 0;

  z-index: 4;

  transform: translateY(-20px);

}

.delivered-paper .photostrip {

  transform: translateY(-100%);

}

.delivered-paper.is-delivered .photostrip {

  animation: deliveredStrip 2.8s var(--ease) forwards;

}

@keyframes deliveredStrip {

  0% {

    transform: translateY(-100%);

  }

  100% {

    transform: translateY(0%);

  }

}

.collect-button {

  position: relative;

  margin-top: auto;

  font-size: 13px;

  min-width: 260px;

  z-index: 8;

}

/* ==========================================

   30. RESULT SCREEN

========================================== */

.screen-result {

  max-width: 920px;

}

.result-panel {

  position: relative;

  min-height: 610px;

  display: grid;

  grid-template-columns: 1fr 1fr;

  align-items: center;

  gap: 65px;

  padding: 60px 75px;

  background:

    linear-gradient(

      135deg,

      #d5d0c8,

      #eeeae3 48%,

      #cbc5bc

    );

  border: 1px solid rgba(255,255,255,0.5);

  border-radius: 13px;

  box-shadow:

    0 25px 70px rgba(0,0,0,0.4);

  overflow: hidden;

}

.result-panel::before {

  content: "";

  position: absolute;

  inset: 0;

  background:

    repeating-linear-gradient(

      0deg,

      transparent 0px,

      rgba(30,25,20,0.017) 1px,

      transparent 3px

    );

  pointer-events: none;

}

.result-paper-decoration {

  position: absolute;

  inset: 0;

  pointer-events: none;

}

.tape {

  position: absolute;

  width: 75px;

  height: 24px;

  background: rgba(250,245,235,0.45);

  border: 1px solid rgba(130,120,110,0.1);

}

.tape-one {

  top: 35px;

  left: 70px;

  transform: rotate(-28deg);

}

.tape-two {

  bottom: 60px;

  left: 240px;

  transform: rotate(25deg);

}

/* ==========================================

   31. FINAL PHOTO STRIP

========================================== */

.final-strip-wrapper {

  display: flex;

  justify-content: center;

  align-items: center;

  position: relative;

  z-index: 2;

}

.final-strip-wrapper .photostrip {

  width: 190px;

  padding: 10px 10px 15px;

  gap: 6px;

  transform: rotate(-4deg);

  box-shadow:

    7px 15px 25px rgba(0,0,0,0.25);

  transition: transform 0.35s var(--ease);

}

.final-strip-wrapper .photostrip:hover {

  transform: rotate(0deg) scale(1.04);

}

.final-strip-wrapper .strip-footer {

  min-height: 35px;

}

.final-strip-wrapper .strip-logo {

  font-size: 26px;

}

/* ==========================================

   32. RESULT INFORMATION

========================================== */

.result-information {

  display: flex;

  flex-direction: column;

  align-items: flex-start;

  position: relative;

  z-index: 2;

}

.result-brand {

  font-size: 37px;

}

.result-star {

  margin: 24px 0 5px;

  font-size: 24px;

}

.result-information h2 {

  margin: 0 0 20px;

  font-family: var(--serif);

  font-size: clamp(42px, 5vw, 65px);

  font-style: italic;

  font-weight: 500;

  line-height: 0.98;

}

.result-description {

  margin: 0 0 34px;

  font-family: var(--serif);

  font-size: 22px;

  font-style: italic;

  color: #625c55;

}

.result-button {

  width: 100%;

  max-width: 265px;

  min-height: 45px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 13px;

  margin-bottom: 12px;

  border-radius: 8px;

  font-family: var(--mono);

  font-size: 11px;

  letter-spacing: 0.03em;

  transition:

background 0.2s,

    transform 0.2s;

}

.result-primary {

  background: #292725;

  border: 1px solid #292725;

  color: white;

}

.result-primary:hover {

  background: #4b4742;

  transform: translateY(-2px);

}

.result-outline {

  background: transparent;

  border: 1px solid #48443f;

  color: #292725;

}

.result-outline:hover {

  background: rgba(0,0,0,0.08);

}

.result-footer {

  display: flex;

  flex-direction: column;

  gap: 6px;

  margin-top: 30px;

  font-family: var(--mono);

  font-size: 9px;

  line-height: 1.7;

  color: #79736c;

}

/* ==========================================

   33. SMOOTH INTERACTIONS

========================================== */

.upload-slot,

.filter-circle,

.frame-swatch,

.result-button,

.metal-button,

.dark-button {

  -webkit-tap-highlight-color: transparent;

}

.photostrip,

.machine-slot,

.printer-slot {

  -webkit-user-select: none;

  user-select: none;

}

@media (prefers-reduced-motion: reduce) {

  *,

  *::before,

  *::after {

    scroll-behavior: auto !important;

    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;

  }

}

/* ==========================================

   34. TABLET RESPONSIVE

========================================== */

@media (max-width: 900px) {

  .photobooth-app {

    padding: 30px 15px;

  }

  .machine-panel-editor {

    padding: 18px;

  }

  .editor-layout {

    grid-template-columns: 145px minmax(0, 1fr);

    gap: 15px;

  }

  .editor-window {

    padding: 22px;

  }

  .sidebar-brand .brand-script {

    font-size: 30px;

  }

  .upload-content {

    gap: 19px;

  }

  .upload-description {

    padding-left: 17px;

  }

  .upload-description h3 {

    font-size: 29px;

  }

  .customize-content {

    gap: 20px;

  }

  .customization-settings {

    padding-left: 18px;

  }

  .result-panel {

    gap: 30px;

    padding: 50px 40px;

  }

}

/* ==========================================

   35. MOBILE RESPONSIVE

========================================== */

@media (max-width: 650px) {

  body {

    min-height: 100svh;

  }

  .photobooth-app {

    min-height: 100svh;

    padding: 18px 12px;

  }

  .machine-panel {

    border-radius: 16px;

  }

  .screw {

    width: 10px;

    height: 10px;

  }

  .screw::after {

    top: 4px;

    left: 2px;

    width: 5px;

  }

  .screw.top-left {

    top: 13px;

    left: 13px;

  }

  .screw.top-right {

    top: 13px;

    right: 13px;

  }

  .screw.bottom-left {

    bottom: 13px;

    left: 13px;

  }

  .screw.bottom-right {

    bottom: 13px;

    right: 13px;

  }

  /* WELCOME */

  .machine-panel-welcome {

    min-height: 610px;

    padding: 75px 22px 30px;

  }

  .welcome-brand .brand-script {

    font-size: 42px;

  }

  .welcome-brand h1 {

    font-size: clamp(43px, 13vw, 69px);

  }

  .brand-caption {

    font-size: 9px;

  }

  .paper-sticker {

    left: 15px;

    top: 235px;

    width: 86px;

    padding: 12px 9px;

    font-size: 8px;

  }

  .welcome-decor-strip {

    top: 175px;

    right: 15px;

    width: 52px;

  }

  .decor-photo {

    height: 37px;

  }

  .welcome-machine {

    margin-top: 145px;

  }

  .machine-slot {

    height: 72px;

  }

  .delivery-instruction {

    font-size: 11px;

  }

  .start-button {

    margin-top: 26px;

  }

  .welcome-bottom {

    font-size: 8px;

  }

  .screen-caption {

    font-size: 20px;

  }

  /* EDITOR */

  .machine-panel-editor {

    padding: 20px 14px;

  }

  .editor-layout {

    display: flex;

    flex-direction: column;

    gap: 18px;

  }

  .editor-sidebar {

    padding: 8px 10px;

    flex-direction: row;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

  }

  .sidebar-brand .brand-script {

    font-size: 29px;

  }

  .sidebar-subtitle {

    font-size: 7px;

  }

  .step-navigation {

    margin: 0;

    flex-direction: row;

    gap: 12px;

  }

  .step {

    gap: 4px;

    font-size: 0;

  }

  .step-number {

    font-size: 9px;

    width: 23px;

    height: 23px;

  }

  .sidebar-decoration {

    display: none;

  }

  .editor-window {

    padding: 20px 16px;

  }

  .window-heading h2 {

    font-size: 13px;

  }

  .window-step {

    font-size: 10px;

  }

  /* UPLOAD */

  .upload-content {

    grid-template-columns: 1fr;

    gap: 22px;

  }

  .upload-grid {

    gap: 10px;

    max-width: 400px;

    width: 100%;

    margin: auto;

  }

  .upload-description {

    border-left: 0;

    border-top: 1px solid #aaa49b;

    padding: 18px 0 0;

  }

  .upload-description h3 {

    margin: 9px 0;

    font-size: 31px;

  }

  .upload-description p {

    margin: 0;

    font-size: 11px;

  }

  .upload-description .description-note {

    margin-top: 10px;

  }

  .photo-counter {

    width: 100%;

    text-align: center;

    order: -1;

  }

  .window-actions {

    gap: 12px;

  }

  /* CUSTOMIZE */

  .customize-content {

    grid-template-columns: 1fr;

    gap: 30px;

  }

  .strip-preview-area {

    padding: 6px 0;

  }

  .strip-preview-area .photostrip {

    width: 140px;

  }

  .customization-settings {

    border-left: 0;

    border-top: 1px solid #aaa49b;

    padding: 25px 0 0;

    gap: 25px;

  }

  .filter-options,

  .frame-options {

    justify-content: flex-start;

    gap: 23px;

  }

  /* PRINTING / DELIVERY */

  .machine-panel-printing,

  .machine-panel-delivered {

    min-height: 630px;

    padding: 40px 20px;

  }

  .printer-machine,

  .delivery-machine {

    margin-top: 75px;

  }

  .printing-paper,

  .delivered-paper {

    width: 140px;

  }

  .printing-paper .photostrip,

  .delivered-paper .photostrip {

    width: 140px;

  }

  .collect-button {

    min-width: 230px;

    padding: 14px 17px;

    font-size: 11px;

  }

  /* RESULT */

  .result-panel {

    display: flex;

    flex-direction: column;

    gap: 38px;

    padding: 50px 24px;

  }

  .final-strip-wrapper .photostrip {

    width: 160px;

  }

  .result-information {

    width: 100%;

    align-items: center;

    text-align: center;

  }

  .result-information h2 {

    font-size: 49px;

  }

  .result-description {

    font-size: 20px;

    margin-bottom: 25px;

  }

  .result-footer {

    align-items: center;

  }

}

/* ==========================================

   36. SMALL MOBILE

========================================== */

@media (max-width: 380px) {

  .machine-panel-welcome {

    min-height: 570px;

  }

  .welcome-brand h1 {

    font-size: 43px;

  }

  .paper-sticker {

    width: 75px;

    font-size: 7px;

  }

  .welcome-decor-strip {

    width: 45px;

  }

  .decor-photo {

    height: 32px;

  }

  .window-actions .dark-button {

    padding: 11px 15px;

    font-size: 10px;

  }

  .filter-options,

  .frame-options {

    gap: 13px;

  }

  .filter-circle {

    width: 40px;

    height: 40px;

  }

  .result-information h2 {

    font-size: 42px;

  }

}

/* ==========================================

   37. PRINT OUTPUT

========================================== */

@media print {

  @page {

    size: auto;

    margin: 10mm;

  }

  body {

    background: white !important;

  }

  .photobooth-app {

    display: block;

    min-height: 0;

    padding: 0;

    overflow: visible;

  }

  .screen:not(.screen-result),

  .result-information,

  .result-paper-decoration {

    display: none !important;

  }

  .screen-result {

    display: block !important;

    max-width: none;

    animation: none;

  }

  .result-panel {

    display: block;

    min-height: 0;

    padding: 0;

    border: 0;

    box-shadow: none;

    background: white;

  }

  .final-strip-wrapper {

    display: block;

  }

  .final-strip-wrapper .photostrip {

    margin: 0 auto;

    transform: none !important;

    box-shadow: none !important;

    print-color-adjust: exact;

    -webkit-print-color-adjust: exact;

  }

}

/* ==========================================

   FIX — REALISTIC PHOTO PRINTING

   Paper comes out FROM the printer slot

========================================== */

/* Give enough room for the photo strip */

.machine-panel-printing,

.machine-panel-delivered {

  min-height: 970px;

}

.printer-machine,

.delivery-machine {

  position: relative;

  min-height: 620px;

  margin-top: 65px;

  overflow: visible;

}

/* Keep the printer slot above the paper */

.printer-machine .printer-slot,

.delivery-machine .printer-slot {

  position: relative;

  z-index: 5;

}

/* Metal cover hides the paper's starting point */

.printer-front {

  position: relative;

  z-index: 6;

}

/* Position the paper directly beneath the slot */

.printing-paper,

.delivered-paper {

  position: absolute;

  top: 88px;

  left: 50%;

  width: 154px;

  height: auto;

  margin: 0;

  opacity: 1;

  transform: translateX(-50%);

  z-index: 4;

  /* Initially hide the entire paper */

  clip-path: inset(0 0 100% 0);

  overflow: hidden;

}

/* Stop the old upward-moving animation */

.printing-paper .photostrip,

.delivered-paper .photostrip {

  transform: none !important;

  animation: none !important;

  width: 100%;

}

/* ==========================================

   PRINTING ANIMATION

========================================== */

.printing-paper.is-printing {

  animation: paperFromSlot 4s linear forwards;

}

/* DELIVERY ANIMATION */

.delivered-paper.is-delivered {

  animation: paperFromSlot 2.8s ease-out forwards;

}

/* Reveal the paper from TOP to BOTTOM */

@keyframes paperFromSlot {

  0% {

    clip-path: inset(0 0 100% 0);

  }

  100% {

    clip-path: inset(0 0 0% 0);

  }

}

/* ==========================================

   MOBILE

========================================== */

@media (max-width: 650px) {

  .machine-panel-printing,

  .machine-panel-delivered {

    min-height: 930px;

  }

  .printer-machine,

  .delivery-machine {

    min-height: 620px;

    margin-top: 65px;

  }

  .printing-paper,

  .delivered-paper {

    width: 140px;

  }

}

/* ==========================================

   MAR&MA PHOTOBOOTH

   REALISTIC PAPER FEED ANIMATION

========================================== */

/* 01 — PROVIDE SPACE FOR THE PAPER */

.machine-panel-printing,

.machine-panel-delivered {

  min-height: 1050px;

  overflow: hidden;

}

.printer-machine,

.delivery-machine {

  position: relative;

  min-height: 700px;

  margin-top: 65px;

  overflow: visible;

}

/* 02 — PRINTER SLOT STAYS IN FRONT */

.printer-machine .printer-slot,

.delivery-machine .printer-slot {

  position: relative;

  z-index: 9;

}

.printer-front {

  position: relative;

  z-index: 10;

}

/* 03 — PAPER EXIT WINDOW */

/* Only the area below the printer

   can display the moving paper. */

.printing-paper,

.delivered-paper {

  position: absolute !important;

  top: 105px !important;

  left: 50% !important;

  width: 154px;

  height: 600px !important;

  margin: 0 !important;

  transform: translateX(-50%) !important;

  opacity: 1 !important;

  visibility: visible;

  overflow: hidden !important;

  clip-path: none !important;

  z-index: 7;

}

/* 04 — ACTUAL PAPER MOVEMENT */

/* Start with the entire strip

   physically above the exit window. */

.printing-paper .photostrip,

.delivered-paper .photostrip {

  width: 100%;

  translate: 0 -100%;

  opacity: 1 !important;

  visibility: visible !important;

}

/* 05 — ANIMATION */

/* Paper moves down in tiny mechanical steps,

   instead of fading or being revealed. */

@keyframes physicalPaperFeed {

  from {

    translate: 0 -100%;

  }

  to {

    translate: 0 0;

  }

}

/* PRINTING SCREEN */

.printing-paper.is-printing {

  animation: none !important;

}

.printing-paper.is-printing > .photostrip {

  animation:

    physicalPaperFeed

    4s

    steps(100, end)

    forwards !important;

}

/* PHOTO DELIVERY SCREEN */

.delivered-paper.is-delivered {

  animation: none !important;

}

.delivered-paper.is-delivered > .photostrip {

  animation:

    physicalPaperFeed

    2.8s

    steps(75, end)

    forwards !important;

}

/* 06 — MOBILE RESPONSIVE */

@media (max-width: 650px) {

  .machine-panel-printing,

  .machine-panel-delivered {

    min-height: 950px;

  }

  .printer-machine,

  .delivery-machine {

    min-height: 620px;

  }

  .printing-paper,

  .delivered-paper {

    width: 140px;

    height: 550px !important;

  }

}

/* ====================================

   MAR&MA — SIDEBAR PROGRESS FIX

==================================== */

.editor-sidebar .pb-progress {

  display: flex;

  flex-direction: column;

  gap: 25px;

  width: 100%;

  margin-top: 70px;

}

.editor-sidebar .pb-progress-item {

  position: relative;

  display: flex;

  align-items: center;

  gap: 12px;

  min-height: 30px;

  margin: 0;

  padding: 0;

  color: #77726b;

  font-family: var(--sans);

  font-size: 13px;

}

.editor-sidebar .pb-progress-index {

  display: flex;

  align-items: center;

  justify-content: center;

  flex: 0 0 28px;

  width: 28px;

  height: 28px;

  border: 1px solid #77726b;

  border-radius: 50%;

  font-family: var(--mono);

  font-size: 10px;

  line-height: 1;

}

.editor-sidebar .pb-progress-label {

  display: block;

  min-width: 0;

  white-space: nowrap;

  font-size: 13px;

  line-height: 1.4;

}

/* Active step */

.editor-sidebar .pb-progress-item.is-current {

  color: #242321;

  font-weight: 700;

}

.editor-sidebar .is-current .pb-progress-index {

  background: #242321;

  color: #f3f0eb;

  border-color: #242321;

}

/* Completed step */

.editor-sidebar .is-complete .pb-progress-index {

  background: #77736c;

  color: #ffffff;

}

/* Avoid generated text from conflicting selectors */

.editor-sidebar .pb-progress-item::before,

.editor-sidebar .pb-progress-item::after,

.editor-sidebar .pb-progress-index::before,

.editor-sidebar .pb-progress-index::after {

  content: none !important;

}

/* Mobile layout */

@media (max-width: 650px) {

  .editor-sidebar .pb-progress {

    flex-direction: row;

    justify-content: flex-end;

    gap: 10px;

    width: auto;

    margin-top: 0;

  }

  .editor-sidebar .pb-progress-item {

    gap: 0;

    min-height: 24px;

  }

  .editor-sidebar .pb-progress-label {

    display: none;

  }

  .editor-sidebar .pb-progress-index {

    flex-basis: 24px;

    width: 24px;

    height: 24px;

  }

}
