:root{
      --bg:#0b0b0f;
      --card:#12121a;
      --text:#f4f2ee;
      --muted:#c7c3bb;
      --gold:#d6b25e;
      --line:rgba(214,178,94,.25);
      --shadow: 0 18px 40px rgba(0,0,0,.45);
      --radius: 22px;
      --max: 1100px;
    }
    *{box-sizing:border-box}
    body{
      margin:0;
      font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
      color:var(--text);
      background:
        radial-gradient(900px 500px at 15% 0%, rgba(214,178,94,.12), transparent 55%),
        radial-gradient(800px 500px at 90% 10%, rgba(214,178,94,.08), transparent 60%),
        linear-gradient(180deg, #07070a 0%, var(--bg) 40%, #07070a 100%);
      line-height:1.55;
    }
    a{color:inherit}
    .wrap{max-width:var(--max); margin:0 auto; padding:26px 18px 80px}
    header{
      position:sticky; top:0;
      backdrop-filter: blur(10px);
      background: linear-gradient(180deg, rgba(11,11,15,.85), rgba(11,11,15,.35));
      border-bottom:1px solid rgba(255,255,255,.06);
      z-index:10;
    }
    .nav{
      max-width:var(--max);
      margin:0 auto;
      padding:14px 18px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:14px;
    }
    .brand{
      display:flex; align-items:center; gap:10px;
      letter-spacing:.4px;
      text-decoration:none;
      font-weight:650;
    }
    .mark{
      width:34px; height:34px;
      border-radius:12px;
      background:
        radial-gradient(10px 10px at 30% 30%, rgba(255,255,255,.22), transparent 55%),
        linear-gradient(135deg, rgba(214,178,94,.9), rgba(214,178,94,.25));
      box-shadow: 0 10px 25px rgba(214,178,94,.18);
      border:1px solid rgba(214,178,94,.35);
    }
    .links{display:flex; gap:14px; flex-wrap:wrap}
    .links a{
      font-size:14px;
      color:rgba(244,242,238,.9);
      text-decoration:none;
      padding:8px 10px;
      border-radius:999px;
      border:1px solid rgba(255,255,255,.08);
      background: rgba(18,18,26,.35);
    }
    .links a:hover{border-color: rgba(214,178,94,.35)}
    .hero{
      padding:56px 0 26px;
      display:grid;
      grid-template-columns: 1.15fr .85fr;
      gap:26px;
      align-items:stretch;
    }
    @media (max-width: 860px){
      .hero{grid-template-columns:1fr; padding-top:34px}
    }
    .card{
      background: linear-gradient(180deg, rgba(18,18,26,.86), rgba(18,18,26,.55));
      border:1px solid rgba(255,255,255,.08);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding:26px;
      position:relative;
      overflow:hidden;
    }
    .card:before{
      content:"";
      position:absolute; inset:-2px;
      background: radial-gradient(600px 220px at 10% 0%, rgba(214,178,94,.14), transparent 60%);
      pointer-events:none;
    }
    .kicker{
      display:inline-flex;
      gap:10px;
      align-items:center;
      font-size:13px;
      color:var(--muted);
      letter-spacing:.2px;
      text-transform:uppercase;
    }
    .dot{
      width:7px;height:7px;border-radius:50%;
      background:var(--gold);
      box-shadow:0 0 0 6px rgba(214,178,94,.12);
    }
    h1{
      margin:12px 0 10px;
      font-size:44px;
      line-height:1.1;
      letter-spacing:-.6px;
    }
    @media (max-width: 520px){
      h1{font-size:36px}
    }
    .lead{
      margin:0 0 18px;
      color: rgba(244,242,238,.88);
      font-size:16px;
      max-width: 62ch;
    }
    .cta{
      display:flex;
      gap:12px;
      flex-wrap:wrap;
      margin-top:16px;
    }
    .btn{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      gap:10px;
      padding:12px 16px;
      border-radius: 999px;
      border:1px solid rgba(255,255,255,.12);
      background: rgba(255,255,255,.06);
      text-decoration:none;
      font-weight:650;
      font-size:14px;
    }
    .btn.primary{
      border-color: rgba(214,178,94,.45);
      background: linear-gradient(135deg, rgba(214,178,94,.95), rgba(214,178,94,.35));
      color:#1a1205;
    }
    .btn:hover{transform: translateY(-1px)}
    .mini{
      margin-top:18px;
      display:flex;
      gap:14px;
      flex-wrap:wrap;
      color:var(--muted);
      font-size:13px;
    }
    .mini span{
      padding:8px 10px;
      border-radius:999px;
      border:1px solid rgba(255,255,255,.08);
      background: rgba(18,18,26,.35);
    }
    .frame{
      min-height: 320px;
      display:flex;
      flex-direction:column;
      gap:12px;
      justify-content:space-between;
    }
    .mock{
      width:100%;
      aspect-ratio: 4/3;
      border-radius: 18px;
      border:1px solid rgba(214,178,94,.22);
      background:
        radial-gradient(180px 120px at 30% 30%, rgba(214,178,94,.22), transparent 65%),
        radial-gradient(220px 150px at 70% 55%, rgba(255,255,255,.08), transparent 70%),
        linear-gradient(135deg, rgba(255,255,255,.06), rgba(18,18,26,.35));
      box-shadow: 0 20px 60px rgba(0,0,0,.45);
      position:relative;
      overflow:hidden;
    }
    .mock:after{
      content:"Sem vlož fotku obrazu";
      position:absolute;
      inset:auto 14px 14px 14px;
      font-size:13px;
      color: rgba(244,242,238,.75);
      border-top:1px solid rgba(255,255,255,.10);
      padding-top:10px;
    }
    section{margin-top:26px}
    .grid{
      display:grid;
      grid-template-columns: repeat(3, 1fr);
      gap:14px;
    }
    @media (max-width: 900px){ .grid{grid-template-columns: repeat(2, 1fr);} }
    @media (max-width: 560px){ .grid{grid-template-columns: 1fr;} }
    .tile{
      border-radius: 18px;
      border:1px solid rgba(255,255,255,.08);
      background: rgba(18,18,26,.40);
      overflow:hidden;
      box-shadow: 0 14px 35px rgba(0,0,0,.35);
    }

    .tile .ph{
      aspect-ratio: 4 / 3;
      overflow: hidden;
      border-bottom: 1px solid rgba(255,255,255,.08);
      background:
        radial-gradient(160px 120px at 25% 30%, rgba(214,178,94,.16), transparent 60%),
        linear-gradient(135deg, rgba(255,255,255,.05), rgba(18,18,26,.55));
    }

    .tile .meta{
      padding:14px 14px 16px;
    }
    .tile h3{
      margin:0 0 6px;
      font-size:16px;
      letter-spacing:-.2px;
    }
    .tile p{
      margin:0;
      font-size:13px;
      color: var(--muted);
    }
    .two{
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap:14px;
    }
    @media (max-width: 860px){ .two{grid-template-columns:1fr;} }
    .rule{
      height:1px;
      background: linear-gradient(90deg, transparent, var(--line), transparent);
      margin: 18px 0;
    }
    footer{
      margin-top:34px;
      color: rgba(199,195,187,.85);
      font-size:13px;
      text-align:center;
    }
    .small{font-size:12px;color:rgba(199,195,187,.78)}
    .label{color:rgba(244,242,238,.92); font-weight:650}
    .contact{
      display:flex;
      flex-direction:column;
      gap:10px;
      margin-top:10px;
    }
    .contact a{
      text-decoration:none;
      padding:12px 14px;
      border-radius:14px;
      border:1px solid rgba(255,255,255,.10);
      background: rgba(18,18,26,.35);
      display:flex;
      justify-content:space-between;
      gap:10px;
      flex-wrap:wrap;
    }
    .contact a:hover{border-color: rgba(214,178,94,.30)}

    :root{
      --bg:#0b0b0f;
      --card: rgba(18,18,26,.72);
      --text:#f4f2ee;
      --muted: rgba(244,242,238,.72);
      --line: rgba(255,255,255,.10);

      --gold:#d6b25e;
      --gold2:#bfa36f;
      --goldLine: rgba(214,178,94,.35);

      --radius: 18px;
      --shadow: 0 18px 45px rgba(0,0,0,.45);
    }

    .wrap{
      max-width: 980px;
      margin: 0 auto;
      padding: 40px 18px 70px;
    }

    .form-shell{
      display: grid;
      gap: 16px;
    }

    .form-head h1{
      margin: 0 0 6px;
      font-size: 46px;
      letter-spacing: -0.8px;
    }
    .form-head p{
      margin: 0;
      color: var(--muted);
    }

    .form-card{
      background: linear-gradient(180deg, rgba(18,18,26,.86), rgba(18,18,26,.55));
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      padding: 22px;
      position: relative;
      overflow: hidden;
    }

    .form-card:before{
      content:"";
      position:absolute;
      inset:-2px;
      background: radial-gradient(700px 260px at 10% 0%, rgba(214,178,94,.16), transparent 60%);
      pointer-events:none;
    }

    .form-grid{
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      position: relative;
    }

    .field{
      display: grid;
      gap: 8px;
    }

    .field.full{
      grid-column: 1 / -1;
    }

    label{
      color: rgba(244,242,238,.92);
      font-weight: 600;
      font-size: 14px;
    }

    .form-control{
      width: 100%;
      padding: 12px 12px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,.12);
      background: rgba(11,11,15,.55);
      color: var(--text);
      font-size: 14px;
      outline: none;
      transition: border .15s, box-shadow .15s, transform .05s;
    }

    .form-control::placeholder{
      color: rgba(244,242,238,.45);
    }

    .form-control:focus{
      border-color: var(--goldLine);
      box-shadow: 0 0 0 4px rgba(214,178,94,.14);
    }

    textarea.form-control{
      resize: vertical;
      min-height: 120px;
    }

    /* File input – custom */
    .file{
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 10px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,.12);
      background: rgba(11,11,15,.55);
    }

    .file-input{
      position: absolute;
      left: -9999px;
    }

    .file-label{
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px 14px;
      border-radius: 999px;
      cursor: pointer;
      border: 1px solid rgba(214,178,94,.45);
      background: linear-gradient(135deg, rgba(214,178,94,.95), rgba(214,178,94,.35));
      color: #1a1205;
      font-weight: 700;
      font-size: 13px;
      user-select: none;
    }

    .file-name{
      color: rgba(244,242,238,.72);
      font-size: 13px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    /* kliknutí na „Vybrat soubor“ otevře input */
    .file-label{
      /* připojíme přes JS? ne – uděláme to přes label */
    }
    .file-label::before{ content:"📷"; margin-right:8px; }

    /* aby to fungovalo bez JS: v HTML můžeš použít <label for="image" class="file-label">Vybrat soubor</label>
       (pokud chceš, přepíšu ti to) */

    .preview{
      display: none;
      margin-top: 10px;
      border-radius: 14px;
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.10);
      background: rgba(0,0,0,.25);
    }
    .preview img{
      width: 100%;
      height: auto;
      display: block;
    }

    .addon{
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 10px;
      align-items: center;
    }

    .addon-suffix{
      padding: 12px 12px;
      border-radius: 12px;
      border: 1px solid rgba(255,255,255,.12);
      background: rgba(11,11,15,.55);
      color: rgba(244,242,238,.75);
      font-size: 14px;
    }

    /* chyby */
    .error{
      color: #ff8a7a;
      font-size: 12.5px;
    }

    /* tlačítka */
    .actions{
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 16px;
      position: relative;
    }

    .btn{
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 12px 16px;
      border-radius: 999px;
      border: 1px solid rgba(255,255,255,.14);
      background: rgba(255,255,255,.06);
      color: rgba(244,242,238,.92);
      text-decoration: none;
      font-weight: 750;
      font-size: 14px;
      cursor: pointer;
      transition: transform .08s ease, border-color .15s ease;
    }

    .btn:hover{
      transform: translateY(-1px);
      border-color: rgba(214,178,94,.30);
    }

    .btn-primary{
      border-color: rgba(214,178,94,.45);
      background: linear-gradient(135deg, rgba(214,178,94,.95), rgba(214,178,94,.35));
      color: #1a1205;
    }

    .btn-ghost{
      background: rgba(18,18,26,.25);
    }

    /* mobil */
    @media (max-width: 820px){
      .form-grid{ grid-template-columns: 1fr; }
      .form-head h1{ font-size: 36px; }
    }

    /*úprava obrázku 21.3.2026 */
    .tile .ph{
      aspect-ratio: 4 / 3;
      overflow: hidden;
    }

    .tile .ph .image-link{
      display:block;
      width:100%;
      height:100%;
    }

    .tile .ph .image-link img{
      width:100%;
      height:100%;
      display:block;
      object-fit:cover;
    }

    /*úprava obrázku v detailu*/
    .detail-image{
        max-width: 100%;
        height: auto;
        display: block;
    }

    .detail-image img{
        max-width: 100%;
            max-height: 700px;
            height: auto;
            display: block;
            margin: 0 auto;
            object-fit: contain;

    }

    /*úprava pro posouvání obrázků 24.3.2026*/
    .slider {
        position: relative;
        width: 100%;
        max-width: 900px;
        height: 600px;
        margin: 0 auto 2rem auto;
        background: #111;
        border-radius: 12px;
        overflow: visible;
    }

    .slide {
        position: absolute;
        inset: 0;
        display: none;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        border-radius: 12px;
    }

    .slide.active {
        display: flex;
    }

    .slide img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        border-radius: 12px;
    }

    .arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 30;
        width: 42px;
        height: 42px;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.65);
        color: white;
        border: none;
        cursor: pointer;
        border-radius: 50%;
        line-height: 1;
        font-size: 20px;
    }

    .arrow.left {
        left: 16px;
    }

    .arrow.right {
        right: 16px;
    }

    .arrow:hover {
        background: #555;
    }

    /*úprava editace obr. 28.3.2026*/
        .slider-wrapper {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin-top: 20px;
            overflow: visible;
        }

        .slider-view {
            width: 500px;
            height: 350px;
            display: flex;
            justify-content: center;
            align-items: center;
            overflow: hidden;
            border: 1px solid rgba(255,255,255,.12);
            border-radius: 12px;
            background: rgba(11,11,15,.55);
            position: relative;
        }

        .slider-image {
            display: none;
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .slider-image.active {
            display: block;
        }

        .slider-arrow {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 42px;
            height: 42px;
            border: none;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.6);
            color: white;
            font-size: 22px;
            line-height: 1;
            cursor: pointer;
            flex-shrink: 0;
            position: static;
            transform: none;
            z-index: auto;
            padding: 0;
        }

        .slider-arrow:hover {
            background: #555;
        }

        .slider-actions {
            margin-top: 10px;
        }

        /* 30.3.2026 */
        .btn-danger{
            border-color: rgba(255,120,120,.35);
            background: rgba(255,120,120,.14);
            color: #ffd6d6;
        }

        .slider-info{
            margin-top: 10px;
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
            color: rgba(244,242,238,.85);
            font-size: 14px;
        }

        .first-image-badge{
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 6px 10px;
            border-radius: 999px;
            background: linear-gradient(135deg, rgba(214,178,94,.95), rgba(214,178,94,.35));
            color: #1a1205;
            font-weight: 700;
            font-size: 12px;
        }

        .flash-messages {
            max-width: 900px;
            margin: 20px auto;
            padding: 0 20px;
        }

        .flash-message {
            padding: 14px 18px;
            border-radius: 12px;
            font-size: 15px;
            font-weight: 500;
            margin-bottom: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            animation: fadeIn 0.3s ease-in-out;

            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
        }

        .flash-success {
            background-color: #eaf8ee;
            color: #1f6b3a;
            border: 1px solid #b9e3c6;
        }

        .flash-error {
            background-color: #fdecec;
            color: #a12626;
            border: 1px solid #f3b2b2;
        }

        .flash-warning {
            background-color: #fff8e6;
            color: #8a5a00;
            border: 1px solid #f1d58a;
        }

        .flash-info {
            background-color: #eaf4ff;
            color: #1d4f91;
            border: 1px solid #b7d3f5;
        }

        .flash-close {
            background: transparent;
            border: none;
            font-size: 20px;
            cursor: pointer;
            color: inherit;
            line-height: 1;
            padding: 0;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-8px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /** 1.4.2026 - formulář */

        .inquiry-card {
            display: flex;
            gap: 40px;
            align-items: flex-start;
        }

        .inquiry-image,
        .inquiry-content {
            flex: 1;
        }

        .inquiry-image img {
            width: 100%;
            max-width: 500px;
            height: auto;
            display: block;
            border-radius: 12px;
            object-fit: cover;
        }

        .inquiry-form {
            margin-top: 25px;
        }

        .inquiry-form .form-group {
            display: flex;
            flex-direction: column;
            margin-bottom: 18px;
        }

        .inquiry-form label {
            font-weight: 600;
            margin-bottom: 8px;
        }

        .inquiry-form input,
        .inquiry-form textarea {
            width: 100%;
            padding: 12px 14px;
            border: 1px solid #d6d6d6;
            border-radius: 10px;
            font-size: 16px;
            font-family: inherit;
            background: #fff;
            box-sizing: border-box;
        }

        .inquiry-form input:focus,
        .inquiry-form textarea:focus {
            outline: none;
            border-color: #999;
            box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
        }

        .field-error {
            color: #b42318;
            font-size: 14px;
            margin-top: 6px;
        }

        .form-error-box {
            background: #fef3f2;
            color: #b42318;
            border: 1px solid #fecdca;
            padding: 12px 14px;
            border-radius: 10px;
            margin: 18px 0;
        }

        .form-note {
            color: #666;
            font-size: 14px;
            margin-bottom: 20px;
        }

        .inquiry-actions {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
        }

        @media (max-width: 900px) {
            .inquiry-card {
                flex-direction: column;
            }

            .inquiry-image img {
                max-width: 100%;
            }
        }

        /**19.4. - flash message**/
        .flash-message.success{
              border-color: rgba(214,178,94,.45);
              background: linear-gradient(135deg, rgba(214,178,94,.95), rgba(214,178,94,.35));
              color: #1a1205;
              padding: 15px 20px;
              margin-bottom: 20px;
        }

        .flash-message.error{
              border: 1px solid #f5c6cb;
              background-color: #fdecea;;
              color: #c62828;
              padding: 15px 20px;
              margin-bottom: 20px;
        }

        .admin-section {
            padding: 30px 0;
        }

        .admin-table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
        }

        .admin-table th,
        .admin-table td {
            border: 1px solid #ddd;
            padding: 12px;
            text-align: left;
            vertical-align: top;
        }

        .admin-table th {
            background-color: #f5f5f5;
        }

        .admin-table tr:nth-child(even) {
            background-color: #fafafa;
        }

        .table-responsive {
            overflow-x: auto;
        }

        .inquiry-admin-section {
            max-width: 1200px;
            margin: 70px auto 90px auto;
            padding: 0 20px;
        }

        .section-header {
            margin-bottom: 30px;
        }

        .section-header h1 {
            font-size: 3.2rem;
            font-weight: 700;
            color: #f5f1eb;
            margin-bottom: 10px;
            line-height: 1.1;
        }

        .section-header p {
            color: #b8b1a7;
            font-size: 1rem;
            margin: 0;
        }

        .inquiry-table-wrapper {
            background: rgba(10, 10, 14, 0.88);
            border: 1px solid rgba(212, 175, 55, 0.16);
            border-radius: 18px;
            overflow: hidden;
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
            backdrop-filter: blur(8px);
        }

        .inquiry-table {
            width: 100%;
            border-collapse: collapse;
        }

        .inquiry-table thead {
            background: rgba(255, 255, 255, 0.03);
        }

        .inquiry-table th {
            text-align: left;
            padding: 20px 18px;
            font-size: 0.95rem;
            font-weight: 600;
            color: #d9d2c4;
            border-bottom: 1px solid rgba(212, 175, 55, 0.14);
            white-space: nowrap;
        }

        .inquiry-table td {
            padding: 20px 18px;
            color: #f5f1eb;
            border-bottom: 1px solid rgba(255, 255, 255, 0.06);
            vertical-align: middle;
        }

        .inquiry-table tbody tr {
            transition: background 0.2s ease, transform 0.2s ease;
        }

        .inquiry-table tbody tr:hover {
            background: rgba(255, 255, 255, 0.025);
        }

        .inquiry-table tbody tr:last-child td {
            border-bottom: none;
        }

        .email-cell {
            word-break: break-word;
            color: #e8dfd0;
        }

        .detail-link {
            display: inline-block;
            padding: 8px 14px;
            border: 1px solid rgba(212, 175, 55, 0.35);
            border-radius: 999px;
            color: #f1d58a;
            text-decoration: none;
            font-weight: 500;
            transition: all 0.2s ease;
        }

        .detail-link:hover {
            background: rgba(212, 175, 55, 0.12);
            border-color: rgba(212, 175, 55, 0.55);
            color: #fff3c4;
        }

        .status-badge {
            display: inline-block;
            min-width: 110px;
            text-align: center;
            padding: 7px 14px;
            border-radius: 999px;
            font-size: 0.82rem;
            font-weight: 700;
            letter-spacing: 0.4px;
        }

        .status-new {
            background: rgba(212, 175, 55, 0.14);
            color: #f3d98b;
            border: 1px solid rgba(212, 175, 55, 0.3);
        }

        .status-closed {
            background: rgba(90, 140, 255, 0.14);
            color: #a9c0ff;
            border: 1px solid rgba(90, 140, 255, 0.3);
        }

        .status-answered {
            background: rgba(86, 201, 135, 0.14);
            color: #a7f0c2;
            border: 1px solid rgba(86, 201, 135, 0.3);
        }

        .status-sold {
            background: rgba(180, 180, 180, 0.14);
            color: #d7d7d7;
            border: 1px solid rgba(180, 180, 180, 0.3);
        }

        .empty-state {
            background: rgba(10, 10, 14, 0.88);
            border: 1px solid rgba(212, 175, 55, 0.16);
            border-radius: 18px;
            padding: 35px 25px;
            text-align: center;
            color: #d5cec2;
            box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
        }

        @media (max-width: 992px) {
            .inquiry-admin-section {
                margin-top: 50px;
            }

            .section-header h1 {
                font-size: 2.4rem;
            }

            .inquiry-table-wrapper {
                overflow-x: auto;
            }

            .inquiry-table {
                min-width: 900px;
            }
        }

        @media (max-width: 576px) {
            .section-header h1 {
                font-size: 2rem;
            }

            .section-header p {
                font-size: 0.95rem;
            }
        }

        /**21.4. - detail poptávky*/
        .inquiry-detail-page {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px 40px;
            color: #f5f2ea;
        }

        .inquiry-detail-page h1,
        .inquiry-detail-page h2 {
            margin-bottom: 18px;
            color: #f5f2ea;
        }

        .inquiry-summary,
        .conversation-section,
        .reply-section {
            margin-bottom: 36px;
        }

        .summary-card {
            background: rgba(255, 255, 255, 0.06);
            border: 1px solid rgba(212, 184, 120, 0.18);
            border-radius: 18px;
            padding: 22px 24px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
        }

        .summary-card p {
            margin: 0 0 10px;
            color: #f3eee3;
            line-height: 1.6;
        }

        .summary-card p:last-child {
            margin-bottom: 0;
        }

        .original-message {
            margin-top: 24px;
        }

        .empty-conversation {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 16px;
            padding: 18px 22px;
            color: #d9d2c3;
        }

        .conversation {
            display: flex;
            flex-direction: column;
            gap: 18px;
            margin-top: 18px;
        }

        .chat-row {
            display: flex;
            width: 100%;
        }

        .chat-row.admin {
            justify-content: flex-end;
        }

        .chat-row.customer {
            justify-content: flex-start;
        }

        .chat-bubble {
            max-width: 72%;
            padding: 18px 22px;
            border-radius: 22px;
            position: relative;
            box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
        }

        .chat-row.admin .chat-bubble {
            background: linear-gradient(135deg, #d4b878, #c6ad73);
            color: #1c1a16;
            border-bottom-right-radius: 8px;
        }

        .chat-row.customer .chat-bubble {
            background: linear-gradient(135deg, #23242b, #2c2e38);
            color: #f4f1e8;
            border-bottom-left-radius: 8px;
        }

        .chat-row.admin .chat-bubble::after {
            content: "";
            position: absolute;
            right: -12px;
            top: 26px;
            width: 0;
            height: 0;
            border-top: 12px solid transparent;
            border-bottom: 12px solid transparent;
            border-left: 12px solid #c9b073;
        }

        .chat-row.customer .chat-bubble::before {
            content: "";
            position: absolute;
            left: -12px;
            top: 26px;
            width: 0;
            height: 0;
            border-top: 12px solid transparent;
            border-bottom: 12px solid transparent;
            border-right: 12px solid #2a2c35;
        }

        .chat-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 16px;
            margin-bottom: 14px;
            font-size: 0.95rem;
        }

        .chat-row.admin .chat-meta strong,
        .chat-row.admin .chat-meta span {
            color: #1f1c16;
        }

        .chat-row.customer .chat-meta strong,
        .chat-row.customer .chat-meta span {
            color: #f4f1e8;
        }

        .chat-text {
            white-space: pre-line;
            line-height: 1.6;
            font-size: 1rem;
        }

        .reply-form {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .reply-form textarea {
            width: 100%;
            min-height: 140px;
            padding: 16px 18px;
            border-radius: 16px;
            border: 1px solid rgba(212, 184, 120, 0.25);
            background: rgba(255, 255, 255, 0.06);
            color: #f5f2ea;
            resize: vertical;
            font-size: 1rem;
            line-height: 1.5;
            outline: none;
            box-sizing: border-box;
        }

        .reply-form textarea::placeholder {
            color: #cfc7b7;
        }

        .reply-form textarea:focus {
            border-color: #d4b878;
            box-shadow: 0 0 0 3px rgba(212, 184, 120, 0.15);
        }

        .reply-button {
            align-self: flex-end;
            padding: 12px 22px;
            border: none;
            border-radius: 999px;
            background: linear-gradient(135deg, #d4b878, #b99557);
            color: #1d1a15;
            font-weight: 700;
            cursor: pointer;
            transition: 0.2s ease;
        }

        .reply-button:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 20px rgba(185, 149, 87, 0.25);
        }

        @media (max-width: 768px) {
            .chat-bubble {
                max-width: 92%;
            }

            .chat-meta {
                flex-direction: column;
                align-items: flex-start;
            }

            .reply-button {
                width: 100%;
            }
        }

        .close-form {
            margin-top: 14px;
            display: flex;
            justify-content: flex-end;
        }

        .close-button {
            padding: 12px 22px;
            border: none;
            border-radius: 999px;
            background: linear-gradient(135deg, #6e4b4b, #8a5a5a);
            color: #fff;
            font-weight: 700;
            cursor: pointer;
            transition: 0.2s ease;
        }

        .close-button:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 20px rgba(138, 90, 90, 0.25);
        }

        .closed-info {
            margin-top: 14px;
            padding: 14px 18px;
            border-radius: 14px;
            background: rgba(255, 255, 255, 0.06);
            color: #d8d0c0;
            border: 1px solid rgba(212, 184, 120, 0.18);
        }

        .attachment {
            margin-top: 10px;
        }

        .attachment a {
            color: #d4b878;
            text-decoration: none;
            font-weight: 600;
        }

        .attachment a:hover {
            text-decoration: underline;
        }

        .attachment-upload {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .file-upload-button {
            display: inline-block;
            width: fit-content;
            padding: 10px 16px;
            border-radius: 12px;
            cursor: pointer;
            background: rgba(212, 184, 120, 0.12);
            border: 1px solid rgba(212, 184, 120, 0.3);
            color: #d4b878;
            font-weight: 600;
        }

        .selected-file {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 10px 14px;
            border-radius: 12px;
            background: rgba(255, 255, 255, 0.05);
            color: #f3eee3;
            width: fit-content;
        }

        .remove-attachment-button {
            border: none;
            border-radius: 999px;
            padding: 8px 14px;
            cursor: pointer;
            background: rgba(255, 255, 255, 0.08);
            color: #f5f2ea;
            font-weight: 600;
        }

        .remove-attachment-button:hover {
            background: rgba(255, 255, 255, 0.14);
        }

        .chat-attachment {
            margin-top: 12px;
        }

        .chat-attachment a {
            display: inline-block;
            padding: 8px 12px;
            border-radius: 10px;
            text-decoration: none;
            font-weight: 600;
            background: rgba(255, 255, 255, 0.12);
            color: inherit;
        }

        .chat-attachment a:hover {
            background: rgba(255, 255, 255, 0.18);
        }

        .chat-row.admin .chat-attachment a {
            background: rgba(0, 0, 0, 0.08);
            color: #1d1a15;
        }

        .chat-row.customer .chat-attachment a {
            background: rgba(255, 255, 255, 0.08);
            color: #f4f1e8;
        }

        /*23.4. zobrazování přílohy*/

       .chat-bubble {
           max-width: 700px;
           padding: 14px 16px;
           border-radius: 16px;
           margin-bottom: 16px;
           box-sizing: border-box;
           overflow: hidden;
       }

       .chat-row.admin .chat-bubble {
           background: #d6b56a;
           color: #111;
       }

       .chat-row.customer .chat-bubble {
           background: #1b1b1f;
           color: #fff;
           border: 1px solid #333;
       }

       .chat-text {
           margin-bottom: 10px;
           white-space: pre-line;
           line-height: 1.5;
       }

       .chat-attachment {
           margin-top: 12px;
       }

       .chat-image-preview {
           display: block;
           max-width: 100%;
           width: 100%;
           max-width: 420px;
           height: auto;
           border-radius: 12px;
           border: 1px solid rgba(255,255,255,0.15);
           background: #111;
           object-fit: contain;
           box-shadow: 0 4px 14px rgba(0,0,0,0.25);
       }

       .chat-file-link {
           display: inline-block;
           padding: 10px 14px;
           border-radius: 10px;
           background: rgba(255,255,255,0.12);
           color: inherit;
           text-decoration: none;
           transition: 0.2s ease;
       }

       .chat-file-link:hover {
           background: rgba(255,255,255,0.2);
           text-decoration: underline;
       }

       .chat-image-preview {
           display: block;
           max-width: 320px;
           width: 100%;
           height: auto;
           border-radius: 12px;
           border: 1px solid rgba(255,255,255,0.15);
           background: #111;
           object-fit: contain;
       }


       .chat-row {
           display: flex;
           margin-bottom: 18px;
       }

       .chat-row.admin {
           justify-content: flex-end;
       }

       .chat-row.customer {
           justify-content: flex-start;
       }

       .chat-bubble {
           max-width: 700px;
           padding: 14px 16px;
           border-radius: 16px;
           margin-bottom: 16px;
           box-sizing: border-box;
           overflow: hidden;
       }

       .chat-image-preview {
           display: block;
           max-width: 360px;
           width: 100%;
           height: auto;
           border-radius: 12px;
           object-fit: contain;
           box-shadow: 0 4px 14px rgba(0,0,0,0.25);
       }

       .chat-attachment {
           margin-top: 12px;
           display: flex;
           flex-direction: column;
           gap: 10px;
       }

       .attachment-item {
           display: block;
       }

       .chat-image-preview {
           display: block;
           max-width: 360px;
           width: 100%;
           height: auto;
           border-radius: 12px;
           object-fit: contain;
           box-shadow: 0 4px 14px rgba(0,0,0,0.25);
       }

       .selected-file-list {
           margin-top: 12px;
       }

       .selected-file-item {
           display: flex;
           justify-content: space-between;
           align-items: center;
           gap: 12px;
           padding: 10px 12px;
           border-radius: 10px;
           background: rgba(255,255,255,0.08);
       }

       .remove-attachment-button {
           border: none;
           padding: 6px 10px;
           border-radius: 8px;
           cursor: pointer;
       }

       .close-actions {
           display: flex;
           gap: 12px;
           flex-wrap: wrap;
           margin-top: 16px;
       }

       .sold-button {
           background-color: #7d5a2f;
           color: white;
       }

       .sold-label {
           display: inline-block;
           padding: 6px 12px;
           border-radius: 8px;
           background: #8b0000;
           color: white;
           font-weight: bold;
       }

       /*24.4. cookies*/
       .cookie-banner {
           position: fixed;
           left: 50%;
           bottom: 22px;
           transform: translateX(-50%);
           width: calc(100% - 40px);
           max-width: 1050px;
           z-index: 9999;
       }

       .cookie-content {
           background: rgba(20, 20, 25, 0.96);
           border: 1px solid rgba(255, 255, 255, 0.08);
           border-radius: 22px;
           box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
           backdrop-filter: blur(10px);

           padding: 20px 24px;
           display: flex;
           justify-content: space-between;
           align-items: center;
           gap: 24px;
       }

       .cookie-content p {
           margin: 0;
           font-size: 15px;
           line-height: 1.6;
           color: #ddd;
       }

       .cookie-content a {
           color: #d6b45c;
           text-decoration: underline;
       }

       .cookie-buttons {
           display: flex;
           gap: 10px;
           flex-shrink: 0;
       }

       .cookie-btn {
           padding: 10px 16px;
           border-radius: 999px;
           border: 1px solid rgba(255, 255, 255, 0.12);
           cursor: pointer;
           font-size: 14px;
           font-weight: 700;
       }

       .cookie-btn.accept {
           background: #006600;
                 color:#fff;
       }

       .cookie-btn.reject {
           background: rgba(255, 255, 255, 0.08);
           color: #fff;
       }

       .cookie-btn:hover {
           transform: translateY(-1px);
       }

       @media (max-width: 768px) {
           .cookie-banner {
               bottom: 14px;
               width: calc(100% - 24px);
           }

           .cookie-content {
               flex-direction: column;
               align-items: flex-start;
               padding: 18px;
           }

           .cookie-buttons {
               width: 100%;
               flex-direction: column;
           }

           .cookie-btn {
               width: 100%;
           }
       }

       .legal-page {
           max-width: 900px;
           margin: 70px auto;
           padding: 0 20px;
       }

       .legal-card {
           background: rgba(20, 20, 25, 0.92);
           border: 1px solid rgba(255, 255, 255, 0.08);
           border-radius: 22px;
           padding: 42px;
           box-shadow: 0 18px 50px rgba(0, 0, 0, 0.35);
       }

       .legal-card h1 {
           font-size: 44px;
           margin-bottom: 24px;
       }

       .legal-card h2 {
           font-size: 26px;
           margin-top: 34px;
           margin-bottom: 14px;
       }

       .legal-card p,
       .legal-card li {
           font-size: 17px;
           line-height: 1.7;
           color: #ddd;
       }

       .legal-card ul {
           padding-left: 24px;
       }

       .footer-content {
           text-align: center;
           padding: 24px 16px;
       }

       .footer-content p {
           margin: 0 0 10px;
       }

       .footer-links {
           display: flex;
           justify-content: center;
           gap: 18px;
       }

       .footer-links a {
           color: #d6b45c;
           font-size: 14px;
           text-decoration: none;
       }

       .footer-links a:hover {
           text-decoration: underline;
       }

       .privacy-consent {
           margin-top: 18px;
           font-size: 14px;
           color: #ddd;
       }

       .privacy-consent label {
           display: flex;
           gap: 10px;
           align-items: flex-start;
           line-height: 1.5;
       }

       .privacy-consent input {
           margin-top: 4px;
       }

       .privacy-consent a {
           color: #d6b45c;
           text-decoration: underline;
       }

       .form-error {
           background: rgba(200, 50, 50, 0.1);
           border: 1px solid rgba(200, 50, 50, 0.3);
           color: #ff6b6b;
           padding: 12px 16px;
           border-radius: 10px;
           margin-bottom: 15px;
       }

       footer {
           margin-top: 80px;
           padding: 40px 20px;
           text-align: center;
       }

       .footer-container {
           max-width: 900px;
           margin: 0 auto;
       }

       .footer-copy {
           color: #aaa;
           font-size: 14px;
           margin-bottom: 20px;
       }

       /* odkazy */
       .footer-links {
           display: flex;
           justify-content: center;
           align-items: center;
           gap: 14px;
           flex-wrap: wrap;
           margin-bottom: 25px;
       }

       .footer-links a {
           color: #d6b45c;
           text-decoration: none;
           font-size: 15px;
       }

       .footer-links a:hover {
           text-decoration: underline;
       }

       .divider {
           width: 1px;
           height: 16px;
           background: rgba(255,255,255,0.2);
       }

       /* tlačítko cookies */
       .cookie-settings-btn {
           background: transparent;
           border: 1px solid #d6b45c;
           color: #d6b45c;
           padding: 8px 14px;
           border-radius: 999px;
           cursor: pointer;
           font-size: 14px;
           transition: 0.2s;
       }

       .cookie-settings-btn:hover {
           background: #d6b45c;
           color: #111;
       }

       /* socials */
       .footer-socials {
           display: flex;
           justify-content: center;
           gap: 15px;
       }

       .social {
           width: 36px;
           height: 36px;
           display: flex;
           align-items: center;
           justify-content: center;
           border-radius: 50%;
           background: rgba(255,255,255,0.08);
           color: white;
           text-decoration: none;
           font-size: 16px;
           transition: 0.2s;
       }

       .social:hover {
           background: rgba(255,255,255,0.2);
       }

       .footer-socials {
           display: flex;
           justify-content: center;
           gap: 14px;
       }

       .social {
           width: 42px;
           height: 42px;
           border-radius: 50%;
           display: flex;
           align-items: center;
           justify-content: center;

           background: rgba(255,255,255,0.05);
           border: 1px solid rgba(214,180,92,0.4);

           transition: 0.25s;
       }

       .social svg {
           width: 18px;
           height: 18px;
           fill: #d6b45c;
       }

       /* hover efekt */
       .social:hover {
           background: #d6b45c;
           transform: translateY(-2px);
       }

       .social:hover svg {
           fill: #111;
       }

       /*vyhledávání a stránkování*/
       .inquiry-filter {
           display: flex;
           gap: 12px;
           align-items: center;
           margin: 35px 0 0;
           flex-wrap: wrap;
       }

       .inquiry-filter input,
       .inquiry-filter select {
           height: 42px;
           padding: 0 14px;
           border-radius: 999px;
           border: 1px solid rgba(212, 175, 55, 0.35);
           background: #111114;
           color: #f5f0e8;
           font-size: 14px;
           outline: none;
       }

       .inquiry-filter input {
           min-width: 280px;
       }

       .inquiry-filter input::placeholder {
           color: rgba(245, 240, 232, 0.55);
       }

       .inquiry-filter button,
       .filter-reset {
           height: 42px;
           padding: 0 22px;
           border-radius: 999px;
           border: 1px solid #b08a3c;
           background: rgba(176, 138, 60, 0.18);
           color: #f2d98b;
           font-weight: 700;
           text-decoration: none;
           cursor: pointer;
       }

       .filter-reset {
           display: inline-flex;
           align-items: center;
       }

       .inquiry-filter button:hover,
       .filter-reset:hover {
           background: #b08a3c;
           color: #111;
       }

       .inquiry-pagination {
           display: flex;
           justify-content: center;
           align-items: center;
           gap: 18px;
           padding: 22px 0 4px;
           color: #f5f0e8;
       }

       .inquiry-pagination a {
           padding: 9px 18px;
           border-radius: 999px;
           border: 1px solid #b08a3c;
           color: #f2d98b;
           text-decoration: none;
           font-weight: 700;
       }

       .inquiry-pagination a:hover {
           background: #b08a3c;
           color: #111;
       }

       .inquiries-table td {
           word-break: break-word;
       }

       .status-badge {
           padding: 6px 14px;
           border-radius: 20px;
           font-size: 13px;
           font-weight: 600;
           display: inline-block;
       }

       /* PRODANÁ */
       .status-progress {
           border: 1px solid #d4af37;
           color: #d4af37;
           background: rgba(212, 175, 55, 0.1);
       }

       /* NEPRODANÁ */
       .status-not-sold {
           border: 1px solid #888;
           color: #aaa;
           background: rgba(255,255,255,0.05);
       }

       /* NO RESPONSE */
       .status-no-response {
           border: 1px solid #c77d00;
           color: #ffb347;
           background: rgba(255,183,71,0.1);
       }

       /*tlačítka rezervace*/
       .admin-actions {
           display: flex;
           gap: 12px;
           flex-wrap: wrap;
           margin-top: 24px;
       }

       .admin-actions form {
           margin: 0;
       }

       .admin-btn {
           border: none;
           border-radius: 999px;
           padding: 11px 22px;
           font-size: 0.95rem;
           font-weight: 600;
           cursor: pointer;
           transition: all 0.25s ease;
           box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
       }

       .reserve-btn {
           background: #b88a44;
           color: #fff;
       }

       .reserve-btn:hover {
           background: #9f7537;
           transform: translateY(-2px);
       }

       .available-btn {
           background: #f5f0e8;
           color: #5d4630;
           border: 1px solid #c9a66b;
       }

       .available-btn:hover {
           background: #eadcc8;
           transform: translateY(-2px);
       }

       .painting-status-box {
           margin-top: 24px;
           padding: 24px;
           border-radius: 18px;
           text-align: center;
           line-height: 1.6;
       }

       .painting-status-box h3 {
           margin-bottom: 10px;
           font-size: 1.25rem;
       }

       .reserved-box {
           background: #fff8ec;
           border: 1px solid #d8b16a;
           color: #6b4c1f;
       }

       .sold-box {
           background: #f4f1ed;
           border: 1px solid #b8a99a;
           color: #5a4a3d;
       }

       /*zprávy*/
       .message-thread {
           margin-top: 32px;
       }
/*
       .message-box {
           padding: 18px 20px;
           border-radius: 16px;
           margin-bottom: 16px;
           line-height: 1.6;
       }

       .customer-message {
           background: #fff8ec;
           border: 1px solid #d8b16a;
       }

       .admin-message {
           background: #f4f1ed;
           border: 1px solid #c8b9a8;
           margin-left: 32px;
       }

       .message-meta {
           display: flex;
           justify-content: space-between;
           gap: 12px;
           margin-bottom: 8px;
           font-size: 0.9rem;
           opacity: 0.8;
       }

       .reply-box {
           margin-top: 36px;
       }
*/
       .contact-page {
           max-width: 900px;
           margin: 0 auto;
       }

       .contact-card,
       .contact-form-box {
           background: #fff;
           border: 1px solid rgba(184, 138, 68, 0.25);
           border-radius: 22px;
           padding: 28px;
           box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
           margin-top: 28px;
       }

       .contact-card h2,
       .contact-form-box h2 {
           margin-bottom: 14px;
       }

       .contact-card p {
           margin: 10px 0;
           line-height: 1.6;
       }

       .contact-toggle-btn {
           margin-top: 18px;
       }

       .contact-form-box {
           display: none;
       }

       .contact-form-box.open {
           display: block;
           animation: slideDown 0.25s ease;
       }

       @keyframes slideDown {
           from {
               opacity: 0;
               transform: translateY(-8px);
           }

           to {
               opacity: 1;
               transform: translateY(0);
           }
       }

       .flash-message {
           margin: 20px 0;
           padding: 14px 18px;
           border-radius: 14px;
           font-weight: 500;
       }

       .flash-message.success {
           background: #f3ead8;
           border: 1px solid #c9a66b;
           color: #5d4630;
       }

       .flash-message.error {
           background: #f8e3df;
           border: 1px solid #c28b82;
           color: #7a332a;
       }
/*
       .contact-page {
           max-width: 1080px;
           margin: 0 auto;
           padding: 40px 0 80px;
       }

       .contact-page .section-header {
           margin-bottom: 36px;
       }

       .contact-card,
       .contact-form-box {
           background: linear-gradient(145deg, #15120f, #0c0b0a);
           border: 1px solid rgba(201, 166, 107, 0.45);
           border-radius: 26px;
           padding: 34px;
           box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
           margin-top: 28px;
           color: #f5f0e8;
       }

       .contact-card h2,
       .contact-form-box h2 {
           color: #f7e0ad;
           margin-bottom: 22px;
           font-size: 1.6rem;
       }

       .contact-card p {
           color: #e8dfd2;
           margin: 14px 0;
           font-size: 1.05rem;
       }

       .contact-card strong {
           color: #d8b16a;
       }

       .contact-card span {
           color: #f5f0e8;
       }

       .contact-toggle-btn {
           margin-top: 26px;
           background: linear-gradient(135deg, #d8b16a, #b88a44);
           color: #111;
           border: none;
           border-radius: 999px;
           padding: 13px 24px;
           font-weight: 700;
           cursor: pointer;
           transition: all 0.25s ease;
       }

       .contact-toggle-btn:hover {
           transform: translateY(-2px);
           box-shadow: 0 10px 24px rgba(216, 177, 106, 0.25);
       }

       .contact-form-box {
           display: none;
       }

       .contact-form-box.open {
           display: block;
           animation: slideDown 0.25s ease;
       }

       .contact-form-box input,
       .contact-form-box textarea {
           background: #f7f2ea;
           color: #1a1510;
           border: 1px solid #d8b16a;
           border-radius: 14px;
           padding: 12px 14px;
       }

       .contact-form-box label {
           color: #f5f0e8;
       }

       .contact-form-box textarea {
           resize: vertical;
       }

       @keyframes slideDown {
           from {
               opacity: 0;
               transform: translateY(-8px);
           }

           to {
               opacity: 1;
               transform: translateY(0);
           }
       } */

       .contact-form-inline {
           display: none;
           margin-top: 18px;
       }

       .contact-form-inline.open {
           display: block;
           animation: fadeIn 0.25s ease;
       }

       .contact-form-inline .form-grid {
           margin-top: 18px;
       }

       .contact-form-inline .full {
           grid-column: 1 / -1;
       }

       .contact a {
           cursor: pointer;
       }

       @media (max-width: 820px) {
           .contact-form-inline .form-grid {
               grid-template-columns: 1fr;
           }
       }

       .contact-copy {
           width: 100%;
           text-decoration: none;
           padding: 12px 14px;
           border-radius: 14px;
           border: 1px solid rgba(255,255,255,.10);
           background: rgba(18,18,26,.35);
           color: inherit;
           display: flex;
           justify-content: space-between;
           gap: 10px;
           flex-wrap: wrap;
           cursor: pointer;
           font: inherit;
           text-align: left;
       }

       .contact-copy:hover {
           border-color: rgba(214,178,94,.30);
       }

       .mobile-menu-toggle {
           display: none;
           background: rgba(18,18,26,.55);
           color: var(--text);
           border: 1px solid rgba(214,178,94,.35);
           border-radius: 12px;
           width: 42px;
           height: 42px;
           font-size: 24px;
           cursor: pointer;
       }

       /* mobil */
       @media (max-width: 768px) {
           .nav {
               position: relative;
           }

           .mobile-menu-toggle {
               display: flex;
               align-items: center;
               justify-content: center;
           }

           .links {
               display: none;
               position: absolute;
               top: 62px;
               right: 18px;
               left: 18px;
               flex-direction: column;
               gap: 10px;
               padding: 16px;
               border-radius: 18px;
               background: rgba(18,18,26,.96);
               border: 1px solid rgba(214,178,94,.25);
               box-shadow: 0 18px 40px rgba(0,0,0,.45);
               z-index: 999;
           }

           .links.open {
               display: flex;
           }

           .links a {
               width: 100%;
               text-align: center;
               padding: 12px 14px;
           }
       }

       /* desktop */
       @media (min-width: 769px) {
           .links {
               display: flex;
           }
       }

       @media (max-width: 768px) {

           .wrap {
               padding: 20px 16px 50px;
           }

           .card,
           .detail-card,
           .form-card,
           .form-shell {
               padding: 18px;
               border-radius: 18px;
           }

           .form-grid {
               grid-template-columns: 1fr;
               gap: 12px;
           }

           .field,
           .field.full {
               grid-column: 1 / -1;
               width: 100%;
           }

           .form-control,
           input,
           textarea,
           select {
               width: 100%;
               max-width: 100%;
               box-sizing: border-box;
           }

           textarea.form-control,
           textarea {
               min-height: 110px;
           }

           .privacy-consent {
               margin-top: 18px;
               width: 100%;
           }

           .privacy-consent label {
               display: grid;
               grid-template-columns: 18px 1fr;
               gap: 10px;
               align-items: flex-start;
               line-height: 1.45;
               font-size: 14px;
           }

           .privacy-consent input[type="checkbox"] {
               width: 16px;
               height: 16px;
               margin-top: 3px;
           }

           .privacy-consent a {
               display: inline;
               word-break: normal;
           }

           .actions {
               flex-direction: column;
               align-items: flex-start;
               gap: 12px;
           }

           .actions .btn,
           .btn.primary,
           .btn-ghost {
               width: fit-content;
               max-width: 100%;
           }

           .detail-actions {
               margin-top: 20px;
           }

           .detail-actions .btn {
               width: fit-content;
           }
       }

       @media (max-width: 768px) {

           .inquiry-admin-section {
               margin: 40px auto 60px;
               padding: 0 18px;
               overflow: hidden;
           }

           .inquiry-table {
               width: 100%;
               min-width: 0;
               border-collapse: separate;
               border-spacing: 0 14px;
           }

           .inquiry-table thead {
               display: none;
           }

           .inquiry-table,
           .inquiry-table tbody,
           .inquiry-table tr,
           .inquiry-table td {
               display: block;
           }

           .inquiry-table tr {
               background: rgba(18,18,26,.75);
               border: 1px solid rgba(214,178,94,.18);
               border-radius: 18px;
               padding: 14px;
               margin-bottom: 14px;
           }

           .inquiry-table td {
               border-bottom: none;
               padding: 8px 0;
               word-break: break-word;
           }

           .inquiry-table td::before {
               content: attr(data-label);
               display: block;
               margin-bottom: 3px;
               color: rgba(244,242,238,.55);
               font-size: 12px;
               font-weight: 700;
               text-transform: uppercase;
           }

           .inquiry-filter {
               display: grid;
               grid-template-columns: 1fr;
               gap: 10px;
               margin-top: 24px;
           }

           .inquiry-filter input,
           .inquiry-filter select {
               width: 100%;
               min-width: 0;
           }

           .inquiry-filter button,
           .filter-reset {
               width: fit-content;
           }
       }

       @media (max-width: 768px) {

           .form-shell {
               padding: 0;
               overflow: hidden;
           }

           .form-head {
               padding: 0 14px;
           }

           .form-head h1 {
               font-size: 34px;
               line-height: 1.1;
               margin-top: 18px;
           }

           .form-head p {
               font-size: 15px;
           }

           .form-shell > form {
               padding: 0 14px 28px;
           }

           .mb-3 {
               margin-top: 18px;
           }

           .slider-wrapper {
               display: grid;
               grid-template-columns: 42px 1fr 42px;
               gap: 8px;
               align-items: center;
               width: 100%;
               margin-top: 18px;
           }

           .slider-view {
               width: 100%;
               height: 320px;
               max-width: 100%;
           }

           .slider-image {
               max-width: 100%;
               max-height: 100%;
               object-fit: contain;
           }

           .slider-arrow {
               width: 38px;
               height: 38px;
               font-size: 20px;
           }

           .slider-info {
               padding: 0;
               margin-top: 12px;
           }

           .slider-actions {
               display: flex;
               gap: 8px;
               flex-wrap: wrap;
               margin-top: 12px;
           }

           .slider-actions .btn {
               padding: 10px 13px;
               font-size: 13px;
           }

           .field {
               margin-top: 14px;
           }

           .addon {
               grid-template-columns: 1fr;
               gap: 6px;
           }

           .addon-suffix {
               display: none;
           }

           .form-control {
               min-height: 44px;
           }

           .tox.tox-tinymce {
               width: 100% !important;
               max-width: 100% !important;
               border-radius: 14px !important;
               overflow: hidden;
           }

           .tox .tox-toolbar,
           .tox .tox-toolbar__primary,
           .tox .tox-toolbar__group {
               flex-wrap: wrap !important;
           }

           .tox .tox-edit-area iframe {
               min-height: 130px !important;
           }

           .field.full label {
               margin-bottom: 6px;
           }

           .field.full label:has(input[type="checkbox"]) {
               display: grid;
               grid-template-columns: 18px 1fr;
               gap: 10px;
               align-items: center;
           }

           .field.full input[type="checkbox"] {
               width: 16px;
               height: 16px;
           }

           .actions {
               margin-top: 20px;
               flex-direction: row;
               gap: 12px;
           }

           .actions .btn {
               width: auto;
           }
       }

       .logout-form {
           margin: 0;
       }

       .logout-link {
           font: inherit;
           color: rgba(244,242,238,.9);
           text-decoration: none;
           padding: 8px 10px;
           border-radius: 999px;
           border: 1px solid rgba(255,255,255,.08);
           background: rgba(18,18,26,.35);
           cursor: pointer;
       }

       .logout-link:hover {
           border-color: rgba(214,178,94,.35);
       }

       .form-textarea {
           width: 100%;
           min-height: 110px;
           padding: 16px 18px;

           background: rgba(255, 255, 255, 0.03);
           color: #ffffff;

           border: 1px solid rgba(255, 255, 255, 0.16);
           border-radius: 16px;

           font-size: 16px;
           line-height: 1.6;
           font-family: inherit;

           outline: none;
           resize: vertical;

           transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
       }

       .form-textarea::placeholder {
           color: rgba(255, 255, 255, 0.45);
       }

       .form-textarea:focus {
           border-color: rgba(212, 175, 55, 0.65);
           box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.12);
           background: rgba(255, 255, 255, 0.05);
       }

       .seo-textarea {
           max-width: 100%;
           min-height: 90px;
       }

       .field-help {
           display: block;
           margin: 6px 0 10px;
           color: rgba(255, 255, 255, 0.68);
           font-size: 14px;
       }

       /* ===== VĚTŠÍ A PŘEHLEDNĚJŠÍ GALERIE / TVORBA / HLAVNÍ STRÁNKA ===== */

       :root {
           --max: 1320px;
       }

       .wrap {
           max-width: var(--max);
           padding: 48px 24px 90px;
       }

       #galerie .card,
       #tvorba .card {
           padding: 34px;
       }

       .grid {
           grid-template-columns: repeat(3, minmax(0, 1fr));
           gap: 28px;
       }

       .tile {
           border-radius: 24px;
           background: linear-gradient(180deg, rgba(22,22,31,.88), rgba(14,14,20,.82));
           border: 1px solid rgba(214,178,94,.18);
           box-shadow: 0 22px 50px rgba(0,0,0,.45);
           transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
       }

       .tile:hover {
           transform: translateY(-5px);
           border-color: rgba(214,178,94,.42);
           box-shadow: 0 28px 70px rgba(0,0,0,.55);
       }

       .tile .ph {
           aspect-ratio: 1 / 1;
           border-bottom: 1px solid rgba(214,178,94,.18);
       }

       .tile .ph img {
           transition: transform .35s ease;
       }

       .tile:hover .ph img {
           transform: scale(1.04);
       }

       .tile .meta {
           padding: 22px 22px 24px;
       }

       .tile h3 {
           margin: 0 0 12px;
           font-size: 24px;
           line-height: 1.18;
           letter-spacing: -.35px;
       }

       .tile h3 a {
           text-decoration: none;
           color: #f7efe1;
       }

       .tile h3 a:hover {
           color: #c9a24d;
       }

       .tile p {
           font-size: 15px;
           line-height: 1.6;
           color: rgba(244,242,238,.72);
       }

       .gallery-card-seo {
           margin-bottom: 18px !important;
       }

       .painting-price {
           display: inline-flex;
           align-items: center;
           gap: 8px;
           margin-top: 18px !important;
           padding: 9px 15px;
           border-radius: 999px;
           background: rgba(214,178,94,.12);
           border: 1px solid rgba(214,178,94,.35);
           color: #f2d58a !important;
           font-size: 18px !important;
           font-weight: 800;
           letter-spacing: .2px;
       }

       .painting-price::before {
           content: "Cena";
           color: rgba(244,242,238,.7);
           font-size: 12px;
           font-weight: 600;
           text-transform: uppercase;
       }

       .kicker {
           font-size: 14px;
           margin-bottom: 8px;
       }

       #galerie h2,
       #tvorba h2 {
           font-size: 36px !important;
           line-height: 1.1;
           margin-bottom: 24px !important;
       }

       .sold-label {
           position: absolute;
           top: 16px;
           right: 16px;
           z-index: 3;
           padding: 8px 14px;
           border-radius: 999px;
           background: rgba(120, 20, 20, .92);
           color: #fff;
           font-size: 13px;
           font-weight: 800;
           letter-spacing: .4px;
           text-transform: uppercase;
       }

       .tile {
           position: relative;
       }

       @media (max-width: 1050px) {
           .grid {
               grid-template-columns: repeat(2, minmax(0, 1fr));
           }
       }

       @media (max-width: 620px) {
           .wrap {
               padding: 28px 16px 60px;
           }

           .grid {
               grid-template-columns: 1fr;
               gap: 22px;
           }

           #galerie .card,
           #tvorba .card {
               padding: 22px;
           }

           .tile h3 {
               font-size: 22px;
           }

           #galerie h2,
           #tvorba h2 {
               font-size: 30px !important;
           }
       }

       .painting-price {
           color: #c9a24d  !important;
           background: rgba(214, 178, 94, 0.10);
           border: 1px solid rgba(214, 178, 94, 0.42);
           box-shadow: 0 0 18px rgba(214, 178, 94, 0.10);
       }

       .painting-price::before {
           color: rgba(244, 242, 238, 0.72);
       }

       .mock {
           background-image: url('/images/jana_sedlackova.jpeg');
           background-size: cover;
           background-position: center;
       }

       .frame img {
           width: 100%;
           height: 100%;
           object-fit: cover;
           border-radius: 18px;
       }

       .frame {
           padding: 10px;
       }

       .frame img {
           box-shadow: 0 20px 60px rgba(0,0,0,.5);
       }