/* =============================================
   F-TECH PRODUCT DESCRIPTIONS — FRONTEND CSS
   v1.1.0 — Zwiększony specificity dla kompatybilności z motywami
   Kolory klienta: #1D3254 (granat), #F7F4EF (krem), #C9A96E (złoty)
   ============================================= */

.woocommerce-Tabs-panel .ftech-pd-desc,
.ftech-pd-desc {
    color: #1D3254;
    font-size: 16px;
    line-height: 1.75;
    max-width: 100%;
}

/* ---- Info Bar ---- */
.ftech-pd-desc .ftech-pd-info-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding: 18px 24px;
    background: #F7F4EF !important;
    border-radius: 12px;
    margin-bottom: 32px;
    font-size: 14px;
}

.ftech-pd-desc .ftech-pd-info-item { white-space: nowrap; }

.ftech-pd-desc .ftech-pd-info-label {
    font-weight: 700;
    color: #C9A96E !important;
}

/* ---- Sections ---- */
.ftech-pd-desc .ftech-pd-section {
    margin-bottom: 8px;
}

.ftech-pd-desc .ftech-pd-divider {
    border: none !important;
    border-top: 2px solid rgba(29, 50, 84, 0.06) !important;
    margin: 36px 0;
    padding: 0;
    height: 0;
}

.ftech-pd-desc .ftech-pd-heading {
    color: #1D3254 !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    margin: 0 0 18px !important;
    line-height: 1.3;
    padding: 0;
    border: none;
    background: none;
}

.ftech-pd-desc .ftech-pd-content {
    margin-bottom: 16px;
}

.ftech-pd-desc .ftech-pd-content p {
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.75;
}

.ftech-pd-desc .ftech-pd-content strong {
    font-weight: 700;
}

.ftech-pd-desc .ftech-pd-intro {
    margin: 0 0 12px;
    font-size: 16px;
}

/* ---- Lists ---- */
.ftech-pd-desc .ftech-pd-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.ftech-pd-desc .ftech-pd-list li {
    padding: 10px 0 10px 28px !important;
    position: relative;
    border-bottom: 1px solid rgba(29, 50, 84, 0.04);
    font-size: 15px;
    line-height: 1.6;
    list-style: none !important;
    margin: 0;
}

.ftech-pd-desc .ftech-pd-list li:last-child {
    border-bottom: none;
}

.ftech-pd-desc .ftech-pd-list li::before {
    content: '' !important;
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    background: #C9A96E !important;
    border-radius: 50%;
}

/* ---- Co otrzymasz (grid cards) ---- */
.ftech-pd-desc .ftech-pd-includes-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ftech-pd-desc .ftech-pd-includes-item {
    padding: 20px 24px;
    background: #F7F4EF !important;
    border-radius: 12px;
    border-left: 4px solid #C9A96E !important;
}

.ftech-pd-desc .ftech-pd-includes-item strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #1D3254;
    margin-bottom: 6px;
}

.ftech-pd-desc .ftech-pd-includes-item span {
    font-size: 14px;
    color: rgba(29, 50, 84, 0.7);
    line-height: 1.6;
}

/* ---- Modules ---- */
.ftech-pd-desc .ftech-pd-module {
    padding: 24px;
    background: #FFFFFF;
    border: 1px solid rgba(29, 50, 84, 0.08) !important;
    border-radius: 12px;
    margin-bottom: 16px;
}

.ftech-pd-desc .ftech-pd-module-title {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #1D3254 !important;
    margin: 0 0 10px !important;
    padding: 0;
    border: none;
    background: none;
}

.ftech-pd-desc .ftech-pd-module-quote {
    font-style: italic;
    color: #C9A96E !important;
    margin: 0 0 14px;
    padding: 0 !important;
    border: none !important;
    font-size: 15px;
    background: none !important;
}

.ftech-pd-desc .ftech-pd-module-content {
    font-size: 14px;
    color: rgba(29, 50, 84, 0.7);
    line-height: 1.7;
}

/* ---- Instructor ---- */
.ftech-pd-desc .ftech-pd-instructor-name {
    font-size: 18px;
    margin: 0 0 12px;
}

/* ---- Booking ---- */
.ftech-pd-desc .ftech-pd-booking .ftech-pd-content {
    padding: 20px 24px;
    background: #F7F4EF !important;
    border-radius: 12px;
}

.ftech-pd-desc .ftech-pd-urgency {
    color: #C9A96E !important;
    font-size: 15px;
    margin-top: 16px;
}

/* ---- Full Description Content (clean HTML from import) ---- */
.ftech-pd-desc .ftech-pd-full-content {
    color: #1D3254;
}

