/* ==========================================================================
   Lema3D — Etap 1: baza motywu
   Zakres: tokeny, Inter, typografia, responsywność, kontrolki i focus.
   Ładowane przez theme_lema3d.layout.
   ========================================================================== */

/* --- Font Inter (self-hosted, variable 100–900, latin + latin-ext) ------- */
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/web/content/388406') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
        U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/web/content/388407') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191,
        U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Tokeny -------------------------------------------------------------- */
.lema3d-root {
    --lema3d-orange:     #F74A00;
    --lema3d-orange-84:  #F96729;
    --lema3d-orange-48:  #FCB685;
    --lema3d-orange-12:  #FEE9E0;
    --lema3d-black:      #000000;
    --lema3d-black-84:   #292929;
    --lema3d-black-60:   #666666;
    --lema3d-black-42:   #949494;
    --lema3d-black-18:   #D1D1D1;
    --lema3d-black-6:    #F3F3F3;
    --lema3d-white:      #FFFFFF;

    --lema3d-radius-xs:    6px;
    --lema3d-radius-bar:   12px;
    --lema3d-radius-card:  12px;
    --lema3d-radius-input: 12px;
    --lema3d-radius-lg:    24px;
    --lema3d-radius-pill:  54px;
    --lema3d-shadow-bar:    0 1px 6px rgba(0, 0, 0, 0.06);
    --lema3d-shadow-panel:  0 1px 6px rgba(102, 102, 102, 0.24);
    --lema3d-shadow-button: 1px 3px 6px rgba(0, 0, 0, 0.18);
    --lema3d-hover-time:    300ms;

    font-family: 'Inter', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: var(--lema3d-black-84);
    background-color: var(--lema3d-black-6);
}
.lema3d-root *,
.lema3d-root *::before,
.lema3d-root *::after {
    box-sizing: border-box;
}

/* --- Focus widoczny z klawiatury ---------------------------------------- */
.lema3d-root a:focus-visible,
.lema3d-root button:focus-visible,
.lema3d-root input:focus-visible,
.lema3d-root textarea:focus-visible,
.lema3d-root select:focus-visible,
.lema3d-root [tabindex]:focus-visible,
.lema3d-header a:focus-visible,
.lema3d-header button:focus-visible,
.lema3d-footer a:focus-visible,
.lema3d-footer button:focus-visible,
.lema3d-footer input:focus-visible,
.lema3d-footer textarea:focus-visible,
.lema3d-footer select:focus-visible,
.lema3d-footer [tabindex]:focus-visible {
    outline: 3px solid var(--lema3d-orange);
    outline-offset: 3px;
}
.lema3d-root .lema3d-focus-on-orange a:focus-visible,
.lema3d-root .lema3d-focus-on-orange button:focus-visible,
.lema3d-root .lema3d-focus-on-orange input:focus-visible,
.lema3d-root .lema3d-focus-on-orange textarea:focus-visible,
.lema3d-root .lema3d-focus-on-orange [tabindex]:focus-visible {
    outline-color: var(--lema3d-black);
}

/* --- Skala typografii ---------------------------------------------------- */
.lema3d-root .lema3d-numeric  { font-size: 144px; line-height: 1;   font-weight: 500; letter-spacing: -4.32px; }
.lema3d-root .lema3d-numeric2 { font-size: 60px;  line-height: 1;   font-weight: 500; }
.lema3d-root .lema3d-h1       { font-size: 72px;  line-height: 1;   font-weight: 500; letter-spacing: -2.16px; }
.lema3d-root .lema3d-h2       { font-size: 42px;  line-height: 1.1; font-weight: 500; }
.lema3d-root .lema3d-h3       { font-size: 30px;  line-height: 1.2; font-weight: 400; }
.lema3d-root .lema3d-h4       { font-size: 24px;  line-height: 1.3; font-weight: 400; }
.lema3d-root .lema3d-h5       { font-size: 20px;  line-height: 1.4; font-weight: 400; text-transform: uppercase; }
.lema3d-root .lema3d-text     { font-size: 18px;  line-height: 1.4; font-weight: 400; }
.lema3d-root .lema3d-caption  { font-size: 14px;  line-height: 1.1; font-weight: 400; }

/* Układ płynny: 768–1199 px. */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .lema3d-root .lema3d-numeric  { font-size: 112px; letter-spacing: -3.36px; }
    .lema3d-root .lema3d-numeric2 { font-size: 52px; }
    .lema3d-root .lema3d-h1       { font-size: 56px; letter-spacing: -1.68px; }
    .lema3d-root .lema3d-h2       { font-size: 36px; }
    .lema3d-root .lema3d-h3       { font-size: 28px; }
}

