.mini-demo{
      --bg:        #f5f3ef;
      --card:      #ffffff;
      --text:      #1a1a1a;
      --muted:     #6b6b6b;
      --muted-2:   #767676;
      --warm:      #f0ebe3;

      
      --accent-hover: color-mix(in srgb, var(--accent) 82%, black);
      --accent-mid:   color-mix(in srgb, var(--accent) 42%, white);

      --open:      #2d7a4f;
      --open-bg:   #eaf5ee;
      --open-dot:  #3dba72;
      --closed:    #aaaaaa;
      --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
      --shadow-md: 0 8px 28px rgba(0,0,0,0.09);
      --shadow-lg: 0 20px 60px rgba(0,0,0,0.10);
      --r-xl:      28px;
      --r-lg:      20px;
      --r-md:      14px;
    }
.mini-demo *, .mini-demo *::before, .mini-demo *::after{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; }
.mini-demo{
      font-family: 'DM Sans', sans-serif;
      background: var(--bg);
      color: var(--text);
      min-height: 100vh;
      padding: 36px 12px 40px;
    }
@media (min-width: 768px){.mini-demo{ padding-top: 43px; }

    }
.mini-demo::before{
      content: '';
      position: fixed;
      inset: 0;
      background-image: radial-gradient(circle, #c8d4cc 1px, transparent 1px);
      background-size: 24px 24px;
      pointer-events: none;
      z-index: 0;
      opacity: 0.6;
    }
.mini-demo .shell{
      position: relative;
      z-index: 1;
      max-width: 480px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
.mini-demo .hero{
      position: relative;
      background: var(--card);
      border-radius: var(--r-xl);
      box-shadow: var(--shadow-md);
      animation: fadeUp 0.55s ease both;
      text-align: center;
    }
.mini-demo .hero-cover-tab{
      position: absolute;
      top: -21px;
      left: 50%;
      transform: translateX(-50%);
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 18px 8px;
      font-family: 'DM Serif Display', serif;
      font-style: italic;
      font-weight: 500;
      font-size: 15px;
      line-height: 1.2;
      color: #fff;
      background: var(--accent);
      border-radius: 10px 10px 0 0;
      white-space: nowrap;
    }
@media (min-width: 768px){.mini-demo .hero-cover-tab{ top: -28px; font-size: 19px; padding: 10px 24px 11px; }

    }
.mini-demo .hero-cover-tab svg{ width: 14px; height: 14px; flex-shrink: 0; opacity: 0.9; }
.mini-demo .hero-body{
      padding: 26px 24px 26px;
      display: flex;
      flex-direction: column;
      align-items: center;
    }
@media (min-width: 768px){.mini-demo .hero-body{ padding-top: 33px; }

    }
.mini-demo .hero-photo{
      width: 263px;
      height: 291px;
      object-fit: cover;
      border-radius: 132px 132px 8px 8px;
      border: 4px solid var(--card);
      box-shadow: 0 6px 18px rgba(0,0,0,0.10);
      display: block;
      margin: 0 auto 20px;
    }
.mini-demo .hero h1{
      font-family: 'DM Serif Display', serif;
      font-size: 34px;
      line-height: 1.15;
      color: var(--text);
      margin-bottom: 8px;
    }
.mini-demo .hero h1 em{
      font-style: italic;
      color: var(--accent);
    }
.mini-demo .hero-sub{
      font-size: 16px;
      color: var(--muted);
      line-height: 1.5;
      margin-bottom: 22px;
      max-width: 340px;
    }
.mini-demo .hero-location{
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      font-size: 14px;
      color: var(--muted-2);
      margin-bottom: 22px;
    }
.mini-demo .hero-location svg{ width: 14px; height: 14px; flex-shrink: 0; }
.mini-demo .cta-stack{ width: 100%; }
.mini-demo .cta-stack{
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
.mini-demo .btn{
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 9px;
      min-height: 52px;
      border-radius: var(--r-md);
      font-family: 'DM Sans', sans-serif;
      font-size: 20px;
      font-weight: 600;
      text-decoration: none;
      cursor: pointer;
      border: none;
      transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
    }
.mini-demo .btn:hover{ transform: translateY(-2px); }
.mini-demo .btn:active{ transform: translateY(0); }
.mini-demo .btn-primary{
      background: var(--accent);
      color: #fff;
      box-shadow: 0 6px 20px rgba(74,124,95,0.32);
    }
.mini-demo .btn-primary:hover{
      background: var(--accent-hover);
      box-shadow: 0 10px 28px rgba(74,124,95,0.38);
    }
.mini-demo .btn-secondary{
      background: var(--btn-secondary-bg);
      color: var(--text);
    }
.mini-demo .btn-secondary:hover{ background: #e8e1d8; }
.mini-demo .btn-ghost{
      background: transparent;
      color: var(--accent);
      border: 1.5px solid var(--accent-mid);
    }
.mini-demo .btn-ghost:hover{ background: var(--accent-light); }
.mini-demo .btn svg{ width: 23px; height: 23px; flex-shrink: 0; }
.mini-demo .btn-nav{ font-size: 16px; min-height: 52px; }
.mini-demo .btn-nav svg{ width: 17px; height: 17px; }
.mini-demo .review-strip{
      background: var(--card);
      border-radius: var(--r-lg);
      padding: 18px 20px;
      display: flex;
      align-items: center;
      gap: 14px;
      box-shadow: var(--shadow-sm);
      animation: fadeUp 0.55s 0.08s ease both;
    }
.mini-demo .stars{ display: flex; gap: 2px; flex-shrink: 0; }
.mini-demo .stars svg{ width: 15px; height: 15px; }
.mini-demo .dossier{
      display: flex;
      flex-direction: column;
      gap: 34px;
      margin-top: 21px;
    }
@media (min-width: 768px){.mini-demo .dossier{ gap: 43px; margin-top: 28px; }

    }
.mini-demo .d-card{
      position: relative;
      background: var(--card);
      border-radius: var(--r-lg);
      box-shadow: var(--shadow-sm);
      animation: fadeUp 0.55s ease both;
    }
.mini-demo .d-tab{
      position: absolute;
      top: -21px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 16px 8px;
      font-family: 'DM Serif Display', serif;
      font-style: italic;
      font-weight: 500;
      font-size: 15px;
      line-height: 1.2;
      color: #fff;
      background: var(--accent);
      border-radius: 10px 10px 0 0;
    }
@media (min-width: 768px){.mini-demo .d-tab{ top: -31px; font-size: 19px; padding: 10px 22px 11px; }

    }
.mini-demo .sr-only{ position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mini-demo .d-tab svg{ width: 14px; height: 14px; flex-shrink: 0; opacity: 0.9; }
.mini-demo .d-tab--left{ left: 22px; }
.mini-demo .d-tab--right{ right: 22px; }
.mini-demo .d-card-inner{ padding: 30px 22px 22px; }
@media (min-width: 768px){.mini-demo .d-card-inner{ padding: 34px 30px 28px; }

    }
.mini-demo .d-card--reviews .d-card-inner{ padding-top: 28px; }
.mini-demo .reviews-score-block{
      display: flex;
      align-items: baseline;
      gap: 12px;
      margin-bottom: 18px;
    }
.mini-demo .reviews-score-big{
      font-family: 'DM Serif Display', serif;
      font-size: 46px;
      line-height: 1;
      color: var(--heading-color);
    }
@media (max-width: 359px){.mini-demo .reviews-score-big{ font-size: 38px; }

    }
@media (min-width: 768px){.mini-demo .reviews-score-big{ font-size: 52px; }

    }
.mini-demo .reviews-score-meta{
      display: flex;
      flex-direction: column;
      gap: 5px;
    }
.mini-demo .reviews-count-link{
      font-size: 13px;
      color: var(--muted);
      text-decoration: underline;
      text-underline-offset: 2px;
    }
.mini-demo .reviews-divider{
      height: 1px;
      background: var(--warm);
      margin-bottom: 18px;
    }
.mini-demo .reviews-carousel{ display: flex; align-items: center; gap: 8px; }
.mini-demo .reviews-track-wrap{ overflow: hidden; flex: 1; }
.mini-demo .reviews-track{ display: flex; transition: transform 0.4s ease; }
.mini-demo .review-item{ min-width: 100%; padding: 0 4px; }
.mini-demo .review-meta{ display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mini-demo .review-avatar{
      width: 34px;
      height: 34px;
      border-radius: 999px;
      color: #fff;
      font-size: 12px;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
.mini-demo .review-avatar--1{ background: var(--avatar-1); }
.mini-demo .review-avatar--2{ background: var(--avatar-2); }
.mini-demo .review-avatar--3{ background: var(--avatar-3); }
.mini-demo .review-name{ font-size: 15px; font-weight: 600; color: var(--text); }
.mini-demo .review-quote{
      font-size: 16px;
      color: var(--text);
      line-height: 1.6;
      font-style: italic;
      position: relative;
      padding-left: 4px;
    }
@media (min-width: 768px){.mini-demo .review-quote{ font-size: 18px; }

    }
.mini-demo .reviews-arrow{
      background: none;
      border: none;
      cursor: pointer;
      color: var(--muted-2);
      padding: 6px;
      border-radius: 999px;
      transition: background 0.16s, color 0.16s;
      display: none;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
@media (min-width: 768px){.mini-demo .reviews-arrow{ display: flex; }

    }
.mini-demo .reviews-arrow:hover{ background: var(--accent-light); color: var(--accent); }
.mini-demo .reviews-dots{ display: flex; justify-content: center; gap: 6px; margin-top: 16px; }
.mini-demo .reviews-dot{
      width: 6px;
      height: 6px;
      border-radius: 999px;
      border: none;
      background: #d8d2c6;
      cursor: pointer;
      padding: 0;
      transition: background 0.2s, transform 0.2s;
    }
.mini-demo .reviews-dot.active{ background: var(--accent); transform: scale(1.3); }
.mini-demo .d-card--spec .d-card-inner{ padding-top: 30px; }
.mini-demo .spec-checklist{
      list-style: none;
      display: grid;
      grid-template-columns: 1fr;
      gap: 13px 16px;
      text-align: left;
    }
@media (min-width: 480px){.mini-demo .spec-checklist{ grid-template-columns: 1fr 1fr; }

    }
.mini-demo .spec-checklist li{
      display: flex;
      align-items: center;
      gap: 11px;
      font-size: 15px;
      font-weight: 500;
      color: var(--text);
    }
@media (min-width: 768px){.mini-demo .spec-checklist li{ font-size: 16px; }

    }
.mini-demo .spec-check-icon{
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--accent-light);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
.mini-demo .spec-check-icon svg{ width: 13px; height: 13px; color: var(--accent-hover); }
@media (min-width: 768px){.mini-demo .spec-check-icon{ width: 27px; height: 27px; }
.mini-demo .spec-check-icon svg{ width: 15px; height: 15px; }

    }
.mini-demo .d-card--location .d-card-inner{ padding: 28px 26px 26px; }
@media (min-width: 768px){.mini-demo .d-card--location .d-card-inner{ padding: 36px 34px 32px; }

    }
.mini-demo .address-row{
      display: flex;
      align-items: flex-start;
      gap: 18px;
      text-align: left;
    }
.mini-demo .address-icon{
      width: 54px;
      height: 54px;
      border-radius: 50%;
      background: var(--accent-light);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
.mini-demo .address-icon svg{ width: 25px; height: 25px; color: var(--accent-hover); }
@media (min-width: 768px){.mini-demo .address-icon{ width: 58px; height: 58px; }
.mini-demo .address-icon svg{ width: 27px; height: 27px; }

    }
.mini-demo .address-name{ display: block; font-size: 18px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.mini-demo .address-street{ display: block; font-size: 16px; color: var(--muted); margin-bottom: 14px; }
@media (min-width: 768px){.mini-demo .address-name{ font-size: 19px; }
.mini-demo .address-street{ font-size: 17px; }

    }
.mini-demo .address-tag-row{ display: flex; flex-wrap: wrap; gap: 8px; }
.mini-demo .address-tag{
      display: inline-flex;
      align-items: center;
      gap: 5px;
      background: var(--warm);
      color: #636363;
      font-size: 12.5px;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 999px;
    }
@media (min-width: 768px){.mini-demo .address-tag{ font-size: 13.5px; }

    }
.mini-demo .address-tag svg{ width: 12px; height: 12px; flex-shrink: 0; }
.mini-demo .d-card--location .btn-nav{ margin-top: 22px; }
.mini-demo .location-divider{
      height: 1px;
      background: var(--warm);
      margin: 24px 0 22px;
    }
.mini-demo .hours-status{ display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.mini-demo .dot-live{
      width: 9px;
      height: 9px;
      border-radius: 999px;
      background: var(--open-dot);
      flex-shrink: 0;
      box-shadow: 0 0 0 3px rgba(61,186,114,0.22);
      animation: pulse 2s infinite;
    }
@keyframes pulse{
      0%, 100% { box-shadow: 0 0 0 3px rgba(61,186,114,0.22); }
      50%       { box-shadow: 0 0 0 6px rgba(61,186,114,0.10); }
    }
.mini-demo .hours-label{ font-size: 13px; font-weight: 600; color: var(--open); }
@media (min-width: 768px){.mini-demo .hours-label{ font-size: 14px; }

    }
.mini-demo .timetable{ display: flex; flex-direction: column; gap: 14px; }
.mini-demo .timetable-row{
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 14px;
      color: var(--muted);
    }
@media (min-width: 768px){.mini-demo .timetable-row{ font-size: 15px; }

    }
.mini-demo .timetable-row span:first-child{ width: 56px; flex-shrink: 0; font-weight: 500; }
.mini-demo .timetable-row span:last-child{ width: 84px; flex-shrink: 0; text-align: right; font-weight: 600; color: var(--text); }
.mini-demo .timetable-track{
      flex: 1;
      height: 8px;
      background: var(--warm);
      border-radius: 999px;
      position: relative;
      overflow: hidden;
    }
.mini-demo .timetable-bar{
      position: absolute;
      top: 0;
      bottom: 0;
      background: var(--accent-mid);
      border-radius: 999px;
    }
.mini-demo .timetable-bar--weekday{ left: 0%; width: 91.6%; }
.mini-demo .timetable-bar--saturday{ left: 8.3%; width: 41.6%; }
.mini-demo .timetable-row.hours-row-today-open span:first-child, .mini-demo .timetable-row.hours-row-today-open span:last-child{ color: var(--accent-hover); }
.mini-demo .timetable-row.hours-row-today-open .timetable-bar{ background: var(--accent); }
.mini-demo .timetable-row.hours-row-today-closed span:first-child, .mini-demo .timetable-row.hours-row-today-closed span:last-child{ color: var(--text); font-weight: 600; }
.mini-demo .d-card--social .d-card-inner{ padding-top: 28px; padding-bottom: 26px; }
.mini-demo .social-pill-row{ display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 480px){.mini-demo .social-pill-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

    }
@media (min-width: 768px){.mini-demo .social-pill-row{ display: flex; flex-direction: row; justify-content: center; flex-wrap: wrap; }

    }
.mini-demo .social-pill{
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 15px 18px;
      border-radius: var(--r-md);
      background: var(--accent-light);
      color: var(--accent-hover);
      font-weight: 600;
      font-size: 15px;
      text-decoration: none;
      transition: transform 0.16s ease, background 0.16s ease;
    }
@media (min-width: 768px){.mini-demo .social-pill{ font-size: 16px; }

    }
.mini-demo .social-pill:hover{ transform: translateY(-2px); background: var(--accent-mid); }
.mini-demo .social-pill svg{ width: 20px; height: 20px; flex-shrink: 0; }
.mini-demo .footer{
      text-align: center;
      font-size: 13px;
      color: #636363;
      padding-top: 4px;
      animation: fadeUp 0.55s 0.28s ease both;
    }
@keyframes fadeUp{
      from { opacity: 0; transform: translateY(18px); }
      to   { opacity: 1; transform: translateY(0); }
    }
@media (max-width: 359px){.mini-demo .hero h1{ font-size: 24px; }
.mini-demo .hero-photo{ width: 212px; height: 235px; border-radius: 106px 106px 8px 8px; }

    }
@media (min-width: 768px){.mini-demo .shell{ max-width: 640px; }
.mini-demo .hero h1{ font-size: 38px; }
.mini-demo .hero-sub{ font-size: 18px; }
.mini-demo .hero-photo{ width: 288px; height: 320px; border-radius: 144px 144px 8px 8px; }

    }

  .mini-demo .hero-photo-wrap{
      position: relative;
      width: 100%;
      height: 210px;
      overflow: hidden;
      border-radius: var(--r-xl) var(--r-xl) 0 0;
    }
@media (min-width: 768px){.mini-demo .hero-photo-wrap{ height: 270px; }

    }
.mini-demo .hero-photo-wrap img{
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 18%;
      display: block;
      filter: brightness(1.13) saturate(0.60) contrast(0.99);
      -webkit-mask-image: linear-gradient(to bottom, black 0%, black 63%, transparent 97%);
      mask-image: linear-gradient(to bottom, black 0%, black 63%, transparent 97%);
    }
.mini-demo .hero-photo-wrap::after{
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.18) 72%,
        var(--card) 100%
      );
    }


.mini-demo .hero-avatar{
      width: 141px;
      height: 141px;
      border-radius: 50%;
      object-fit: cover;
      display: block;
      margin: 0 auto 20px;
      box-shadow:
        0 0 0 4px var(--card),
        0 0 0 8px var(--accent),
        0 0 0 9px var(--accent-secondary);
    }

body { margin: 0; }
.mini-demo { position: relative; isolation: isolate; box-sizing: border-box; }
.mini-demo .btn-nav { width: 100%; }
.mini-demo::before { position: absolute; }
.mini-demo [hidden] { display: none !important; }
.mini-demo[data-hero="kameralny"] .hero-body { padding-top: 44px; }
.mini-demo[data-hero="gabinetowy"] .hero-body { padding-top: 0; }
.mini-demo[data-hero="gabinetowy"] .hero-cover-tab { z-index: 2; }
.mini-demo :focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
@media (max-width: 359px) { .mini-demo .hero-avatar { width: 119px; height: 119px; } }
@media (min-width: 768px) {
 .mini-demo[data-hero="kameralny"] .hero-body { padding-top: 52px; }
 .mini-demo .hero-avatar { width: 190px; height: 190px; }
}
.mini-demo .reviews-count-link { border: 0; padding: 0; background: none; font-family: inherit; cursor: pointer; text-align: left; }
.mini-demo .social-pill { border: 0; font-family: inherit; cursor: pointer; }
.mini-demo .demo-notice { position: fixed; z-index: 10; bottom: 16px; left: 50%; transform: translateX(-50%); width: min(440px, calc(100% - 32px)); padding: 16px 20px; background: var(--text); color: white; border-radius: var(--r-md); box-shadow: var(--shadow-md); font-size: 15px; line-height: 1.5; }

/* Ograniczenie ruchu: bez pulsowania, animacji wejścia i przesuwania opinii; wszystko od razu widoczne. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .mini-demo *, .mini-demo *::before, .mini-demo *::after { animation: none !important; transition: none !important; }
}