.ftech-pd-desc .ftech-pd-full-content h1,
.ftech-pd-desc .ftech-pd-full-content h2 {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: #1D3254 !important;
    margin: 40px 0 16px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    line-height: 1.3 !important;
}

.ftech-pd-desc .ftech-pd-full-content h1:first-child,
.ftech-pd-desc .ftech-pd-full-content h2:first-child {
    margin-top: 0 !important;
}

.ftech-pd-desc .ftech-pd-full-content h3,
.ftech-pd-desc .ftech-pd-full-content h4 {
    font-size: 19px !important;
    font-weight: 700 !important;
    color: #1D3254 !important;
    margin: 32px 0 12px !important;
    padding: 0 !important;
    background: none !important;
    border: none !important;
    line-height: 1.3 !important;
}

.ftech-pd-desc .ftech-pd-full-content p {
    margin: 0 0 16px !important;
    color: #1D3254 !important;
    line-height: 1.75 !important;
}

.ftech-pd-desc .ftech-pd-full-content ul,
.ftech-pd-desc .ftech-pd-full-content ol {
    margin: 0 0 24px !important;
    padding: 0 0 0 8px !important;
    list-style: none !important;
}

.ftech-pd-desc .ftech-pd-full-content ul li,
.ftech-pd-desc .ftech-pd-full-content ol li {
    position: relative;
    padding: 8px 0 8px 28px !important;
    border-bottom: 1px solid rgba(29, 50, 84, 0.06);
    color: #1D3254 !important;
    list-style: none !important;
}

.ftech-pd-desc .ftech-pd-full-content ul li:last-child,
.ftech-pd-desc .ftech-pd-full-content ol li:last-child {
    border-bottom: none;
}

.ftech-pd-desc .ftech-pd-full-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 16px;
    width: 8px;
    height: 8px;
    background: #C9A96E;
    border-radius: 50%;
}

.ftech-pd-desc .ftech-pd-full-content ol {
    counter-reset: item;
}

.ftech-pd-desc .ftech-pd-full-content ol li::before {
    content: counter(item) '.';
    counter-increment: item;
    position: absolute;
    left: 0;
    top: 8px;
    font-weight: 700;
    color: #C9A96E;
}

.ftech-pd-desc .ftech-pd-full-content strong {
    color: #1D3254 !important;
    font-weight: 700 !important;
}

.ftech-pd-desc .ftech-pd-full-content em {
    font-style: italic;
    color: #4A6280;
}

.ftech-pd-desc .ftech-pd-full-content a {
    color: #C9A96E !important;
    text-decoration: underline;
}

.ftech-pd-desc .ftech-pd-full-content a:hover {
    color: #B08F52 !important;
}

.ftech-pd-desc .ftech-pd-full-content hr {
    border: none !important;
    height: 2px;
    background: linear-gradient(90deg, #C9A96E 0%, transparent 100%) !important;
    margin: 32px 0 !important;
}

.ftech-pd-desc .ftech-pd-full-content blockquote {
    border-left: 3px solid #C9A96E !important;
    padding: 16px 20px !important;
    margin: 24px 0 !important;
    background: #F7F4EF !important;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4A6280 !important;
}

/* ---- Contact Bar ---- */
.ftech-pd-desc .ftech-pd-contact-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    padding: 18px 24px;
    background: #F7F4EF !important;
    border-radius: 12px;
    margin-top: 32px;
    font-size: 14px;
}

.ftech-pd-desc .ftech-pd-contact-bar a {
    color: #C9A96E !important;
    text-decoration: none;
    font-weight: 600;
}

.ftech-pd-desc .ftech-pd-contact-bar a:hover {
    text-decoration: underline;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .ftech-pd-desc .ftech-pd-info-bar {
        flex-direction: column;
        gap: 6px;
        padding: 14px 18px;
    }
    .ftech-pd-desc .ftech-pd-heading { font-size: 20px !important; }
    .ftech-pd-desc .ftech-pd-module { padding: 18px; }
    .ftech-pd-desc .ftech-pd-module-title { font-size: 17px !important; }
    .ftech-pd-desc .ftech-pd-includes-item { padding: 16px 18px; }
}

@media (max-width: 480px) {
    .ftech-pd-desc { font-size: 15px; }
    .ftech-pd-desc .ftech-pd-heading { font-size: 18px !important; }
    .ftech-pd-desc .ftech-pd-list li { font-size: 14px; padding-left: 22px !important; }
    .ftech-pd-desc .ftech-pd-list li::before { width: 6px; height: 6px; top: 14px; }
}
