/* --- SEKCJA SHOP LEGS (JASNA WERSJA) --- */

.loft-cta-light {
    background-color: #ffffff;
    color: var(--loft-black);
    padding: 100px 0;
    border-top: 1px solid #eee;
}

.loft-cta-wrapper.reversed {
    flex-direction: row-reverse;
}

.loft-cta-price.dark-text {
    color: var(--loft-black);
    font-weight: 700;
}

.loft-cta-desc.dark-text {
    color: #555;
}

.loft-product-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.loft-specs-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.loft-specs-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
    color: #333;
}

.loft-specs-list li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: var(--loft-wood);
    font-weight: bold;
}

.loft-cta-image-bg-light {
    position: absolute;
    top: 20px;
    right: -20px;
    left: auto;
    width: 100%;
    height: 100%;
    border: 2px solid var(--loft-wood);
    z-index: 0;
}

/* Responsywność dla Shop Legs */
@media (max-width: 900px) {
    .loft-cta-wrapper.reversed {
        flex-direction: column;
    }

    .loft-cta-image-bg-light {
        right: -10px;
        width: 100%;
    }
} 
/* ^^^ TA KLAMRA ZAMYKA MEDIA QUERY. BEZ NIEJ STOPKA ZNIKNIE NA DESKTOPIE! */


/* --- NOWA SEKCJA STOPKI --- */

.loft-footer-dark {
    background-color: var(--loft-black);
    color: #fff;
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.95rem;
    margin-top: 0;
}

.loft-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.loft-footer-heading {
    color: var(--loft-wood);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.loft-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: rgba(255,255,255,0.3);
}

.loft-footer-text {
    line-height: 1.8;
    color: #aaa;
    margin-bottom: 15px;
}

.loft-footer-text strong {
    color: #fff;
}

.loft-footer-contact a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid var(--loft-wood);
    transition: color 0.3s;
}

.loft-footer-contact a:hover {
    color: var(--loft-wood);
}

.loft-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.loft-footer-links li {
    margin-bottom: 12px;
}

.loft-footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.loft-footer-links a:hover {
    color: var(--loft-wood);
    transform: translateX(5px);
}

.loft-social-placeholder {
    margin-top: 20px;
    color: var(--loft-wood);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.loft-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.8rem;
    color: #666;
}

.loft-designer {
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .loft-footer-grid {
        gap: 50px;
    }
    
    .loft-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}





/* Zmienne kolorystyczne */
:root {
    --loft-black: #1a1a1a;
    --loft-dark-gray: #333333;
    --loft-wood: #c68e17;
    /* Kolor dębu/złota */
    --loft-white: #ffffff;
    --loft-light-gray: #f4f4f4;
}

.loft-section {
    padding: 60px 20px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    box-sizing: border-box;
}

.loft-container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}

/* Typografia */
.loft-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: var(--loft-black);
    letter-spacing: 2px;
}

.loft-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
}

.loft-btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--loft-black);
    color: var(--loft-white);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    border: 2px solid var(--loft-black);
    transition: 0.3s;
    cursor: pointer;
}

.loft-btn:hover {
    background: transparent;
    color: var(--loft-black);
}

.loft-btn-outline {
    background: transparent;
    color: var(--loft-black);
    border: 2px solid var(--loft-black);
}

.loft-btn-outline:hover {
    background: var(--loft-black);
    color: var(--loft-white);
}

/* Sekcja HERO */
.loft-hero {
    background-color: var(--loft-light-gray);
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-size: cover;
    background-position: center;
}

/* Sekcja COUNTERS */
.loft-counters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
    background: var(--loft-black);
    color: var(--loft-white);
    padding: 60px 20px;
}

.loft-counter-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--loft-wood);
}

/* Sekcja SLIDER */
.swiper {
    width: 100%;
    height: 400px;
}

.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sekcja SHOP */
.loft-product-card {
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
}

/* Responsywność */
@media(max-width: 768px) {
    .loft-title {
        font-size: 1.8rem;
    }

    .loft-hero {
        height: 60vh;
    }
}