/* Układ mobilny: poniżej 768 px. */
@media (max-width: 767.98px) {
    .lema3d-root .lema3d-numeric  { font-size: 96px; font-weight: 400; letter-spacing: -2.88px; }
    .lema3d-root .lema3d-numeric2 { font-size: 40px; }
    .lema3d-root .lema3d-h1       { font-size: 32px; line-height: 1.1; letter-spacing: 0; }
    .lema3d-root .lema3d-h2       { font-size: 32px; line-height: 1.1; }
    .lema3d-root .lema3d-h3       { font-size: 24px; }
    .lema3d-root .lema3d-h4       { font-size: 20px; }
    .lema3d-root .lema3d-h5       { font-size: 16px; }
    .lema3d-root .lema3d-text     { font-size: 16px; }
}

/* ==========================================================================
   HEADER — style bazowe; markup i interakcje są przedmiotem zadania 03.
   ========================================================================== */
.lema3d-header {
    padding: 12px 24px;
}
.lema3d-header-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    height: 66px;
    background: var(--lema3d-white);
    border-radius: var(--lema3d-radius-bar);
    box-shadow: var(--lema3d-shadow-bar);
    padding: 0 24px;
    max-width: 1872px;
    margin: 0 auto;
}
.lema3d-logo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    text-decoration: none;
    color: var(--lema3d-black);
    justify-self: start;
}
.lema3d-logo img {
    width: 29px;
    height: 24px;
    object-fit: contain;
    display: block;
}
.lema3d-logo-text {
    font-size: 24px;
    line-height: 1.21;
    font-weight: 600;
    color: var(--lema3d-black);
    white-space: nowrap;
}
.lema3d-desktop-nav {
    justify-self: center;
}
.lema3d-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.lema3d-menu a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--lema3d-black-60);
    text-decoration: none;
    white-space: nowrap;
    transition: color var(--lema3d-hover-time) ease-in-out;
}
.lema3d-menu a:hover {
    color: var(--lema3d-black);
}
.lema3d-menu a[aria-current="page"],
.lema3d-mobile-menu a[aria-current="page"] {
    color: var(--lema3d-orange);
}
.lema3d-header-icons {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-self: end;
}
.lema3d-header-icons a,
.lema3d-header-icons .lema3d-lang {
    color: var(--lema3d-black-60);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: color var(--lema3d-hover-time) ease-in-out;
}
.lema3d-header-icons a {
    min-width: 44px;
    min-height: 44px;
}
.lema3d-header-icons a:hover {
    color: var(--lema3d-orange);
}
.lema3d-header-icons svg {
    width: 24px;
    height: 24px;
    stroke-width: 1.8;
}
.lema3d-header-icons .my_cart_quantity {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: var(--lema3d-orange);
    color: var(--lema3d-white);
    font-size: 11px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
}
.lema3d-lang {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}
.lema3d-burger {
    display: none;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    background: none;
    border: 0;
    padding: 4px;
    color: var(--lema3d-black);
    cursor: pointer;
}
.lema3d-burger svg {
    width: 24px;
    height: 24px;
    display: block;
}
.lema3d-brand-mobile {
    display: none;
    min-height: 44px;
    align-items: center;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    color: var(--lema3d-black);
    text-decoration: none;
    justify-self: center;
}
.lema3d-mobile-menu {
    max-width: 1872px;
    margin: 0 24px;
}
.lema3d-mobile-menu[hidden] {
    display: none;
}
.lema3d-mobile-menu .lema3d-mobile-menu-inner {
    background: var(--lema3d-white);
    border-radius: var(--lema3d-radius-bar);
    box-shadow: var(--lema3d-shadow-panel);
    padding: 8px 24px;
}
.lema3d-mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.lema3d-mobile-menu li + li {
    border-top: 1px solid var(--lema3d-black-6);
}
.lema3d-mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--lema3d-black-60);
    text-decoration: none;
    transition: color var(--lema3d-hover-time) ease-in-out;
}
.lema3d-mobile-menu a:hover {
    color: var(--lema3d-black);
}
body.lema3d-menu-open {
    overflow: hidden;
}

