/* ==========================================================================
   OSZACUJ PAKĘ MINIMAL - INDEX (BEM)
   ========================================================================== */
.oszacuj-pake-minimal {
    background-color: #050505;
    padding: 80px 20px; /* Znacznie mniejszy padding niż w innych sekcjach */
    position: relative;
    border-top: 1px solid #1a1a1a;
    display: flex;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
}

.op-minimal__container {
    background: radial-gradient(ellipse at top, #161616 0%, #0a0a0a 100%);
    border: 1px solid #2C2C2C;
    border-radius: 30px;
    padding: 60px 40px;
    max-width: 900px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    position: relative;
}

/* --- NAGŁÓWEK --- */
.op-minimal__badge {
    display: inline-block;
    background: rgba(230, 0, 0, 0.1);
    color: #E60000;
    border: 1px solid rgba(230, 0, 0, 0.3);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.op-minimal__title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.op-minimal__desc {
    color: #808080;
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* --- INTERAKTYWNY WIDŻET --- */
.op-minimal__widget {
    position: relative;
    max-width: 650px;
    margin: 0 auto;
    z-index: 2;
}

/* Tagi w tle */
.op-tag {
    position: absolute;
    background: #1E1E1E;
    border: 1px solid #333;
    color: #888;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0.5;
    pointer-events: none;
    z-index: -1;
}
.tag-1 { top: -20px; left: -40px; transform: rotate(-10deg); }
.tag-2 { bottom: -30px; right: -30px; transform: rotate(5deg); }
.tag-3 { top: -10px; right: -10px; transform: rotate(15deg); }

/* Wyszukiwarka (Pasek AI) */
.op-minimal__search-box {
    background: #050505;
    border: 1px solid #333;
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 10px 10px 10px 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    transition: 0.3s border-color;
}
.op-minimal__search-box:hover {
    border-color: #E60000;
}

.search-icon {
    color: #E60000;
    font-size: 1.2rem;
    margin-right: 15px;
}

.op-minimal__typing-area {
    flex: 1;
    text-align: left;
    font-family: monospace;
    font-size: 1.1rem;
    color: #fff;
    height: 24px;
    display: flex;
    align-items: center;
}

.op-cursor {
    color: #E60000;
    font-weight: bold;
    animation: blink 1s infinite;
    margin-left: 2px;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.op-minimal__search-btn {
    background: #E60000;
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: 0.3s;
}
.op-minimal__search-btn:hover {
    background: #FF1A1A;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(230,0,0,0.4);
}

/* Wynik */
.op-minimal__result {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
    background: #121212;
    border: 1px solid #2C2C2C;
    border-radius: 16px;
    padding: 15px 30px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.op-minimal__result.show-result {
    opacity: 1;
    transform: translateY(0);
}

.op-res-item {
    display: flex;
    flex-direction: column;
    text-align: center;
}
.op-res-label { font-size: 0.75rem; color: #808080; text-transform: uppercase; margin-bottom: 4px; }
.op-res-value { font-size: 1.2rem; font-family: monospace; }
.text-white { color: #fff; }
.text-red { color: #E60000; }

.op-res-divider { width: 1px; height: 30px; background: #2C2C2C; }

/* --- STOPKA WIDŻETU --- */
.op-minimal__footer {
    margin-top: 40px;
}
.op-minimal__cta-link {
    color: #808080;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.op-minimal__cta-link:hover {
    color: #E60000;
}

/* --- ANIMACJE SCROLL --- */
.scroll-fade-up {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.scroll-fade-up.is-in-view {
    opacity: 1;
    transform: translateY(0) scale(1);
}
/* --- ZMIANY: PRZEKREŚLONA CENA I RABAT --- */
.op-res-price-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.op-old-price {
    text-decoration: line-through;
    color: #666; /* Ciemniejszy szary dla mniejszego kontrastu */
    font-size: 0.95rem;
    font-weight: 500;
}

.op-discount-badge {
    display: inline-block;
    margin-top: 5px;
    font-size: 0.75rem;
    color: #2ecc71; /* Zielony kolor zysku */
    background: rgba(46, 204, 113, 0.1);
    padding: 3px 10px;
    border-radius: 8px;
    border: 1px solid rgba(46, 204, 113, 0.2);
    font-weight: 600;
}
/* --- DUAL INPUT (Nazwa + Rozmiar) --- */
.dual-input-box {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.item-name-box { flex: 7; margin-bottom: 0 !important; }
.item-size-box { flex: 3; margin-bottom: 0 !important; }

@media (max-width: 768px) {
    .dual-input-box { flex-direction: column; }
}

/* RWD */
@media (max-width: 600px) {
    .op-minimal__container { padding: 40px 20px; }
    .op-minimal__result { flex-direction: column; gap: 10px; padding: 15px; }
    .op-res-divider { width: 50px; height: 1px; }
    .op-tag { display: none; } /* Ukrywamy tagi na mobile by było czysto */
}