/* --- POPRAWIONA SEKCJA HERO (FIXED HEIGHT) --- */

.loft-hero-split {
    display: flex;
    height: 85vh; 
    max-height: 1080px;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Lewa strona (Tekst) */
.loft-hero-text-side {
    flex: 1;
    background-color: var(--loft-black);
    color: var(--loft-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
    position: relative;
    z-index: 10;
}

.loft-hero-content-wrapper {
    max-width: 550px;
    margin: 0 auto;
}

/* Prawa strona (Zdjęcie) */
.loft-hero-image-side {
    flex: 1;
    position: relative;
    height: 100%;
    background-color: #000;
}

.loft-hero-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0.85;
}

/* Typografia */
.loft-uptitle {
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.85rem;
    color: var(--loft-wood);
    margin-bottom: 15px;
    font-weight: 600;
}

.loft-hero-heading {
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.1;
    margin-bottom: 25px;
    font-weight: 700;
}

/* Animowane słowo */
.loft-rotating-word {
    color: transparent;
    -webkit-text-stroke: 1px var(--loft-white);
    display: inline-block;
    transition: all 0.5s ease;
}

.loft-rotating-word.active-word {
    color: var(--loft-wood);
    -webkit-text-stroke: 0px;
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.loft-hero-desc {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 35px;
    max-width: 90%;
}

/* Animacja */
@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Responsywność */
@media (max-width: 900px) {
    .loft-hero-split {
        flex-direction: column-reverse;
        height: auto;
        min-height: 100vh;
    }
    .loft-hero-image-side {
        height: 50vh;
    }
    .loft-hero-text-side {
        padding: 40px 20px;
        height: auto;
        justify-content: flex-start;
    }
}

/* --- SEKCJA FEATURES (IKONY) --- */

.loft-features-bg {
    background-color: #fff;
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
}

.loft-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.loft-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); 
    gap: 30px;
}

/* Karta cechy */
.loft-feature-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    padding: 40px 30px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03); 
}

.loft-feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--loft-wood);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.loft-feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 25px;
    color: var(--loft-black);
    transition: color 0.3s ease;
}

.loft-feature-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.2px;
}

.loft-feature-card:hover .loft-feature-icon {
    color: var(--loft-wood);
}

.loft-feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--loft-black);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.loft-feature-desc {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsywność */
@media (max-width: 600px) {
    .loft-features-grid {
        grid-template-columns: 1fr;
    }
    .loft-feature-card {
        padding: 30px 20px;
    }
}

/* --- SEKCJA COUNTERS (PARALLAX & PRO) --- */

.loft-counters-parallax {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 100px 0;
    color: #fff;
}

.loft-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.loft-counters-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.loft-counter-item {
    flex: 1;
    min-width: 200px;
    padding: 20px;
    position: relative;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.loft-counter-item:last-child {
    border-right: none;
}

.loft-counter-value {
    display: flex;
    justify-content: center;
    align-items: baseline;
    margin-bottom: 10px;
}

.loft-counter-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--loft-wood);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.loft-counter-suffix {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-left: 5px;
    opacity: 0.8;
}

.loft-counter-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ccc;
    margin: 0;
    font-weight: 500;
}

/* Responsywność */
@media (max-width: 768px) {
    .loft-counters-wrapper {
        flex-direction: column;
    }

    .loft-counter-item {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 40px 0;
    }

    .loft-counter-item:last-child {
        border-bottom: none;
    }

    .loft-counters-parallax {
        background-attachment: scroll;
    }
}

/* --- SEKCJA TRUST (ZAUFANIE) --- */

.loft-trust-section {
    background-color: #fff;
    padding: 100px 0;
}

.loft-trust-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.loft-trust-text {
    flex: 1;
}

.loft-trust-content p {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 25px;
}

/* --- POPRAWIONA LISTA TRUST --- */