@media (min-width: 1200px) {
    .lema3d-mobile-menu {
        display: none;
    }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
    .lema3d-header-bar {
        grid-template-columns: auto 1fr auto;
        padding: 0 20px;
    }
    .lema3d-burger {
        display: inline-flex;
        justify-self: start;
    }
    .lema3d-logo,
    .lema3d-desktop-nav {
        display: none;
    }
    .lema3d-brand-mobile {
        display: inline-flex;
    }
    .lema3d-header-icons {
        gap: 12px;
    }
}
@media (max-width: 767.98px) {
    .lema3d-header {
        padding: 12px 12px 0;
    }
    .lema3d-header-bar {
        grid-template-columns: auto 1fr auto;
        height: 60px;
        padding: 0 12px;
    }
    .lema3d-burger {
        display: inline-flex;
        justify-self: start;
    }
    .lema3d-logo,
    .lema3d-desktop-nav {
        display: none;
    }
    .lema3d-brand-mobile {
        display: inline-flex;
    }
    .lema3d-header-icons {
        gap: 0;
    }
    .lema3d-header-icons .lema3d-lang {
        display: none;
    }
    .lema3d-mobile-menu {
        margin: 0 12px;
    }
    .lema3d-mobile-menu .lema3d-mobile-menu-inner {
        padding: 8px 12px;
    }
}

/* ==========================================================================
   FOOTER — wspólne powierzchnie i kontrolki.
   ========================================================================== */
.lema3d-footer {
    padding: 24px;
}
.lema3d-footer-inner {
    max-width: 1872px;
    margin: 0 auto;
}
.lema3d-footer-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.lema3d-card {
    background: var(--lema3d-white);
    border-radius: var(--lema3d-radius-card);
    box-shadow: var(--lema3d-shadow-panel);
    padding: 40px;
}
.lema3d-footer .lema3d-card {
    padding: 24px;
}
.lema3d-card-title {
    font-size: 30px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--lema3d-black);
    margin: 0 0 24px;
}
.lema3d-contact-form .lema3d-field {
    margin-bottom: 20px;
}
.lema3d-contact-form label {
    display: block;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 400;
    color: var(--lema3d-black);
    margin-bottom: 6px;
}
.lema3d-contact-form .form-control {
    display: block;
    width: 100%;
    height: 66px;
    min-height: 66px;
    border: 1px solid var(--lema3d-black-18);
    border-radius: var(--lema3d-radius-input);
    padding: 18px 20px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: var(--lema3d-black-84);
    background: var(--lema3d-white);
    box-shadow: none;
    transition: border-color var(--lema3d-hover-time) ease-in-out;
}
.lema3d-contact-form textarea.form-control {
    height: 255px;
    min-height: 255px;
    resize: vertical;
}
.lema3d-contact-form .form-control:focus {
    border-color: var(--lema3d-orange);
    box-shadow: none;
}
.lema3d-contact-form .form-control.is-invalid,
.lema3d-contact-form .form-control:user-invalid {
    border-color: var(--lema3d-orange);
}
.lema3d-btn-black {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 66px;
    border: 0;
    border-radius: var(--lema3d-radius-input);
    background: var(--lema3d-black);
    box-shadow: var(--lema3d-shadow-button);
    color: var(--lema3d-white);
    font-family: 'Inter', Arial, sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    padding: 6px 24px;
    cursor: pointer;
    transition: background-color var(--lema3d-hover-time) ease-in-out;
}
.lema3d-btn-black:hover {
    background: var(--lema3d-black-60);
    color: var(--lema3d-white);
}
.lema3d-contact-form .lema3d-btn-black {
    font-size: 18px;
    font-weight: 500;
}
.lema3d-contact-row {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 0;
    border-bottom: 1px solid var(--lema3d-black-6);
}
.lema3d-contact-row:first-of-type {
    border-top: 1px solid var(--lema3d-black-6);
}
.lema3d-contact-row .lema3d-contact-label {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--lema3d-black);
    flex-shrink: 0;
}
.lema3d-contact-row .lema3d-contact-value {
    font-size: 18px;
    line-height: 1.21;
    color: var(--lema3d-black-84);
    text-align: right;
}
.lema3d-contact-row .lema3d-contact-value a {
    color: inherit;
    text-decoration: none;
    transition: color var(--lema3d-hover-time) ease-in-out;
}
.lema3d-contact-row .lema3d-contact-value a:hover {
    color: var(--lema3d-orange);
}
.lema3d-footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px 24px;
    margin-top: 32px;
}
.lema3d-footer-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 18px;
    line-height: 1.21;
    padding: 4px 0;
    color: var(--lema3d-black-84);
    text-decoration: none;
    transition: color var(--lema3d-hover-time) ease-in-out;
}
.lema3d-footer-links a:hover {
    color: var(--lema3d-orange);
}
.lema3d-footer-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
}
.lema3d-footer-bottom .lema3d-footer-legal {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}
.lema3d-footer-bottom .lema3d-footer-legal span,
.lema3d-footer-bottom .lema3d-footer-legal a {
    font-size: 14px;
    line-height: 1.4;
    color: var(--lema3d-black-84);
    text-decoration: none;
}
.lema3d-footer-bottom .lema3d-footer-legal a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    transition: color var(--lema3d-hover-time) ease-in-out;
}
.lema3d-footer-bottom .lema3d-footer-legal a:hover {
    color: var(--lema3d-orange);
}
.lema3d-footer-bottom img {
    width: 56px;
    height: 46px;
    object-fit: contain;
    display: block;
}

