/* Objednávka Katagi (Honza 13. 10.): čtyři kroky, modelátor nášivek z fotek kimona. */
.obj { padding: 40px 80px 72px; color: #1E1F25; font-size: 16px; line-height: 1.5; }
.obj-drobky { font-size: 14px; color: #6B6A66; margin-bottom: 18px; }
.obj-drobky a { color: inherit; }
.obj h1 { margin: 0 0 8px; font: 600 48px/1.08 'Lora', Georgia, serif; letter-spacing: -.01em; }
.obj-uvod { margin: 0 0 36px; font-size: 18px; color: #4A4945; max-width: 640px; }
.obj-mrizka { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
.obj-kroky { display: flex; flex-direction: column; gap: 24px; min-width: 0; }

.krok { margin: 0; padding: 28px 32px 32px; background: rgba(255,255,255,.72); border: 1px solid #D6D1C6; border-radius: 4px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.krok legend { float: left; width: 100%; padding: 0; display: flex; align-items: center; gap: 14px; font: 600 24px/1.2 'Lora', Georgia, serif; }
.krok legend + * { clear: both; }
.krok-c { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; background: #1E1F25; color: #EDE9E0; font: 600 17px/1 'Lora', Georgia, serif; }
.pole { display: flex; flex-direction: column; gap: 10px; }
.pole-n { font-weight: 600; font-size: 15px; }
.hint { margin: 0; font-size: 14px; line-height: 1.5; color: #6B6A66; }
.volby { display: flex; flex-wrap: wrap; gap: 8px; }
.volby .opt { min-height: 46px; padding: 0 18px; }
.opt[disabled] { opacity: .45; cursor: not-allowed; }
.stavy { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.stavy .opt { padding: 12px 14px; text-align: left; line-height: 1.35; }
.stavy .opt small { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; color: #6B6A66; }

/* výrobky */
.vyr-karty { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.vyr-karta { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 10px 14px; background: #FFFFFF; border: 1px solid #A9A49A; border-radius: 3px; font: inherit; color: inherit; cursor: pointer; text-align: center; }
.vyr-karta img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.vyr-karta b { font: 600 16px/1.2 'Lora', Georgia, serif; }
.vyr-karta span { font-size: 13px; color: #6B6A66; line-height: 1.35; }
.vyr-karta.on { border: 2px solid #1E1F25; padding: 11px 9px 13px; }
.vyr-karta.on::after { content: '✓'; position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: 50%; background: #1E1F25; color: #EDE9E0; font-size: 14px; line-height: 24px; }
.vyr-karta[disabled] { cursor: not-allowed; background: rgba(255,255,255,.5); }
.vyr-karta[disabled] img { opacity: .35; }
.vyr-karta[disabled] span { color: #A3261E; }
.nabidka { padding: 16px 18px; background: #FFFFFF; border: 1px solid #2640DA; border-radius: 3px; display: flex; flex-direction: column; gap: 10px; }
.nabidka p { margin: 0; }

/* fotky */
.nahrat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 28px 20px; border: 1.5px dashed #8F8A80; border-radius: 4px; background: rgba(255,255,255,.6); cursor: pointer; text-align: center; }
.nahrat:hover, .nahrat.nad { border-color: #2640DA; background: #FFFFFF; }
.nahrat b { font-size: 16px; }
.nahrat input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.fotky { display: flex; flex-wrap: wrap; gap: 8px; }
.fotka { position: relative; width: 92px; height: 92px; border-radius: 3px; overflow: hidden; border: 1px solid #D6D1C6; background: #FFFFFF; }
.fotka img { width: 100%; height: 100%; object-fit: cover; }
.fotka button { position: absolute; top: 4px; right: 4px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: rgba(30,31,37,.82); color: #FFFFFF; font-size: 16px; line-height: 26px; cursor: pointer; padding: 0; }
.fotka.pracuje::after { content: 'Hledám nášivky…'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 6px; text-align: center; background: rgba(237,233,224,.82); font-size: 12px; font-weight: 600; }

/* modelátor */
.modelator { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 20px; align-items: start; }
.mod-vlevo { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.mod-lista { display: flex; flex-wrap: wrap; gap: 6px; }
.mod-lista .opt { min-height: 38px; padding: 0 14px; font-size: 14px; }
.mod-scena { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 4px; background: #DCD8D0; touch-action: none; user-select: none; -webkit-user-select: none; }
.mod-scena > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.mod-scena.nad { outline: 2px dashed #2640DA; outline-offset: -6px; }
.umistena { position: absolute; transform: translate(-50%, -50%); cursor: grab; touch-action: none; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.umistena img { display: block; width: 100%; pointer-events: none; }
.umistena.vybrana { outline: 2px solid #2640DA; outline-offset: 3px; }
.umistena:active { cursor: grabbing; }
.mod-nastroje { display: flex; flex-wrap: wrap; gap: 6px; min-height: 38px; align-items: center; }
.mod-nastroje .opt { min-height: 38px; padding: 0 14px; font-size: 14px; }
.mod-zasobnik { display: flex; flex-direction: column; gap: 10px; }
.mod-nasivky { display: flex; flex-direction: column; gap: 8px; }
.nas { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: center; padding: 8px 30px 8px 8px; background: #FFFFFF; border: 1px solid #A9A49A; border-radius: 3px; }
.nas.vybrana { border: 2px solid #2640DA; padding: 7px 29px 7px 7px; }
.nas-foto { position: relative; width: 64px; height: 64px; display: flex; align-items: center; justify-content: center; cursor: grab; touch-action: none; background: #F1EEE8; border-radius: 2px; }
.nas-foto img { max-width: 100%; max-height: 100%; pointer-events: none; }
.nas-foto b { position: absolute; top: -6px; left: -6px; width: 20px; height: 20px; border-radius: 50%; background: #2640DA; color: #FFFFFF; font-size: 12px; line-height: 20px; text-align: center; }
.nas.pracuje .nas-foto::after { content: '…'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(237,233,224,.8); font-weight: 700; }
.nas-rozmer { display: flex; align-items: center; gap: 4px; font-size: 13px; }
.obj .nas-rozmer input { width: 52px; height: 34px; padding: 0 6px; text-align: center; font-size: 14px; }
.nas-stav { grid-column: 2; font-size: 12px; color: #6B6A66; line-height: 1.3; }
.nas-stav.pozor { color: #A3261E; }
.nas.pouzita .nas-foto { cursor: pointer; }
.nas-x { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(30,31,37,.75); color: #FFFFFF; font-size: 14px; line-height: 22px; padding: 0; cursor: pointer; }
.umistena { overflow: visible; }
.umistena img { width: 100%; height: 100%; object-fit: fill; }
.pozor-text { font-size: 13px; color: #A3261E; }
.duch { position: fixed; z-index: 1000; pointer-events: none; transform: translate(-50%, -50%); opacity: .85; width: 90px; }
.duch img { width: 100%; }

/* kontakt */
.radek2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.radek3 { display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 14px; }
.obj label.f { display: flex; flex-direction: column; gap: 6px; font-size: 15px; font-weight: 600; }
.obj label.f small { font-weight: 400; color: #6B6A66; }
.obj input[type=text], .obj input[type=email], .obj input[type=tel], .obj textarea { width: 100%; box-sizing: border-box; height: 48px; padding: 0 14px; border: 1px solid #A9A49A; border-radius: 3px; background: #FFFFFF; font: inherit; font-weight: 400; color: #1E1F25; }
.obj textarea { height: 96px; padding: 12px 14px; resize: vertical; }
.zaskrt { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; cursor: pointer; }
.zaskrt input { width: 20px; height: 20px; margin: 1px 0 0; flex-shrink: 0; accent-color: #1E1F25; }
.misto { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.misto-vybrane { font-size: 15px; }
.fakturace { display: flex; flex-direction: column; gap: 14px; padding: 18px; background: #F6F4EF; border-radius: 3px; }
.past { position: absolute; left: -9999px; width: 1px; height: 1px; }

/* shrnutí */
.obj-shrnuti { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; padding: 28px; background: #FFFFFF; border: 1px solid #D6D1C6; border-radius: 4px; }
.obj-shrnuti h2 { margin: 0; font: 600 22px/1.2 'Lora', Georgia, serif; }
.shr-radky { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.shr-radky div { display: flex; justify-content: space-between; gap: 12px; }
.shr-radky span:last-child { text-align: right; }
.shr-celkem { display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid #D6D1C6; font-size: 18px; font-weight: 700; }
.shr-pozn { margin: 0; font-size: 14px; color: #4A4945; }
.chyba { padding: 10px 14px; background: #FBEDEB; border: 1px solid #A3261E; border-radius: 3px; font-size: 14px; color: #7A1C16; }
.tl-odeslat { height: 56px; border: 1.5px solid #8F6A44; border-radius: 3px; background: #BA8C5E; color: #1E1F25; font: 600 17px/1 'Lora', Georgia, serif; cursor: pointer; }
.tl-odeslat:hover { background: #C99B6C; }
.tl-odeslat[disabled] { opacity: .6; cursor: progress; }
.tl-druhe { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 1.5px solid #1E1F25; border-radius: 3px; background: transparent; color: #1E1F25; font: 600 15px/1 inherit; font-family: inherit; cursor: pointer; }

@media (max-width: 1100px) {
  .obj { padding: 32px 24px 56px; }
  .obj-mrizka { grid-template-columns: minmax(0, 1fr); }
  .obj-shrnuti { position: static; }
}
@media (max-width: 720px) {
  .obj { padding: 24px 16px 48px; }
  .obj h1 { font-size: 34px; }
  .obj-uvod { font-size: 16px; margin-bottom: 24px; }
  .krok { padding: 20px 16px 22px; gap: 18px; }
  .krok legend { font-size: 21px; }
  .vyr-karty { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stavy, .radek2, .radek3 { grid-template-columns: minmax(0, 1fr); }
  .modelator { grid-template-columns: minmax(0, 1fr); }
}
/* logo jako v hlavičce ostatních stránek (Honza 13. 10.) */
.obj-logo { display: flex; align-items: center; color: #1E1F25; text-decoration: none; }
.obj-logo svg { display: block; height: 27px; width: auto; }
@media (max-width: 720px) { .obj-logo svg { height: 21px; } }
/* Nejdřív výrobek, pak kimono (17. 11.): co z kimona na vybraný výrobek nejde, je přeškrtnuté */
.opt.nejde { text-decoration: line-through; text-decoration-thickness: 1.5px; opacity: .4; }
.opt.nejde:hover { background: inherit; }
/* slevový kód ověřený hned (17. 11.) */
#sleva-stav:empty { display: none; }
.sleva-ok { color: #1E6B3A; }
.sleva-zle { color: #B3261E; }
#poukaz-stav:empty { display: none; }