ul.loft-trust-list {
    list-style: none !important;
    list-style-type: none !important;
    padding: 20px 0 !important;
    margin: 30px 0 !important;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

ul.loft-trust-list li {
    position: relative !important;
    padding-left: 35px !important;
    margin-bottom: 15px !important;
    color: var(--loft-black) !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    list-style: none !important;
}

ul.loft-trust-list li:last-child {
    margin-bottom: 0 !important;
}

ul.loft-trust-list li::before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    top: 3px !important;
    width: 20px !important;
    height: 20px !important;
    background-color: transparent !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23c68e17' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
}

.loft-trust-signature {
    margin-top: 30px;
    font-family: monospace;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.loft-signature-line {
    width: 60px;
    height: 2px;
    background-color: var(--loft-black);
    margin-bottom: 10px;
}

.loft-trust-image-col {
    flex: 1;
    display: flex;
    justify-content: center;
}

.loft-image-frame {
    position: relative;
    max-width: 500px;
    width: 100%;
    z-index: 1;
}

.loft-image-frame img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.loft-image-frame::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--loft-wood);
    z-index: -1;
    transition: transform 0.3s ease;
}

.loft-image-frame:hover::after {
    transform: translate(10px, 10px);
}

@media (max-width: 900px) {
    .loft-trust-wrapper {
        flex-direction: column;
    }

    .loft-trust-content {
        padding-right: 0;
    }

    .loft-image-frame {
        width: 90%;
        margin-top: 20px;
    }
}

/* --- SEKCJA OPINII --- */

.loft-reviews-swiper {
    padding-bottom: 50px;
}

.loft-review-card {
    background: #fff;
    padding: 40px 30px;
    border: 1px solid #e5e5e5;
    height: 100%;
    position: relative;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: transform 0.3s ease;
}

.loft-review-card:hover {
    transform: translateY(-5px);
    border-color: var(--loft-wood);
}

.loft-review-card::before {
    content: '”';
    position: absolute;
    top: -10px;
    right: 20px;
    font-family: serif;
    font-size: 100px;
    color: #f0f0f0;
    line-height: 1;
    z-index: 0;
}

.loft-stars {
    color: var(--loft-wood);
    font-size: 1.2rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.loft-review-text {
    font-style: italic;
    color: #444;
    line-height: 1.6;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

.loft-review-author {
    position: relative;
    z-index: 1;
    border-top: 1px solid #eee;
    padding-top: 15px;
    font-size: 0.9rem;
    color: var(--loft-black);
}

.loft-review-city {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
}

/* --- SEKCJA CTA DARK (PRODUKT) --- */

.loft-cta-dark {
    background-color: #1a1a1a;
    color: #fff;
    padding: 100px 0;
    overflow: hidden;
}

.loft-cta-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
}

.loft-cta-image {
    flex: 1;
    position: relative;
    min-width: 300px;
}

.loft-cta-image-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255,255,255,0.1);
    z-index: 0;
}

.loft-cta-image img {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 1;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    display: block;
}

.loft-cta-content {
    flex: 1;
}

.loft-cta-title {
    font-size: 3rem;
    line-height: 1.1;
    margin: 10px 0 20px 0;
    font-weight: 700;
}

.loft-cta-price {
    font-size: 2.5rem;
    color: var(--loft-wood);
    font-weight: 300;
    margin-bottom: 20px;
}

.loft-cta-price del {
    color: #555;
    font-size: 1.5rem;
    margin-right: 10px;
}

.loft-cta-price ins {
    text-decoration: none;
}

