.product-fichi-fullwidth {
    margin-top: 0;
    padding-top: 0;
    border-top: 1px solid #e5e7eb;
}

.product-fichi-horizontal {
    width: 100%;
    margin: 0 auto;
}

.fichi-plates-container {
    display: flex;
    gap: 8px;
    padding: 12px 0;
    flex-wrap: wrap;
    width: 100%;
}

.fichi-plate {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 400;
    color: #111827;
    cursor: default;
    user-select: none;
    transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    line-height: 1.2;
}

.fichi-plate.fichi-video {
    cursor: pointer;
    background: #fff;
    border-color: #e5e7eb;
}

.fichi-plate.fichi-link {
    cursor: pointer;
    background: #fff;
    border-color: #e5e7eb;
}

.fichi-plate.fichi-video:hover,
.fichi-plate.fichi-link:hover {
    border-color: #ffed4e;
    background: #fffef5;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.fichi-plate:focus-visible {
    outline: 2px solid #ffed4e;
    outline-offset: 2px;
}

.fichi-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.fichi-icon-svg {
    width: 16px;
    height: 16px;
}

.fichi-icon-video {
    color: #FF0000;
}

.fichi-icon-link {
    color: #3b82f6;
}

.fichi-icon-check {
    color: #10b981;
}

.fichi-text {
    font-weight: 400;
    white-space: normal;
    word-wrap: break-word;
    word-break: break-word;
    line-height: 1.3;
}

.fichi-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    overflow-y: auto;
}

.fichi-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.fichi-modal-content {
    background: white;
    border-radius: 16px;
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    animation: fichiModalAppear 0.3s ease;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

@keyframes fichiModalAppear {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fichi-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    border-bottom: 1px solid #f3f4f6;
    background: white;
}

.fichi-modal-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 10px;
}

.fichi-modal-title svg {
    width: 20px;
    height: 20px;
    fill: #FF0000;
    flex-shrink: 0;
}

.fichi-close-modal {
    background: #f3f4f6;
    border: none;
    font-size: 28px;
    color: #6b7280;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.15s ease, color 0.15s ease;
    line-height: 1;
}

.fichi-close-modal:hover {
    background: #ffed4e;
    color: #111827;
}

.fichi-close-modal:focus-visible {
    outline: 2px solid #ffed4e;
    outline-offset: 2px;
}

.fichi-modal-body {
    padding: 0;
}

.fichi-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.fichi-modal-footer {
    padding: 20px 22px;
    border-top: 1px solid #f3f4f6;
    text-align: center;
    background: #f9fafb;
}

.fichi-details-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #111827;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 50px;
    background: #ffed4e;
    border: 2px solid transparent;
    transition: background-color 0.15s ease;
}

.fichi-details-link:hover {
    background: #e6d400;
}

.fichi-details-link svg {
    fill: #111827;
    width: 18px;
    height: 18px;
    transition: transform 0.15s ease;
}

.fichi-details-link:hover svg {
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .fichi-plates-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 8px;
        padding: 10px 0;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .fichi-plates-container::-webkit-scrollbar {
        display: none;
    }

    .fichi-plate {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 6px 10px;
    }

    .fichi-text {
        white-space: nowrap;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fichi-plate,
    .fichi-close-modal,
    .fichi-details-link,
    .fichi-details-link svg,
    .fichi-modal-content {
        animation: none;
        transition: none;
    }
}