@media (max-width: 767.98px) {
    .lema3d-footer {
        padding: 24px 12px 16px;
    }
    .lema3d-footer-cards {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .lema3d-card,
    .lema3d-footer .lema3d-card {
        padding: 24px 12px;
    }
    .lema3d-card-title {
        font-size: 24px;
        line-height: 1.2;
    }
    .lema3d-footer-contact-card .lema3d-card-title {
        font-size: 32px;
        line-height: 1.2;
    }
    .lema3d-contact-form label {
        font-size: 16px;
    }
    .lema3d-contact-form .form-control {
        font-size: 16px;
    }
    .lema3d-contact-row {
        flex-direction: column;
        gap: 8px;
    }
    .lema3d-contact-row .lema3d-contact-value {
        font-size: 16px;
        line-height: 1.21;
        text-align: left;
    }
    .lema3d-footer-links {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .lema3d-footer-links a {
        font-size: 18px;
    }
    .lema3d-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        margin-top: 24px;
    }
    .lema3d-footer-bottom .lema3d-footer-legal {
        flex-direction: column-reverse;
        gap: 8px;
    }
    .lema3d-footer-bottom img {
        align-self: flex-end;
    }
}

/* ==========================================================================
   Strona testowa etapu 1 — próbki tokenów i kontrolek.
   ========================================================================== */
.lema3d-specimen {
    max-width: 1872px;
    margin: 24px auto;
    padding: 0 24px;
}
.lema3d-specimen .lema3d-card {
    margin-bottom: 24px;
}
.lema3d-swatch-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
}
.lema3d-swatch {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}
.lema3d-swatch .lema3d-swatch-color {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 6px;
    border: 1px solid var(--lema3d-black-18);
}
.lema3d-type-sample > * {
    margin-top: 0;
    margin-bottom: 12px;
}
.lema3d-specimen-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}
.lema3d-specimen-subtitle {
    margin: 0 0 24px;
}
.lema3d-btn-inline {
    width: auto;
    min-width: 260px;
}
.lema3d-focus-sample {
    border-radius: var(--lema3d-radius-card);
    background: var(--lema3d-orange);
    color: var(--lema3d-black);
    padding: 24px;
    margin-top: 24px;
}
.lema3d-focus-sample p {
    margin: 0 0 12px;
}
.lema3d-focus-sample a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--lema3d-black);
    font-weight: 500;
}
.lema3d-specimen-form {
    max-width: 882px;
}
.lema3d-responsive-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
.lema3d-responsive-item {
    min-width: 0;
    border: 1px solid var(--lema3d-black-18);
    border-radius: var(--lema3d-radius-card);
    background: var(--lema3d-black-6);
    padding: 24px;
}
.lema3d-responsive-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--lema3d-black);
}
.lema3d-responsive-item span {
    font-size: 14px;
    line-height: 1.4;
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .lema3d-responsive-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767.98px) {
    .lema3d-specimen {
        margin: 12px auto 24px;
        padding: 0 12px;
    }
    .lema3d-specimen .lema3d-card {
        margin-bottom: 12px;
    }
    .lema3d-specimen-grid,
    .lema3d-responsive-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .lema3d-btn-inline {
        width: 100%;
        min-width: 0;
    }
    .lema3d-swatch-list {
        display: grid;
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Etap 3 — nieaktywne cele kolejnych etapów; bez martwych linków.
   ========================================================================== */
.lema3d-menu .lema3d-pending {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--lema3d-black-42);
    white-space: nowrap;
    cursor: default;
}
.lema3d-mobile-menu .lema3d-pending {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--lema3d-black-42);
    cursor: default;
}
.lema3d-header-icons .lema3d-icon-pending {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 44px;
    min-height: 44px;
    color: var(--lema3d-black-42);
    cursor: default;
}
.lema3d-footer-links .lema3d-pending {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 4px 0;
    font-size: 18px;
    line-height: 1.21;
    color: var(--lema3d-black-42);
    cursor: default;
}
.lema3d-footer-bottom .lema3d-footer-legal .lema3d-pending {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--lema3d-black-42);
    cursor: default;
}