.loft-cta-desc {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.loft-btn-gold {
    background-color: var(--loft-wood);
    border-color: var(--loft-wood);
    color: #fff;
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    padding: 18px;
    letter-spacing: 2px;
}

.loft-btn-gold:hover {
    background-color: #fff;
    color: var(--loft-black);
    border-color: #fff;
}

.loft-stock-info {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pulsing-dot {
    width: 8px;
    height: 8px;
    background-color: #4caf50;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    animation: pulse-green 2s infinite;
}

.loft-cta-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 30px 0;
}

.loft-trust-icons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.loft-icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.loft-icon-box span {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #888;
    letter-spacing: 1px;
}

.loft-icon-anim {
    width: 40px;
    height: 40px;
    color: var(--loft-wood);
    animation: floatIcon 3s ease-in-out infinite;
}

.loft-icon-box:nth-child(1) .loft-icon-anim { animation-delay: 0s; }
.loft-icon-box:nth-child(2) .loft-icon-anim { animation-delay: 1s; }
.loft-icon-box:nth-child(3) .loft-icon-anim { animation-delay: 2s; }

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

@keyframes floatIcon {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

@media (max-width: 900px) {
    .loft-cta-wrapper {
        flex-direction: column;
    }
    .loft-cta-title {
        font-size: 2rem;
    }
    .loft-cta-image {
        width: 100%;
    }
    .loft-trust-icons {
        justify-content: space-around;
    }
    .loft-cta-dark {
        padding: 60px 0;
    }
    
    .loft-cta-image {
        margin-bottom: 40px;
        width: 100%;
        min-width: auto;
    }

    .loft-cta-image-bg {
        left: -10px;
        width: 100%;
    }
}

/* --- SEKCJA CUSTOM ORDER (TECHNICZNA) --- */

.loft-custom-bg {
    background-color: #fcfcfc;
    background-image: 
        linear-gradient(#e5e5e5 1px, transparent 1px),
        linear-gradient(90deg, #e5e5e5 1px, transparent 1px);
    background-size: 40px 40px;
    padding: 100px 0;
}

.loft-custom-wrapper {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.loft-custom-info {
    flex: 1;
    position: sticky;
    top: 100px;
}

.loft-custom-desc {
    color: #555;
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.loft-blueprint-box {
    border: 2px solid var(--loft-black);
    background: #fff;
    padding: 0;
}

.blueprint-row {
    display: flex;
    border-bottom: 1px solid #ddd;
    padding: 15px 20px;
    font-family: monospace;
    font-size: 0.95rem;
}

.blueprint-row:last-child {
    border-bottom: none;
}

.bp-label {
    width: 40%;
    color: #888;
    text-transform: uppercase;
}

.bp-value {
    width: 60%;
    font-weight: bold;
    color: var(--loft-black);
}

.bp-value a {
    color: var(--loft-black);
    text-decoration: none;
    border-bottom: 1px dotted var(--loft-black);
}

.loft-custom-form-col {
    flex: 1.2;
}

.loft-form-container {
    background: #fff;
    padding: 40px;
    border: 1px solid #ddd;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.loft-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.loft-form-row {
    display: flex;
    flex-direction: column;
}

.loft-form-row.full-width {
    grid-column: span 2;
}

.loft-form-row label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 8px;
    letter-spacing: 1px;
    font-weight: 600;
}

.loft-form-row input[type="text"],
.loft-form-row input[type="email"],
.loft-form-row input[type="tel"],
.loft-form-row textarea {
    width: 100% !important;
    background: #f9f9f9 !important;
    border: 1px solid #ddd !important;
    border-radius: 0 !important;
    padding: 15px !important;
    font-size: 1rem !important;
    color: #333 !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
}

.loft-form-row input:focus,
.loft-form-row textarea:focus {
    background: #fff !important;
    border-color: var(--loft-wood) !important;
    outline: none !important;
    box-shadow: inset 3px 0 0 var(--loft-wood) !important;
}

.loft-form-row textarea {
    height: 150px !important;
    resize: vertical;
}

.wpcf7-submit {
    background-color: var(--loft-black) !important;
    color: #fff !important;
    border: none !important;
    padding: 18px 40px !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    letter-spacing: 2px !important;
    cursor: pointer !important;
    width: 100% !important;
    border-radius: 0 !important;
    transition: 0.3s !important;
}

.wpcf7-submit:hover {
    background-color: var(--loft-wood) !important;
    color: #fff !important;
}

@media (max-width: 768px) {
    .loft-custom-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    
    .loft-form-grid {
        grid-template-columns: 1fr;
    }
    
    .loft-form-row.full-width {
        grid-column: span 1;
    }
    
    .loft-custom-info {
        position: static;
    }

    .loft-custom-bg {
        padding: 60px 0;
    }
    
    .loft-form-container {
        padding: 25px 15px;
    }
    
    .loft-custom-wrapper {
        gap: 40px;
    }

    .loft-counters-parallax {
        padding: 60px 0;
    }
    
    .loft-nav-btn {
        display: none; 
    }
}

/* --- NAPRAWA PRZYCISKÓW --- */

.loft-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.loft-hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 35px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    box-sizing: border-box;
}

.loft-btn-primary {
    background-color: #fff;
    color: #1a1a1a;
    border: 1px solid #fff;
}

.loft-btn-primary:hover {
    background-color: var(--loft-wood);
    border-color: var(--loft-wood);
    color: #fff;
}

.btn-arrow {
    display: inline-block;
    margin-left: 10px;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.loft-btn-primary:hover .btn-arrow {
    transform: translateX(5px);
}

.loft-btn-secondary {
    background-color: transparent;
    color: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.3);
}

.loft-btn-secondary:hover {
    color: #fff;
    border-color: #fff;
    background-color: rgba(255,255,255,0.05);
}


/* --- EFEKT KEN BURNS --- */

.loft-kb-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.loft-kb-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1);
    animation: kenBurns 18s linear infinite;
}

.loft-kb-slide:nth-child(1) { animation-delay: 0s; }
.loft-kb-slide:nth-child(2) { animation-delay: 6s; }
.loft-kb-slide:nth-child(3) { animation-delay: 12s; }

@keyframes kenBurns {
    0% { opacity: 0; transform: scale(1); }
    5% { opacity: 1; }
    33.33% { opacity: 1; transform: scale(1.1); }
    38.33% { opacity: 0; }
    100% { opacity: 0; transform: scale(1); }
}

@media (max-width: 500px) {
    .loft-buttons-wrapper {
        flex-direction: column;
        width: 100%;
    }
    .loft-hero-btn {
        width: 100%;
    }
}

/* --- SEKCJA SHOP LEGS --- */

.loft-cta-light {
    background-color: #ffffff;
    color: var(--loft-black);
    padding: 100px 0;
    border-top: 1px solid #eee;
}

.loft-cta-wrapper.reversed {
    flex-direction: row-reverse;
}

.loft-cta-price.dark-text {
    color: var(--loft-black);
    font-weight: 700;
}

.loft-cta-desc.dark-text {
    color: #555;
}

.loft-product-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #888;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.loft-specs-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.loft-specs-list li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 8px;
    color: #333;
}

.loft-specs-list li::before {
    content: '+';
    position: absolute;
    left: 0;
    color: var(--loft-wood);
    font-weight: bold;
}

.loft-cta-image-bg-light {
    position: absolute;
    top: 20px;
    right: -20px;
    left: auto;
    width: 100%;
    height: 100%;
    border: 2px solid var(--loft-wood);
    z-index: 0;
}

@media (max-width: 900px) {
    .loft-cta-wrapper.reversed {
        flex-direction: column;
    }

    .loft-cta-image-bg-light {
        right: -10px;
        width: 100%;
    }
}

/* --- NOWA SEKCJA STOPKI --- */

.loft-footer-dark {
    background-color: var(--loft-black);
    color: #fff;
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.95rem;
}

.loft-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.loft-footer-heading {
    color: var(--loft-wood);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 25px;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.loft-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1px;
    background-color: rgba(255,255,255,0.3);
}

.loft-footer-text {
    line-height: 1.8;
    color: #aaa;
    margin-bottom: 15px;
}

.loft-footer-text strong {
    color: #fff;
}

.loft-footer-contact a {
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid var(--loft-wood);
    transition: color 0.3s;
}

.loft-footer-contact a:hover {
    color: var(--loft-wood);
}

.loft-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.loft-footer-links li {
    margin-bottom: 12px;
}

.loft-footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.loft-footer-links a:hover {
    color: var(--loft-wood);
    transform: translateX(5px);
}

.loft-social-placeholder {
    margin-top: 20px;
    color: var(--loft-wood);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.loft-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.8rem;
    color: #666;
}

.loft-designer {
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .loft-footer-grid {
        gap: 50px;
    }
    
    .loft-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}